RDPipelineDepthStencilState
继承: RefCounted < Object
管线的深度/模板状态(由 RenderingDevice 使用)。
描述
RDPipelineDepthStencilState 控制的是在使用 RenderingDevice 对深度和模板进行采样时,如何进行深度和模板的比较。
属性
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
属性说明
CompareOperator back_op_compare = 7
void set_back_op_compare ( CompareOperator value )
CompareOperator get_back_op_compare ( )
目前没有这个属性的描述。请帮我们贡献一个!
int back_op_compare_mask = 0
目前没有这个属性的描述。请帮我们贡献一个!
StencilOperation back_op_depth_fail = 1
void set_back_op_depth_fail ( StencilOperation value )
StencilOperation get_back_op_depth_fail ( )
目前没有这个属性的描述。请帮我们贡献一个!
StencilOperation back_op_fail = 1
void set_back_op_fail ( StencilOperation value )
StencilOperation get_back_op_fail ( )
目前没有这个属性的描述。请帮我们贡献一个!
StencilOperation back_op_pass = 1
void set_back_op_pass ( StencilOperation value )
StencilOperation get_back_op_pass ( )
目前没有这个属性的描述。请帮我们贡献一个!
int back_op_reference = 0
目前没有这个属性的描述。请帮我们贡献一个!
int back_op_write_mask = 0
目前没有这个属性的描述。请帮我们贡献一个!
CompareOperator depth_compare_operator = 7
void set_depth_compare_operator ( CompareOperator value )
CompareOperator get_depth_compare_operator ( )
目前没有这个属性的描述。请帮我们贡献一个!
float depth_range_max = 0.0
目前没有这个属性的描述。请帮我们贡献一个!
float depth_range_min = 0.0
目前没有这个属性的描述。请帮我们贡献一个!
bool enable_depth_range = false
目前没有这个属性的描述。请帮我们贡献一个!
bool enable_depth_test = false
如果为 true
,则会启用深度测试,能够让对象根据深度自动被其他对象遮挡。这样对象就能够被其他对象部分遮挡。如果为 false
,则会按照绘制顺序显示(类似 Godot 的 2D 渲染器)。
bool enable_depth_write = false
目前没有这个属性的描述。请帮我们贡献一个!
bool enable_stencil = false
目前没有这个属性的描述。请帮我们贡献一个!
CompareOperator front_op_compare = 7
void set_front_op_compare ( CompareOperator value )
CompareOperator get_front_op_compare ( )
目前没有这个属性的描述。请帮我们贡献一个!
int front_op_compare_mask = 0
目前没有这个属性的描述。请帮我们贡献一个!
StencilOperation front_op_depth_fail = 1
void set_front_op_depth_fail ( StencilOperation value )
StencilOperation get_front_op_depth_fail ( )
目前没有这个属性的描述。请帮我们贡献一个!
StencilOperation front_op_fail = 1
void set_front_op_fail ( StencilOperation value )
StencilOperation get_front_op_fail ( )
目前没有这个属性的描述。请帮我们贡献一个!
StencilOperation front_op_pass = 1
void set_front_op_pass ( StencilOperation value )
StencilOperation get_front_op_pass ( )
目前没有这个属性的描述。请帮我们贡献一个!
int front_op_reference = 0
目前没有这个属性的描述。请帮我们贡献一个!
int front_op_write_mask = 0
目前没有这个属性的描述。请帮我们贡献一个!
© 版权所有 2014-present Juan Linietsky, Ariel Manzur and the Godot community (CC BY 3.0). Revision b1c660f7
.
Built with Sphinx using a theme provided by Read the Docs.