2 #ifndef _YI_GRAPHICS_COMPONENTS_DIRECT3D11_H_ 3 #define _YI_GRAPHICS_COMPONENTS_DIRECT3D11_H_ 19 typedef IDXGISwapChain1 D3D11SwapChain;
21 typedef IDXGISwapChain D3D11SwapChain;
27 m_driverType = D3D_DRIVER_TYPE_NULL;
28 m_featureLevel = D3D_FEATURE_LEVEL_11_0;
30 m_pImmediateContext = NULL;
32 m_pRenderTargetView = NULL;
33 m_pDepthStencil = NULL;
34 m_pDepthStencilView = NULL;
59 D3D_DRIVER_TYPE m_driverType;
60 D3D_FEATURE_LEVEL m_featureLevel;
61 ID3D11Device *m_pd3dDevice;
62 ID3D11DeviceContext *m_pImmediateContext;
63 D3D11SwapChain *m_pSwapChain;
64 ID3D11RenderTargetView *m_pRenderTargetView;
65 ID3D11Texture2D *m_pDepthStencil;
66 ID3D11DepthStencilView *m_pDepthStencilView;
72 #endif // _YI_GRAPHICS_COMPONENTS_DIRECT3D11_H_ void SetD3DDevice(ID3D11Device *value)
Definition: YiGraphicsComponentsD3D11.h:44
Definition: YiGraphicsComponents.h:20
D3D_DRIVER_TYPE & GetDriverType()
Definition: YiGraphicsComponentsD3D11.h:39
D3D_FEATURE_LEVEL & GetFeatureLevel()
Definition: YiGraphicsComponentsD3D11.h:41
ID3D11Texture2D *& GetDepthStencil()
Definition: YiGraphicsComponentsD3D11.h:51
HWND & GetWindow()
Definition: YiGraphicsComponentsD3D11.h:55
void SetRenderTargetView(ID3D11RenderTargetView *value)
Definition: YiGraphicsComponentsD3D11.h:50
ID3D11DepthStencilView *& GetDepthStencilView()
Definition: YiGraphicsComponentsD3D11.h:53
void SetDepthStencil(ID3D11Texture2D *value)
Definition: YiGraphicsComponentsD3D11.h:52
ID3D11Device *& GetD3DDevice()
Definition: YiGraphicsComponentsD3D11.h:43
ID3D11RenderTargetView *& GetRenderTargetView()
Definition: YiGraphicsComponentsD3D11.h:49
CYIGraphicsComponentsD3D11()
Definition: YiGraphicsComponentsD3D11.h:25
void SetDriverType(D3D_DRIVER_TYPE value)
Definition: YiGraphicsComponentsD3D11.h:40
void SetImmediateContext(ID3D11DeviceContext *value)
Definition: YiGraphicsComponentsD3D11.h:46
void SetSwapChain(D3D11SwapChain *value)
Definition: YiGraphicsComponentsD3D11.h:48
void SetFeatureLevel(D3D_FEATURE_LEVEL value)
Definition: YiGraphicsComponentsD3D11.h:42
~CYIGraphicsComponentsD3D11()
Definition: YiGraphicsComponentsD3D11.h:37
D3D11SwapChain *& GetSwapChain()
Definition: YiGraphicsComponentsD3D11.h:47
void SetWindow(HWND value)
Definition: YiGraphicsComponentsD3D11.h:56
Definition: YiGraphicsComponentsD3D11.h:16
ID3D11DeviceContext *& GetImmediateContext()
Definition: YiGraphicsComponentsD3D11.h:45
void SetDepthStencilView(ID3D11DepthStencilView *value)
Definition: YiGraphicsComponentsD3D11.h:54