00001 #pragma once 00002 #include "shader_postprocess.h" 00003 00004 00005 class Shader_Dummy : public Shader_Postprocess 00006 { 00007 private: 00008 00009 public: 00010 bool compile(const D3D10_SHADER_MACRO *macros, DWORD shaderFlags); 00011 Shader_Dummy(ID3D10Device *device); 00012 bool createRenderTargetViews(ID3D10RenderTargetView *backbuffer, const DXGI_SWAP_CHAIN_DESC &swapChainDesc, int multiSampleCount); 00013 void releaseRenderTargetViews(); 00014 void setShaderResourceView(ID3D10ShaderResourceView *view); 00015 void apply(); 00016 void bind(); 00017 };