W3cubDocs

/Godot 3.1

TextureLayered

Inherits: Resource < Reference < Object

Inherited By: Texture3D, TextureArray

Category: Core

Brief Description

Properties

Dictionary data
int flags

Methods

void create ( int width, int height, int depth, Format format, int flags=4 )
int get_depth ( ) const
Format get_format ( ) const
int get_height ( ) const
Image get_layer_data ( int layer ) const
int get_width ( ) const
void set_data_partial ( Image image, int x_offset, int y_offset, int layer, int mipmap=0 )
void set_layer_data ( Image image, int layer )

Enumerations

enum Flags:

  • FLAG_MIPMAPS = 1
  • FLAG_REPEAT = 2
  • FLAG_FILTER = 4
  • FLAGS_DEFAULT = 4

Property Descriptions

Dictionary data

int flags

Setter set_flags(value)
Getter get_flags()

Method Descriptions

void create ( int width, int height, int depth, Format format, int flags=4 )

int get_depth ( ) const

Format get_format ( ) const

int get_height ( ) const

Image get_layer_data ( int layer ) const

int get_width ( ) const

void set_data_partial ( Image image, int x_offset, int y_offset, int layer, int mipmap=0 )

void set_layer_data ( Image image, int layer )

© 2014–2019 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.1/classes/class_texturelayered.html