Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

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.

属性

String

load_path

""

Methods

Error

load ( String path )


Property Descriptions

String load_path = ""

The path the texture should be loaded from.


Method Descriptions

Error load ( String path )

Loads the texture at path.