CompressedTextureLayered

继承: TextureLayered < Texture < Resource < RefCounted < Object

派生: CompressedCubemap, CompressedCubemapArray, CompressedTexture2DArray

可以选择压缩的纹理数组的基类。

描述

CompressedTexture2DArrayCompressedTexture3D的基类。不能直接使用,但包含访问派生资源类型所需的所有函数。另请参阅TextureLayered

属性

方法

Error

load(path: String)


属性说明

String load_path = "" 🔗

应该加载纹理的路径。


方法说明

Error load(path: String) 🔗

加载path处的纹理。