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

#include <CeresEngine/Mesh/Mesh.hpp>

Public Attributes

UInt32 indexOffset = 0
 The offset of the sub mesh as an offset of the mesh index buffer.
 
VertexCount indexCount = 0
 The number of indexes in the sub mesh.
 
PrimitiveTopology primitiveTopology = PrimitiveTopology::Triangles
 The primitive topology used to render the sub-mesh.
 
Sphere boundingSphere
 The sub-mesh bounding sphere, can be used to perform culling.
 
AABox boundingBox
 The sub-mesh axis-aligned bounding box, can be used to perform culling.
 

Member Data Documentation

◆ boundingBox

AABox CeresEngine::SubMesh::boundingBox

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

◆ boundingSphere

Sphere CeresEngine::SubMesh::boundingSphere

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

◆ indexCount

VertexCount CeresEngine::SubMesh::indexCount = 0

The number of indexes in the sub mesh.

◆ indexOffset

UInt32 CeresEngine::SubMesh::indexOffset = 0

The offset of the sub mesh as an offset of the mesh index buffer.

◆ primitiveTopology

PrimitiveTopology CeresEngine::SubMesh::primitiveTopology = PrimitiveTopology::Triangles

The primitive topology used to render the sub-mesh.


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