#include <shdlegacyw3d.h>
Inherits ShdDefClass.
Public Member Functions | |
| DECLARE_EDITABLE (ShdLegacyW3DDefClass, ShdDefClass) | |
| ShdLegacyW3DDefClass () | |
| ShdLegacyW3DDefClass (const ShdLegacyW3DDefClass &that) | |
| virtual | ~ShdLegacyW3DDefClass () |
| virtual ShdDefClass * | Clone () const |
| virtual void | Init () |
| virtual void | Shutdown () |
| virtual ShdInterfaceClass * | Create () const |
| virtual bool | Is_Valid_Config (StringClass &message) |
| virtual bool | Requires_Normals () const |
| virtual bool | Requires_Tangent_Space_Vectors () const |
| virtual bool | Requires_Sorting () const |
| virtual int | Static_Sort_Index () const |
| virtual bool | Uses_UV_Channel (int i) const |
| virtual bool | Save (ChunkSaveClass &csave) |
| Serialize this ShdDef into a chunk saver. | |
| virtual bool | Load (ChunkLoadClass &cload) |
| Load this ShdDef from a chunk loader. | |
| int | Get_Pass_Count () |
| const StringClass & | Get_Texture_Name (int pass, int stage) |
| int | Get_Texture_Attributes (int pass, int stage) |
| const W3dShaderStruct & | Get_Shader (int pass) |
| const W3dVertexMaterialStruct & | Get_Material (int pass) |
| StringClass & | Get_Mapper_Args (int pass, int stage) |
| int | Get_Map_Channel (int pass, int stage) |
| void | Set_Pass_Count (int passes) |
| void | Set_Texture_Name (int pass, int stage, const StringClass &name) |
| void | Set_Texture_Attributes (int pass, int stage, unsigned int attributes) |
| void | Set_Shader (int pass, const W3dShaderStruct &shader) |
| void | Set_Material (int pass, const W3dVertexMaterialStruct &mat) |
| void | Set_Mapper_Args (int pass, int stage, const char *args) |
| void | Set_Map_Channel (int pass, int stage, int channel) |
Public Member Functions inherited from ShdDefClass | |
| DECLARE_EDITABLE (ShdDefClass, EditableClass) | |
| ShdDefClass (uint32 class_id) | |
| ShdDefClass (const ShdDefClass &that) | |
| virtual | ~ShdDefClass (void) |
| virtual void | Reset (void) |
| WWINLINE uint32 | Get_Class_ID (void) const |
| const char * | Get_Name (void) const |
| void | Set_Name (const char *new_name) |
| int | Get_Surface_Type (void) const |
| void | Set_Surface_Type (int t) |
| virtual bool | Uses_Vertex_Alpha (void) const |
| virtual bool | Uses_Vertex_Colors (void) const |
Public Member Functions inherited from EditableClass | |
| virtual int | Get_Parameter_Count (void) const |
| virtual ParameterClass * | Lock_Parameter (int i) |
| virtual void | Unlock_Parameter (int i) |
Public Member Functions inherited from RefCountClass | |
| RefCountClass (void) | |
| RefCountClass (const RefCountClass &) | |
| void | Add_Ref (void) const |
| WWINLINE void | Release_Ref (void) const |
| int | Num_Refs (void) const |
| virtual void | Delete_This (void) |
Additional Inherited Members | |
Static Public Member Functions inherited from RefCountClass | |
| static int | Total_Refs (void) |
| static RefCountClass * | Add_Active_Ref (RefCountClass *obj) |
| static RefCountClass * | Set_Ref_Owner (RefCountClass *obj, char *file, int line) |
| static void | Remove_Active_Ref (RefCountClass *obj) |
| static bool | Validate_Active_Ref (RefCountClass *obj) |
Public Attributes inherited from RefCountClass | |
| RefCountNodeClass | ActiveRefNode |
| ActiveRefStruct | ActiveRefInfo |
Static Public Attributes inherited from RefCountClass | |
| static RefCountListClass | ActiveRefList |
Protected Member Functions inherited from RefCountClass | |
| virtual | ~RefCountClass (void) |
ShdLegacyW3DDefClass - This ShaderDef's sole purpose for existance is to let us make the transition to using shaders for all of our materials. This shader will wrap the old material system completely. The plan is to eventually have a full set of "real" shaders and not need to use this at all.
Definition at line 34 of file shdlegacyw3d.h.
| ShdLegacyW3DDefClass::ShdLegacyW3DDefClass | ( | ) |
Definition at line 120 of file shdlegacyw3d.cpp.
| ShdLegacyW3DDefClass::ShdLegacyW3DDefClass | ( | const ShdLegacyW3DDefClass & | that | ) |
Definition at line 136 of file shdlegacyw3d.cpp.
|
virtual |
Definition at line 160 of file shdlegacyw3d.cpp.
|
inlinevirtual |
Implements ShdDefClass.
Definition at line 47 of file shdlegacyw3d.h.
|
virtual |
Implements ShdDefClass.
Definition at line 374 of file shdlegacyw3d.cpp.
| ShdLegacyW3DDefClass::DECLARE_EDITABLE | ( | ShdLegacyW3DDefClass | , |
| ShdDefClass | ) |
|
inline |
Definition at line 75 of file shdlegacyw3d.h.
|
inline |
Definition at line 74 of file shdlegacyw3d.h.
|
inline |
Definition at line 73 of file shdlegacyw3d.h.
|
inline |
Definition at line 69 of file shdlegacyw3d.h.
|
inline |
Definition at line 72 of file shdlegacyw3d.h.
|
inline |
Definition at line 71 of file shdlegacyw3d.h.
|
inline |
Definition at line 70 of file shdlegacyw3d.h.
|
virtual |
Implements ShdDefClass.
Definition at line 364 of file shdlegacyw3d.cpp.
|
virtual |
Reimplemented from ShdDefClass.
Definition at line 164 of file shdlegacyw3d.cpp.
|
virtual |
Load this ShdDef from a chunk loader.
| cload | - ChunkLoad object to read from |
Reimplemented from ShdDefClass.
Definition at line 219 of file shdlegacyw3d.cpp.
|
inlinevirtual |
Reimplemented from ShdDefClass.
Definition at line 58 of file shdlegacyw3d.h.
|
inlinevirtual |
Reimplemented from ShdDefClass.
Definition at line 60 of file shdlegacyw3d.h.
|
inlinevirtual |
Reimplemented from ShdDefClass.
Definition at line 59 of file shdlegacyw3d.h.
|
virtual |
Serialize this ShdDef into a chunk saver.
| csave | - ChunkSave object to write into |
Reimplemented from ShdDefClass.
Definition at line 181 of file shdlegacyw3d.cpp.
|
inline |
Definition at line 83 of file shdlegacyw3d.h.
|
inline |
Definition at line 82 of file shdlegacyw3d.h.
|
inline |
Definition at line 81 of file shdlegacyw3d.h.
|
inline |
Definition at line 77 of file shdlegacyw3d.h.
|
inline |
Definition at line 80 of file shdlegacyw3d.h.
|
inline |
Definition at line 79 of file shdlegacyw3d.h.
|
inline |
Definition at line 78 of file shdlegacyw3d.h.
|
virtual |
Implements ShdDefClass.
Definition at line 369 of file shdlegacyw3d.cpp.
|
inlinevirtual |
Reimplemented from ShdDefClass.
Definition at line 61 of file shdlegacyw3d.h.
|
virtual |
Reimplemented from ShdDefClass.
Definition at line 169 of file shdlegacyw3d.cpp.