GFXD3D8WindowTarget Class Reference

#include <gfxD3D8Target.h>

Inheritance diagram for GFXD3D8WindowTarget:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 GFXD3D8WindowTarget ()
 ~GFXD3D8WindowTarget ()
virtual const Point2I getSize ()
 Returns the size in pixels of this rendering target.
virtual bool present ()
 Present latest buffer, if buffer swapping is in effect.
void initPresentationParams ()
virtual void zombify ()
 When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.
virtual void resurrect ()
 When called the resource should restore all device sensitive information destroyed by zombify().

Private Member Functions

void resetMode ()
 Internal interface that notifies us we need to reset our video mode.

Private Attributes

IDirect3DSurface8 * mDepthStencil
 Our depth stencil buffer, if any.
Point2I mSize
 Maximum size we can render to.
IDirect3DSwapChain8 * mSwapChain
 Our swap chain, potentially the implicit device swap chain.
PlatformWindowmWindow
 Reference to our window.
D3DPRESENT_PARAMETERS mPresentationParams
 D3D presentation info.
GFXD3D8DevicemDevice
 Owning d3d device.
bool mImplicit
 Is this the implicit swap chain?

Friends

class GFXD3D8Device
class Win32Window

Constructor & Destructor Documentation

GFXD3D8WindowTarget::GFXD3D8WindowTarget (  ) 

GFXD3D8WindowTarget::~GFXD3D8WindowTarget (  ) 


Member Function Documentation

void GFXD3D8WindowTarget::resetMode (  )  [private, virtual]

Internal interface that notifies us we need to reset our video mode.

Implements GFXWindowTarget.

virtual const Point2I GFXD3D8WindowTarget::getSize (  )  [virtual]

Returns the size in pixels of this rendering target.

Implements GFXTarget.

virtual bool GFXD3D8WindowTarget::present (  )  [virtual]

Present latest buffer, if buffer swapping is in effect.

Implements GFXWindowTarget.

void GFXD3D8WindowTarget::initPresentationParams (  ) 

virtual void GFXD3D8WindowTarget::zombify (  )  [virtual]

When called the resource should destroy all device sensitive information (e.g. D3D resources in D3DPOOL_DEFAULT.

Implements GFXResource.

virtual void GFXD3D8WindowTarget::resurrect (  )  [virtual]

When called the resource should restore all device sensitive information destroyed by zombify().

Implements GFXResource.


Friends And Related Function Documentation

friend class GFXD3D8Device [friend]

friend class Win32Window [friend]


Member Data Documentation

IDirect3DSurface8* GFXD3D8WindowTarget::mDepthStencil [private]

Our depth stencil buffer, if any.

Maximum size we can render to.

IDirect3DSwapChain8* GFXD3D8WindowTarget::mSwapChain [private]

Our swap chain, potentially the implicit device swap chain.

Reference to our window.

Reimplemented from GFXWindowTarget.

D3DPRESENT_PARAMETERS GFXD3D8WindowTarget::mPresentationParams [private]

D3D presentation info.

Owning d3d device.

Is this the implicit swap chain?