Up to date

This page is up to date for Godot 4.2. If you still find outdated information, please open an issue.

RDPipelineRasterizationState

Inherits: RefCounted < Object

Pipeline rasterization state (used by RenderingDevice).

Description

This object is used by RenderingDevice.

Properties

PolygonCullMode

cull_mode

0

float

depth_bias_clamp

0.0

float

depth_bias_constant_factor

0.0

bool

depth_bias_enabled

false

float

depth_bias_slope_factor

0.0

bool

discard_primitives

false

bool

enable_depth_clamp

false

PolygonFrontFace

front_face

0

float

line_width

1.0

int

patch_control_points

1

bool

wireframe

false


Property Descriptions

PolygonCullMode cull_mode = 0

The cull mode to use when drawing polygons, which determines whether front faces or backfaces are hidden.


float depth_bias_clamp = 0.0

  • void set_depth_bias_clamp ( float value )

  • float get_depth_bias_clamp ( )

There is currently no description for this property. Please help us by contributing one!


float depth_bias_constant_factor =