Hymn to Beauty
C++ 3D Engine
Geometry::MeshData Struct Reference

Mesh data. More...

#include <MeshData.hpp>

Public Member Functions

 ~MeshData ()
 Destructor. More...
 

Public Attributes

uint32_t parent
 Parent id of mesh. More...
 
uint32_t numVertices
 Number of vertices. More...
 
uint32_t numIndices
 Number of indicies. More...
 
glm::vec3 aabbDim
 Axis aligned bound box dimensions. More...
 
glm::vec3 aabbOrigin
 Axis aligned bound box origin. More...
 
glm::vec3 aabbMinpos
 Minimum position of axis aligned bound box. More...
 
glm::vec3 aabbMaxpos
 Maximum position of axis aligned bound box. More...
 
Video::Geometry::VertexType::StaticVertexstaticVertices = nullptr
 Static vertices. More...
 
uint32_t * indices = nullptr
 Array of indices. More...
 
bool CPU
 Store in cpu? More...
 
bool GPU
 Store in gpu? More...
 

Detailed Description

Mesh data.

Constructor & Destructor Documentation

◆ ~MeshData()

Geometry::MeshData::~MeshData ( )

Destructor.

Member Data Documentation

◆ aabbDim

glm::vec3 Geometry::MeshData::aabbDim

Axis aligned bound box dimensions.

◆ aabbMaxpos

glm::vec3 Geometry::MeshData::aabbMaxpos

Maximum position of axis aligned bound box.

◆ aabbMinpos

glm::vec3 Geometry::MeshData::aabbMinpos

Minimum position of axis aligned bound box.

◆ aabbOrigin

glm::vec3 Geometry::MeshData::aabbOrigin

Axis aligned bound box origin.

◆ CPU

bool Geometry::MeshData::CPU

Store in cpu?

◆ GPU

bool Geometry::MeshData::GPU

Store in gpu?

◆ indices

uint32_t* Geometry::MeshData::indices = nullptr

Array of indices.

◆ numIndices

uint32_t Geometry::MeshData::numIndices

Number of indicies.

◆ numVertices

uint32_t Geometry::MeshData::numVertices

Number of vertices.

◆ parent

uint32_t Geometry::MeshData::parent

Parent id of mesh.

◆ staticVertices

Video::Geometry::VertexType::StaticVertex* Geometry::MeshData::staticVertices = nullptr

Static vertices.


The documentation for this struct was generated from the following files: