Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
RDPipelineDepthStencilState¶
Inherits: RefCounted < Object
Pipeline depth/stencil state (used by RenderingDevice).
描述¶
RDPipelineDepthStencilState controls the way depth and stencil comparisons are performed when sampling those values using RenderingDevice.
属性¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Property Descriptions¶
CompareOperator back_op_compare = 7
void set_back_op_compare ( CompareOperator value )
CompareOperator get_back_op_compare ( )
There is currently no description for this property. Please help us by contributing one!
int back_op_compare_mask = 0
There is currently no description for this property. Please help us by contributing one!
StencilOperation back_op_depth_fail = 1
void set_back_op_depth_fail ( StencilOperation value )
StencilOperation get_back_op_depth_fail ( )
There is currently no description for this property. Please help us by contributing one!
StencilOperation back_op_fail = 1
void set_back_op_fail ( StencilOperation value )
StencilOperation get_back_op_fail ( )
There is currently no description for this property. Please help us by contributing one!
StencilOperation back_op_pass = 1
void set_back_op_pass ( StencilOperation value )
StencilOperation get_back_op_pass ( )
There is currently no description for this property. Please help us by contributing one!
int back_op_reference = 0
There is currently no description for this property. Please help us by contributing one!
int back_op_write_mask = 0
There is currently no description for this property. Please help us by contributing one!
CompareOperator depth_compare_operator = 7
void set_depth_compare_operator ( CompareOperator value )
CompareOperator get_depth_compare_operator ( )
There is currently no description for this property. Please help us by contributing one!
float depth_range_max = 0.0
There is currently no description for this property. Please help us by contributing one!
float depth_range_min = 0.0
There is currently no description for this property. Please help us by contributing one!
bool enable_depth_range = false
There is currently no description for this property. Please help us by contributing one!
bool enable_depth_test = false
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).
bool enable_depth_write = false
There is currently no description for this property. Please help us by contributing one!
bool enable_stencil = false
There is currently no description for this property. Please help us by contributing one!
CompareOperator front_op_compare = 7
void set_front_op_compare ( CompareOperator value )
CompareOperator get_front_op_compare ( )
There is currently no description for this property. Please help us by contributing one!
int front_op_compare_mask = 0
There is currently no description for this property. Please help us by contributing one!
StencilOperation front_op_depth_fail = 1
void set_front_op_depth_fail ( StencilOperation value )
StencilOperation get_front_op_depth_fail ( )
There is currently no description for this property. Please help us by contributing one!
StencilOperation front_op_fail = 1
void set_front_op_fail ( StencilOperation value )
StencilOperation get_front_op_fail ( )
There is currently no description for this property. Please help us by contributing one!
StencilOperation front_op_pass = 1
void set_front_op_pass ( StencilOperation value )
StencilOperation get_front_op_pass ( )
There is currently no description for this property. Please help us by contributing one!
int front_op_reference = 0
There is currently no description for this property. Please help us by contributing one!
int front_op_write_mask = 0
There is currently no description for this property. Please help us by contributing one!