Vixen
02b45cc4
csharp
public readonly record struct ResolveMaterial

What one material's resolve dispatch needs beyond the material itself.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Two numbers for one material, and they are genuinely different things: the index is the model's submesh slot, written into the cluster records at import, and the material is the asset a project bound to that slot. Nothing derives one from the other — a caller that registered a mesh is the only thing that knows both.

Fields and properties (2)

  • public Material Material

    The material, whose composition selects the variant and whose parameters fill it.

  • public int Index

    Which bin it is, as Meshlet.MaterialIndex numbers them.

Methods (1)

  • public ResolveMaterial(Material Material, int Index)

    What one material's resolve dispatch needs beyond the material itself.

Used by (5)

  • BinVixen.Rendering
  • GpuClusterResolveVixen.Rendering
  • MeshExtractionSystemVixen.Rendering
  • VirtualGeometryExtractionTestsVixen.Rendering.Tests
  • VirtualGeometrySystemVixen.Rendering