Torque3D Documentation / _generateds / GFXD3D11Cubemap

GFXD3D11Cubemap

Engine/source/gfx/D3D11/gfxD3D11Cubemap.h

More...

Public Friends

Private Attributes

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

Public Functions

ID3D11Texture2D *
ID3D11DepthStencilView *

Returns the face texture format.

ID3D11RenderTargetView *
getRTView(U32 faceIdx, U32 mipIndex)

Returns the size of the faces.

ID3D11ShaderResourceView *
initDynamic(U32 texSize, GFXFormat faceFormat, U32 mipLevels)

create dynamic cubemap. mipLevels 0 is auto create mips, otherwise the value is how many mip levels you wish the cubemap to have

Create a static cubemap from a DDS cubemap file.

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

bool

Returns if this cubemap has been initialized.

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.

Detailed Description

Public Friends

Private Attributes

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

Public Functions

GFXD3D11Cubemap()

~GFXD3D11Cubemap()

get2DTex()

getDSView()

getFormat()

Reimplemented from: GFXCubemap

getRTView(U32 faceIdx, U32 mipIndex)

getSize()

Reimplemented from: GFXCubemap

getSRView()

initDynamic(U32 texSize, GFXFormat faceFormat, U32 mipLevels)

Reimplemented from: GFXCubemap

initStatic(DDSFile * dds)

Reimplemented from: GFXCubemap

initStatic(GFXTexHandle * faces)

Reimplemented from: GFXCubemap

isInitialized()

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.

releaseSurfaces()