2021-01-04 13:33:44 +00:00
<?xml version="1.0" encoding="UTF-8" ?>
2023-07-06 08:08:05 +00:00
<class name= "GLTFTexture" inherits= "Resource" xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation= "../../../doc/class.xsd" >
2021-01-04 13:33:44 +00:00
<brief_description >
2024-03-13 11:43:07 +00:00
GLTFTexture represents a texture in a GLTF file.
2021-01-04 13:33:44 +00:00
</brief_description>
<description >
</description>
<tutorials >
2023-11-13 13:37:27 +00:00
<link title= "Runtime file loading and saving" > $DOCS_URL/tutorials/io/runtime_file_loading_and_saving.html</link>
2021-01-04 13:33:44 +00:00
</tutorials>
<members >
2021-10-04 15:49:42 +00:00
<member name= "sampler" type= "int" setter= "set_sampler" getter= "get_sampler" default= "-1" >
ID of the texture sampler to use when sampling the image. If -1, then the default texture sampler is used (linear filtering, and repeat wrapping in both axes).
</member>
2023-05-10 02:28:40 +00:00
<member name= "src_image" type= "int" setter= "set_src_image" getter= "get_src_image" default= "-1" >
The index of the image associated with this texture, see [method GLTFState.get_images]. If -1, then this texture does not have an image assigned.
2021-01-04 13:33:44 +00:00
</member>
</members>
</class>