7struct CompiledGeomVertexAttributes;
20 std::shared_ptr<CompiledGeom>
geom;
28 std::vector<CompiledMeshGeom>
geoms;
34 std::vector<CompiledTransformedMesh>
meshes;
46 std::vector<std::shared_ptr<MeshInstance>>
geoms;
52 std::vector<TransformedMeshInWorld>
meshes;
#define DEBUG_LABEL_ARG_MANY
first debug label argument of many
constexpr m4 m4_identity
The identity matrix.
CompiledMesh compile_mesh(DEBUG_LABEL_ARG_MANY const core::Mesh &mesh, const core::CompiledGeomVertexAttributes &geom_layout)
A (inclusive) range between two values.
A list of CompiledVertexLayoutNoNameList (for geom)
std::shared_ptr< CompiledGeom > geom
std::vector< CompiledTransformedMesh > meshes
CompiledMesh * compiled_mesh
void set_transform(const m4 &trans)
void add_to_world(CompiledMesh *m, World *world, std::shared_ptr< Material > mat)
std::vector< TransformedMeshInWorld > meshes
A list of objects to render.