#include <OgreMetalDevice.h>
◆ MetalDevice()
◆ ~MetalDevice()
Ogre::MetalDevice::~MetalDevice |
( |
| ) |
|
◆ commitAndNextCommandBuffer()
void Ogre::MetalDevice::commitAndNextCommandBuffer |
( |
| ) |
|
◆ endAllEncoders()
void Ogre::MetalDevice::endAllEncoders |
( |
bool |
endRenderPassDesc = true | ) |
|
◆ endBlitEncoder()
void Ogre::MetalDevice::endBlitEncoder |
( |
| ) |
|
◆ endComputeEncoder()
void Ogre::MetalDevice::endComputeEncoder |
( |
| ) |
|
◆ endRenderEncoder()
void Ogre::MetalDevice::endRenderEncoder |
( |
bool |
endRenderPassDesc = true | ) |
|
◆ getBlitEncoder()
id<MTLBlitCommandEncoder> Ogre::MetalDevice::getBlitEncoder |
( |
| ) |
|
Gets current blit encoder.
If none is current, ends all other encoders and creates a new blit encoder.
◆ getComputeEncoder()
id<MTLComputeCommandEncoder> Ogre::MetalDevice::getComputeEncoder |
( |
| ) |
|
◆ init()
◆ stall()
void Ogre::MetalDevice::stall |
( |
| ) |
|
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: