PipelineStateOverride QML Type | Qt Quick 3D | Qt 6.11.0
Description: Defines pipeline state overrides for a single pass.

- Qt 6.11
- Qt Quick 3D
- QML Types
- PipelineStateOverride
- Qt Quick 3D | Commercial or GPLv3

# PipelineStateOverride QML Type

Defines pipeline state overrides for a single pass. More...

Import Statement: | `import QtQuick3D`
Since: | Qt 6.11
Inherits: | Command

- List of all members, including inherited members

## 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.