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 back_op_reference.
The operation to perform on the stencil buffer for back pixels that pass the stencil test but fail the depth test.
If true, each depth value will be tested to see if it is between depth_range_min and depth_range_max. If it is outside of these values, it is discarded.
If true, 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 false, objects will appear in the order they were drawn (like in Godot's 2D renderer).
If true, writes to the depth buffer whenever the depth test returns true. Only works when enable_depth_test is also true.
If true, 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 front_op_reference.
The operation to perform on the stencil buffer for front pixels that pass the stencil test but fail the depth test.