class_rdpipelinerasterizationstate.rst 10 KB

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