public sealed class SingleStageRendererDraws one stage from one view.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
The leaf of almost every compositor graph, and the smallest thing that is worth being a node: "the opaque stage, from the camera, into this pass". A forward compositor is three of these; a deferred one is a G-buffer stage, a lighting pass and a forward stage for what the G-buffer cannot represent.
Collect is what puts the stage in the view's mask. Doing it here rather than asking a host to set the mask is the point of the collect phase: what a view is culled and sorted for is decided by the compositor that draws it, so a stage nothing draws costs no culling and a stage that is drawn cannot have been forgotten in the mask.
Fields and properties (3)
public required RenderView ViewThe view to draw from.
public required RenderStage StageThe stage to draw.
public ViewConstants? ConstantsThe per-view block to bind before drawing, if the frame has one.
Methods (3)
protected internal override void Collect(GraphicsCompositor compositor)Declares the views and stages this node needs, before anything is culled.
protected internal override void Record(GraphicsCompositor compositor, RenderDrawContext context)Records this node's work into a pass somebody else opened.
public override string ToString()Returns a string that represents the current object.
Used by (14)
- ClusteredLightingTestsVixen.Rendering.Tests
- ClusteredShadingDeviceTestsVixen.Graphics.Golden.Tests
- CompositorAssetTestsVixen.Rendering.Tests
- CompositorBuilderVixen.Rendering
- CompositorImageTestsVixen.Graphics.Golden.Tests
- DepthPrepassTestsVixen.Rendering.Tests
- DescriptorBindingTestsVixen.Rendering.Tests
- ForwardFrameTestsVixen.Rendering.Tests
- GpuVisibilityGroupTestsVixen.Rendering.Tests
- GraphicsCompositorTestsVixen.Rendering.Tests
- IrradianceShadingDeviceTestsVixen.Graphics.Golden.Tests
- ParticleSpriteDeviceTestsVixen.Graphics.Golden.Tests
- VirtualGeometryGoldenTestsVixen.Graphics.Golden.Tests
- PickingRendererVixen.Editor.SceneView