52#ifndef SHDHW_CONSTANTS_H
75 LPD3DXBUFFER* constants,
76 LPD3DXBUFFER* shader_code
90 DWORD* vertex_shader_declaration
96 DWORD* vertex_shader_declaration
119 static bool Using_Hardware;
DWORD Create(char *file_name)
Create Pixel Shader from a file.
void Destroy()
Destroy this pixel shader.
virtual ~ShdHWPixelShader()
Destruct this pixel shader.
DWORD Peek_Shader() const
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.
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.
void Destroy()
Destroy this vertex shader.
static void Light(RenderInfoClass &rinfo, Vector4 &ambient, Vector4 &diffuse, Vector4 &specular)
Apply generic lighting.
static bool Is_Using_Hardware()