PipelineStateRenderPass
¶
Use the Pipeline State Render Pass to set for its child render passes the depth and stencil testing, transparency, and culling. This render pass sets the rendering state before passing the control to its descendants. After the descendant render passes of a Pipeline State Render Pass execute, Kanzi restores the rendering state. If a Pipeline State Render Pass does not have any descendants, Kanzi does not apply the rendering state you set in that render pass.
You change the rendering state by setting the properties in a Pipeline State Render Pass. The default settings in a Pipeline State Render Pass that you can set are:
Kanzi groups the rendering state combinations that a Pipeline State Render Pass applies into these state stacks:
If you do not set a property, Kanzi uses the default or previously set value. See CompositionStack.
Use a Pipeline State render pass to set for its child render passes the depth and stencil testing, transparency, and culling.
Inherits properties and message types from PipelineStateRenderPassMetadata.
Create a Pipeline State Render Pass.
| name | (string) | The name of the Pipeline State Render Pass. |
| (PipelineStateRenderPass) | The created Pipeline State Render Pass. |