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