#include <PixelShader.h>
Public Member Functions | |
| IDirect3DPixelShader9 * | GetInterface () |
| const IDirect3DPixelShader9 * | GetInterface () const |
| const CompiledShaderCode & | GetShaderCode () const |
| bool | Begin () |
| bool | End () |
| bool | FlushConstants () |
Public Attributes | |
| friend | ShaderManager |
The (base) class for pixel shader programs (pixel shaders).
| bool xl7::direct3d::shader::PixelShader::Begin | ( | ) | [virtual] |
Begins the shader by setting the registered constants and itself to the render device.
Implements xl7::direct3d::shader::Shader.
| bool xl7::direct3d::shader::PixelShader::End | ( | ) | [virtual] |
Ends the shader by deleting all the registered constants.
Implements xl7::direct3d::shader::Shader.
| bool xl7::direct3d::shader::PixelShader::FlushConstants | ( | ) | [virtual] |
Flushes the shader constants by pushing them to the render device. (The shader must be the active one.)
Implements xl7::direct3d::shader::Shader.
| const IDirect3DPixelShader9* xl7::direct3d::shader::PixelShader::GetInterface | ( | ) | const [inline] |
Returns the Direct3D pixel shader interface.
| IDirect3DPixelShader9* xl7::direct3d::shader::PixelShader::GetInterface | ( | ) | [inline] |
Returns the Direct3D pixel shader interface.
| const CompiledShaderCode& xl7::direct3d::shader::PixelShader::GetShaderCode | ( | ) | const [inline] |
Returns the compiled pixel shader code.
1.7.1