class_texture3d.rst 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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:`ImageTexture3D<class_ImageTexture3D>`, :ref:`StreamTexture3D<class_StreamTexture3D>`
  10. Methods
  11. -------
  12. +----------------------------------+----------------------------------------------------------------------------+
  13. | :ref:`Image[]<class_Image>` | :ref:`get_data<class_Texture3D_method_get_data>` **(** **)** |const| |
  14. +----------------------------------+----------------------------------------------------------------------------+
  15. | :ref:`int<class_int>` | :ref:`get_depth<class_Texture3D_method_get_depth>` **(** **)** |const| |
  16. +----------------------------------+----------------------------------------------------------------------------+
  17. | :ref:`Format<enum_Image_Format>` | :ref:`get_format<class_Texture3D_method_get_format>` **(** **)** |const| |
  18. +----------------------------------+----------------------------------------------------------------------------+
  19. | :ref:`int<class_int>` | :ref:`get_height<class_Texture3D_method_get_height>` **(** **)** |const| |
  20. +----------------------------------+----------------------------------------------------------------------------+
  21. | :ref:`int<class_int>` | :ref:`get_width<class_Texture3D_method_get_width>` **(** **)** |const| |
  22. +----------------------------------+----------------------------------------------------------------------------+
  23. | :ref:`bool<class_bool>` | :ref:`has_mipmaps<class_Texture3D_method_has_mipmaps>` **(** **)** |const| |
  24. +----------------------------------+----------------------------------------------------------------------------+
  25. Method Descriptions
  26. -------------------
  27. .. _class_Texture3D_method_get_data:
  28. - :ref:`Image[]<class_Image>` **get_data** **(** **)** |const|
  29. ----
  30. .. _class_Texture3D_method_get_depth:
  31. - :ref:`int<class_int>` **get_depth** **(** **)** |const|
  32. ----
  33. .. _class_Texture3D_method_get_format:
  34. - :ref:`Format<enum_Image_Format>` **get_format** **(** **)** |const|
  35. ----
  36. .. _class_Texture3D_method_get_height:
  37. - :ref:`int<class_int>` **get_height** **(** **)** |const|
  38. ----
  39. .. _class_Texture3D_method_get_width:
  40. - :ref:`int<class_int>` **get_width** **(** **)** |const|
  41. ----
  42. .. _class_Texture3D_method_has_mipmaps:
  43. - :ref:`bool<class_bool>` **has_mipmaps** **(** **)** |const|
  44. .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
  45. .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
  46. .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
  47. .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
  48. .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
  49. .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`