Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUIDirect3D9TextureTarget_h_
28 #define _CEGUIDirect3D9TextureTarget_h_
30 #include "CEGUI/RendererModules/Direct3D9/RenderTarget.h"
31 #include "../../TextureTarget.h"
35 # pragma warning(push)
36 # pragma warning(disable : 4250)
37 # pragma warning(disable : 4251)
43 class Direct3D9Texture;
101 #if defined(_MSC_VER)
102 # pragma warning(pop)
105 #endif // end of guard _CEGUIDirect3D9TextureTarget_h_
void postD3DReset()
auto called via the Renderer after Reset on the Direct3DDevice9.
void declareRenderSize(const Sizef &sz)
Used to declare to the TextureTarget the largest size, in pixels, of the next set of incoming renderi...
Texture & getTexture() const
Return a pointer to the CEGUI::Texture that the TextureTarget is using.
Direct3D9Texture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition: RendererModules/Direct3D9/TextureTarget.h:94
void disableRenderTexture()
switch back to previous surface
static uint s_textureNumber
static data used for creating texture names
Definition: RendererModules/Direct3D9/TextureTarget.h:73
Intermediate Direct3D9 implementation of a RenderTarget.
Definition: RendererModules/Direct3D9/RenderTarget.h:49
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
LPDIRECT3DSURFACE9 d_surface
Direct3D9 surface for the texture.
Definition: RendererModules/Direct3D9/TextureTarget.h:92
Direct3D9TextureTarget - allows rendering to an Direct3D9 texture via .
Definition: RendererModules/Direct3D9/TextureTarget.h:47
bool isImageryCache() const
Return whether the RenderTarget is an implementation that caches actual rendered imagery.
void enableRenderTexture()
switch to the texture surface & depth buffer
Abstract base class specifying the required interface for Texture objects.
Definition: Texture.h:54
void resizeRenderTexture()
resize the texture
void preD3DReset()
auto called via the Renderer prior to Reset on the Direct3DDevice9.
Texture implementation for the Direct3D9Renderer.
Definition: RendererModules/Direct3D9/Texture.h:45
void deactivate()
Deactivate the render target after having completed rendering.
void activate()
Activate the render target and put it in a state ready to be drawn to.
void initialiseRenderTexture()
allocate and set up the texture used for rendering.
void clear()
Clear the surface of the underlying texture.
LPDIRECT3DSURFACE9 d_prevColourSurface
colour surface that was in use before this target was activated.
Definition: RendererModules/Direct3D9/TextureTarget.h:96
static const float DEFAULT_SIZE
default size of created texture objects
Definition: RendererModules/Direct3D9/TextureTarget.h:71
String class used within the GUI system.
Definition: String.h:64
LPDIRECT3DTEXTURE9 d_texture
Direct3D9 texture that's rendered to.
Definition: RendererModules/Direct3D9/TextureTarget.h:90
static String generateTextureName()
helper to generate unique texture names
bool isRenderingInverted() const
Return whether rendering done on the target texture is inverted in relation to regular textures.
Renderer class to interface with Direct3D 9.
Definition: RendererModules/Direct3D9/Renderer.h:65
void cleanupRenderTexture()
clean up the texture used for rendering.