2020-09-11 18:22:10 +08:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 16:08:05 +08:00
<class name= "CompressedTextureLayered" inherits= "TextureLayered" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../class.xsd" >
2020-09-11 18:22:10 +08:00
<brief_description >
2022-10-25 05:19:32 +08:00
Base class for texture arrays that can optionally be compressed.
2020-09-11 18:22:10 +08:00
</brief_description>
<description >
2023-03-23 05:06:55 +08:00
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].
2020-09-11 18:22:10 +08:00
</description>
<tutorials >
</tutorials>
<methods >
<method name= "load" >
2021-07-30 21:28:05 +08:00
<return type= "int" enum= "Error" />
2022-08-07 02:11:48 +08:00
<param index= "0" name= "path" type= "String" />
2020-09-11 18:22:10 +08:00
<description >
2022-10-25 05:19:32 +08:00
Loads the texture at [param path].
2020-09-11 18:22:10 +08:00
</description>
</method>
</methods>
<members >
<member name= "load_path" type= "String" setter= "load" getter= "get_load_path" default= """" >
2022-10-25 05:19:32 +08:00
The path the texture should be loaded from.
2020-09-11 18:22:10 +08:00
</member>
</members>
</class>