123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203 |
- :github_url: hide
- .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
- .. DO NOT EDIT THIS FILE, but the RDPipelineRasterizationState.xml source instead.
- .. The source is found in doc/classes or modules/<name>/doc_classes.
- .. _class_RDPipelineRasterizationState:
- RDPipelineRasterizationState
- ============================
- **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
- Properties
- ----------
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`PolygonCullMode<enum_RenderingDevice_PolygonCullMode>` | :ref:`cull_mode<class_RDPipelineRasterizationState_property_cull_mode>` | ``0`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`float<class_float>` | :ref:`depth_bias_clamp<class_RDPipelineRasterizationState_property_depth_bias_clamp>` | ``0.0`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`float<class_float>` | :ref:`depth_bias_constant_factor<class_RDPipelineRasterizationState_property_depth_bias_constant_factor>` | ``0.0`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`bool<class_bool>` | :ref:`depth_bias_enable<class_RDPipelineRasterizationState_property_depth_bias_enable>` | ``false`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`float<class_float>` | :ref:`depth_bias_slope_factor<class_RDPipelineRasterizationState_property_depth_bias_slope_factor>` | ``0.0`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`bool<class_bool>` | :ref:`discard_primitives<class_RDPipelineRasterizationState_property_discard_primitives>` | ``false`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`bool<class_bool>` | :ref:`enable_depth_clamp<class_RDPipelineRasterizationState_property_enable_depth_clamp>` | ``false`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`PolygonFrontFace<enum_RenderingDevice_PolygonFrontFace>` | :ref:`front_face<class_RDPipelineRasterizationState_property_front_face>` | ``0`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`float<class_float>` | :ref:`line_width<class_RDPipelineRasterizationState_property_line_width>` | ``1.0`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`int<class_int>` | :ref:`patch_control_points<class_RDPipelineRasterizationState_property_patch_control_points>` | ``1`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- | :ref:`bool<class_bool>` | :ref:`wireframe<class_RDPipelineRasterizationState_property_wireframe>` | ``false`` |
- +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
- Property Descriptions
- ---------------------
- .. _class_RDPipelineRasterizationState_property_cull_mode:
- - :ref:`PolygonCullMode<enum_RenderingDevice_PolygonCullMode>` **cull_mode**
- +-----------+----------------------+
- | *Default* | ``0`` |
- +-----------+----------------------+
- | *Setter* | set_cull_mode(value) |
- +-----------+----------------------+
- | *Getter* | get_cull_mode() |
- +-----------+----------------------+
- ----
- .. _class_RDPipelineRasterizationState_property_depth_bias_clamp:
- - :ref:`float<class_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<class_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<class_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<class_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<class_bool>` **discard_primitives**
- +-----------+-------------------------------+
- | *Default* | ``false`` |
- +-----------+-------------------------------+
- | *Setter* | set_discard_primitives(value) |
- +-----------+-------------------------------+
- | *Getter* | get_discard_primitives() |
- +-----------+-------------------------------+
- ----
- .. _class_RDPipelineRasterizationState_property_enable_depth_clamp:
- - :ref:`bool<class_bool>` **enable_depth_clamp**
- +-----------+-------------------------------+
- | *Default* | ``false`` |
- +-----------+-------------------------------+
- | *Setter* | set_enable_depth_clamp(value) |
- +-----------+-------------------------------+
- | *Getter* | get_enable_depth_clamp() |
- +-----------+-------------------------------+
- ----
- .. _class_RDPipelineRasterizationState_property_front_face:
- - :ref:`PolygonFrontFace<enum_RenderingDevice_PolygonFrontFace>` **front_face**
- +-----------+-----------------------+
- | *Default* | ``0`` |
- +-----------+-----------------------+
- | *Setter* | set_front_face(value) |
- +-----------+-----------------------+
- | *Getter* | get_front_face() |
- +-----------+-----------------------+
- ----
- .. _class_RDPipelineRasterizationState_property_line_width:
- - :ref:`float<class_float>` **line_width**
- +-----------+-----------------------+
- | *Default* | ``1.0`` |
- +-----------+-----------------------+
- | *Setter* | set_line_width(value) |
- +-----------+-----------------------+
- | *Getter* | get_line_width() |
- +-----------+-----------------------+
- ----
- .. _class_RDPipelineRasterizationState_property_patch_control_points:
- - :ref:`int<class_int>` **patch_control_points**
- +-----------+---------------------------------+
- | *Default* | ``1`` |
- +-----------+---------------------------------+
- | *Setter* | set_patch_control_points(value) |
- +-----------+---------------------------------+
- | *Getter* | get_patch_control_points() |
- +-----------+---------------------------------+
- ----
- .. _class_RDPipelineRasterizationState_property_wireframe:
- - :ref:`bool<class_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.)`
|