GFXCubemap
Engine/source/gfx/gfxCubemap.h
Public Friends
class
class
Protected Functions
Public Functions
The resource should put a description of itself (number of vertices, size/width of texture, etc.) in buffer.
initDynamic(U32 texSize, GFXFormat faceFormat)
initNormalize(U32 size)
initStatic(DDSFile * dds)
Create a static cubemap from a DDS cubemap file.
initStatic(GFXTexHandle * faces)
Create a static cubemap from a list of 6 face textures.
Detailed Description
Public Friends
Protected Attributes
String mPath
The path to the cubemap file.
Protected Functions
_setPath(const String & path)
Sets the cubemap file path.
setToTexUnit(U32 tuNum)
Reimplemented by: GFXD3D11Cubemap, GFXD3D9Cubemap, GFXGLCubemap, GFXNullCubemap
Public Functions
~GFXCubemap()
describeSelf()
Reimplemented from: GFXResource
getFormat()
Returns the face texture format.
Reimplemented by: GFXD3D11Cubemap, GFXD3D9Cubemap, GFXGLCubemap, GFXNullCubemap
getPath()
Returns the cubemap file path set at creation.
getSize()
Returns the size of the faces.
Reimplemented by: GFXD3D11Cubemap, GFXD3D9Cubemap, GFXGLCubemap, GFXNullCubemap
initDynamic(U32 texSize, GFXFormat faceFormat)
Reimplemented by: GFXD3D11Cubemap, GFXD3D9Cubemap, GFXGLCubemap, GFXNullCubemap
initNormalize(U32 size)
initStatic(DDSFile * dds)
Create a static cubemap from a DDS cubemap file.
Reimplemented by: GFXD3D11Cubemap, GFXD3D9Cubemap, GFXGLCubemap, GFXNullCubemap
initStatic(GFXTexHandle * faces)
Create a static cubemap from a list of 6 face textures.
Reimplemented by: GFXD3D11Cubemap, GFXD3D9Cubemap, GFXGLCubemap, GFXNullCubemap
