2017-09-13 04:42:36 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8" ?>
|
2022-03-05 23:43:38 +08:00
|
|
|
<class name="CompressedTexture2D" inherits="Texture2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
|
2017-09-13 04:42:36 +08:00
|
|
|
<brief_description>
|
2022-03-10 11:22:36 +08:00
|
|
|
A [code].ctex[/code] texture.
|
2017-09-13 04:42:36 +08:00
|
|
|
</brief_description>
|
|
|
|
<description>
|
2022-03-10 11:22:36 +08:00
|
|
|
A texture that is loaded from a [code].ctex[/code] file.
|
2017-09-13 04:42:36 +08:00
|
|
|
</description>
|
|
|
|
<tutorials>
|
|
|
|
</tutorials>
|
|
|
|
<methods>
|
2019-06-27 22:10:09 +08:00
|
|
|
<method name="load">
|
2021-07-30 21:28:05 +08:00
|
|
|
<return type="int" enum="Error" />
|
|
|
|
<argument index="0" name="path" type="String" />
|
2019-06-27 22:10:09 +08:00
|
|
|
<description>
|
2020-03-04 02:21:21 +08:00
|
|
|
Loads the texture from the given path.
|
2019-06-27 22:10:09 +08:00
|
|
|
</description>
|
|
|
|
</method>
|
2017-09-13 04:42:36 +08:00
|
|
|
</methods>
|
|
|
|
<members>
|
2019-06-29 18:38:01 +08:00
|
|
|
<member name="load_path" type="String" setter="load" getter="get_load_path" default="""">
|
2022-03-10 11:22:36 +08:00
|
|
|
The CompressedTexture's file path to a [code].ctex[/code] file.
|
2017-09-13 04:42:36 +08:00
|
|
|
</member>
|
|
|
|
</members>
|
|
|
|
</class>
|