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...
RDPipelineRasterizationState¶
Inherits: RefCounted < Object
Pipeline rasterization state (used by RenderingDevice).
描述¶
This object is used by RenderingDevice.
属性¶
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
||
|
Property Descriptions¶
PolygonCullMode cull_mode = 0
void set_cull_mode ( PolygonCullMode value )
PolygonCullMode get_cull_mode ( )
The cull mode to use when drawing polygons, which determines whether front faces or backfaces are hidden.
float depth_bias_clamp = 0.0
There is currently no description for this property. Please help us by contributing one!
float depth_bias_constant_factor = 0.0
There is currently no description for this property. Please help us by contributing one!
bool depth_bias_enabled = false
There is currently no description for this property. Please help us by contributing one!
float depth_bias_slope_factor = 0.0
There is currently no description for this property. Please help us by contributing one!
bool discard_primitives = false
If true
, primitives are discarded immediately before the rasterization stage.
bool enable_depth_clamp = false
There is currently no description for this property. Please help us by contributing one!
PolygonFrontFace front_face = 0
void set_front_face ( PolygonFrontFace value )
PolygonFrontFace get_front_face ( )
The winding order to use to determine which face of a triangle is considered its front face.
float line_width = 1.0
The line width to use when drawing lines (in pixels). Thick lines may not be supported on all hardware.
int patch_control_points = 1
The number of control points to use when drawing a patch with tessellation enabled. Higher values result in higher quality at the cost of performance.
bool wireframe = false
If true
, performs wireframe rendering for triangles instead of flat or textured rendering.