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.

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 = 0.0

  • void set_depth_bias_constant_factor ( float value )

  • float get_depth_bias_constant_factor ( )

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


bool depth_bias_enabled = false

  • void set_depth_bias_enabled ( bool value )

  • bool get_depth_bias_enabled ( )

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


float depth_bias_slope_factor = 0.0

  • void set_depth_bias_slope_factor ( float value )

  • float get_depth_bias_slope_factor ( )

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


bool discard_primitives = false

  • void set_discard_primitives ( bool value )

  • bool get_discard_primitives ( )

If true, primitives are discarded immediately before the rasterization stage.


bool enable_depth_clamp = false

  • void set_enable_depth_clamp ( bool value )

  • bool get_enable_depth_clamp ( )

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


PolygonFrontFace front_face = 0