CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

material.h File Reference

Material interface. More...

#include "csutil/scf.h"
#include "csutil/strset.h"
#include "csutil/strhash.h"
#include "ivideo/rndbuf.h"
#include "ivideo/rendermesh.h"
#include "ivideo/shader/shader.h"

Go to the source code of this file.

Classes

struct  csTextureLayer
 This structure represents an extra texture layer which is applied on top of the previous one. More...
struct  iMaterial
 This class represents a material as seen from the engine view. More...
struct  iMaterialHandle
 This class represents a material handle (compiled material) for the 3D rasterizer. More...

Defines

#define CS_DEFMAT_DIFFUSE   0.7f
 Default material `diffuse' parameter.
#define CS_DEFMAT_AMBIENT   0.0f
 Default material `ambient' parameter.
#define CS_DEFMAT_REFLECTION   0.0f
 Default material `reflection' parameter.
#define CS_MATERIAL_VARNAME_DIFFUSE   "mat diffuse"
 Name string for the material "diffuse" shader var.
#define CS_MATERIAL_VARNAME_AMBIENT   "mat ambient"
 Name string for the material "ambient" shader var.
#define CS_MATERIAL_VARNAME_REFLECTION   "mat reflection"
 Name string for the material "reflection" shader var.
#define CS_MATERIAL_VARNAME_FLATCOLOR   "mat flatcolor"
 Name string for the material "flat color" shader var.
#define CS_MATERIAL_TEXTURE_DIFFUSE   "tex diffuse"
 Name string for the material "diffuse" texture.
#define CS_MATERIAL_TEXTURE_LAYER1   "tex layer1"
 Name string for old renderer: layer 1.
#define CS_MATERIAL_TEXTURE_LAYER2   "tex layer2"
 Name string for old renderer: layer 2.
#define CS_MATERIAL_TEXTURE_LAYER3   "tex layer3"
 Name string for old renderer: layer 3.
#define CS_MATERIAL_TEXTURE_LAYER4   "tex layer4"
 Name string for old renderer: layer 4.


Detailed Description

Material interface.

Definition in file material.h.


Generated for Crystal Space by doxygen 1.3.9.1