#include <model.h>
◆ Model()
tram::Render::Model::Model |
( |
name_t |
name | ) |
|
|
inline |
◆ DrawAABB()
void tram::Render::Model::DrawAABB |
( |
vec3 |
position, |
|
|
quat |
rotation |
|
) |
| |
◆ Find()
◆ FindAllFromRay()
void tram::Render::Model::FindAllFromRay |
( |
vec3 |
ray_pos, |
|
|
vec3 |
ray_dir, |
|
|
std::vector< AABBTriangle > & |
result |
|
) |
| |
◆ GetAABBMax()
vec3 tram::Render::Model::GetAABBMax |
( |
| ) |
const |
|
inline |
◆ GetAABBMin()
vec3 tram::Render::Model::GetAABBMin |
( |
| ) |
const |
|
inline |
◆ GetArmature()
const std::vector< Bone > & tram::Render::Model::GetArmature |
( |
| ) |
const |
|
inline |
◆ GetIndexArray()
◆ GetIndexRanges()
const std::vector< IndexRange > & tram::Render::Model::GetIndexRanges |
( |
| ) |
const |
|
inline |
◆ GetMaterials()
const std::vector< Material * > & tram::Render::Model::GetMaterials |
( |
| ) |
const |
|
inline |
◆ GetVertexArray()
◆ GetVertexFormat()
◆ LoadFromDisk()
void tram::Render::Model::LoadFromDisk |
( |
| ) |
|
|
virtual |
◆ LoadFromMemory()
void tram::Render::Model::LoadFromMemory |
( |
| ) |
|
|
virtual |
◆ Unload()
void tram::Render::Model::Unload |
( |
| ) |
|
|
inlinevirtual |
◆ aabb_max
vec3 tram::Render::Model::aabb_max |
|
protected |
◆ aabb_min
vec3 tram::Render::Model::aabb_min |
|
protected |
◆ approx_vram_usage
size_t tram::Render::Model::approx_vram_usage = 0 |
|
protected |
◆ armature
std::vector<Bone> tram::Render::Model::armature |
|
protected |
◆ index_array
indexarray_t tram::Render::Model::index_array = {.generic = 0} |
|
protected |
◆ index_ranges
std::vector<IndexRange> tram::Render::Model::index_ranges |
|
protected |
◆ materials
std::vector<Material*> tram::Render::Model::materials |
|
protected |
◆ model_aabb
ModelAABB* tram::Render::Model::model_aabb = nullptr |
|
protected |
◆ model_data
ModelData* tram::Render::Model::model_data = nullptr |
|
protected |
◆ source
Model* tram::Render::Model::source = nullptr |
|
protected |
◆ vertex_array
◆ vertex_format
The documentation for this class was generated from the following files:
- C:/Users/Poga/Desktop/painis/tram-sdk/src/render/model.h
- C:/Users/Poga/Desktop/painis/tram-sdk/src/render/model.cpp