Skip to content

CompressedTextureLayered

Inherits: TextureLayered < Texture < Resource < RefCounted < Object

Inherited by: CompressedCubemap, CompressedCubemapArray, CompressedTexture2DArray

Base class for texture arrays that can optionally be compressed.

Base class for CompressedTexture2DArray and CompressedTexture3D. Cannot be used directly, but contains all the functions necessary for accessing the derived resource types. See also TextureLayered.

Type Name Default
String load_path ""
Returns Method
Error load(path: String)

load_path

String load_path = ""

The path the texture should be loaded from.

load

Error load(path: String)

Loads the texture at path.