Vixen
02b45cc4
csharp
public enum ClusterState

What a mesh reference turned out to be, when asked for its clusters.

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

Remarks

Three states and not two, which is the whole reason this is not a bool. "This mesh has no cluster hierarchy" and "it has one and it is not here yet" lead to opposite decisions: the first falls through to the ordinary vertex-buffer path immediately, and the second must wait, or the mesh is drawn the wrong way for the rest of the level. A single false would collapse them.

Fields and properties (3)

  • None

    This mesh was not built with a cluster hierarchy. Draw it the ordinary way.

  • Waiting

    It has one and it has not arrived. Ask again next frame.

  • Ready

    It has one and it is registered.

Used by (7)

  • AssetVirtualGeometrySourceVixen.Engine.Renderer
  • DeferredClusterVixen.Rendering.Tests
  • EntryVixen.Engine.Renderer
  • IVirtualGeometrySourceVixen.Rendering
  • MeshExtractionSystemVixen.Rendering
  • NoClustersVixen.Rendering.Tests
  • OneClusterVixen.Rendering.Tests