23 std::shared_ptr<CompiledGeom>
geom;
31 std::vector<CompiledMeshGeom>
geoms;
37 std::vector<CompiledTransformedMesh>
meshes;
49 std::vector<std::shared_ptr<MeshInstance>>
geoms;
55 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 list of CompiledVertexLayoutNoNameList (for geom).
Represents a Geom on the GPU.
std::shared_ptr< CompiledGeom > geom
std::vector< CompiledTransformedMesh > meshes
Base class for all materials.
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
Stores Geom + Material (aka a mesh) and its current transform.
A list of objects to render.