Crazy Eddie's GUI System
0.8.7
|
27 #ifndef _CEGUIDirect3D10TextureTarget_h_
28 #define _CEGUIDirect3D10TextureTarget_h_
30 #include "CEGUI/RendererModules/Direct3D10/RenderTarget.h"
31 #include "../../TextureTarget.h"
34 # pragma warning(push)
35 # pragma warning(disable : 4250)
36 # pragma warning(disable : 4251)
40 struct ID3D10Texture2D;
41 struct ID3D10RenderTargetView;
42 struct ID3D10DepthStencilView;
47 class Direct3D10Texture;
100 #if defined(_MSC_VER)
101 # pragma warning(pop)
104 #endif // end of guard _CEGUIDirect3D10TextureTarget_h_
void resizeRenderTexture()
resize the texture
static const float DEFAULT_SIZE
default size of created texture objects
Definition: RendererModules/Direct3D10/TextureTarget.h:69
void deactivate()
Deactivate the render target after having completed rendering.
static String generateTextureName()
helper to generate unique texture names
Direct3D10TextureTarget - allows rendering to Direct3D 10 textures.
Definition: RendererModules/Direct3D10/TextureTarget.h:51
ID3D10Texture2D * d_texture
Direct3D10 texture that's rendered to.
Definition: RendererModules/Direct3D10/TextureTarget.h:87
Texture implementation for the Direct3D10Renderer.
Definition: RendererModules/Direct3D10/Texture.h:50
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
Direct3D10Texture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition: RendererModules/Direct3D10/TextureTarget.h:91
static uint s_textureNumber
static data used for creating texture names
Definition: RendererModules/Direct3D10/TextureTarget.h:71
ID3D10RenderTargetView * d_renderTargetView
render target view for d_texture
Definition: RendererModules/Direct3D10/TextureTarget.h:89
Abstract base class specifying the required interface for Texture objects.
Definition: Texture.h:54
Implementation of an ntermediate RenderTarget for the Direct3D 10 API.
Definition: RendererModules/Direct3D10/RenderTarget.h:53
ID3D10RenderTargetView * d_previousRenderTargetView
render target view that was bound before this target was activated
Definition: RendererModules/Direct3D10/TextureTarget.h:93
Renderer implementation using Direct3D 10.
Definition: RendererModules/Direct3D10/Renderer.h:69
void enableRenderTexture()
switch to the texture surface & depth buffer
void declareRenderSize(const Sizef &sz)
Used to declare to the TextureTarget the largest size, in pixels, of the next set of incoming renderi...
void initialiseRenderTexture()
allocate and set up the texture used for rendering.
void cleanupRenderTexture()
clean up the texture used for rendering.
Texture & getTexture() const
Return a pointer to the CEGUI::Texture that the TextureTarget is using.
void disableRenderTexture()
switch back to previous surface
bool isImageryCache() const
Return whether the RenderTarget is an implementation that caches actual rendered imagery.
bool isRenderingInverted() const
Return whether rendering done on the target texture is inverted in relation to regular textures.
String class used within the GUI system.
Definition: String.h:64
ID3D10DepthStencilView * d_previousDepthStencilView
depth stencil view that was bound before this target was activated
Definition: RendererModules/Direct3D10/TextureTarget.h:95
void activate()
Activate the render target and put it in a state ready to be drawn to.
void clear()
Clear the surface of the underlying texture.