:github_url: hide .. Generated automatically by doc/tools/make_rst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the Texture3D.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_Texture3D: Texture3D ========= **Inherits:** :ref:`Texture` **<** :ref:`Resource` **<** :ref:`RefCounted` **<** :ref:`Object` **Inherited By:** :ref:`CompressedTexture3D`, :ref:`ImageTexture3D` Methods ------- +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Image[]` | :ref:`_get_data` **(** **)** |virtual| |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_depth` **(** **)** |virtual| |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Format` | :ref:`_get_format` **(** **)** |virtual| |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_height` **(** **)** |virtual| |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`_get_width` **(** **)** |virtual| |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`_has_mipmaps` **(** **)** |virtual| |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Image[]` | :ref:`get_data` **(** **)** |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_depth` **(** **)** |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`Format` | :ref:`get_format` **(** **)** |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_height` **(** **)** |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_width` **(** **)** |const| | +----------------------------------+----------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`has_mipmaps` **(** **)** |const| | +----------------------------------+----------------------------------------------------------------------------------------+ Method Descriptions ------------------- .. _class_Texture3D_method__get_data: - :ref:`Image[]` **_get_data** **(** **)** |virtual| |const| ---- .. _class_Texture3D_method__get_depth: - :ref:`int` **_get_depth** **(** **)** |virtual| |const| ---- .. _class_Texture3D_method__get_format: - :ref:`Format` **_get_format** **(** **)** |virtual| |const| ---- .. _class_Texture3D_method__get_height: - :ref:`int` **_get_height** **(** **)** |virtual| |const| ---- .. _class_Texture3D_method__get_width: - :ref:`int` **_get_width** **(** **)** |virtual| |const| ---- .. _class_Texture3D_method__has_mipmaps: - :ref:`bool` **_has_mipmaps** **(** **)** |virtual| |const| ---- .. _class_Texture3D_method_get_data: - :ref:`Image[]` **get_data** **(** **)** |const| ---- .. _class_Texture3D_method_get_depth: - :ref:`int` **get_depth** **(** **)** |const| ---- .. _class_Texture3D_method_get_format: - :ref:`Format` **get_format** **(** **)** |const| ---- .. _class_Texture3D_method_get_height: - :ref:`int` **get_height** **(** **)** |const| ---- .. _class_Texture3D_method_get_width: - :ref:`int` **get_width** **(** **)** |const| ---- .. _class_Texture3D_method_has_mipmaps: - :ref:`bool` **has_mipmaps** **(** **)** |const| .. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)` .. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)` .. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)` .. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)` .. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)` .. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`