using Ryujinx.Graphics.GAL; namespace Ryujinx.Graphics.Gpu.Engine.Threed { /// /// Draw state. /// class DrawState { /// /// First index to be used for the draw on the index buffer. /// public int FirstIndex; /// /// Number of indices to be used for the draw on the index buffer. /// public int IndexCount; /// /// Indicates if the next draw will be a indexed draw. /// public bool DrawIndexed; /// /// Indicates if any of the currently used vertex shaders reads the instance ID. /// public bool VsUsesInstanceId; /// /// Indicates if any of the currently used vertex buffers is instanced. /// public bool IsAnyVbInstanced; /// /// Primitive topology for the next draw. /// public PrimitiveTopology Topology; /// /// Index buffer data streamer for inline index buffer updates, such as those used in legacy OpenGL. /// public IbStreamer IbStreamer = new IbStreamer(); } }