26 #ifndef _CEGUIDirect3D11TextureTarget_h_
27 #define _CEGUIDirect3D11TextureTarget_h_
29 #include "CEGUI/RendererModules/Direct3D11/RenderTarget.h"
30 #include "../../TextureTarget.h"
33 # pragma warning(push)
34 # pragma warning(disable : 4250)
35 # pragma warning(disable : 4251)
39 struct ID3D11Texture2D;
40 struct ID3D11RenderTargetView;
41 struct ID3D11DepthStencilView;
46 class Direct3D11Texture;
59 bool isImageryCache()
const;
63 void declareRenderSize(
const Sizef& sz);
64 bool isRenderingInverted()
const;
72 static String generateTextureName();
75 void initialiseRenderTexture();
77 void cleanupRenderTexture();
79 void resizeRenderTexture();
81 void enableRenderTexture();
83 void disableRenderTexture();
100 # pragma warning(pop)
103 #endif // end of guard _CEGUIDirect3D11TextureTarget_h_
ID3D11RenderTargetView * d_previousRenderTargetView
render target view that was bound before this target was activated
Definition: RendererModules/Direct3D11/TextureTarget.h:92
Direct3D11Texture * d_CEGUITexture
we use this to wrap d_texture so it can be used by the core CEGUI lib.
Definition: RendererModules/Direct3D11/TextureTarget.h:90
Main namespace for Crazy Eddie's GUI Library.
Definition: arch_overview.dox:1
ID3D11DepthStencilView * d_previousDepthStencilView
depth stencil view that was bound before this target was activated
Definition: RendererModules/Direct3D11/TextureTarget.h:94
ID3D11RenderTargetView * d_renderTargetView
render target view for d_texture
Definition: RendererModules/Direct3D11/TextureTarget.h:88
Implementation of an ntermediate RenderTarget for the Direct3D 10 API.
Definition: RendererModules/Direct3D11/RenderTarget.h:45
Abstract base class specifying the required interface for Texture objects.
Definition: Texture.h:52
Direct3D11TextureTarget - allows rendering to Direct3D 10 textures.
Definition: RendererModules/Direct3D11/TextureTarget.h:49
Renderer implementation using Direct3D 10.
Definition: RendererModules/Direct3D11/Renderer.h:82
static const float DEFAULT_SIZE
default size of created texture objects
Definition: RendererModules/Direct3D11/TextureTarget.h:68
Texture implementation for the Direct3D11Renderer.
Definition: RendererModules/Direct3D11/Texture.h:49
ID3D11Texture2D * d_texture
Direct3D10 texture that's rendered to.
Definition: RendererModules/Direct3D11/TextureTarget.h:86
String class used within the GUI system.
Definition: String.h:62
static uint s_textureNumber
static data used for creating texture names
Definition: RendererModules/Direct3D11/TextureTarget.h:70