"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSGraphicsLib/Src/DirectXShaders/LSGDirectX11PixelShader.h

00001 
00017 #ifndef __LSG_DIRECTX11PIXELSHADER_H__
00018 #define __LSG_DIRECTX11PIXELSHADER_H__
00019 
00020 #include "../LSGGraphicsLib.h"
00021 #include "LSGDirectX11CompiledShader.h"
00022 #include "String/LSTLString.h"
00023 
00024 #ifdef LSG_DX11
00025 
00026 namespace lsg {
00027 
00035         class CDirectX11PixelShader : public CDirectX11CompiledShader {
00036         public :
00037                 // == Various constructors.
00038                 LSE_CALLCTOR                                                                            CDirectX11PixelShader();
00039                 virtual LSE_CALLCTOR                                                            ~CDirectX11PixelShader();
00040 
00041 
00042                 // == Functions.
00046                 virtual LSVOID LSE_CALL                                                         Reset();
00047 
00053                 virtual LSBOOL LSE_CALL                                                         Activate();
00054 
00058                 virtual LSVOID LSE_CALL                                                         PreRender();
00059 
00060 
00061         protected :
00062                 // == Members.
00066                 ID3D11PixelShader *                                                                     m_ppsPixelShader;
00067 
00068                 
00069                 // == Functions.
00080                 virtual LSBOOL LSE_CALL                                                         Compile( const CString &_sShaderText, CShaderLanguageParser::LSG_SHADER_TYPES _stShaderType, CString &_sError );
00081 
00082 
00083         private :
00084                 typedef CDirectX11CompiledShader                                        Parent;
00085                 friend class                                                                            CDirectX11CompiledShaderManager;
00086         };
00087 
00088 }       // namespace lsg
00089 
00090 #endif  // #ifdef LSG_DX11
00091 
00092 #endif  // __LSG_DIRECTX11PIXELSHADER_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator