Conquer Space 0.0.0
A space themed grand strategy game set in the near future, with realistic orbital mechanics, and an emphasis on economics and politics.
Public Member Functions | Public Attributes | List of all members
cqsp::asset::ModelLoader Struct Reference

#include <modelloader.h>

Public Member Functions

 ModelLoader (const aiScene *_scene, std::string asset_path)
 
void LoadModel ()
 
void LoadNode (aiNode *node)
 
void LoadMesh (aiMesh *mesh)
 
void LoadMaterials ()
 
void LoadMaterial (int idx, aiMaterial *material)
 
void LoadMaterialTextures (aiMaterial *material, const aiTextureType &type, MaterialPrototype &prototype)
 

Public Attributes

int m_count = 0
 
ModelPrototypemodel_prototype
 
const aiScene * scene
 
std::string asset_path
 

Constructor & Destructor Documentation

◆ ModelLoader()

cqsp::asset::ModelLoader::ModelLoader ( const aiScene *  _scene,
std::string  asset_path 
)
inline

Member Function Documentation

◆ LoadMaterial()

void cqsp::asset::ModelLoader::LoadMaterial ( int  idx,
aiMaterial *  material 
)

◆ LoadMaterials()

void cqsp::asset::ModelLoader::LoadMaterials ( )

◆ LoadMaterialTextures()

void cqsp::asset::ModelLoader::LoadMaterialTextures ( aiMaterial *  material,
const aiTextureType &  type,
MaterialPrototype prototype 
)

◆ LoadMesh()

void cqsp::asset::ModelLoader::LoadMesh ( aiMesh *  mesh)

◆ LoadModel()

void cqsp::asset::ModelLoader::LoadModel ( )

◆ LoadNode()

void cqsp::asset::ModelLoader::LoadNode ( aiNode *  node)

Member Data Documentation

◆ asset_path

std::string cqsp::asset::ModelLoader::asset_path

◆ m_count

int cqsp::asset::ModelLoader::m_count = 0

◆ model_prototype

ModelPrototype* cqsp::asset::ModelLoader::model_prototype

◆ scene

const aiScene* cqsp::asset::ModelLoader::scene

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