![]() |
OGRE
1.12.4
Object-Oriented Graphics Rendering Engine
|
#include <OgreGL3PlusDepthBuffer.h>
Public Types | |
enum | PoolId { POOL_NO_DEPTH = 0, POOL_MANUAL_USAGE = 0, POOL_DEFAULT = 1 } |
Public Member Functions | |
GL3PlusDepthBuffer (uint16 poolId, GL3PlusRenderSystem *renderSystem, GLContext *creatorContext, GL3PlusRenderBuffer *depth, GL3PlusRenderBuffer *stencil, uint32 width, uint32 height, uint32 fsaa, bool manual) | |
virtual void | _notifyRenderTargetAttached (RenderTarget *renderTarget) |
Called when a RenderTarget is attaches this DepthBuffer. More... | |
virtual void | _notifyRenderTargetDetached (RenderTarget *renderTarget) |
Called when a RenderTarget is detaches from this DepthBuffer. More... | |
void | _setPoolId (uint16 poolId) |
Sets the pool id in which this DepthBuffer lives. More... | |
virtual uint16 | getBitDepth () const |
GLHardwarePixelBufferCommon * | getDepthBuffer () const |
uint32 | getFSAA () const |
uint32 | getFsaa () const |
const String & | getFSAAHint () const |
const String & | getFsaaHint () const |
GLContext * | getGLContext () const |
virtual uint32 | getHeight () const |
virtual uint16 | getPoolId () const |
Gets the pool id in which this DepthBuffer lives. More... | |
GLHardwarePixelBufferCommon * | getStencilBuffer () const |
virtual uint32 | getWidth () const |
bool | isCompatible (RenderTarget *renderTarget) const override |
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is, this DepthBuffer can be attached to that RenderTarget. More... | |
bool | isManual () const |
Manual DepthBuffers are cleared in RenderSystem's destructor. More... | |
Ogre::GL3PlusDepthBuffer::GL3PlusDepthBuffer | ( | uint16 | poolId, |
GL3PlusRenderSystem * | renderSystem, | ||
GLContext * | creatorContext, | ||
GL3PlusRenderBuffer * | depth, | ||
GL3PlusRenderBuffer * | stencil, | ||
uint32 | width, | ||
uint32 | height, | ||
uint32 | fsaa, | ||
bool | manual | ||
) |
|
overridevirtualinherited |
Returns whether the specified RenderTarget is compatible with this DepthBuffer That is, this DepthBuffer can be attached to that RenderTarget.
renderTarget | The render target to test against |
Reimplemented from Ogre::DepthBuffer.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |