![]() |
Public API Reference |
![]() |
Store the material used for the iFurMesh. More...
#include <imesh/furmesh.h>
Public Member Functions | |
virtual iMaterial * | GetMaterial () const =0 |
Get the material used. | |
virtual void | Invalidate ()=0 |
Update the material data after modifying the material variables. | |
virtual void | SetMaterial (iMaterial *material)=0 |
Set the material used. | |
virtual void | Update ()=0 |
Called each frame. |
Store the material used for the iFurMesh.
Material variables can be updated each frame via the Update function.
virtual iMaterial* CS::Mesh::iFurMeshMaterialProperties::GetMaterial | ( | ) | const [pure virtual] |
Get the material used.
virtual void CS::Mesh::iFurMeshMaterialProperties::Invalidate | ( | ) | [pure virtual] |
Update the material data after modifying the material variables.
virtual void CS::Mesh::iFurMeshMaterialProperties::SetMaterial | ( | iMaterial * | material | ) | [pure virtual] |
Set the material used.
Can be created externally from an XML
virtual void CS::Mesh::iFurMeshMaterialProperties::Update | ( | ) | [pure virtual] |
Called each frame.
New material variables values can be send to the shader