Torque3D Documentation / _generateds / GFXPCD3D9WindowTarget

GFXPCD3D9WindowTarget

Engine/source/gfx/D3D9/pc/gfxPCD3D9Target.h

More...

Public Friends

Private Attributes

IDirect3DSurface9 *

Our backbuffer.

IDirect3DSurface9 *

Our depth stencil buffer, if any.

Owning d3d device.

bool

Is this the implicit swap chain?

D3DPRESENT_PARAMETERS

D3D presentation info.

Maximum size we can render to.

IDirect3DSwapChain9 *

Our swap chain, potentially the implicit device swap chain.

Private Functions

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

Public Functions

This is called to set the render target.

Returns the texture format of the render target.

Returns the size in pixels of the render target.

bool

Present latest buffer, if buffer swapping is in effect.

Copy this surface to the passed GFXTextureObject.

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

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

Detailed Description

Public Friends

Private Attributes

IDirect3DSurface9 * mBackbuffer 

Our backbuffer.

IDirect3DSurface9 * mDepthStencil 

Our depth stencil buffer, if any.

GFXD3D9Device * mDevice 

Owning d3d device.

bool mImplicit 

Is this the implicit swap chain?

D3DPRESENT_PARAMETERS mPresentationParams 

D3D presentation info.

Point2I mSize 

Maximum size we can render to.

IDirect3DSwapChain9 * mSwapChain 

Our swap chain, potentially the implicit device swap chain.

Private Functions

resetMode()

Reimplemented from: GFXWindowTarget

Public Functions

GFXPCD3D9WindowTarget()

~GFXPCD3D9WindowTarget()

activate()

Reimplemented from: GFXTarget

createAdditionalSwapChain()

getFormat()

Reimplemented from: GFXTarget

getSize()

Reimplemented from: GFXTarget

initPresentationParams()

present()

Reimplemented from: GFXWindowTarget

resolveTo(GFXTextureObject * tex)

Reimplemented from: GFXTarget

resurrect()

Reimplemented from: GFXResource

setImplicitSwapChain()

zombify()

Reimplemented from: GFXResource