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

#include <types.h>

+ Collaboration diagram for mesh:

Classes

struct  submesh
 

Public Member Functions

 ~mesh ()
 
void Render (BlamVector3 position, BlamVector3 rotation, BlamVector3 scale)
 
void Render (BlamVector3 position, BlamVector3 rotation, BlamVector3 scale, uint64_t state_flags, bgfx::ProgramHandle program, bool apply_material_params, bgfx::ViewId view_id)
 

Public Attributes

BlamVector3 aabb_min = BlamVector3(0.0f, 0.0f, 0.0f)
 
BlamVector3 aabb_max = BlamVector3(0.0f, 0.0f, 0.0f)
 
bool bounds_valid = false
 
std::string tag_path
 
render_modeltag = nullptr
 
std::vector< submesh * > submeshes
 

Constructor & Destructor Documentation

◆ ~mesh()

mesh::~mesh ( )

Member Function Documentation

◆ Render() [1/2]

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

◆ Render() [2/2]

void mesh::Render ( BlamVector3  position,
BlamVector3  rotation,
BlamVector3  scale,
uint64_t  state_flags,
bgfx::ProgramHandle  program,
bool  apply_material_params,
bgfx::ViewId  view_id 
)
+ Here is the call graph for this function:

Member Data Documentation

◆ aabb_max

BlamVector3 mesh::aabb_max = BlamVector3(0.0f, 0.0f, 0.0f)

◆ aabb_min

BlamVector3 mesh::aabb_min = BlamVector3(0.0f, 0.0f, 0.0f)

◆ bounds_valid

bool mesh::bounds_valid = false

◆ submeshes

std::vector<submesh*> mesh::submeshes

◆ tag

render_model* mesh::tag = nullptr

◆ tag_path

std::string mesh::tag_path

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