csharp
public struct SpriteDrawWhere one sprite's quads ended up in this frame's vertex buffer.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The same shape as ParticleDraw and for the same reason: the geometry is a run inside one buffer everybody shares, so what is recorded is where the run is rather than what it is in.
Fields and properties (3)
public int FirstVertexThe first vertex of this sprite's run in the shared buffer.
public int QuadCountHow many quads it took: one, nine, or the many a tiled fill repeats.
public readonly bool IsDrawableWhether there is anything to draw.
Used by (2)
- SpriteRenderFeatureVixen.Rendering
- SpriteRenderFeatureTestsVixen.Rendering.Tests