class_rdtextureformat.rst 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  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/RDTextureFormat.xml.
  6. .. _class_RDTextureFormat:
  7. RDTextureFormat
  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:`int<class_int>` | :ref:`array_layers<class_RDTextureFormat_property_array_layers>` | ``1`` |
  19. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  20. | :ref:`int<class_int>` | :ref:`depth<class_RDTextureFormat_property_depth>` | ``1`` |
  21. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  22. | :ref:`DataFormat<enum_RenderingDevice_DataFormat>` | :ref:`format<class_RDTextureFormat_property_format>` | ``8`` |
  23. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  24. | :ref:`int<class_int>` | :ref:`height<class_RDTextureFormat_property_height>` | ``1`` |
  25. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  26. | :ref:`int<class_int>` | :ref:`mipmaps<class_RDTextureFormat_property_mipmaps>` | ``1`` |
  27. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  28. | :ref:`TextureSamples<enum_RenderingDevice_TextureSamples>` | :ref:`samples<class_RDTextureFormat_property_samples>` | ``0`` |
  29. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  30. | :ref:`TextureType<enum_RenderingDevice_TextureType>` | :ref:`texture_type<class_RDTextureFormat_property_texture_type>` | ``1`` |
  31. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  32. | :ref:`TextureUsageBits<enum_RenderingDevice_TextureUsageBits>` | :ref:`usage_bits<class_RDTextureFormat_property_usage_bits>` | ``0`` |
  33. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  34. | :ref:`int<class_int>` | :ref:`width<class_RDTextureFormat_property_width>` | ``1`` |
  35. +----------------------------------------------------------------+------------------------------------------------------------------+-------+
  36. .. rst-class:: classref-reftable-group
  37. Methods
  38. -------
  39. .. table::
  40. :widths: auto
  41. +------+------------------------------------------------------------------------------------------------------------------------------------------------------------+
  42. | void | :ref:`add_shareable_format<class_RDTextureFormat_method_add_shareable_format>` **(** :ref:`DataFormat<enum_RenderingDevice_DataFormat>` format **)** |
  43. +------+------------------------------------------------------------------------------------------------------------------------------------------------------------+
  44. | void | :ref:`remove_shareable_format<class_RDTextureFormat_method_remove_shareable_format>` **(** :ref:`DataFormat<enum_RenderingDevice_DataFormat>` format **)** |
  45. +------+------------------------------------------------------------------------------------------------------------------------------------------------------------+
  46. .. rst-class:: classref-section-separator
  47. ----
  48. .. rst-class:: classref-descriptions-group
  49. Property Descriptions
  50. ---------------------
  51. .. _class_RDTextureFormat_property_array_layers:
  52. .. rst-class:: classref-property
  53. :ref:`int<class_int>` **array_layers** = ``1``
  54. .. rst-class:: classref-property-setget
  55. - void **set_array_layers** **(** :ref:`int<class_int>` value **)**
  56. - :ref:`int<class_int>` **get_array_layers** **(** **)**
  57. .. container:: contribute
  58. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  59. .. rst-class:: classref-item-separator
  60. ----
  61. .. _class_RDTextureFormat_property_depth:
  62. .. rst-class:: classref-property
  63. :ref:`int<class_int>` **depth** = ``1``
  64. .. rst-class:: classref-property-setget
  65. - void **set_depth** **(** :ref:`int<class_int>` value **)**
  66. - :ref:`int<class_int>` **get_depth** **(** **)**
  67. .. container:: contribute
  68. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  69. .. rst-class:: classref-item-separator
  70. ----
  71. .. _class_RDTextureFormat_property_format:
  72. .. rst-class:: classref-property
  73. :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **format** = ``8``
  74. .. rst-class:: classref-property-setget
  75. - void **set_format** **(** :ref:`DataFormat<enum_RenderingDevice_DataFormat>` value **)**
  76. - :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **get_format** **(** **)**
  77. .. container:: contribute
  78. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  79. .. rst-class:: classref-item-separator
  80. ----
  81. .. _class_RDTextureFormat_property_height:
  82. .. rst-class:: classref-property
  83. :ref:`int<class_int>` **height** = ``1``
  84. .. rst-class:: classref-property-setget
  85. - void **set_height** **(** :ref:`int<class_int>` value **)**
  86. - :ref:`int<class_int>` **get_height** **(** **)**
  87. .. container:: contribute
  88. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  89. .. rst-class:: classref-item-separator
  90. ----
  91. .. _class_RDTextureFormat_property_mipmaps:
  92. .. rst-class:: classref-property
  93. :ref:`int<class_int>` **mipmaps** = ``1``
  94. .. rst-class:: classref-property-setget
  95. - void **set_mipmaps** **(** :ref:`int<class_int>` value **)**
  96. - :ref:`int<class_int>` **get_mipmaps** **(** **)**
  97. .. container:: contribute
  98. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  99. .. rst-class:: classref-item-separator
  100. ----
  101. .. _class_RDTextureFormat_property_samples:
  102. .. rst-class:: classref-property
  103. :ref:`TextureSamples<enum_RenderingDevice_TextureSamples>` **samples** = ``0``
  104. .. rst-class:: classref-property-setget
  105. - void **set_samples** **(** :ref:`TextureSamples<enum_RenderingDevice_TextureSamples>` value **)**
  106. - :ref:`TextureSamples<enum_RenderingDevice_TextureSamples>` **get_samples** **(** **)**
  107. .. container:: contribute
  108. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  109. .. rst-class:: classref-item-separator
  110. ----
  111. .. _class_RDTextureFormat_property_texture_type:
  112. .. rst-class:: classref-property
  113. :ref:`TextureType<enum_RenderingDevice_TextureType>` **texture_type** = ``1``
  114. .. rst-class:: classref-property-setget
  115. - void **set_texture_type** **(** :ref:`TextureType<enum_RenderingDevice_TextureType>` value **)**
  116. - :ref:`TextureType<enum_RenderingDevice_TextureType>` **get_texture_type** **(** **)**
  117. .. container:: contribute
  118. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  119. .. rst-class:: classref-item-separator
  120. ----
  121. .. _class_RDTextureFormat_property_usage_bits:
  122. .. rst-class:: classref-property
  123. :ref:`TextureUsageBits<enum_RenderingDevice_TextureUsageBits>` **usage_bits** = ``0``
  124. .. rst-class:: classref-property-setget
  125. - void **set_usage_bits** **(** :ref:`TextureUsageBits<enum_RenderingDevice_TextureUsageBits>` value **)**
  126. - :ref:`TextureUsageBits<enum_RenderingDevice_TextureUsageBits>` **get_usage_bits** **(** **)**
  127. .. container:: contribute
  128. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  129. .. rst-class:: classref-item-separator
  130. ----
  131. .. _class_RDTextureFormat_property_width:
  132. .. rst-class:: classref-property
  133. :ref:`int<class_int>` **width** = ``1``
  134. .. rst-class:: classref-property-setget
  135. - void **set_width** **(** :ref:`int<class_int>` value **)**
  136. - :ref:`int<class_int>` **get_width** **(** **)**
  137. .. container:: contribute
  138. There is currently no description for this property. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  139. .. rst-class:: classref-section-separator
  140. ----
  141. .. rst-class:: classref-descriptions-group
  142. Method Descriptions
  143. -------------------
  144. .. _class_RDTextureFormat_method_add_shareable_format:
  145. .. rst-class:: classref-method
  146. void **add_shareable_format** **(** :ref:`DataFormat<enum_RenderingDevice_DataFormat>` format **)**
  147. .. container:: contribute
  148. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  149. .. rst-class:: classref-item-separator
  150. ----
  151. .. _class_RDTextureFormat_method_remove_shareable_format:
  152. .. rst-class:: classref-method
  153. void **remove_shareable_format** **(** :ref:`DataFormat<enum_RenderingDevice_DataFormat>` format **)**
  154. .. container:: contribute
  155. There is currently no description for this method. Please help us by :ref:`contributing one <doc_updating_the_class_reference>`!
  156. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  157. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  158. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  159. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  160. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  161. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`