CS::Mesh::iFurMeshMaterialProperties Struct Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

Public Member Functions
CS::Mesh::iFurMeshMaterialProperties Struct Reference

Store the material used for the iFurMesh. More...

`#include <imesh/furmesh.h>`

Inheritance diagram for CS::Mesh::iFurMeshMaterialProperties:

List of all members.

## 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.

## Detailed Description

Store the material used for the iFurMesh.

Material variables can be updated each frame via the Update function.

Definition at line 346 of file furmesh.h.

## Member Function Documentation

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

The documentation for this struct was generated from the following file:

- imesh/furmesh.h