Pipeline depth/stencil state (used by [RenderingDevice]).
[RDPipelineDepthStencilState] controls the way depth and stencil comparisons are performed when sampling those values using [RenderingDevice].
- The method used for comparing the previous back stencil value and [member back_op_reference].
- Selects which bits from the back stencil value will be compared.
- The operation to perform on the stencil buffer for back pixels that pass the stencil test but fail the depth test.
- The operation to perform on the stencil buffer for back pixels that fail the stencil test.
- The operation to perform on the stencil buffer for back pixels that pass the stencil test.
- The value the previous back stencil value will be compared to.
- Selects which bits from the back stencil value will be changed.
- The method used for comparing the previous and current depth values.
- The maximum depth that returns [code]true[/code] for [member enable_depth_range].
- The minimum depth that returns [code]true[/code] for [member enable_depth_range].
- If [code]true[/code], each depth value will be tested to see if it is between [member depth_range_min] and [member depth_range_max]. If it is outside of these values, it is discarded.
- If [code]true[/code], enables depth testing which allows objects to be automatically occluded by other objects based on their depth. This also allows objects to be partially occluded by other objects. If [code]false[/code], objects will appear in the order they were drawn (like in Godot's 2D renderer).
- If [code]true[/code], writes to the depth buffer whenever the depth test returns [code]true[/code]. Only works when enable_depth_test is also [code]true[/code].
- If [code]true[/code], enables stencil testing. There are separate stencil buffers for front-facing triangles and back-facing triangles. See properties that begin with "front_op" and properties with "back_op" for each.
- The method used for comparing the previous front stencil value and [member front_op_reference].
- Selects which bits from the front stencil value will be compared.
- The operation to perform on the stencil buffer for front pixels that pass the stencil test but fail the depth test.
- The operation to perform on the stencil buffer for front pixels that fail the stencil test.
- The operation to perform on the stencil buffer for front pixels that pass the stencil test.
- The value the previous front stencil value will be compared to.
- Selects which bits from the front stencil value will be changed.