Torque3D Documentation / _generateds / GFXD3D11WindowTarget

GFXD3D11WindowTarget

Engine/source/gfx/D3D11/gfxD3D11Target.h

More...

Public Friends

Private Attributes

ID3D11Texture2D *

Our backbuffer.

DXGI_SWAP_CHAIN_DESC

D3D presentation info.

Maximum size we can render to.

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

ID3D11Texture2D * mBackbuffer 

Our backbuffer.

DXGI_SWAP_CHAIN_DESC mPresentationParams 

D3D presentation info.

Point2I mSize 

Maximum size we can render to.

Private Functions

resetMode()

Reimplemented from: GFXWindowTarget

Public Functions

GFXD3D11WindowTarget()

~GFXD3D11WindowTarget()

activate()

Reimplemented from: GFXTarget

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