Public Member Functions | |
bool | compile (const D3D10_SHADER_MACRO *macros, DWORD shaderFlags) |
Shader_Dummy (ID3D10Device *device) | |
bool | createRenderTargetViews (ID3D10RenderTargetView *backbuffer, const DXGI_SWAP_CHAIN_DESC &swapChainDesc, int multiSampleCount) |
void | releaseRenderTargetViews () |
void | setShaderResourceView (ID3D10ShaderResourceView *view) |
void | apply () |
void | bind () |
void Shader_Dummy::apply | ( | ) | [virtual] |
Draw the shader's buffer contents.
Reimplemented from Shader.
void Shader_Dummy::setShaderResourceView | ( | ID3D10ShaderResourceView * | view | ) |
Using this function the shader can be set to return another post processing shader's result, effectively not doing anything.