BaseMesh.hh
Go to the documentation of this file.
virtual SubMeshPtr SubMeshByName(const std::string &_name) const
Get sub-mesh with given name.
Definition: BaseMesh.hh:124
Definition: BaseMesh.hh:68
virtual void PreRender()
Prepare this object and any of its children for rendering. This should be called for each object in a...
Definition: BaseMesh.hh:169
virtual SubMeshPtr SubMeshByIndex(unsigned int _index) const
Get sub-mesh at given index.
Definition: BaseMesh.hh:131
STL class.
virtual void SetMaterial(const std::string &_name, bool _unique=true)
Set the materials of this SubMesh. The specified material will be retrieved from the parent Scene...
Definition: BaseMesh.hh:206
Manages a single scene-graph. This class updates scene-wide properties and holds the root scene node...
Definition: Scene.hh:44
virtual void Destroy()
Destroy any resources associated with this object. Invoking any other functions after destroying an o...
Definition: BaseMesh.hh:184
virtual unsigned int SubMeshCount() const
Get the sub-mesh count.
Definition: BaseMesh.hh:103
Definition: BaseMesh.hh:31
virtual void PreRender()=0
Prepare this object and any of its children for rendering. This should be called for each object in a...
virtual void PreRender()
Prepare this object and any of its children for rendering. This should be called for each object in a...
Definition: BaseMesh.hh:214
virtual void SetMaterial(const std::string &_name, bool _unique=true)
Set the materials of this Geometry. The specified material will be retrieved from the parent Scene...
Definition: BaseMesh.hh:147
virtual bool HasSubMeshName(const std::string &_name) const
Determine if has sub-mesh with given name.
Definition: BaseMesh.hh:117
Definition: ArrowVisual.hh:22
Represents a surface material of a Geometry.
Definition: Material.hh:34
virtual bool HasSubMesh(ConstSubMeshPtr _subMesh) const
Determine if has given sub-mesh.
Definition: BaseMesh.hh:110
virtual MaterialPtr Material() const
Get the material of this geometry.
Definition: BaseMesh.hh:138
virtual MaterialPtr Material(const std::string &_name) const =0
Get material registered under the given name. If no material is registered under the given name...