123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125 |
- :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/<name>/doc_classes.
- .. _class_Texture3D:
- Texture3D
- =========
- **Inherits:** :ref:`Texture<class_Texture>` **<** :ref:`Resource<class_Resource>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
- **Inherited By:** :ref:`CompressedTexture3D<class_CompressedTexture3D>`, :ref:`ImageTexture3D<class_ImageTexture3D>`
- Methods
- -------
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`Image[]<class_Image>` | :ref:`_get_data<class_Texture3D_method__get_data>` **(** **)** |virtual| |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_get_depth<class_Texture3D_method__get_depth>` **(** **)** |virtual| |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`Format<enum_Image_Format>` | :ref:`_get_format<class_Texture3D_method__get_format>` **(** **)** |virtual| |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_get_height<class_Texture3D_method__get_height>` **(** **)** |virtual| |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`_get_width<class_Texture3D_method__get_width>` **(** **)** |virtual| |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`_has_mipmaps<class_Texture3D_method__has_mipmaps>` **(** **)** |virtual| |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`Image[]<class_Image>` | :ref:`get_data<class_Texture3D_method_get_data>` **(** **)** |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_depth<class_Texture3D_method_get_depth>` **(** **)** |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`Format<enum_Image_Format>` | :ref:`get_format<class_Texture3D_method_get_format>` **(** **)** |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_height<class_Texture3D_method_get_height>` **(** **)** |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`int<class_int>` | :ref:`get_width<class_Texture3D_method_get_width>` **(** **)** |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- | :ref:`bool<class_bool>` | :ref:`has_mipmaps<class_Texture3D_method_has_mipmaps>` **(** **)** |const| |
- +----------------------------------+----------------------------------------------------------------------------------------+
- Method Descriptions
- -------------------
- .. _class_Texture3D_method__get_data:
- - :ref:`Image[]<class_Image>` **_get_data** **(** **)** |virtual| |const|
- ----
- .. _class_Texture3D_method__get_depth:
- - :ref:`int<class_int>` **_get_depth** **(** **)** |virtual| |const|
- ----
- .. _class_Texture3D_method__get_format:
- - :ref:`Format<enum_Image_Format>` **_get_format** **(** **)** |virtual| |const|
- ----
- .. _class_Texture3D_method__get_height:
- - :ref:`int<class_int>` **_get_height** **(** **)** |virtual| |const|
- ----
- .. _class_Texture3D_method__get_width:
- - :ref:`int<class_int>` **_get_width** **(** **)** |virtual| |const|
- ----
- .. _class_Texture3D_method__has_mipmaps:
- - :ref:`bool<class_bool>` **_has_mipmaps** **(** **)** |virtual| |const|
- ----
- .. _class_Texture3D_method_get_data:
- - :ref:`Image[]<class_Image>` **get_data** **(** **)** |const|
- ----
- .. _class_Texture3D_method_get_depth:
- - :ref:`int<class_int>` **get_depth** **(** **)** |const|
- ----
- .. _class_Texture3D_method_get_format:
- - :ref:`Format<enum_Image_Format>` **get_format** **(** **)** |const|
- ----
- .. _class_Texture3D_method_get_height:
- - :ref:`int<class_int>` **get_height** **(** **)** |const|
- ----
- .. _class_Texture3D_method_get_width:
- - :ref:`int<class_int>` **get_width** **(** **)** |const|
- ----
- .. _class_Texture3D_method_has_mipmaps:
- - :ref:`bool<class_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.)`
|