#include <mesh.h>
Public Member Functions | |
| virtual MeshInstance & | getMeshInstance ()=0 |
| virtual const MeshInstance & | getMeshInstance () const =0 |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| Object () | |
| virtual | ~Object () |
| virtual bool | init (utility::ErrorState &errorState) |
| virtual void | onDestroy () |
| Object (Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| Object (Object &&)=delete | |
| Object & | operator= (Object &&)=delete |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Mesh resource interface. Derive from this class to implement your own serializable mesh resource. Every IMesh should be able to construct and return a nap::MeshInstance(). The instance is rendered and can be updated / modified at runtime.
|
pure virtual |
Implemented in Mesh, GeometryFromFile, PolyLine, PlaneMesh, BoxMesh, TriangleMesh, VisualizeNormalsMesh, BoxFrameMesh, EmptyMesh, ScatterPointsMesh, SphereMesh, MeshFromFile, ShaderBallMesh, GnomonMesh, TorusMesh, HumanoidMesh, LucyMesh, and ToyMesh.
|
pure virtual |
Implemented in Mesh, GeometryFromFile, PolyLine, PlaneMesh, BoxMesh, TriangleMesh, VisualizeNormalsMesh, BoxFrameMesh, EmptyMesh, ScatterPointsMesh, SphereMesh, MeshFromFile, ShaderBallMesh, GnomonMesh, TorusMesh, HumanoidMesh, LucyMesh, and ToyMesh.