28 #ifndef _CEGUIDirect3D10TextureTarget_h_
29 #define _CEGUIDirect3D10TextureTarget_h_
31 #include "CEGUIDirect3D10RenderTarget.h"
32 #include "../../CEGUITextureTarget.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4250)
37 # pragma warning(disable : 4251)
41 struct ID3D10Texture2D;
42 struct ID3D10RenderTargetView;
43 struct ID3D10DepthStencilView;
48 class Direct3D10Texture;
62 bool isImageryCache()
const;
66 void declareRenderSize(
const Size& sz);
67 bool isRenderingInverted()
const;
74 void initialiseRenderTexture();
76 void cleanupRenderTexture();
78 void resizeRenderTexture();
80 void enableRenderTexture();
82 void disableRenderTexture();
102 #endif // end of guard _CEGUIDirect3D10TextureTarget_h_
Implementation of an ntermediate RenderTarget for the Direct3D 10 API.
Definition: CEGUIDirect3D10RenderTarget.h:45
Direct3D10Texture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition: CEGUIDirect3D10TextureTarget.h:89
ID3D10RenderTargetView * d_previousRenderTargetView
render target view that was bound before this target was activated
Definition: CEGUIDirect3D10TextureTarget.h:91
Direct3D10TextureTarget - allows rendering to Direct3D 10 textures.
Definition: CEGUIDirect3D10TextureTarget.h:51
Class that holds the size (width & height) of something.
Definition: CEGUISize.h:43
Specialisation of RenderTarget interface that should be used as the base class for RenderTargets that...
Definition: CEGUITextureTarget.h:41
Texture implementation for the Direct3D10Renderer.
Definition: CEGUIDirect3D10Texture.h:45
Abstract base class specifying the required interface for Texture objects.
Definition: CEGUITexture.h:50
ID3D10DepthStencilView * d_previousDepthStencilView
depth stencil view that was bound before this target was activated
Definition: CEGUIDirect3D10TextureTarget.h:93
static const float DEFAULT_SIZE
default size of created texture objects
Definition: CEGUIDirect3D10TextureTarget.h:71
ID3D10Texture2D * d_texture
Direct3D10 texture that's rendered to.
Definition: CEGUIDirect3D10TextureTarget.h:85
Renderer implementation using Direct3D 10.
Definition: CEGUIDirect3D10Renderer.h:68
ID3D10RenderTargetView * d_renderTargetView
render target view for d_texture
Definition: CEGUIDirect3D10TextureTarget.h:87