csharp
public readonly record struct MeshInstanceShadersThe shaders a MeshInstanceRenderer is built from.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Supplied rather than compiled here, the same seam MeshShaders describes.
Fields and properties (3)
public ShaderHandle VertexThe vertex stage.
public ShaderHandle FragmentThe fragment stage.
public VertexLocations LocationsWhere the vertex stage reads the eleven attributes: the shape's position and normal, then the instance's four transform rows, three normal-matrix rows, colour and style.
Methods (1)
public MeshInstanceShaders(ShaderHandle Vertex, ShaderHandle Fragment)The shaders a MeshInstanceRenderer is built from.
Used by (4)
- MeshInstanceRendererVixen.Rendering
- EditorHostVixen.Editor.Host
- ScenePresenterVixen.Editor.App
- TerrainViewportTestsVixen.Editor.App.Tests