:github_url: hide .. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RDPipelineRasterizationState.xml. .. _class_RDPipelineRasterizationState: RDPipelineRasterizationState ============================ **Inherits:** :ref:`RefCounted` **<** :ref:`Object` Properties ---------- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`PolygonCullMode` | :ref:`cull_mode` | ``0`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`depth_bias_clamp` | ``0.0`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`depth_bias_constant_factor` | ``0.0`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`depth_bias_enable` | ``false`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`depth_bias_slope_factor` | ``0.0`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`discard_primitives` | ``false`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`enable_depth_clamp` | ``false`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`PolygonFrontFace` | :ref:`front_face` | ``0`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`float` | :ref:`line_width` | ``1.0`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`int` | :ref:`patch_control_points` | ``1`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ | :ref:`bool` | :ref:`wireframe` | ``false`` | +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+ Property Descriptions --------------------- .. _class_RDPipelineRasterizationState_property_cull_mode: - :ref:`PolygonCullMode` **cull_mode** +-----------+----------------------+ | *Default* | ``0`` | +-----------+----------------------+ | *Setter* | set_cull_mode(value) | +-----------+----------------------+ | *Getter* | get_cull_mode() | +-----------+----------------------+ ---- .. _class_RDPipelineRasterizationState_property_depth_bias_clamp: - :ref:`float` **depth_bias_clamp** +-----------+-----------------------------+ | *Default* | ``0.0`` | +-----------+-----------------------------+ | *Setter* | set_depth_bias_clamp(value) | +-----------+-----------------------------+ | *Getter* | get_depth_bias_clamp() | +-----------+-----------------------------+ ---- .. _class_RDPipelineRasterizationState_property_depth_bias_constant_factor: - :ref:`float` **depth_bias_constant_factor** +-----------+---------------------------------------+ | *Default* | ``0.0`` | +-----------+---------------------------------------+ | *Setter* | set_depth_bias_constant_factor(value) | +-----------+---------------------------------------+ | *Getter* | get_depth_bias_constant_factor() | +-----------+---------------------------------------+ ---- .. _class_RDPipelineRasterizationState_property_depth_bias_enable: - :ref:`bool` **depth_bias_enable** +-----------+------------------------------+ | *Default* | ``false`` | +-----------+------------------------------+ | *Setter* | set_depth_bias_enable(value) | +-----------+------------------------------+ | *Getter* | get_depth_bias_enable() | +-----------+------------------------------+ ---- .. _class_RDPipelineRasterizationState_property_depth_bias_slope_factor: - :ref:`float` **depth_bias_slope_factor** +-----------+------------------------------------+ | *Default* | ``0.0`` | +-----------+------------------------------------+ | *Setter* | set_depth_bias_slope_factor(value) | +-----------+------------------------------------+ | *Getter* | get_depth_bias_slope_factor() | +-----------+------------------------------------+ ---- .. _class_RDPipelineRasterizationState_property_discard_primitives: - :ref:`bool` **discard_primitives** +-----------+-------------------------------+ | *Default* | ``false`` | +-----------+-------------------------------+ | *Setter* | set_discard_primitives(value) | +-----------+-------------------------------+ | *Getter* | get_discard_primitives() | +-----------+-------------------------------+ ---- .. _class_RDPipelineRasterizationState_property_enable_depth_clamp: - :ref:`bool` **enable_depth_clamp** +-----------+-------------------------------+ | *Default* | ``false`` | +-----------+-------------------------------+ | *Setter* | set_enable_depth_clamp(value) | +-----------+-------------------------------+ | *Getter* | get_enable_depth_clamp() | +-----------+-------------------------------+ ---- .. _class_RDPipelineRasterizationState_property_front_face: - :ref:`PolygonFrontFace` **front_face** +-----------+-----------------------+ | *Default* | ``0`` | +-----------+-----------------------+ | *Setter* | set_front_face(value) | +-----------+-----------------------+ | *Getter* | get_front_face() | +-----------+-----------------------+ ---- .. _class_RDPipelineRasterizationState_property_line_width: - :ref:`float` **line_width** +-----------+-----------------------+ | *Default* | ``1.0`` | +-----------+-----------------------+ | *Setter* | set_line_width(value) | +-----------+-----------------------+ | *Getter* | get_line_width() | +-----------+-----------------------+ ---- .. _class_RDPipelineRasterizationState_property_patch_control_points: - :ref:`int` **patch_control_points** +-----------+---------------------------------+ | *Default* | ``1`` | +-----------+---------------------------------+ | *Setter* | set_patch_control_points(value) | +-----------+---------------------------------+ | *Getter* | get_patch_control_points() | +-----------+---------------------------------+ ---- .. _class_RDPipelineRasterizationState_property_wireframe: - :ref:`bool` **wireframe** +-----------+----------------------+ | *Default* | ``false`` | +-----------+----------------------+ | *Setter* | set_wireframe(value) | +-----------+----------------------+ | *Getter* | get_wireframe() | +-----------+----------------------+ .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`