#include <OgreMetalDepthBuffer.h>
|
| MetalDepthBuffer (uint16 poolId, MetalRenderSystem *renderSystem, uint32 width, uint32 height, uint32 fsaa, MTLPixelFormat pixelFormat, bool _isManual, id< MTLTexture > depthTexture, id< MTLTexture > stencilTexture, MetalDevice *device) |
|
virtual | ~MetalDepthBuffer () |
|
MTLPixelFormat | getFormat () const |
|
MetalDevice * | getOwnerDevice (void) 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...
|
|
| 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. 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...
|
|
uint32 | getFSAA () const |
|
virtual uint32 | getHeight () const |
|
virtual uint16 | getPoolId () const |
| Gets the pool id in which this DepthBuffer lives. More...
|
|
virtual uint32 | getWidth () const |
|
bool | isManual () const |
| Manual DepthBuffers are cleared in RenderSystem's destructor. More...
|
|
◆ MetalDepthBuffer()
Ogre::MetalDepthBuffer::MetalDepthBuffer |
( |
uint16 |
poolId, |
|
|
MetalRenderSystem * |
renderSystem, |
|
|
uint32 |
width, |
|
|
uint32 |
height, |
|
|
uint32 |
fsaa, |
|
|
MTLPixelFormat |
pixelFormat, |
|
|
bool |
_isManual, |
|
|
id< MTLTexture > |
depthTexture, |
|
|
id< MTLTexture > |
stencilTexture, |
|
|
MetalDevice * |
device |
|
) |
| |
◆ ~MetalDepthBuffer()
virtual Ogre::MetalDepthBuffer::~MetalDepthBuffer |
( |
| ) |
|
|
virtual |
◆ isCompatible()
virtual bool Ogre::MetalDepthBuffer::isCompatible |
( |
RenderTarget * |
renderTarget | ) |
const |
|
virtual |
◆ getOwnerDevice()
MetalDevice* Ogre::MetalDepthBuffer::getOwnerDevice |
( |
void |
| ) |
const |
|
inline |
◆ getFormat()
MTLPixelFormat Ogre::MetalDepthBuffer::getFormat |
( |
| ) |
const |
|
inline |
◆ mDepthAttachmentDesc
MTLRenderPassDepthAttachmentDescriptor* Ogre::MetalDepthBuffer::mDepthAttachmentDesc |
◆ mStencilAttachmentDesc
MTLRenderPassStencilAttachmentDescriptor* Ogre::MetalDepthBuffer::mStencilAttachmentDesc |
The documentation for this class was generated from the following file: