OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
#include <OgreMetalRenderTargetCommon.h>
Public Member Functions | |
MetalRenderTargetCommon (MetalDevice *ownerDevice) | |
~MetalRenderTargetCommon () | |
void | destroy (void) |
MetalDevice * | getOwnerDevice (void) const |
void | init (id< MTLTexture > texture, id< MTLTexture > resolveTexture) |
virtual bool | nextDrawable (void) |
Returns true on success. False on failure. | |
Public Attributes | |
MTLRenderPassColorAttachmentDescriptor * | mColourAttachmentDesc |
Ogre::MetalRenderTargetCommon::MetalRenderTargetCommon | ( | MetalDevice * | ownerDevice | ) |
Ogre::MetalRenderTargetCommon::~MetalRenderTargetCommon | ( | ) |
|
inline |
void Ogre::MetalRenderTargetCommon::init | ( | id< MTLTexture > | texture, |
id< MTLTexture > | resolveTexture | ||
) |
Returns true on success. False on failure.
Reimplemented in Ogre::MetalRenderWindow.
MTLRenderPassColorAttachmentDescriptor* Ogre::MetalRenderTargetCommon::mColourAttachmentDesc |