#include <OgreMetalDevice.h>
◆ MetalDevice()
◆ ~MetalDevice()
Ogre::MetalDevice::~MetalDevice |
( |
| ) |
|
◆ commitAndNextCommandBuffer()
void Ogre::MetalDevice::commitAndNextCommandBuffer |
( |
void |
| ) |
|
◆ endAllEncoders()
void Ogre::MetalDevice::endAllEncoders |
( |
bool |
endRenderPassDesc = true | ) |
|
◆ endBlitEncoder()
void Ogre::MetalDevice::endBlitEncoder |
( |
void |
| ) |
|
◆ endComputeEncoder()
void Ogre::MetalDevice::endComputeEncoder |
( |
void |
| ) |
|
◆ endRenderEncoder()
void Ogre::MetalDevice::endRenderEncoder |
( |
bool |
endRenderPassDesc = true | ) |
|
◆ getBlitEncoder()
id<MTLBlitCommandEncoder> Ogre::MetalDevice::getBlitEncoder |
( |
void |
| ) |
|
Gets current blit encoder.
If none is current, ends all other encoders and creates a new blit encoder.
◆ getComputeEncoder()
id<MTLComputeCommandEncoder> Ogre::MetalDevice::getComputeEncoder |
( |
void |
| ) |
|
◆ init()
◆ stall()
void Ogre::MetalDevice::stall |
( |
void |
| ) |
|
Waits for the GPU to finish all pending commands.
◆ mBlitEncoder
id<MTLBlitCommandEncoder> Ogre::MetalDevice::mBlitEncoder |
◆ mComputeEncoder
id<MTLComputeCommandEncoder> Ogre::MetalDevice::mComputeEncoder |
◆ mCurrentCommandBuffer
id<MTLCommandBuffer> Ogre::MetalDevice::mCurrentCommandBuffer |
◆ mDevice
id<MTLDevice> Ogre::MetalDevice::mDevice |
◆ mFrameAborted
bool Ogre::MetalDevice::mFrameAborted |
Once a frame is aborted, MTLRenderCommandEncoder are no longer created (ignored).
◆ mMainCommandQueue
id<MTLCommandQueue> Ogre::MetalDevice::mMainCommandQueue |
◆ mRenderEncoder
id<MTLRenderCommandEncoder> Ogre::MetalDevice::mRenderEncoder |
◆ mRenderSystem
◆ mStallSemaphore
dispatch_semaphore_t Ogre::MetalDevice::mStallSemaphore |
The documentation for this struct was generated from the following file: