GLUS
Data Fields
_GLUSmaterial Struct Reference

Structure for holding material data. More...

#include <glus_wavefront.h>

Data Fields

GLUSchar name [GLUS_MAX_STRING]
 Name of the material. More...
 
GLUSfloat emissive [4]
 Emissive color. More...
 
GLUSfloat ambient [4]
 Ambient color. More...
 
GLUSfloat diffuse [4]
 Diffuse color. More...
 
GLUSfloat specular [4]
 Specular color. More...
 
GLUSfloat shininess
 Shininess. More...
 
GLUSfloat transparency
 Transparency, which is the alpha value. More...
 
GLUSboolean reflection
 Reflection. More...
 
GLUSboolean refraction
 Refraction. More...
 
GLUSfloat indexOfRefraction
 Index of refraction. More...
 
GLUSchar emissiveTextureFilename [GLUS_MAX_STRING]
 Emissive color texture filename. More...
 
GLUSchar ambientTextureFilename [GLUS_MAX_STRING]
 Ambient color texture filename. More...
 
GLUSchar diffuseTextureFilename [GLUS_MAX_STRING]
 Diffuse color texture filename. More...
 
GLUSchar specularTextureFilename [GLUS_MAX_STRING]
 Specular color texture filename. More...
 
GLUSchar transparencyTextureFilename [GLUS_MAX_STRING]
 Transparency texture filename. More...
 
GLUSchar bumpTextureFilename [GLUS_MAX_STRING]
 Bump texture filename. More...
 
GLUSuint emissiveTextureName
 Can be used to store the emissive texture name. More...
 
GLUSuint ambientTextureName
 Can be used to store the ambient texture name. More...
 
GLUSuint diffuseTextureName
 Can be used to store the diffuse texture name. More...
 
GLUSuint specularTextureName
 Can be used to store the specular texture name. More...
 
GLUSuint transparencyTextureName
 Can be used to store the transparency texture name. More...
 
GLUSuint bumpTextureName
 Can be used to store the bump texture name. More...
 

Detailed Description

Structure for holding material data.

Field Documentation

GLUSfloat ambient[4]

Ambient color.

GLUSchar ambientTextureFilename[GLUS_MAX_STRING]

Ambient color texture filename.

GLUSuint ambientTextureName

Can be used to store the ambient texture name.

GLUSchar bumpTextureFilename[GLUS_MAX_STRING]

Bump texture filename.

GLUSuint bumpTextureName

Can be used to store the bump texture name.

GLUSfloat diffuse[4]

Diffuse color.

GLUSchar diffuseTextureFilename[GLUS_MAX_STRING]

Diffuse color texture filename.

GLUSuint diffuseTextureName

Can be used to store the diffuse texture name.

GLUSfloat emissive[4]

Emissive color.

GLUSchar emissiveTextureFilename[GLUS_MAX_STRING]

Emissive color texture filename.

GLUSuint emissiveTextureName

Can be used to store the emissive texture name.

GLUSfloat indexOfRefraction

Index of refraction.

Name of the material.

GLUSboolean reflection

Reflection.

GLUSboolean refraction

Refraction.

GLUSfloat shininess

Shininess.

GLUSfloat specular[4]

Specular color.

GLUSchar specularTextureFilename[GLUS_MAX_STRING]

Specular color texture filename.

GLUSuint specularTextureName

Can be used to store the specular texture name.

GLUSfloat transparency

Transparency, which is the alpha value.

GLUSchar transparencyTextureFilename[GLUS_MAX_STRING]

Transparency texture filename.

GLUSuint transparencyTextureName

Can be used to store the transparency texture name.


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