|
group2 0.1.0
CSE 125 Group 2
|
CPU-side mesh data ready for GPU upload. More...
#include <ModelLoader.hpp>
Public Attributes | |
| std::vector< ModelVertex > | vertices |
| std::vector< uint32_t > | indices |
| int | diffuseTexIndex = -1 |
| Base colour / albedo texture. | |
| int | normalTexIndex = -1 |
| Normal map texture. | |
| int | metallicRoughnessTexIndex = -1 |
| Combined metallic-roughness (glTF convention). | |
| int | aoTexIndex = -1 |
| Ambient occlusion texture. | |
| int | emissiveTexIndex = -1 |
| Emissive texture. | |
| MaterialData | material |
| Scalar PBR factors. | |
CPU-side mesh data ready for GPU upload.
| int MeshData::aoTexIndex = -1 |
Ambient occlusion texture.
| int MeshData::diffuseTexIndex = -1 |
Base colour / albedo texture.
| int MeshData::emissiveTexIndex = -1 |
Emissive texture.
| std::vector<uint32_t> MeshData::indices |
| MaterialData MeshData::material |
Scalar PBR factors.
| int MeshData::metallicRoughnessTexIndex = -1 |
Combined metallic-roughness (glTF convention).
| int MeshData::normalTexIndex = -1 |
Normal map texture.
| std::vector<ModelVertex> MeshData::vertices |