Outdated documentation

This documentation page refers to Godot 4.3, and may be outdated or incorrect.
Additionally, this engine version is no longer supported.

Check this page in the stable branch for the latest additions and corrections.

CompressedTextureLayered

Inherits: TextureLayered < Texture < Resource < RefCounted < Object

Inherited By: CompressedCubemap, CompressedCubemapArray, CompressedTexture2DArray

Base class for texture arrays that can optionally be compressed.

Description

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

String

load_path

""

Methods

Error

load(path: String)


Property Descriptions

String load_path = "" 🔗

The path the texture should be loaded from.


Method Descriptions

Error load(path: String) 🔗

Loads the texture at path.


User-contributed notes

Please read the User-contributed notes policy before submitting a comment.