Euphoria
|
eu::render::CompiledMesh Struct Reference
A collection of parts making up a mesh. More...
#include <compiledmesh.h>
Public Member Functions | |
void | render (const mat4f &model_matrix, const mat4f &projection_matrix, const mat4f &view_matrix, const vec3f &camera, const Light &light, const std::shared_ptr< MaterialOverride > &overridden_materials) |
Public Attributes | |
std::vector< std::shared_ptr< CompiledMeshPart > > | parts |
std::vector< CompiledMeshMaterial > | materials |
Detailed Description
A collection of parts making up a mesh.
Definition at line 81 of file compiledmesh.h.
Member Function Documentation
◆ render()
void eu::render::CompiledMesh::render | ( | const mat4f & | model_matrix, |
const mat4f & | projection_matrix, | ||
const mat4f & | view_matrix, | ||
const vec3f & | camera, | ||
const Light & | light, | ||
const std::shared_ptr< MaterialOverride > & | overridden_materials | ||
) |
Definition at line 358 of file compiledmesh.cc.
Member Data Documentation
◆ materials
std::vector<CompiledMeshMaterial> eu::render::CompiledMesh::materials |
Definition at line 84 of file compiledmesh.h.
◆ parts
std::vector<std::shared_ptr<CompiledMeshPart> > eu::render::CompiledMesh::parts |
Definition at line 83 of file compiledmesh.h.
The documentation for this struct was generated from the following files:
- libs/render/src/render/compiledmesh.h
- libs/render/src/render/compiledmesh.cc