#include <OgreD3D9DepthBuffer.h>
|
| D3D9DepthBuffer (uint16 poolId, D3D9RenderSystem *renderSystem, IDirect3DDevice9 *creator, IDirect3DSurface9 *depthBufferSurf, D3DFORMAT fmt, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, bool isManual) |
|
| ~D3D9DepthBuffer () |
|
IDirect3DSurface9 * | getDepthBufferSurface () const |
|
IDirect3DDevice9 * | getDeviceCreator () const |
|
virtual bool | isCompatible (RenderTarget *renderTarget) const |
| Returns whether the specified RenderTarget is compatible with this DepthBuffer That is, this DepthBuffer can be attached to that RenderTarget.
|
|
| DepthBuffer (uint16 poolId, uint32 width, uint32 height, uint32 fsaa, bool manual) |
|
virtual | ~DepthBuffer () |
|
virtual void | _notifyRenderTargetAttached (RenderTarget *renderTarget) |
| Called when a RenderTarget is attaches this DepthBuffer.
|
|
virtual void | _notifyRenderTargetDetached (RenderTarget *renderTarget) |
| Called when a RenderTarget is detaches from this DepthBuffer.
|
|
void | _setPoolId (uint16 poolId) |
| Sets the pool id in which this DepthBuffer lives.
|
|
uint32 | getFSAA () const |
|
virtual uint32 | getHeight () const |
|
virtual uint16 | getPoolId () const |
| Gets the pool id in which this DepthBuffer lives.
|
|
virtual uint32 | getWidth () const |
|
bool | isManual () const |
| Manual DepthBuffers are cleared in RenderSystem's destructor.
|
|
◆ D3D9DepthBuffer()
◆ ~D3D9DepthBuffer()
Ogre::D3D9DepthBuffer::~D3D9DepthBuffer |
( |
| ) |
|
◆ isCompatible()
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is, this DepthBuffer can be attached to that RenderTarget.
Most APIs impose the following restrictions:
Width & height must be equal or higher than the render target's
They must be of the same bit depth.
They need to have the same FSAA setting
- Parameters
-
renderTarget | The render target to test against |
Reimplemented from Ogre::DepthBuffer.
◆ getDeviceCreator()
◆ getDepthBufferSurface()
The documentation for this class was generated from the following file: