0.2.0-dev Download ZIP
25 lines ·1007 B Raw
| 1 | <?xml version="1.0" encoding="UTF-8" ?> |
| 2 | <class name="CompressedTextureLayered" inherits="TextureLayered" api_type="core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> |
| 3 | <brief_description> |
| 4 | Base class for texture arrays that can optionally be compressed. |
| 5 | </brief_description> |
| 6 | <description> |
| 7 | 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]. |
| 8 | </description> |
| 9 | <tutorials> |
| 10 | </tutorials> |
| 11 | <methods> |
| 12 | <method name="load"> |
| 13 | <return type="int" enum="Error" /> |
| 14 | <param index="0" name="path" type="String" /> |
| 15 | <description> |
| 16 | Loads the texture at [param path]. |
| 17 | </description> |
| 18 | </method> |
| 19 | </methods> |
| 20 | <members> |
| 21 | <member name="load_path" type="String" setter="load" getter="get_load_path" default=""""> |
| 22 | The path the texture should be loaded from. |
| 23 | </member> |
| 24 | </members> |
| 25 | </class> |