Torque3D Documentation / _generateds / GFXGLCubemapArray

GFXGLCubemapArray

Engine/source/gfx/gl/gfxGLCubemap.h

More...

Public Friends

Protected Attributes

Internal GL handle.

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)

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.

Protected Functions

bind(U32 textureUnit)

Detailed Description

Public Friends

Protected Attributes

GLuint mCubemap 

Internal GL handle.

Public Functions

GFXGLCubemapArray()

~GFXGLCubemapArray()

copyTo(GFXCubemapArray * pDstCubemap)

Reimplemented from: GFXCubemapArray

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

Protected Functions

bind(U32 textureUnit)