public static class MeshParticleVerticesThe layout a mesh drawn as particles is described by: a surface vertex and a particle instance.
Remarks
One index, two buffers, two rates. ParticleRenderFeature.Draw binds the mesh's vertices at binding 0 and its own instance stream at binding 1, so the pipeline has to declare both — and a layout index names a pipeline's whole vertex input, not one buffer of it. This is that pair, so a host registers one entry rather than discovering that the table cannot express the draw it is already making.
⚠ Its own entry, not Schema with a stream added. The same mesh is drawn as an ordinary object through entry 0 — one buffer, one rate — and giving that entry an instance stream would describe a second vertex buffer for every mesh in the scene, which nothing binds.
Fields and properties (1)
public static VertexSchema SchemaThe mesh's own format, with the particle instance stream beside it.
Used by (2)
- ParticleMeshDeviceTestsVixen.Graphics.Golden.Tests
- WorldRendererVixen.Engine.Renderer