class_texture3d.rst 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  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 Texture3D.xml source instead.
  4. .. The source is found in doc/classes or modules/<name>/doc_classes.
  5. .. _class_Texture3D:
  6. Texture3D
  7. =========
  8. **Inherits:** :ref:`Texture<class_Texture>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
  9. **Inherited By:** :ref:`CompressedTexture3D<class_CompressedTexture3D>`, :ref:`ImageTexture3D<class_ImageTexture3D>`
  10. Methods
  11. -------
  12. +----------------------------------+----------------------------------------------------------------------------------------+
  13. | :ref:`Image[]<class_Image>` | :ref:`_get_data<class_Texture3D_method__get_data>` **(** **)** |virtual| |const| |
  14. +----------------------------------+----------------------------------------------------------------------------------------+
  15. | :ref:`int<class_int>` | :ref:`_get_depth<class_Texture3D_method__get_depth>` **(** **)** |virtual| |const| |
  16. +----------------------------------+----------------------------------------------------------------------------------------+
  17. | :ref:`Format<enum_Image_Format>` | :ref:`_get_format<class_Texture3D_method__get_format>` **(** **)** |virtual| |const| |
  18. +----------------------------------+----------------------------------------------------------------------------------------+
  19. | :ref:`int<class_int>` | :ref:`_get_height<class_Texture3D_method__get_height>` **(** **)** |virtual| |const| |
  20. +----------------------------------+----------------------------------------------------------------------------------------+
  21. | :ref:`int<class_int>` | :ref:`_get_width<class_Texture3D_method__get_width>` **(** **)** |virtual| |const| |
  22. +----------------------------------+----------------------------------------------------------------------------------------+
  23. | :ref:`bool<class_bool>` | :ref:`_has_mipmaps<class_Texture3D_method__has_mipmaps>` **(** **)** |virtual| |const| |
  24. +----------------------------------+----------------------------------------------------------------------------------------+
  25. | :ref:`Image[]<class_Image>` | :ref:`get_data<class_Texture3D_method_get_data>` **(** **)** |const| |
  26. +----------------------------------+----------------------------------------------------------------------------------------+
  27. | :ref:`int<class_int>` | :ref:`get_depth<class_Texture3D_method_get_depth>` **(** **)** |const| |
  28. +----------------------------------+----------------------------------------------------------------------------------------+
  29. | :ref:`Format<enum_Image_Format>` | :ref:`get_format<class_Texture3D_method_get_format>` **(** **)** |const| |
  30. +----------------------------------+----------------------------------------------------------------------------------------+
  31. | :ref:`int<class_int>` | :ref:`get_height<class_Texture3D_method_get_height>` **(** **)** |const| |
  32. +----------------------------------+----------------------------------------------------------------------------------------+
  33. | :ref:`int<class_int>` | :ref:`get_width<class_Texture3D_method_get_width>` **(** **)** |const| |
  34. +----------------------------------+----------------------------------------------------------------------------------------+
  35. | :ref:`bool<class_bool>` | :ref:`has_mipmaps<class_Texture3D_method_has_mipmaps>` **(** **)** |const| |
  36. +----------------------------------+----------------------------------------------------------------------------------------+
  37. Method Descriptions
  38. -------------------
  39. .. _class_Texture3D_method__get_data:
  40. - :ref:`Image[]<class_Image>` **_get_data** **(** **)** |virtual| |const|
  41. ----
  42. .. _class_Texture3D_method__get_depth:
  43. - :ref:`int<class_int>` **_get_depth** **(** **)** |virtual| |const|
  44. ----
  45. .. _class_Texture3D_method__get_format:
  46. - :ref:`Format<enum_Image_Format>` **_get_format** **(** **)** |virtual| |const|
  47. ----
  48. .. _class_Texture3D_method__get_height:
  49. - :ref:`int<class_int>` **_get_height** **(** **)** |virtual| |const|
  50. ----
  51. .. _class_Texture3D_method__get_width:
  52. - :ref:`int<class_int>` **_get_width** **(** **)** |virtual| |const|
  53. ----
  54. .. _class_Texture3D_method__has_mipmaps:
  55. - :ref:`bool<class_bool>` **_has_mipmaps** **(** **)** |virtual| |const|
  56. ----
  57. .. _class_Texture3D_method_get_data:
  58. - :ref:`Image[]<class_Image>` **get_data** **(** **)** |const|
  59. ----
  60. .. _class_Texture3D_method_get_depth:
  61. - :ref:`int<class_int>` **get_depth** **(** **)** |const|
  62. ----
  63. .. _class_Texture3D_method_get_format:
  64. - :ref:`Format<enum_Image_Format>` **get_format** **(** **)** |const|
  65. ----
  66. .. _class_Texture3D_method_get_height:
  67. - :ref:`int<class_int>` **get_height** **(** **)** |const|
  68. ----
  69. .. _class_Texture3D_method_get_width:
  70. - :ref:`int<class_int>` **get_width** **(** **)** |const|
  71. ----
  72. .. _class_Texture3D_method_has_mipmaps:
  73. - :ref:`bool<class_bool>` **has_mipmaps** **(** **)** |const|
  74. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  75. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  76. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  77. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  78. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  79. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`