Torque3D Documentation / _generateds / GFXD3D11WindowTarget

GFXD3D11WindowTarget

Engine/source/gfx/D3D11/gfxD3D11Target.h

More...

Public Friends

Private Attributes

ID3D11Texture2D *

Our backbuffer.

ID3D11RenderTargetView *
ID3D11Texture2D *
ID3D11DepthStencilView *
DXGI_SWAP_CHAIN_DESC

D3D presentation info.

bool

Is this a secondary window.

Maximum size we can render to.

IDXGISwapChain *

Private Functions

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

Public Functions

This is called to set the render target.

ID3D11Texture2D *
ID3D11RenderTargetView *
ID3D11Texture2D *
ID3D11DepthStencilView *

Returns the texture format of the render target.

Returns the size in pixels of the render target.

IDXGISwapChain *
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.

ID3D11RenderTargetView * mBackBufferView 
ID3D11Texture2D * mDepthStencil 
ID3D11DepthStencilView * mDepthStencilView 
DXGI_SWAP_CHAIN_DESC mPresentationParams 

D3D presentation info.

bool mSecondaryWindow 

Is this a secondary window.

Point2I mSize 

Maximum size we can render to.

IDXGISwapChain * mSwapChain 

Private Functions

resetMode()

Reimplemented from: GFXWindowTarget