1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
|
.. py:module:: moderngl_window.loaders.scene.gltf2
.. py:currentmodule:: moderngl_window.loaders.scene.gltf2
scene.gltf2.Loader
==================
Method
------
.. automethod:: Loader.__init__
.. automethod:: Loader.supports_file
.. automethod:: Loader.load
.. automethod:: Loader.find_data
.. automethod:: Loader.find_program
.. automethod:: Loader.find_texture
.. automethod:: Loader.find_scene
Loader Specific Methods
-----------------------
.. automethod:: Loader.load_gltf
.. automethod:: Loader.load_glb
.. automethod:: Loader.load_materials
.. automethod:: Loader.load_nodes
.. automethod:: Loader.load_node
.. automethod:: Loader.load_images
.. automethod:: Loader.load_textures
.. automethod:: Loader.load_samplers
.. automethod:: Loader.load_meshes
Attributes
----------
.. autoattribute:: Loader.kind
.. autoattribute:: Loader.file_extensions
.. autoattribute:: Loader.ctx
Loader Specific Attributes
---------------------------
.. autoattribute:: Loader.supported_extensions
|