28 #ifndef _CEGUIDirect3D9TextureTarget_h_
29 #define _CEGUIDirect3D9TextureTarget_h_
31 #include "CEGUIDirect3D9RenderTarget.h"
32 #include "../../CEGUITextureTarget.h"
33 #include "../../CEGUIRect.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4250)
39 # pragma warning(disable : 4251)
45 class Direct3D9Texture;
65 bool isImageryCache()
const;
69 void declareRenderSize(
const Size& sz);
70 bool isRenderingInverted()
const;
77 void initialiseRenderTexture();
79 void cleanupRenderTexture();
81 void resizeRenderTexture();
84 void enableRenderTexture();
86 void disableRenderTexture();
100 #if defined(_MSC_VER)
101 # pragma warning(pop)
104 #endif // end of guard _CEGUIDirect3D9TextureTarget_h_
Intermediate Direct3D9 implementation of a RenderTarget.
Definition: CEGUIDirect3D9RenderTarget.h:48
LPDIRECT3DTEXTURE9 d_texture
Direct3D9 texture that's rendered to.
Definition: CEGUIDirect3D9TextureTarget.h:89
static const float DEFAULT_SIZE
default size of created texture objects
Definition: CEGUIDirect3D9TextureTarget.h:74
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
Renderer class to interface with Direct3D 9.
Definition: CEGUIDirect3D9Renderer.h:64
LPDIRECT3DSURFACE9 d_prevColourSurface
colour surface that was in use before this target was activated.
Definition: CEGUIDirect3D9TextureTarget.h:95
Texture implementation for the Direct3D9Renderer.
Definition: CEGUIDirect3D9Texture.h:40
Abstract base class specifying the required interface for Texture objects.
Definition: CEGUITexture.h:50
LPDIRECT3DSURFACE9 d_surface
Direct3D9 surface for the texture.
Definition: CEGUIDirect3D9TextureTarget.h:91
Direct3D9TextureTarget - allows rendering to an Direct3D9 texture via .
Definition: CEGUIDirect3D9TextureTarget.h:48
Direct3D9Texture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition: CEGUIDirect3D9TextureTarget.h:93