class_rdpipelinedepthstencilstate.rst 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480
  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/RDPipelineDepthStencilState.xml.
  6. .. _class_RDPipelineDepthStencilState:
  7. RDPipelineDepthStencilState
  8. ===========================
  9. **Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  10. .. container:: contribute
  11. There is currently no description for this class. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  12. .. rst-class:: classref-reftable-group
  13. Properties
  14. ----------
  15. .. table::
  16. :widths: auto
  17. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  18. | :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` | :ref:`back_op_compare<class_RDPipelineDepthStencilState_property_back_op_compare>` | ``7`` |
  19. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  20. | :ref:`int<class_int>` | :ref:`back_op_compare_mask<class_RDPipelineDepthStencilState_property_back_op_compare_mask>` | ``0`` |
  21. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  22. | :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` | :ref:`back_op_depth_fail<class_RDPipelineDepthStencilState_property_back_op_depth_fail>` | ``1`` |
  23. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  24. | :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` | :ref:`back_op_fail<class_RDPipelineDepthStencilState_property_back_op_fail>` | ``1`` |
  25. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  26. | :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` | :ref:`back_op_pass<class_RDPipelineDepthStencilState_property_back_op_pass>` | ``1`` |
  27. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  28. | :ref:`int<class_int>` | :ref:`back_op_reference<class_RDPipelineDepthStencilState_property_back_op_reference>` | ``0`` |
  29. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  30. | :ref:`int<class_int>` | :ref:`back_op_write_mask<class_RDPipelineDepthStencilState_property_back_op_write_mask>` | ``0`` |
  31. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  32. | :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` | :ref:`depth_compare_operator<class_RDPipelineDepthStencilState_property_depth_compare_operator>` | ``7`` |
  33. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  34. | :ref:`float<class_float>` | :ref:`depth_range_max<class_RDPipelineDepthStencilState_property_depth_range_max>` | ``0.0`` |
  35. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  36. | :ref:`float<class_float>` | :ref:`depth_range_min<class_RDPipelineDepthStencilState_property_depth_range_min>` | ``0.0`` |
  37. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  38. | :ref:`bool<class_bool>` | :ref:`enable_depth_range<class_RDPipelineDepthStencilState_property_enable_depth_range>` | ``false`` |
  39. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  40. | :ref:`bool<class_bool>` | :ref:`enable_depth_test<class_RDPipelineDepthStencilState_property_enable_depth_test>` | ``false`` |
  41. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  42. | :ref:`bool<class_bool>` | :ref:`enable_depth_write<class_RDPipelineDepthStencilState_property_enable_depth_write>` | ``false`` |
  43. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  44. | :ref:`bool<class_bool>` | :ref:`enable_stencil<class_RDPipelineDepthStencilState_property_enable_stencil>` | ``false`` |
  45. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  46. | :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` | :ref:`front_op_compare<class_RDPipelineDepthStencilState_property_front_op_compare>` | ``7`` |
  47. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  48. | :ref:`int<class_int>` | :ref:`front_op_compare_mask<class_RDPipelineDepthStencilState_property_front_op_compare_mask>` | ``0`` |
  49. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  50. | :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` | :ref:`front_op_depth_fail<class_RDPipelineDepthStencilState_property_front_op_depth_fail>` | ``1`` |
  51. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  52. | :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` | :ref:`front_op_fail<class_RDPipelineDepthStencilState_property_front_op_fail>` | ``1`` |
  53. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  54. | :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` | :ref:`front_op_pass<class_RDPipelineDepthStencilState_property_front_op_pass>` | ``1`` |
  55. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  56. | :ref:`int<class_int>` | :ref:`front_op_reference<class_RDPipelineDepthStencilState_property_front_op_reference>` | ``0`` |
  57. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  58. | :ref:`int<class_int>` | :ref:`front_op_write_mask<class_RDPipelineDepthStencilState_property_front_op_write_mask>` | ``0`` |
  59. +----------------------------------------------------------------+--------------------------------------------------------------------------------------------------+-----------+
  60. .. rst-class:: classref-section-separator
  61. ----
  62. .. rst-class:: classref-descriptions-group
  63. Property Descriptions
  64. ---------------------
  65. .. _class_RDPipelineDepthStencilState_property_back_op_compare:
  66. .. rst-class:: classref-property
  67. :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` **back_op_compare** = ``7``
  68. .. rst-class:: classref-property-setget
  69. - void **set_back_op_compare** **(** :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` value **)**
  70. - :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` **get_back_op_compare** **(** **)**
  71. .. container:: contribute
  72. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  73. .. rst-class:: classref-item-separator
  74. ----
  75. .. _class_RDPipelineDepthStencilState_property_back_op_compare_mask:
  76. .. rst-class:: classref-property
  77. :ref:`int<class_int>` **back_op_compare_mask** = ``0``
  78. .. rst-class:: classref-property-setget
  79. - void **set_back_op_compare_mask** **(** :ref:`int<class_int>` value **)**
  80. - :ref:`int<class_int>` **get_back_op_compare_mask** **(** **)**
  81. .. container:: contribute
  82. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  83. .. rst-class:: classref-item-separator
  84. ----
  85. .. _class_RDPipelineDepthStencilState_property_back_op_depth_fail:
  86. .. rst-class:: classref-property
  87. :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **back_op_depth_fail** = ``1``
  88. .. rst-class:: classref-property-setget
  89. - void **set_back_op_depth_fail** **(** :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` value **)**
  90. - :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **get_back_op_depth_fail** **(** **)**
  91. .. container:: contribute
  92. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  93. .. rst-class:: classref-item-separator
  94. ----
  95. .. _class_RDPipelineDepthStencilState_property_back_op_fail:
  96. .. rst-class:: classref-property
  97. :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **back_op_fail** = ``1``
  98. .. rst-class:: classref-property-setget
  99. - void **set_back_op_fail** **(** :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` value **)**
  100. - :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **get_back_op_fail** **(** **)**
  101. .. container:: contribute
  102. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  103. .. rst-class:: classref-item-separator
  104. ----
  105. .. _class_RDPipelineDepthStencilState_property_back_op_pass:
  106. .. rst-class:: classref-property
  107. :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **back_op_pass** = ``1``
  108. .. rst-class:: classref-property-setget
  109. - void **set_back_op_pass** **(** :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` value **)**
  110. - :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **get_back_op_pass** **(** **)**
  111. .. container:: contribute
  112. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  113. .. rst-class:: classref-item-separator
  114. ----
  115. .. _class_RDPipelineDepthStencilState_property_back_op_reference:
  116. .. rst-class:: classref-property
  117. :ref:`int<class_int>` **back_op_reference** = ``0``
  118. .. rst-class:: classref-property-setget
  119. - void **set_back_op_reference** **(** :ref:`int<class_int>` value **)**
  120. - :ref:`int<class_int>` **get_back_op_reference** **(** **)**
  121. .. container:: contribute
  122. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  123. .. rst-class:: classref-item-separator
  124. ----
  125. .. _class_RDPipelineDepthStencilState_property_back_op_write_mask:
  126. .. rst-class:: classref-property
  127. :ref:`int<class_int>` **back_op_write_mask** = ``0``
  128. .. rst-class:: classref-property-setget
  129. - void **set_back_op_write_mask** **(** :ref:`int<class_int>` value **)**
  130. - :ref:`int<class_int>` **get_back_op_write_mask** **(** **)**
  131. .. container:: contribute
  132. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  133. .. rst-class:: classref-item-separator
  134. ----
  135. .. _class_RDPipelineDepthStencilState_property_depth_compare_operator:
  136. .. rst-class:: classref-property
  137. :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` **depth_compare_operator** = ``7``
  138. .. rst-class:: classref-property-setget
  139. - void **set_depth_compare_operator** **(** :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` value **)**
  140. - :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` **get_depth_compare_operator** **(** **)**
  141. .. container:: contribute
  142. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  143. .. rst-class:: classref-item-separator
  144. ----
  145. .. _class_RDPipelineDepthStencilState_property_depth_range_max:
  146. .. rst-class:: classref-property
  147. :ref:`float<class_float>` **depth_range_max** = ``0.0``
  148. .. rst-class:: classref-property-setget
  149. - void **set_depth_range_max** **(** :ref:`float<class_float>` value **)**
  150. - :ref:`float<class_float>` **get_depth_range_max** **(** **)**
  151. .. container:: contribute
  152. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  153. .. rst-class:: classref-item-separator
  154. ----
  155. .. _class_RDPipelineDepthStencilState_property_depth_range_min:
  156. .. rst-class:: classref-property
  157. :ref:`float<class_float>` **depth_range_min** = ``0.0``
  158. .. rst-class:: classref-property-setget
  159. - void **set_depth_range_min** **(** :ref:`float<class_float>` value **)**
  160. - :ref:`float<class_float>` **get_depth_range_min** **(** **)**
  161. .. container:: contribute
  162. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  163. .. rst-class:: classref-item-separator
  164. ----
  165. .. _class_RDPipelineDepthStencilState_property_enable_depth_range:
  166. .. rst-class:: classref-property
  167. :ref:`bool<class_bool>` **enable_depth_range** = ``false``
  168. .. rst-class:: classref-property-setget
  169. - void **set_enable_depth_range** **(** :ref:`bool<class_bool>` value **)**
  170. - :ref:`bool<class_bool>` **get_enable_depth_range** **(** **)**
  171. .. container:: contribute
  172. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  173. .. rst-class:: classref-item-separator
  174. ----
  175. .. _class_RDPipelineDepthStencilState_property_enable_depth_test:
  176. .. rst-class:: classref-property
  177. :ref:`bool<class_bool>` **enable_depth_test** = ``false``
  178. .. rst-class:: classref-property-setget
  179. - void **set_enable_depth_test** **(** :ref:`bool<class_bool>` value **)**
  180. - :ref:`bool<class_bool>` **get_enable_depth_test** **(** **)**
  181. .. container:: contribute
  182. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  183. .. rst-class:: classref-item-separator
  184. ----
  185. .. _class_RDPipelineDepthStencilState_property_enable_depth_write:
  186. .. rst-class:: classref-property
  187. :ref:`bool<class_bool>` **enable_depth_write** = ``false``
  188. .. rst-class:: classref-property-setget
  189. - void **set_enable_depth_write** **(** :ref:`bool<class_bool>` value **)**
  190. - :ref:`bool<class_bool>` **get_enable_depth_write** **(** **)**
  191. .. container:: contribute
  192. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  193. .. rst-class:: classref-item-separator
  194. ----
  195. .. _class_RDPipelineDepthStencilState_property_enable_stencil:
  196. .. rst-class:: classref-property
  197. :ref:`bool<class_bool>` **enable_stencil** = ``false``
  198. .. rst-class:: classref-property-setget
  199. - void **set_enable_stencil** **(** :ref:`bool<class_bool>` value **)**
  200. - :ref:`bool<class_bool>` **get_enable_stencil** **(** **)**
  201. .. container:: contribute
  202. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  203. .. rst-class:: classref-item-separator
  204. ----
  205. .. _class_RDPipelineDepthStencilState_property_front_op_compare:
  206. .. rst-class:: classref-property
  207. :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` **front_op_compare** = ``7``
  208. .. rst-class:: classref-property-setget
  209. - void **set_front_op_compare** **(** :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` value **)**
  210. - :ref:`CompareOperator<enum_RenderingDevice_CompareOperator>` **get_front_op_compare** **(** **)**
  211. .. container:: contribute
  212. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  213. .. rst-class:: classref-item-separator
  214. ----
  215. .. _class_RDPipelineDepthStencilState_property_front_op_compare_mask:
  216. .. rst-class:: classref-property
  217. :ref:`int<class_int>` **front_op_compare_mask** = ``0``
  218. .. rst-class:: classref-property-setget
  219. - void **set_front_op_compare_mask** **(** :ref:`int<class_int>` value **)**
  220. - :ref:`int<class_int>` **get_front_op_compare_mask** **(** **)**
  221. .. container:: contribute
  222. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  223. .. rst-class:: classref-item-separator
  224. ----
  225. .. _class_RDPipelineDepthStencilState_property_front_op_depth_fail:
  226. .. rst-class:: classref-property
  227. :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **front_op_depth_fail** = ``1``
  228. .. rst-class:: classref-property-setget
  229. - void **set_front_op_depth_fail** **(** :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` value **)**
  230. - :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **get_front_op_depth_fail** **(** **)**
  231. .. container:: contribute
  232. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  233. .. rst-class:: classref-item-separator
  234. ----
  235. .. _class_RDPipelineDepthStencilState_property_front_op_fail:
  236. .. rst-class:: classref-property
  237. :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **front_op_fail** = ``1``
  238. .. rst-class:: classref-property-setget
  239. - void **set_front_op_fail** **(** :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` value **)**
  240. - :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **get_front_op_fail** **(** **)**
  241. .. container:: contribute
  242. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  243. .. rst-class:: classref-item-separator
  244. ----
  245. .. _class_RDPipelineDepthStencilState_property_front_op_pass:
  246. .. rst-class:: classref-property
  247. :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **front_op_pass** = ``1``
  248. .. rst-class:: classref-property-setget
  249. - void **set_front_op_pass** **(** :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` value **)**
  250. - :ref:`StencilOperation<enum_RenderingDevice_StencilOperation>` **get_front_op_pass** **(** **)**
  251. .. container:: contribute
  252. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  253. .. rst-class:: classref-item-separator
  254. ----
  255. .. _class_RDPipelineDepthStencilState_property_front_op_reference:
  256. .. rst-class:: classref-property
  257. :ref:`int<class_int>` **front_op_reference** = ``0``
  258. .. rst-class:: classref-property-setget
  259. - void **set_front_op_reference** **(** :ref:`int<class_int>` value **)**
  260. - :ref:`int<class_int>` **get_front_op_reference** **(** **)**
  261. .. container:: contribute
  262. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  263. .. rst-class:: classref-item-separator
  264. ----
  265. .. _class_RDPipelineDepthStencilState_property_front_op_write_mask:
  266. .. rst-class:: classref-property
  267. :ref:`int<class_int>` **front_op_write_mask** = ``0``
  268. .. rst-class:: classref-property-setget
  269. - void **set_front_op_write_mask** **(** :ref:`int<class_int>` value **)**
  270. - :ref:`int<class_int>` **get_front_op_write_mask** **(** **)**
  271. .. container:: contribute
  272. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  273. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  274. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  275. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  276. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  277. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  278. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`