Files
godot-docs/classes/class_rdpipelinerasterizationstate.rst
2022-11-17 21:03:53 +01:00

251 lines
12 KiB
ReStructuredText

: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<class_RefCounted>` **<** :ref:`Object<class_Object>`
.. container:: contribute
There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
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_enabled<class_RDPipelineRasterizationState_property_depth_bias_enabled>` | ``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() |
+-----------+----------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _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() |
+-----------+-----------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _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() |
+-----------+---------------------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _class_RDPipelineRasterizationState_property_depth_bias_enabled:
- :ref:`bool<class_bool>` **depth_bias_enabled**
+-----------+-------------------------------+
| *Default* | ``false`` |
+-----------+-------------------------------+
| *Setter* | set_depth_bias_enabled(value) |
+-----------+-------------------------------+
| *Getter* | get_depth_bias_enabled() |
+-----------+-------------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _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() |
+-----------+------------------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _class_RDPipelineRasterizationState_property_discard_primitives:
- :ref:`bool<class_bool>` **discard_primitives**
+-----------+-------------------------------+
| *Default* | ``false`` |
+-----------+-------------------------------+
| *Setter* | set_discard_primitives(value) |
+-----------+-------------------------------+
| *Getter* | get_discard_primitives() |
+-----------+-------------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _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() |
+-----------+-------------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _class_RDPipelineRasterizationState_property_front_face:
- :ref:`PolygonFrontFace<enum_RenderingDevice_PolygonFrontFace>` **front_face**
+-----------+-----------------------+
| *Default* | ``0`` |
+-----------+-----------------------+
| *Setter* | set_front_face(value) |
+-----------+-----------------------+
| *Getter* | get_front_face() |
+-----------+-----------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _class_RDPipelineRasterizationState_property_line_width:
- :ref:`float<class_float>` **line_width**
+-----------+-----------------------+
| *Default* | ``1.0`` |
+-----------+-----------------------+
| *Setter* | set_line_width(value) |
+-----------+-----------------------+
| *Getter* | get_line_width() |
+-----------+-----------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _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() |
+-----------+---------------------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
----
.. _class_RDPipelineRasterizationState_property_wireframe:
- :ref:`bool<class_bool>` **wireframe**
+-----------+----------------------+
| *Default* | ``false`` |
+-----------+----------------------+
| *Setter* | set_wireframe(value) |
+-----------+----------------------+
| *Getter* | get_wireframe() |
+-----------+----------------------+
.. container:: contribute
There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
.. |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.)`