diff options
Diffstat (limited to 'doc/classes/CompressedTexture2D.xml')
-rw-r--r-- | doc/classes/CompressedTexture2D.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/classes/CompressedTexture2D.xml b/doc/classes/CompressedTexture2D.xml new file mode 100644 index 0000000000..c99fcf2280 --- /dev/null +++ b/doc/classes/CompressedTexture2D.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="CompressedTexture2D" inherits="Texture2D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + A [code].stex[/code] texture. + </brief_description> + <description> + A texture that is loaded from a [code].stex[/code] file. + </description> + <tutorials> + </tutorials> + <methods> + <method name="load"> + <return type="int" enum="Error" /> + <argument index="0" name="path" type="String" /> + <description> + Loads the texture from the given path. + </description> + </method> + </methods> + <members> + <member name="load_path" type="String" setter="load" getter="get_load_path" default=""""> + The CompressedTexture's file path to a [code].stex[/code] file. + </member> + </members> +</class> |