Torque3D Documentation / _generateds / GFXD3D11CubemapArray

GFXD3D11CubemapArray

Engine/source/gfx/D3D11/gfxD3D11Cubemap.h

More...

Public Friends

Private Attributes

ID3D11ShaderResourceView *
ID3D11Texture2D *

Public Functions

copyTo(GFXCubemapArray * pDstCubemap)

Copy this cubemap to another - destination must be same format, same face size & at-least the same size(or larger)

ID3D11Texture2D *
ID3D11ShaderResourceView *
init(const U32 cubemapCount, const U32 cubemapFaceSize, const GFXFormat format)

Initialize cubemapCount number of blank cubemaps in the array.

init(GFXCubemapHandle * cubemaps, const U32 cubemapCount)

Initialize from an array of cubemaps.

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

should only be called by GFXDevice

Update cubemap in the array.

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

Detailed Description

Public Friends

Private Attributes

ID3D11ShaderResourceView * mSRView 
ID3D11Texture2D * mTexture 

Public Functions

GFXD3D11CubemapArray()

~GFXD3D11CubemapArray()

copyTo(GFXCubemapArray * pDstCubemap)

Reimplemented from: GFXCubemapArray

get2DTex()

getSRView()

init(const U32 cubemapCount, const U32 cubemapFaceSize, const GFXFormat format)

Reimplemented from: GFXCubemapArray

init(GFXCubemapHandle * cubemaps, const U32 cubemapCount)

Reimplemented from: GFXCubemapArray

resurrect()

Reimplemented from: GFXResource

setToTexUnit(U32 tuNum)

Reimplemented from: GFXCubemapArray

updateTexture(const GFXCubemapHandle & cubemap, const U32 slot)

Reimplemented from: GFXCubemapArray

zombify()

Reimplemented from: GFXResource