## Public API Reference

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

- File List
- File Members

# ivideo/material.h File Reference

Material interface. More...

`#include "csutil/scf.h"`
`#include "csutil/strset.h"`
`#include "ivideo/shader/shader.h"`

Go to the source code of this file.

## Classes

struct | iMaterial
| This class represents a material as seen from the engine view. More...

## Defines

#define | CS_DEFMAT_AMBIENT 0.0f
| Default material `ambient' parameter.
#define | CS_DEFMAT_DIFFUSE 0.7f
| Default material `diffuse' parameter.
#define | CS_DEFMAT_REFLECTION 0.0f
| Default material `reflection' parameter.
#define | CS_MATERIAL_TEXTURE_DIFFUSE "tex diffuse"
| Name string for the material "diffuse" texture.
#define | CS_MATERIAL_VARNAME_AMBIENT "mat ambient"
| Name string for the material "ambient" shader var.
#define | CS_MATERIAL_VARNAME_DIFFUSE "mat diffuse"
| Name string for the material "diffuse" shader var.
#define | CS_MATERIAL_VARNAME_FLATCOLOR "mat flatcolor"
| Name string for the material "flat color" shader var.
#define | CS_MATERIAL_VARNAME_REFLECTION "mat reflection"
| Name string for the material "reflection" shader var.

## Detailed Description

Material interface.

Definition in file material.h.