CompressedTextureLayered
Inherits: TextureLayered < Texture < Resource < RefCounted < Object
Inherited by: CompressedCubemap, CompressedCubemapArray, CompressedTexture2DArray
Description
Section titled “Description”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.
Properties
Section titled “Properties”| Type | Name | Default |
|---|---|---|
| String | load_path |
"" |
Methods
Section titled “Methods”| Returns | Method |
|---|---|
| Error | load(path: String) |
Property descriptions
Section titled “Property descriptions”load_path
String load_path = ""
The path the texture should be loaded from.
Method descriptions
Section titled “Method descriptions”load
Loads the texture at path.
