|
libmx2 2.2.1
C++20 multimedia and game-engine library (SDL2 / OpenGL / Vulkan)
|
A range of indices within the shared index buffer, with its own texture. More...
#include <vk_model.hpp>
Public Attributes | |
| uint32_t | firstIndex = 0 |
| Offset into the index buffer. | |
| uint32_t | indexCount = 0 |
| Number of indices in this sub-mesh. | |
| uint32_t | textureIndex = 0 |
| Texture slot for this sub-mesh. | |
| std::string | materialName |
| Material name from OBJ usemtl directive. | |
A range of indices within the shared index buffer, with its own texture.
Definition at line 91 of file vk_model.hpp.
| uint32_t mx::SubMesh::firstIndex = 0 |
Offset into the index buffer.
Definition at line 92 of file vk_model.hpp.
Referenced by mx::MXModel::loadMXMOD(), and mx::MXModel::loadOBJ().
| uint32_t mx::SubMesh::indexCount = 0 |
Number of indices in this sub-mesh.
Definition at line 93 of file vk_model.hpp.
Referenced by mx::MXModel::loadMXMOD(), and mx::MXModel::loadOBJ().
| std::string mx::SubMesh::materialName |
Material name from OBJ usemtl directive.
Definition at line 95 of file vk_model.hpp.
Referenced by mx::MXModel::loadOBJ().
| uint32_t mx::SubMesh::textureIndex = 0 |
Texture slot for this sub-mesh.
Definition at line 94 of file vk_model.hpp.
Referenced by mx::MXModel::loadMXMOD(), and mx::MXModel::loadOBJ().