Main   Class List   Namespace List   Wiki

Materials
[GFX]

Classes, structures, functions, and variables related to Torque 3D's material system. More...

Classes

class  CustomMaterial
 Material object which provides more control over surface properties. More...

Functions

void addMaterialMapping (string texName, string matName)
 Set up a material to texture mapping.
string getMaterialMapping (string texName)
 Gets the name of the material mapped to this texture.

Variables

int $pref::Video::defaultAnisotropy
 Default anisotropy value.
void dumpMaterialInstances
 Dumps a formatted list of currently allocated material instances to the console.
string getMapEntry
 Returns the material name via the materialList mapTo entry.
void reInitMaterials
 Flushes all the procedural shaders and re-initializes all the active materials instances.

Detailed Description

Classes, structures, functions, and variables related to Torque 3D's material system.


Function Documentation

void addMaterialMapping ( string  texName,
string  matName 
)

Set up a material to texture mapping.

string getMaterialMapping ( string  texName  ) 

Gets the name of the material mapped to this texture.

param texName Name of the texture


Variable Documentation

int $pref::Video::defaultAnisotropy

Default anisotropy value.

Dumps a formatted list of currently allocated material instances to the console.

string getMapEntry

Returns the material name via the materialList mapTo entry.

Returns:
String containing the material name

Flushes all the procedural shaders and re-initializes all the active materials instances.



Copyright © GarageGames, LLC. All Rights Reserved.