gz/rendering/MeshDescriptor.hh
Go to the documentation of this file.
#define IGN_COMMON_WARN_IGNORE__DLL_INTERFACE_MISSING
#define IGN_COMMON_WARN_RESUME__DLL_INTERFACE_MISSING
Describes how a Mesh should be loaded.
Definition: gz/rendering/MeshDescriptor.hh:45
MeshDescriptor(const std::string &_meshName)
Constructor. A common::Mesh will be retrieved from the MeshManager by the given name upon a call to N...
MeshDescriptor(const common::Mesh *_mesh)
Constructor.
std::string meshName
Name of the registered Mesh.
Definition: gz/rendering/MeshDescriptor.hh:69
void Load()
Ensures both the meshName and mesh member variables have been assigned. If mesh is not null,...
std::string subMeshName
Name of the sub-mesh to be loaded. An empty string signifies all sub-meshes should be loaded.
Definition: gz/rendering/MeshDescriptor.hh:75