28 #ifndef _CEGUIDirect3D9RenderTarget_h_
29 #define _CEGUIDirect3D9RenderTarget_h_
31 #include "CEGUIDirect3D9Renderer.h"
32 #include "../../CEGUIRenderTarget.h"
33 #include "../../CEGUIRect.h"
37 # pragma warning(push)
38 # pragma warning(disable : 4251)
57 void setArea(
const Rect& area);
58 const Rect& getArea()
const;
66 void updateMatrix()
const;
68 void setupViewport(D3DVIEWPORT9& vp)
const;
90 #endif // end of guard _CEGUIDirect3D9RenderTarget_h_
Intermediate Direct3D9 implementation of a RenderTarget.
Definition: CEGUIDirect3D9RenderTarget.h:48
Class used as a two dimensional vector (aka a Point)
Definition: CEGUIVector.h:45
D3DXMATRIX d_matrix
projection / view matrix cache
Definition: CEGUIDirect3D9RenderTarget.h:77
Abstract class defining the interface for objects that buffer geometry for later rendering.
Definition: CEGUIGeometryBuffer.h:42
Renderer class to interface with Direct3D 9.
Definition: CEGUIDirect3D9Renderer.h:64
float d_viewDistance
tracks viewing distance (this is set up at the same time as d_matrix)
Definition: CEGUIDirect3D9RenderTarget.h:81
bool d_matrixValid
true when d_matrix is valid and up to date
Definition: CEGUIDirect3D9RenderTarget.h:79
Rect d_area
holds defined area for the RenderTarget
Definition: CEGUIDirect3D9RenderTarget.h:75
Defines interface to some surface that can be rendered to. Concrete instances of objects that impleme...
Definition: CEGUIRenderTarget.h:42
Class that represents a queue of GeometryBuffer objects to be rendered.
Definition: CEGUIRenderQueue.h:53
Direct3D9Renderer & d_owner
Direct3D9Renderer that created this object.
Definition: CEGUIDirect3D9RenderTarget.h:71
LPDIRECT3DDEVICE9 d_device
Direct3DDevice9 interface obtained from our owner.
Definition: CEGUIDirect3D9RenderTarget.h:73
Class encapsulating operations on a Rectangle.
Definition: CEGUIRect.h:44