GFX.Feature¶
Name | - | Description | Default | Type |
---|---|---|---|---|
<input> |
{ Any } |
|||
<output> |
GFX.Feature |
|||
ViewGenerators |
The shards that are run to generate and return shader parameters per view, can use nested rendering commmands. | None |
Wire [ Wire ] [ Shard ] [ [ Shard ] ] |
|
DrawableGenerators |
The shards that are run to generate and return shader parameters per drawable, can use nested rendering commmands. | None |
Wire [ Wire ] [ Shard ] [ [ Shard ] ] |
Details¶
A Feature can be thought of as an extension or plugin to the rendering logic.
A Feature may have various components:
- Blend State (Alpha, Additive, ...)
- Depth Testing
- Vertex/Fragment shaders
For a more extensive description about shaders, see Shaders.
Features can be used in various locations: - Attached to a GFX.DrawablePass - Attached to a GFX.EffectPass