#include <w3dmtl.h>
|
| | W3dMaterialClass (void) |
| |
| | ~W3dMaterialClass (void) |
| |
| void | Reset (void) |
| |
| void | Init (Mtl *mtl, char *materialColorTexture=NULL) |
| |
| void | Init (GameMtl *gamemtl, char *materialColorTexture=NULL) |
| |
| void | Set_Surface_Type (unsigned int type) |
| |
| void | Set_Sort_Level (int level) |
| |
| void | Set_Pass_Count (int count) |
| |
| void | Set_Vertex_Material (const W3dVertexMaterialStruct &vmat, int pass=0) |
| |
| void | Set_Mapper_Args (const char *args_buffer, int pass=0, int stage=0) |
| |
| void | Set_Shader (const W3dShaderStruct &shader, int pass=0) |
| |
| void | Set_Texture (const W3dMapClass &map, int pass=0, int stage=0) |
| |
| void | Set_Map_Channel (int pass, int stage, int channel) |
| |
| unsigned int | Get_Surface_Type (void) const |
| |
| int | Get_Sort_Level (void) const |
| |
| int | Get_Pass_Count (void) const |
| |
| W3dVertexMaterialStruct * | Get_Vertex_Material (int pass=0) const |
| |
| const char * | Get_Mapper_Args (int pass, int stage) const |
| |
| W3dShaderStruct | Get_Shader (int pass=0) const |
| |
| W3dMapClass * | Get_Texture (int pass=0, int stage=0) const |
| |
| int | Get_Map_Channel (int pass=0, int stage=0) const |
| |
| bool | Is_Multi_Pass_Transparent (void) const |
| |
Definition at line 82 of file w3dmtl.h.
◆ anonymous enum
| Enumerator |
|---|
| MAX_PASSES | |
| MAX_STAGES | |
Definition at line 89 of file w3dmtl.h.
◆ W3dMaterialClass()
| W3dMaterialClass::W3dMaterialClass |
( |
void | | ) |
|
◆ ~W3dMaterialClass()
| W3dMaterialClass::~W3dMaterialClass |
( |
void | | ) |
|
◆ Free()
| void W3dMaterialClass::Free |
( |
void | | ) |
|
|
protected |
◆ Get_Map_Channel()
| int W3dMaterialClass::Get_Map_Channel |
( |
int | pass = 0, |
|
|
int | stage = 0 ) const |
◆ Get_Mapper_Args()
| const char * W3dMaterialClass::Get_Mapper_Args |
( |
int | pass, |
|
|
int | stage ) const |
◆ Get_Pass_Count()
| int W3dMaterialClass::Get_Pass_Count |
( |
void | | ) |
const |
◆ Get_Shader()
◆ Get_Sort_Level()
| int W3dMaterialClass::Get_Sort_Level |
( |
void | | ) |
const |
◆ Get_Surface_Type()
| unsigned int W3dMaterialClass::Get_Surface_Type |
( |
void | | ) |
const |
◆ Get_Texture()
| W3dMapClass * W3dMaterialClass::Get_Texture |
( |
int | pass = 0, |
|
|
int | stage = 0 ) const |
◆ Get_Vertex_Material()
◆ Init() [1/2]
| void W3dMaterialClass::Init |
( |
GameMtl * | gamemtl, |
|
|
char * | materialColorTexture = NULL ) |
◆ Init() [2/2]
| void W3dMaterialClass::Init |
( |
Mtl * | mtl, |
|
|
char * | materialColorTexture = NULL ) |
- Todo
- : Fix this for substituted textures.
- Todo
- : Fix this to procedural name/path
Definition at line 339 of file w3dmtl.cpp.
◆ Is_Multi_Pass_Transparent()
| bool W3dMaterialClass::Is_Multi_Pass_Transparent |
( |
void | | ) |
const |
◆ Reset()
| void W3dMaterialClass::Reset |
( |
void | | ) |
|
◆ Set_Map_Channel()
| void W3dMaterialClass::Set_Map_Channel |
( |
int | pass, |
|
|
int | stage, |
|
|
int | channel ) |
◆ Set_Mapper_Args()
| void W3dMaterialClass::Set_Mapper_Args |
( |
const char * | args_buffer, |
|
|
int | pass = 0, |
|
|
int | stage = 0 ) |
◆ Set_Pass_Count()
| void W3dMaterialClass::Set_Pass_Count |
( |
int | count | ) |
|
◆ Set_Shader()
| void W3dMaterialClass::Set_Shader |
( |
const W3dShaderStruct & | shader, |
|
|
int | pass = 0 ) |
◆ Set_Sort_Level()
| void W3dMaterialClass::Set_Sort_Level |
( |
int | level | ) |
|
◆ Set_Surface_Type()
| void W3dMaterialClass::Set_Surface_Type |
( |
unsigned int | type | ) |
|
◆ Set_Texture()
| void W3dMaterialClass::Set_Texture |
( |
const W3dMapClass & | map, |
|
|
int | pass = 0, |
|
|
int | stage = 0 ) |
◆ Set_Vertex_Material()
◆ MapChannel
◆ MapperArgs
◆ Materials
◆ PassCount
| int W3dMaterialClass::PassCount |
|
protected |
◆ Shaders
◆ SortLevel
| int W3dMaterialClass::SortLevel |
|
protected |
◆ SurfaceType
| unsigned int W3dMaterialClass::SurfaceType |
|
protected |
◆ Textures
The documentation for this class was generated from the following files: