#include <OgreMetalDepthBuffer.h>
|
| MetalDepthBuffer (uint16 poolId, MetalRenderSystem *renderSystem, uint32 width, uint32 height, uint32 fsaa, uint32 multiSampleQuality, PixelFormat pixelFormat, bool isDepthTexture, bool _isManual, id< MTLTexture > depthTexture, id< MTLTexture > stencilTexture, MetalDevice *device) |
|
virtual | ~MetalDepthBuffer () |
|
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, uint16 bitDepth, uint32 width, uint32 height, uint32 fsaa, const String &fsaaHint, 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...
|
|
virtual uint16 | getBitDepth () const |
|
uint32 | getFSAA () const |
|
uint32 | getFsaa () const |
|
const String & | getFSAAHint () const |
|
const String & | getFsaaHint () 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, |
|
|
uint32 |
multiSampleQuality, |
|
|
PixelFormat |
pixelFormat, |
|
|
bool |
isDepthTexture, |
|
|
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 |
◆ mDepthAttachmentDesc
MTLRenderPassDepthAttachmentDescriptor* Ogre::MetalDepthBuffer::mDepthAttachmentDesc |
◆ mStencilAttachmentDesc
MTLRenderPassStencilAttachmentDescriptor* Ogre::MetalDepthBuffer::mStencilAttachmentDesc |
The documentation for this class was generated from the following file: