15 std::vector<std::unique_ptr<Primitive>>& out_primitives)
const override;
23 ClassType clazz(
"indexed-triangle-mesh");
24 clazz.docName(
"Indexed Triangle Mesh");
26 "A cluster of triangles forming a singe shape in 3-D space. Unlike basic `Triangle Mesh`, "
27 "this variant exploit redundancies in mesh vertices resulting in less memory usage in "
32 meshFile.description(
"File that stores the triangle mesh.");
34 clazz.addField(meshFile);
Definition GIndexedTriangleMesh.h:11
void genPrimitive(const PrimitiveBuildingMaterial &data, std::vector< std::unique_ptr< Primitive > > &out_primitives) const override
Definition GIndexedTriangleMesh.cpp:10
PH_DEFINE_SDL_CLASS(TSdlOwnerClass< GIndexedTriangleMesh >)
Definition GIndexedTriangleMesh.h:21
Definition PrimitiveBuildingMaterial.h:11
An general identifier that points to some resource. This is the most general form of a resource ident...
Definition ResourceIdentifier.h:20
SDL binding type for a canonical SDL resource class.
Definition TSdlOwnerClass.h:23
A field class that binds a resource identifier member. Though the member type that is binded by defau...
Definition TSdlResourceIdentifier.h:28
The root for all renderer implementations.
Definition EEngineProject.h:6