Add support for extending GLTF with more texture formats & support WebP

This commit is contained in:
Aaron Franke 2023-05-09 21:28:40 -05:00
parent d5c1b9f883
commit 7da93a0bc0
No known key found for this signature in database
GPG key ID: 40A1750B977E56BF
12 changed files with 361 additions and 187 deletions

View file

@ -10,7 +10,8 @@
<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>
<member name="src_image" type="int" setter="set_src_image" getter="get_src_image" default="0">
<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.
</member>
</members>
</class>