CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound 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.

Compounds

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

struct  csTextureLayer
 This structure represents an extra texture layer which is applied on top of the previous one. More...


Defines

#define CS_DEFMAT_DIFFUSE   0.7f
 Default material `diffuse' parameter. More...

#define CS_DEFMAT_AMBIENT   0.0f
 Default material `ambient' parameter. More...

#define CS_DEFMAT_REFLECTION   0.0f
 Default material `reflection' parameter. More...

#define CS_MATERIAL_VARNAME_DIFFUSE   "mat diffuse"
 Name string for the material "diffuse" shader var. More...

#define CS_MATERIAL_VARNAME_AMBIENT   "mat ambient"
 Name string for the material "ambient" shader var. More...

#define CS_MATERIAL_VARNAME_REFLECTION   "mat reflection"
 Name string for the material "reflection" shader var. More...

#define CS_MATERIAL_VARNAME_FLATCOLOR   "mat flatcolor"
 Name string for the material "flat color" shader var. More...

#define CS_MATERIAL_TEXTURE_DIFFUSE   "tex diffuse"
 Name string for the material "diffuse" texture. More...

#define CS_MATERIAL_TEXTURE_LAYER1   "tex layer1"
 Name string for old renderer: layer 1. More...

#define CS_MATERIAL_TEXTURE_LAYER2   "tex layer2"
 Name string for old renderer: layer 2. More...

#define CS_MATERIAL_TEXTURE_LAYER3   "tex layer3"
 Name string for old renderer: layer 3. More...

#define CS_MATERIAL_TEXTURE_LAYER4   "tex layer4"
 Name string for old renderer: layer 4. More...


Detailed Description

Material interface.

Definition in file ivideo/material.h.


Generated for Crystal Space by doxygen 1.2.14