Class reference

RDPipelineRasterizationState

Inherits RefCounted

Pipeline rasterization state (used by RenderingDevice).

Description

This object is used by RenderingDevice.

Properties

int 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

A limit for how much each depth value can be offset. If negative, it serves as a minimum value, but if positive, it serves as a maximum value.

bool discard_primitives = false

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

bool enable_depth_clamp = false

If true, clamps depth values according to the minimum and maximum depth of the associated viewport.

int front_face = 0

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.

Source revision 5592dc3a7a61
Connection interrupted. Reload×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.