- Texture info used by the
Resource.set_texturemethod.
Fields
optionalpage:Null<Int>
- Optional array slice (page) index for 2D array textures.
When updating a texture created with type = TEXTURE_TYPE_2D_ARRAY, use this field to select which slice to update.
optionalcompression_type:Null<ResourceTextureCompressionType>
- Specify the compression type for the data in the buffer object that holds the texture data. Defaults to
COMPRESSION_TYPE_DEFAULT, i.e no compression.