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::Model Struct Reference

#include <model.h>

Inheritance diagram for cqsp::asset::Model:
cqsp::asset::Asset

Public Member Functions

AssetType GetAssetType () override
 
void Draw (ShaderProgram *shader)
 
- Public Member Functions inherited from cqsp::asset::Asset
virtual ~Asset ()=default
 

Public Attributes

std::vector< ModelMesh_tmeshes
 
std::map< int, Materialmaterials
 
- Public Attributes inherited from cqsp::asset::Asset
std::string path
 
int accessed = 0
 

Member Function Documentation

◆ Draw()

void cqsp::asset::Model::Draw ( ShaderProgram shader)
inline

◆ GetAssetType()

AssetType cqsp::asset::Model::GetAssetType ( )
inlineoverridevirtual

Implements cqsp::asset::Asset.

Member Data Documentation

◆ materials

std::map<int, Material> cqsp::asset::Model::materials

◆ meshes

std::vector<ModelMesh_t> cqsp::asset::Model::meshes

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