GFX.DrawablePass¶
Name | Mandatory | Description | Default | Type |
---|---|---|---|---|
⬅️ Input |
The input of this shard is ignored. | None |
||
Output ➡️ |
The render pass object for use in a render pipeline. | GFX.PipelineStep |
||
Name |
No | A name for this pass, to aid in debugging | none |
None String |
Queue |
No | The drawables queue to get drawables from. | none |
Var(GFX.DrawQueue) |
Features |
No | Features to attach to this drawable | none |
None [GFX.Feature] Var([GFX.Feature]) |
Outputs |
No | The outputs to render into | none |
None [{Any}] Var([{Any}]) |
OutputScale |
No | The scale that the output should be rendered as | {main: none} |
None Any |
Sort |
No | The sorting mode to use to sort the drawables. The default sorting behavior is to sort by optimal batching. | none |
None SortMode Var(SortMode) |
IgnoreDrawableFeatures |
No | Ignore any features on drawables and only use the features specified in this pass. | none |
None Bool |
This shard creates a render pass object, meant for rendering drawable objects, using the drawables from the drawables queue (specified in the Queue parameter) and the sequence of features objects (specified in the Features parameter).
Details¶
A step that can be passed to Render. When processed it will take all Drawables from the referenced DrawQueue and draw them.
Features specified on the DrawablePass will be applied to all objects that are drawn as part of that pass.