Vixen
dd8b0a81
csharp
public readonly record struct RenderStageMask

A set of stages, as a bit per stage index.

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

Remarks

A mask rather than a list, because the culling loop asks "does this object appear in any stage this view wants" once per object per view, and that has to be one and.

64 stages is the ceiling. Stride's shipped compositors use fewer than ten; a project needing more has a compositor problem rather than a bit-width problem, and finding out at AddStage is better than a silent wrap.

Fields and properties (5)

  • public ulong Bits
  • public const int Capacity

    How many distinct stages a mask can hold.

  • public static RenderStageMask None

    The empty set.

  • public static RenderStageMask All

    Every stage there could be.

  • public bool IsEmpty

    Whether the set is empty.

Methods (11)

Used by (57, showing 40)

  • AppGraphicsVixen.App.Hosting
  • BakedMaterialImageTestsVixen.Graphics.Golden.Tests
  • CascadeCountDeviceTestsVixen.Graphics.Golden.Tests
  • CasterStageParameterTestsVixen.Rendering.Tests
  • CompositorAssetTestsVixen.Rendering.Tests
  • CompositorBuilderVixen.Rendering
  • CullJobVixen.Rendering
  • DefaultFrameTestsVixen.Rendering.Tests
  • DiffuseModelImageTestsVixen.Graphics.Golden.Tests
  • FrameBudgetTestsVixen.Rendering.Tests
  • GpuCullingVixen.Rendering
  • GpuVisibilityGroupVixen.Rendering
  • GpuVisibilityGroupTestsVixen.Rendering.Tests
  • GraphMaterialImageTestsVixen.Graphics.Golden.Tests
  • GraphicsCompositorVixen.Rendering
  • GraphicsCompositorTestsVixen.Rendering.Tests
  • InterfaceInAWorldTestsVixen.Engine.Renderer.Tests
  • LayeredMaterialImageTestsVixen.Graphics.Golden.Tests
  • LodExtractionTestsVixen.Engine.Renderer.Tests
  • MaterialRenderFeatureVixen.Rendering
  • MeshExtractionSystemVixen.Rendering
  • ParallaxMaterialImageTestsVixen.Graphics.Golden.Tests
  • ParticleRenderFeatureVixen.Rendering
  • ParticleRenderFeatureTestsVixen.Rendering.Tests
  • PendingDrawVixen.Graphics.Golden.Tests
  • RecordingTestsVixen.Rendering.Tests
  • RenderObjectVixen.Rendering
  • RenderObjectStoreVixen.Rendering
  • RenderObjectStoreTestsVixen.Rendering.Tests
  • RenderStageVixen.Rendering
  • RenderSystemVixen.Rendering
  • RenderSystemTestsVixen.Rendering.Tests
  • RenderViewVixen.Rendering
  • SeesEverythingVixen.Rendering.Tests
  • ShadowMapRendererTestsVixen.Rendering.Tests
  • SplitScreenViewportTestsVixen.Rendering.Tests
  • StandardFrameExposureDeviceTestsVixen.Graphics.Golden.Tests
  • StandardFrameTierImageTestsVixen.Graphics.Golden.Tests
  • TextureDemandTestsVixen.Engine.Renderer.Tests
  • TierSceneVixen.Graphics.Golden.Tests