RenderStage enum Rendering
A named anchor point in the built-in render pipeline where a CustomRenderPass runs. Ordering within one stage follows the order the passes were added.
The stages are coarse and stable, so a custom pass keeps working as the internal pipeline evolves. beforeScene runs before anything of the view is drawn and has no color to work on; afterScene and beforeToneMapping operate on the linear HDR scene color (before tone mapping); the last two operate on the display-referred image (after the resolve/tone-mapping pass).
Values
- beforeScene → const RenderStage
-
Before anything of the view is drawn (its shadows, depth prepass and scene), with this frame's camera, for output the same frame's draws read, such as a RenderPassContext.drawObjects mask a material samples.
There is no color chain, so RenderPassContext.currentColor and RenderPassContext.applyShader throw here, and the pass's CustomRenderPass.inputs are not produced for it.
- afterScene → const RenderStage
-
Right after the scene is drawn (opaque and transparent), on the linear HDR scene color, before bloom and any HDR custom effects.
- beforeToneMapping → const RenderStage
-
On the linear HDR scene color just before tone mapping, after bloom and HDR custom effects.
- afterToneMapping → const RenderStage
-
On the display-referred image right after tone mapping, before anti-aliasing.
- afterAntiAliasing → const RenderStage
-
At the very end, after anti-aliasing and display-referred custom effects (the overlay slot the built-in selection outline uses).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RenderStage> - A constant List of the values in this enum, in order of their declaration.