PipelineStateOverride QML Type
Defines pipeline state overrides for a single pass. More...
| Import Statement: | import QtQuick3D |
| Since: | Qt 6.11 |
| Inherits: |
Detailed Description
PipelineStateOverride is a Command which can be added to the list of commands in a RenderPass. When executed, it will override the pipeline state in the render pass according to the properties set on the PipelineStateOverride. Only values that are set will override the existing pipeline state's values. If you want to reset a value that has been overriden to the default, then make sure to set the property to undefined.
If set to true, enables depth testing for the render pass. If set to false, disables depth testing. Setting this property to true requires a depth attachment for the render pass.
If set to true, enables depth writing for the render pass. If set to false, disables depth writing. Setting this property to true requires a depth attachment for the render pass.
If set to true, enables blending for the render pass. If set to false, disables blending.
If set to true, enables the use of stencil reference value for the render pass. If set to false, disables the use of stencil reference value.
If set to true, enables the use of scissor test for the render pass. If set to false, disables the use of scissor test.
Sets the depth comparison function for the render pass.
| Constant | Value |
|---|---|
PipelineStateOverride.Never | |
PipelineStateOverride.Less | |
PipelineStateOverride.Equal | |
PipelineStateOverride.LessOrEqual | |
PipelineStateOverride.Greater | |
PipelineStateOverride.NotEqual | |
PipelineStateOverride.GreaterOrEqual | |
PipelineStateOverride.Always |
Sets the face culling mode for the render pass.
| Constant | Value |
|---|---|
PipelineStateOverride.None | |
PipelineStateOverride.Front | |
PipelineStateOverride.Back |
Sets the polygon rasterization mode for the render pass.
| Constant | Value |
|---|---|
PipelineStateOverride.Fill | |
PipelineStateOverride.Line |
Sets the stencil write mask for the render pass.
Sets the stencil reference value for the render pass.
Sets the viewport rectangle for the render pass.
Sets the scissor rectangle for the render pass.
Sets the blending parameters for color attachment 0 of the render pass.
Sets the blending parameters for color attachment 1 of the render pass.
Sets the blending parameters for color attachment 2 of the render pass.
Sets the blending parameters for color attachment 3 of the render pass.
Sets the blending parameters for color attachment 4 of the render pass.
Sets the blending parameters for color attachment 5 of the render pass.
Sets the blending parameters for color attachment 6 of the render pass.
Sets the blending parameters for color attachment 7 of the render pass.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.