Elaztek Developer Hub
Blamite Game Engine - blam!  00453.06.08.26.0624.blamite
The core library for the Blamite Game Engine.
ManualMesh Class Reference

#include <types.h>

Classes

class  Section
 

Public Types

enum  SectionIndexType { SectionIndexType::LineList, SectionIndexType::TriangleList }
 

Public Member Functions

 ~ManualMesh ()
 
void Render (BlamVector3 position, BlamVector3 rotation, BlamVector3 scale)
 
void Render (BlamVector3 position, BlamVector3 rotation, BlamVector3 scale, uint64_t state_flags)
 
SectionCreateSection (std::string name, ManualMesh::SectionIndexType type)
 
SectionGetSection (std::string name)
 
void Reset ()
 
void ComputeAabb ()
 
BlamVector3 GetAabbMin ()
 
BlamVector3 GetAabbMax ()
 

Public Attributes

std::vector< Section * > sections = std::vector<Section*>()
 

Member Enumeration Documentation

◆ SectionIndexType

Enumerator
LineList 
TriangleList 

Constructor & Destructor Documentation

◆ ~ManualMesh()

ManualMesh::~ManualMesh ( )
+ Here is the call graph for this function:

Member Function Documentation

◆ ComputeAabb()

void ManualMesh::ComputeAabb ( )

◆ CreateSection()

ManualMesh::Section * ManualMesh::CreateSection ( std::string  name,
ManualMesh::SectionIndexType  type 
)
+ Here is the caller graph for this function:

◆ GetAabbMax()

BlamVector3 ManualMesh::GetAabbMax ( )
+ Here is the caller graph for this function:

◆ GetAabbMin()

BlamVector3 ManualMesh::GetAabbMin ( )
+ Here is the caller graph for this function:

◆ GetSection()

ManualMesh::Section * ManualMesh::GetSection ( std::string  name)
+ Here is the caller graph for this function:

◆ Render() [1/2]

void ManualMesh::Render ( BlamVector3  position,
BlamVector3  rotation,
BlamVector3  scale 
)
+ Here is the caller graph for this function:

◆ Render() [2/2]

void ManualMesh::Render ( BlamVector3  position,
BlamVector3  rotation,
BlamVector3  scale,
uint64_t  state_flags 
)
+ Here is the call graph for this function:

◆ Reset()

void ManualMesh::Reset ( )
+ Here is the caller graph for this function:

Member Data Documentation

◆ sections

std::vector<Section*> ManualMesh::sections = std::vector<Section*>()

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