28#ifndef __DepthBuffer_H__
29#define __DepthBuffer_H__
A 'canvas' which can receive the results of a rendering operation.
virtual uint16 getBitDepth() const
virtual const String & getFsaaHint() const
virtual void _notifyRenderTargetDetached(RenderTarget *renderTarget)
Called when a RenderTarget is detaches from this DepthBuffer.
virtual void _notifyRenderTargetAttached(RenderTarget *renderTarget)
Called when a RenderTarget is attaches this DepthBuffer.
RenderTargetSet mAttachedRenderTargets
bool isManual() const
Manual DepthBuffers are cleared in RenderSystem's destructor.
void _setPoolId(uint16 poolId)
Sets the pool id in which this DepthBuffer lives.
virtual uint16 getPoolId() const
Gets the pool id in which this DepthBuffer lives.
set< RenderTarget * >::type RenderTargetSet
DepthBuffer(uint16 poolId, uint16 bitDepth, uint32 width, uint32 height, uint32 fsaa, const String &fsaaHint, bool manual)
void detachFromAllRenderTargets()
virtual uint32 getWidth() const
virtual bool isCompatible(RenderTarget *renderTarget) const
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is,...
virtual uint32 getHeight() const
virtual uint32 getFsaa() const
RenderSysAllocatedObject RenderSysAlloc