Vixen
02b45cc4
csharp
public struct SpriteDraw

Where 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 FirstVertex

    The first vertex of this sprite's run in the shared buffer.

  • public int QuadCount

    How many quads it took: one, nine, or the many a tiled fill repeats.

  • public readonly bool IsDrawable

    Whether there is anything to draw.

Used by (2)

  • SpriteRenderFeatureVixen.Rendering
  • SpriteRenderFeatureTestsVixen.Rendering.Tests