Core::Mesh::MeshPart
Individual part of the bigger mesh containing separate geometry, material and textures.
#include "Core/Resources/Mesh.h"
Public Attributes
Name | |
---|---|
GLuint | baseVertex <br>vertex in array of vertices added to index in the index buffer |
glm::vec3 | boundingBoxMax |
glm::vec3 | boundingBoxMin |
Material | material |
std::string | name |
GLuint | nIndices <br>number of indices in this submesh |
GLuint | startIndex <br>first index in array of indices |
TextureSet | textureSet |
Public Attributes Documentation
variable baseVertex
cpp
GLuint baseVertex;
GLuint baseVertex;
vertex in array of vertices added to index in the index buffer
variable boundingBoxMax
cpp
glm::vec3 boundingBoxMax {0.0f};
glm::vec3 boundingBoxMax {0.0f};
variable boundingBoxMin
cpp
glm::vec3 boundingBoxMin {0.0f};
glm::vec3 boundingBoxMin {0.0f};
variable material
cpp
Material material;
Material material;
variable name
cpp
std::string name;
std::string name;
variable nIndices
cpp
GLuint nIndices;
GLuint nIndices;
number of indices in this submesh
variable startIndex
cpp
GLuint startIndex;
GLuint startIndex;
first index in array of indices
variable textureSet
cpp
TextureSet textureSet;
TextureSet textureSet;
Updated on 2024-11-06 at 20:16:54 +0000