#include <OgreGLESDepthBuffer.h>
Public Types | |
enum | PoolId { POOL_NO_DEPTH = 0, POOL_MANUAL_USAGE = 0, POOL_DEFAULT = 1 } |
Public Member Functions | |
GLESDepthBuffer (uint16 poolId, GLESRenderSystem *renderSystem, GLESContext *creatorContext, GLESRenderBuffer *depth, GLESRenderBuffer *stencil, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, bool isManual) | |
~GLESDepthBuffer () | |
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) |
virtual uint16 | getBitDepth () const |
GLESRenderBuffer * | getDepthBuffer () const |
virtual uint32 | getFsaa () const |
virtual const String & | getFsaaHint () const |
GLESContext * | getGLContext () const |
virtual uint32 | getHeight () const |
virtual uint16 | getPoolId () const |
GLESRenderBuffer * | getStencilBuffer () const |
virtual uint32 | getWidth () 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. More... | |
bool | isManual () const |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
Protected Types | |
typedef set< RenderTarget * >::type | RenderTargetSet |
Protected Member Functions | |
void | detachFromAllRenderTargets () |
OpenGL supports 2 different methods: FBO & Copy. Each one has it's own limitations. Non-FBO methods are solved using "dummy" DepthBuffers. That is, a DepthBuffer pointer is attached to the RenderTarget (for the sake of consistency) but it doesn't actually contain a Depth surface/renderbuffer (mDepthBuffer & mStencilBuffer are null pointers all the time) Those dummy DepthBuffers are identified thanks to their GL context. Note that FBOs don't allow sharing with the main window's depth buffer. Therefore even when FBO is enabled, a dummy DepthBuffer is still used to manage the windows.
Definition at line 49 of file OgreGLESDepthBuffer.h.
Ogre::GLESDepthBuffer::GLESDepthBuffer | ( | uint16 | poolId, |
GLESRenderSystem * | renderSystem, | ||
GLESContext * | creatorContext, | ||
GLESRenderBuffer * | depth, | ||
GLESRenderBuffer * | stencil, | ||
uint32 | width, | ||
uint32 | height, | ||
uint32 | fsaa, | ||
uint32 | multiSampleQuality, | ||
bool | isManual | ||
) |
Ogre::GLESDepthBuffer::~GLESDepthBuffer | ( | ) |
|
inline |
Definition at line 62 of file OgreGLESDepthBuffer.h.
References mDepthBuffer.
|
inline |
Definition at line 61 of file OgreGLESDepthBuffer.h.
References mCreatorContext.
|
inline |
Definition at line 63 of file OgreGLESDepthBuffer.h.
References mStencilBuffer.
|
virtual |
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 |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
|
inlineinherited |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
|
protected |
Definition at line 67 of file OgreGLESDepthBuffer.h.
Referenced by getGLContext().
|
protected |
Definition at line 68 of file OgreGLESDepthBuffer.h.
Referenced by getDepthBuffer().
|
protected |
Definition at line 66 of file OgreGLESDepthBuffer.h.
|
protected |
Definition at line 70 of file OgreGLESDepthBuffer.h.
|
protected |
Definition at line 69 of file OgreGLESDepthBuffer.h.
Referenced by getStencilBuffer().