class_rdpipelinerasterizationstate.rst 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. :github_url: hide
  2. .. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
  3. .. DO NOT EDIT THIS FILE, but the RDPipelineRasterizationState.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_RDPipelineRasterizationState:
  6. RDPipelineRasterizationState
  7. ============================
  8. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. Properties
  10. ----------
  11. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  12. | :ref:`PolygonCullMode<enum_RenderingDevice_PolygonCullMode>` | :ref:`cull_mode<class_RDPipelineRasterizationState_property_cull_mode>` | ``0`` |
  13. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  14. | :ref:`float<class_float>` | :ref:`depth_bias_clamp<class_RDPipelineRasterizationState_property_depth_bias_clamp>` | ``0.0`` |
  15. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  16. | :ref:`float<class_float>` | :ref:`depth_bias_constant_factor<class_RDPipelineRasterizationState_property_depth_bias_constant_factor>` | ``0.0`` |
  17. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  18. | :ref:`bool<class_bool>` | :ref:`depth_bias_enable<class_RDPipelineRasterizationState_property_depth_bias_enable>` | ``false`` |
  19. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  20. | :ref:`float<class_float>` | :ref:`depth_bias_slope_factor<class_RDPipelineRasterizationState_property_depth_bias_slope_factor>` | ``0.0`` |
  21. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  22. | :ref:`bool<class_bool>` | :ref:`discard_primitives<class_RDPipelineRasterizationState_property_discard_primitives>` | ``false`` |
  23. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  24. | :ref:`bool<class_bool>` | :ref:`enable_depth_clamp<class_RDPipelineRasterizationState_property_enable_depth_clamp>` | ``false`` |
  25. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  26. | :ref:`PolygonFrontFace<enum_RenderingDevice_PolygonFrontFace>` | :ref:`front_face<class_RDPipelineRasterizationState_property_front_face>` | ``0`` |
  27. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  28. | :ref:`float<class_float>` | :ref:`line_width<class_RDPipelineRasterizationState_property_line_width>` | ``1.0`` |
  29. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  30. | :ref:`int<class_int>` | :ref:`patch_control_points<class_RDPipelineRasterizationState_property_patch_control_points>` | ``1`` |
  31. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  32. | :ref:`bool<class_bool>` | :ref:`wireframe<class_RDPipelineRasterizationState_property_wireframe>` | ``false`` |
  33. +----------------------------------------------------------------+-----------------------------------------------------------------------------------------------------------+-----------+
  34. Property Descriptions
  35. ---------------------
  36. .. _class_RDPipelineRasterizationState_property_cull_mode:
  37. - :ref:`PolygonCullMode<enum_RenderingDevice_PolygonCullMode>` **cull_mode**
  38. +-----------+----------------------+
  39. | *Default* | ``0`` |
  40. +-----------+----------------------+
  41. | *Setter* | set_cull_mode(value) |
  42. +-----------+----------------------+
  43. | *Getter* | get_cull_mode() |
  44. +-----------+----------------------+
  45. ----
  46. .. _class_RDPipelineRasterizationState_property_depth_bias_clamp:
  47. - :ref:`float<class_float>` **depth_bias_clamp**
  48. +-----------+-----------------------------+
  49. | *Default* | ``0.0`` |
  50. +-----------+-----------------------------+
  51. | *Setter* | set_depth_bias_clamp(value) |
  52. +-----------+-----------------------------+
  53. | *Getter* | get_depth_bias_clamp() |
  54. +-----------+-----------------------------+
  55. ----
  56. .. _class_RDPipelineRasterizationState_property_depth_bias_constant_factor:
  57. - :ref:`float<class_float>` **depth_bias_constant_factor**
  58. +-----------+---------------------------------------+
  59. | *Default* | ``0.0`` |
  60. +-----------+---------------------------------------+
  61. | *Setter* | set_depth_bias_constant_factor(value) |
  62. +-----------+---------------------------------------+
  63. | *Getter* | get_depth_bias_constant_factor() |
  64. +-----------+---------------------------------------+
  65. ----
  66. .. _class_RDPipelineRasterizationState_property_depth_bias_enable:
  67. - :ref:`bool<class_bool>` **depth_bias_enable**
  68. +-----------+------------------------------+
  69. | *Default* | ``false`` |
  70. +-----------+------------------------------+
  71. | *Setter* | set_depth_bias_enable(value) |
  72. +-----------+------------------------------+
  73. | *Getter* | get_depth_bias_enable() |
  74. +-----------+------------------------------+
  75. ----
  76. .. _class_RDPipelineRasterizationState_property_depth_bias_slope_factor:
  77. - :ref:`float<class_float>` **depth_bias_slope_factor**
  78. +-----------+------------------------------------+
  79. | *Default* | ``0.0`` |
  80. +-----------+------------------------------------+
  81. | *Setter* | set_depth_bias_slope_factor(value) |
  82. +-----------+------------------------------------+
  83. | *Getter* | get_depth_bias_slope_factor() |
  84. +-----------+------------------------------------+
  85. ----
  86. .. _class_RDPipelineRasterizationState_property_discard_primitives:
  87. - :ref:`bool<class_bool>` **discard_primitives**
  88. +-----------+-------------------------------+
  89. | *Default* | ``false`` |
  90. +-----------+-------------------------------+
  91. | *Setter* | set_discard_primitives(value) |
  92. +-----------+-------------------------------+
  93. | *Getter* | get_discard_primitives() |
  94. +-----------+-------------------------------+
  95. ----
  96. .. _class_RDPipelineRasterizationState_property_enable_depth_clamp:
  97. - :ref:`bool<class_bool>` **enable_depth_clamp**
  98. +-----------+-------------------------------+
  99. | *Default* | ``false`` |
  100. +-----------+-------------------------------+
  101. | *Setter* | set_enable_depth_clamp(value) |
  102. +-----------+-------------------------------+
  103. | *Getter* | get_enable_depth_clamp() |
  104. +-----------+-------------------------------+
  105. ----
  106. .. _class_RDPipelineRasterizationState_property_front_face:
  107. - :ref:`PolygonFrontFace<enum_RenderingDevice_PolygonFrontFace>` **front_face**
  108. +-----------+-----------------------+
  109. | *Default* | ``0`` |
  110. +-----------+-----------------------+
  111. | *Setter* | set_front_face(value) |
  112. +-----------+-----------------------+
  113. | *Getter* | get_front_face() |
  114. +-----------+-----------------------+
  115. ----
  116. .. _class_RDPipelineRasterizationState_property_line_width:
  117. - :ref:`float<class_float>` **line_width**
  118. +-----------+-----------------------+
  119. | *Default* | ``1.0`` |
  120. +-----------+-----------------------+
  121. | *Setter* | set_line_width(value) |
  122. +-----------+-----------------------+
  123. | *Getter* | get_line_width() |
  124. +-----------+-----------------------+
  125. ----
  126. .. _class_RDPipelineRasterizationState_property_patch_control_points:
  127. - :ref:`int<class_int>` **patch_control_points**
  128. +-----------+---------------------------------+
  129. | *Default* | ``1`` |
  130. +-----------+---------------------------------+
  131. | *Setter* | set_patch_control_points(value) |
  132. +-----------+---------------------------------+
  133. | *Getter* | get_patch_control_points() |
  134. +-----------+---------------------------------+
  135. ----
  136. .. _class_RDPipelineRasterizationState_property_wireframe:
  137. - :ref:`bool<class_bool>` **wireframe**
  138. +-----------+----------------------+
  139. | *Default* | ``false`` |
  140. +-----------+----------------------+
  141. | *Setter* | set_wireframe(value) |
  142. +-----------+----------------------+
  143. | *Getter* | get_wireframe() |
  144. +-----------+----------------------+
  145. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  146. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  147. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  148. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  149. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  150. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`