TextureLayered

Inherits: Resource < Reference < Object

Inherited By: Texture3D, TextureArray

Category: Core

Brief Description

Properties

Dictionarydata
intflags

Methods

voidcreate ( int width, int height, int depth, Format format, int flags=4 )
intget_depth ( ) const
Formatget_format ( ) const
intget_height ( ) const
Imageget_layer_data ( int layer ) const
intget_width ( ) const
voidset_data_partial ( Image image, int x_offset, int y_offset, int layer, int mipmap=0 )
voidset_layer_data ( Image image, int layer )

Enumerations

enum Flags:

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

Property Descriptions


Setterset_flags(value)
Getterget_flags()

Method Descriptions


  • int get_depth ( ) 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 )