GFXPCD3D9TextureTarget
Engine/source/gfx/D3D9/pc/gfxPCD3D9Target.h
Public Friends
class
Private Attributes
Public Functions
attachTexture(RenderSlot slot, GFXCubemap * tex, U32 face, U32 mipLevel)
Support binding to cubemaps.
attachTexture(RenderSlot slot, GFXTextureObject * tex, U32 mipLevel, U32 zOffset)
Attach a surface to a given slot as part of this render target.
This is called when the target is not being used anymore.
resolveTo(GFXTextureObject * tex)
Note we always copy the Color0 RenderSlot.
Detailed Description
Public Friends
Private Attributes
GFXD3D9Device * mDevice
Owning d3d device.
GFXD3D9TextureObject * mResolveTargets [MaxRenderSlotId]
GFXFormat mTargetFormat
IDirect3DSurface9 * mTargets [MaxRenderSlotId]
Point2I mTargetSize
Public Functions
GFXPCD3D9TextureTarget()
~GFXPCD3D9TextureTarget()
activate()
Reimplemented from: GFXTarget
attachTexture(RenderSlot slot, GFXCubemap * tex, U32 face, U32 mipLevel)
Reimplemented from: GFXTextureTarget
attachTexture(RenderSlot slot, GFXTextureObject * tex, U32 mipLevel, U32 zOffset)
Reimplemented from: GFXTextureTarget
deactivate()
Reimplemented from: GFXTarget
getFormat()
Reimplemented from: GFXTarget
getSize()
Reimplemented from: GFXTarget
resolve()
Reimplemented from: GFXTextureTarget
resolveTo(GFXTextureObject * tex)
Reimplemented from: GFXTarget
resurrect()
Reimplemented from: GFXResource
zombify()
Reimplemented from: GFXResource
