csharp
public readonly record struct MeshShapeVertexOne corner of a shape that lives on the device.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Twenty-four bytes, and no colour — which is the difference from MeshVertex and the reason both exist. A colour per vertex is what lets one buffer hold twenty objects each in its own colour when the buffer is rewritten every frame. Here the vertices are uploaded once and shared by every entity that has this shape, so a colour on them would be a colour every instance had to agree about — it belongs to MeshInstance.
Fields and properties (2)
Methods (1)
Used by (2)
- MeshInstanceRendererVixen.Rendering
- MeshInstanceRendererTestsVixen.Rendering.Tests