Class ImmediateDebugRenderStageSelector
- Namespace
- Stride.CommunityToolkit.DebugShapes
- Assembly
- Stride.CommunityToolkit.DebugShapes.dll
Selects render stages for immediate debug rendering based on the render group and debug render stage.
public class ImmediateDebugRenderStageSelector : RenderStageSelector
- Inheritance
-
ImmediateDebugRenderStageSelector
Remarks
This class allows configuration of render stages for opaque and transparent debug rendering. Render objects are processed based on their render group and debug stage, and assigned to the appropriate active render stage if applicable.
Properties
OpaqueRenderStage
Gets or sets the render stage used for rendering opaque objects.
public RenderStage? OpaqueRenderStage { get; set; }
Property Value
Remarks
Assigning a value to this property allows customization of the rendering process for opaque objects. If set to null, the default rendering behavior will be used.
RenderGroup
Gets or sets the render group mask that determines which render groups are included in rendering operations.
public RenderGroupMask RenderGroup { get; set; }
Property Value
TransparentRenderStage
Gets or sets the render stage used for rendering transparent objects.
public RenderStage? TransparentRenderStage { get; set; }
Property Value
Remarks
Use this property to specify a custom render stage for handling transparent objects in the rendering pipeline. If set to null, transparent objects will not be processed by a dedicated render stage.
Methods
Process(RenderObject)
public override void Process(RenderObject renderObject)
Parameters
renderObjectRenderObject