.. DO NOT EDIT THIS FILE!!! .. Generated automatically from Godot engine sources. .. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py. .. XML source: https://github.com/godotengine/godot/tree/master/docs/gdscript/doc/classes/RDTextureFormat.xml. .. _class_RDTextureFormat: RDTextureFormat =============== **Inherits:** :ref:`RefCounted` **<** :ref:`Object` .. container:: contribute There is currently no description for this class. Please help us by :ref:`contributing one `! .. rst-class:: classref-reftable-group Properties ---------- .. table:: :widths: auto +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`array_layers` | ``1`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`depth` | ``1`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`DataFormat` | :ref:`format` | ``8`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`height` | ``1`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`mipmaps` | ``1`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`TextureSamples` | :ref:`samples` | ``0`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`TextureType` | :ref:`texture_type` | ``1`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | |bitfield|\<:ref:`TextureUsageBits`\> | :ref:`usage_bits` | ``0`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ | :ref:`int` | :ref:`width` | ``1`` | +------------------------------------------------------------------------------+------------------------------------------------------------------+-------+ .. rst-class:: classref-reftable-group Methods ------- .. table:: :widths: auto +------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`add_shareable_format` **(** :ref:`DataFormat` format **)** | +------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`remove_shareable_format` **(** :ref:`DataFormat` format **)** | +------+------------------------------------------------------------------------------------------------------------------------------------------------------------+ .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Property Descriptions --------------------- .. _class_RDTextureFormat_property_array_layers: .. rst-class:: classref-property :ref:`int` **array_layers** = ``1`` .. rst-class:: classref-property-setget - void **set_array_layers** **(** :ref:`int` value **)** - :ref:`int` **get_array_layers** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_depth: .. rst-class:: classref-property :ref:`int` **depth** = ``1`` .. rst-class:: classref-property-setget - void **set_depth** **(** :ref:`int` value **)** - :ref:`int` **get_depth** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_format: .. rst-class:: classref-property :ref:`DataFormat` **format** = ``8`` .. rst-class:: classref-property-setget - void **set_format** **(** :ref:`DataFormat` value **)** - :ref:`DataFormat` **get_format** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_height: .. rst-class:: classref-property :ref:`int` **height** = ``1`` .. rst-class:: classref-property-setget - void **set_height** **(** :ref:`int` value **)** - :ref:`int` **get_height** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_mipmaps: .. rst-class:: classref-property :ref:`int` **mipmaps** = ``1`` .. rst-class:: classref-property-setget - void **set_mipmaps** **(** :ref:`int` value **)** - :ref:`int` **get_mipmaps** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_samples: .. rst-class:: classref-property :ref:`TextureSamples` **samples** = ``0`` .. rst-class:: classref-property-setget - void **set_samples** **(** :ref:`TextureSamples` value **)** - :ref:`TextureSamples` **get_samples** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_texture_type: .. rst-class:: classref-property :ref:`TextureType` **texture_type** = ``1`` .. rst-class:: classref-property-setget - void **set_texture_type** **(** :ref:`TextureType` value **)** - :ref:`TextureType` **get_texture_type** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_usage_bits: .. rst-class:: classref-property |bitfield|\<:ref:`TextureUsageBits`\> **usage_bits** = ``0`` .. rst-class:: classref-property-setget - void **set_usage_bits** **(** |bitfield|\<:ref:`TextureUsageBits`\> value **)** - |bitfield|\<:ref:`TextureUsageBits`\> **get_usage_bits** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_property_width: .. rst-class:: classref-property :ref:`int` **width** = ``1`` .. rst-class:: classref-property-setget - void **set_width** **(** :ref:`int` value **)** - :ref:`int` **get_width** **(** **)** .. container:: contribute There is currently no description for this property. Please help us by :ref:`contributing one `! .. rst-class:: classref-section-separator ---- .. rst-class:: classref-descriptions-group Method Descriptions ------------------- .. _class_RDTextureFormat_method_add_shareable_format: .. rst-class:: classref-method void **add_shareable_format** **(** :ref:`DataFormat` format **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. rst-class:: classref-item-separator ---- .. _class_RDTextureFormat_method_remove_shareable_format: .. rst-class:: classref-method void **remove_shareable_format** **(** :ref:`DataFormat` format **)** .. container:: contribute There is currently no description for this method. Please help us by :ref:`contributing one `! .. |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.)` .. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`