Torque3D Documentation / _generateds / GFXD3D11Cubemap

GFXD3D11Cubemap

Engine/source/gfx/D3D11/gfxD3D11Cubemap.h

More...

Public Friends

Private Attributes

ID3D11DepthStencilView *
bool
ID3D11RenderTargetView *
mRTView [CubeFaces]
ID3D11ShaderResourceView *
ID3D11Texture2D *

Public Functions

ID3D11Texture2D *
ID3D11DepthStencilView *

Returns the face texture format.

ID3D11RenderTargetView *
getRTView(U32 faceIdx)
ID3D11RenderTargetView **

Returns the size of the faces.

ID3D11ShaderResourceView *
initDynamic(U32 texSize, GFXFormat faceFormat)

Create a static cubemap from a DDS cubemap file.

Create a static cubemap from a list of 6 face textures.

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.

Private Functions

The callback used to get texture events.

bool

Detailed Description

Public Friends

Private Attributes

bool mAutoGenMips 
ID3D11DepthStencilView * mDSView 
bool mDynamic 
GFXFormat mFaceFormat 
ID3D11RenderTargetView * mRTView [CubeFaces]
ID3D11ShaderResourceView * mSRView 
U32 mTexSize 
ID3D11Texture2D * mTexture 

Public Functions

GFXD3D11Cubemap()

~GFXD3D11Cubemap()

get2DTex()

getDSView()

getFormat()

Reimplemented from: GFXCubemap

getRTView(U32 faceIdx)

getRTViewArray()

getSize()

Reimplemented from: GFXCubemap

getSRView()

initDynamic(U32 texSize, GFXFormat faceFormat)

Reimplemented from: GFXCubemap

initStatic(DDSFile * dds)

Reimplemented from: GFXCubemap

initStatic(GFXTexHandle * faces)

Reimplemented from: GFXCubemap

resurrect()

Reimplemented from: GFXResource

setToTexUnit(U32 tuNum)

Reimplemented from: GFXCubemap

zombify()

Reimplemented from: GFXResource

Private Functions

_onTextureEvent(GFXTexCallbackCode code)

The callback used to get texture events.

isCompressed(GFXFormat format)

releaseSurfaces()