28 #ifndef _CEGUIDirect3D10Renderer_h_
29 #define _CEGUIDirect3D10Renderer_h_
31 #include "../../CEGUIRenderer.h"
32 #include "../../CEGUISize.h"
33 #include "../../CEGUIVector.h"
36 #if (defined( __WIN32__ ) || defined( _WIN32 )) && !defined(CEGUI_STATIC)
37 # ifdef DIRECT3D10_GUIRENDERER_EXPORTS
38 # define D3D10_GUIRENDERER_API __declspec(dllexport)
40 # define D3D10_GUIRENDERER_API __declspec(dllimport)
43 # define D3D10_GUIRENDERER_API
47 # pragma warning(push)
48 # pragma warning(disable : 4251)
54 struct ID3D10EffectTechnique;
55 struct ID3D10InputLayout;
56 struct ID3D10EffectShaderResourceVariable;
57 struct ID3D10EffectMatrixVariable;
58 struct ID3D10ShaderResourceView;
64 class Direct3D10GeometryBuffer;
65 class Direct3D10Texture;
105 static void destroySystem();
123 ID3D10Device& getDirect3DDevice()
const;
126 void bindTechniquePass(
const BlendMode mode);
128 void setCurrentTextureShaderResource(ID3D10ShaderResourceView* srv);
130 void setProjectionMatrix(D3DXMATRIX& matrix);
132 void setWorldMatrix(D3DXMATRIX& matrix);
138 void destroyAllGeometryBuffers();
141 void destroyAllTextureTargets();
145 void destroyTexture(
Texture& texture);
146 void destroyAllTextures();
147 void beginRendering();
149 void setDisplaySize(
const Size& sz);
150 const Size& getDisplaySize()
const;
151 const Vector2& getDisplayDPI()
const;
152 uint getMaxTextureSize()
const;
153 const String& getIdentifierString()
const;
163 Size getViewportSize();
208 #if defined(_MSC_VER)
209 # pragma warning(pop)
212 #endif // end of guard _CEGUIDirect3D10Renderer_h_