CeresEngine 0.2.0
A game development framework
Loading...
Searching...
No Matches
CeresEngine::MeshProperties Struct Reference

A structure that describes properties of a mesh. More...

#include <CeresEngine/Mesh/Mesh.hpp>

Public Attributes

VertexCount vertexCount = 0
 The total number of vertices (or indices) in the mesh.
 
Vector< SubMeshsubMeshes
 The sub meshes in the mesh.
 
VertexDeclaration vertexDeclaration
 The vertex declaration format used by the mesh.
 
IndexType indexType = IndexType::UInt32
 The format used by the mesh index buffer, if an index buffer is available.
 
Sphere boundingSphere
 The mesh bounding sphere, can be used to perform culling.
 
AABox boundingBox
 The mesh axis-aligned bounding box, can be used to perform culling.
 

Detailed Description

A structure that describes properties of a mesh.

Member Data Documentation

◆ boundingBox

AABox CeresEngine::MeshProperties::boundingBox

The mesh axis-aligned bounding box, can be used to perform culling.

◆ boundingSphere

Sphere CeresEngine::MeshProperties::boundingSphere

The mesh bounding sphere, can be used to perform culling.

◆ indexType

IndexType CeresEngine::MeshProperties::indexType = IndexType::UInt32

The format used by the mesh index buffer, if an index buffer is available.

◆ subMeshes

Vector<SubMesh> CeresEngine::MeshProperties::subMeshes

The sub meshes in the mesh.

◆ vertexCount

VertexCount CeresEngine::MeshProperties::vertexCount = 0

The total number of vertices (or indices) in the mesh.

◆ vertexDeclaration

VertexDeclaration CeresEngine::MeshProperties::vertexDeclaration

The vertex declaration format used by the mesh.


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