|
Vulkan Schnee 0.0.1
High-performance rendering engine
|
#include <GltfLoader.h>
Public Member Functions | |
| GltfMeshData (const tinygltf::Model &model, const tinygltf::Mesh &mesh, const tinygltf::Node &node, const glm::mat4 &transform) | |
| std::vector< GltfMeshPrimitiveData > | getPrimitives () const |
| std::vector< GltfMeshPrimitiveData > & | getPrimitivesRef () |
| std::string | getName () const |
| glm::mat4 | getTransform () const |
| Gets the model matrix for the object from the file it was imported from. | |
| int | getSkinIndex () const |
Private Attributes | |
| std::string | name |
| tinygltf::Mesh | mesh |
| std::vector< GltfMeshPrimitiveData > | primitives |
| glm::mat4 | transform |
| int | skinIndex = -1 |
| glTF skin index (-1 = no skin) | |
Definition at line 450 of file GltfLoader.h.
| Engine::Assets::Loaders::GltfLoader::GltfMeshData::GltfMeshData | ( | const tinygltf::Model & | model, |
| const tinygltf::Mesh & | mesh, | ||
| const tinygltf::Node & | node, | ||
| const glm::mat4 & | transform ) |
|
inlinenodiscard |
Definition at line 456 of file GltfLoader.h.
References name.
|
inlinenodiscard |
Definition at line 454 of file GltfLoader.h.
References primitives.
|
inlinenodiscard |
Definition at line 455 of file GltfLoader.h.
References primitives.
|
inlinenodiscard |
Definition at line 468 of file GltfLoader.h.
References skinIndex.
|
inlinenodiscard |
Gets the model matrix for the object from the file it was imported from.
Definition at line 466 of file GltfLoader.h.
References transform.
|
private |
Definition at line 472 of file GltfLoader.h.
Referenced by GltfMeshData().
|
private |
Definition at line 471 of file GltfLoader.h.
Referenced by getName().
|
private |
Definition at line 473 of file GltfLoader.h.
Referenced by getPrimitives(), and getPrimitivesRef().
|
private |
glTF skin index (-1 = no skin)
Definition at line 475 of file GltfLoader.h.
Referenced by getSkinIndex().
|
private |
Definition at line 474 of file GltfLoader.h.
Referenced by getTransform(), and GltfMeshData().