#include <shdhwshader.h>
Inherits ShdHWShader.
Public Member Functions | |
| virtual | ~ShdHWVertexShader () |
| Destruct this vertex shader. | |
| DWORD | Create (char *file_name, DWORD *vertex_shader_declaration) |
| Create Vertex Shader from a file and vertex stream declaration. | |
| DWORD | Create (DWORD *shader_code, DWORD *vertex_shader_declaration) |
| Create Vertex Shader from a dword constant and vertex stream declaration. | |
| void | Destroy () |
| Destroy this vertex shader. | |
Public Member Functions inherited from ShdHWShader | |
| ShdHWShader () | |
| virtual | ~ShdHWShader () |
| DWORD | Peek_Shader () const |
Static Public Member Functions | |
| static bool | Is_Using_Hardware () |
| static void | Light (RenderInfoClass &rinfo, Vector4 &ambient, Vector4 &diffuse, Vector4 &specular) |
| Apply generic lighting. | |
| static void | Light (RenderInfoClass &rinfo, Vector4 &ambient, Vector4 &diffuse) |
| Apply generic lighting (no specular supplied) | |
Additional Inherited Members | |
Protected Member Functions inherited from ShdHWShader | |
| void | Shell_Run (char *cmd) |
| Execute and wait for a hidden shell command. | |
| void | Preprocess_And_Assemble_Shader_From_File (char *file_name, LPD3DXBUFFER *constants, LPD3DXBUFFER *shader_code) |
| Preprocess and assemble a HW shader from file. | |
Protected Attributes inherited from ShdHWShader | |
| DWORD | Shader |
Definition at line 82 of file shdhwshader.h.
|
virtual |
Destruct this vertex shader.
5/27/02 5:39p KJM Created
Definition at line 156 of file shdhwshader.cpp.
Create Vertex Shader from a file and vertex stream declaration.
05/27/02 5:39p KJM Created /*! 06/06/02 KM added software vertex shader fallback check
Definition at line 180 of file shdhwshader.cpp.
Create Vertex Shader from a dword constant and vertex stream declaration.
07/19/02 3:39p KJM Created
Definition at line 229 of file shdhwshader.cpp.
| void ShdHWVertexShader::Destroy | ( | ) |
Destroy this vertex shader.
5/27/02 5:39p KJM Created
Definition at line 165 of file shdhwshader.cpp.
|
inlinestatic |
Definition at line 101 of file shdhwshader.h.
|
static |
Apply generic lighting (no specular supplied)
07/07/02 12:23p KJM Created
Definition at line 500 of file shdhwshader.cpp.
|
static |