"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSGraphicsLib/Src/DirectX/LSGDirectX10DepthStencilRenderTarget.h

00001 
00016 #ifndef __LSG_DIRECTX10DEPTHSTENCILRENDERTARGET_H__
00017 #define __LSG_DIRECTX10DEPTHSTENCILRENDERTARGET_H__
00018 
00019 #include "../LSGGraphicsLib.h"
00020 #include "../RenderTarget/LSGRenderTargetBase.h"
00021 
00022 #ifdef LSG_DX10
00023 
00024 namespace lsg {
00025 
00032         class CDirectX10DepthStencilRenderTarget : public CRenderTargetBase {
00033                 friend class                                                    CDirectX10RenderTargetManager;
00034         public :
00035                 // == Functions.
00042                 virtual LSBOOL LSE_CALL                                 Activate( LSUINT32 _ui32Slot );
00043 
00044 
00045         protected :
00046                 // == Various constructors.
00047                 LSE_CALLCTOR                                                    CDirectX10DepthStencilRenderTarget();
00048                 LSE_CALLCTOR                                                    ~CDirectX10DepthStencilRenderTarget();
00049 
00050 
00051                 // == Members.
00057                 ID3D10Texture2D *                                               m_pt2tTexture;
00058 
00062                 ID3D10DepthStencilView *                                m_pdsvView;
00063 
00067                 ID3D10ShaderResourceView *                              m_psrvResourceView;
00068 
00069 
00070                 // == Functions.
00074                 LSVOID LSE_CALL                                                 ResetApi();
00075 
00082                 LSBOOL LSE_CALL                                                 CreateApiRenderTarget();
00083 
00089                 virtual LSBOOL LSE_CALL                                 SetAsDepthStencilRenderTarget() const;
00090 
00094                 virtual LSVOID LSE_CALL                                 EndAsRenderTarget() const;
00095         };
00096 
00097 
00098         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00099         // DEFINITIONS
00100         // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
00101         
00102 
00103 }       // namespace lsg
00104 
00105 #endif  // #ifdef LSG_DX10
00106 
00107 #endif  // __LSG_DIRECTX10DEPTHSTENCILRENDERTARGET_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator