#include <OgreMetalDevice.h>
◆ MetalDevice()
◆ ~MetalDevice()
Ogre::MetalDevice::~MetalDevice |
( |
| ) |
|
◆ _waitUntilCommitedCommandBufferCompleted()
void Ogre::MetalDevice::_waitUntilCommitedCommandBufferCompleted |
( |
| ) |
|
Waits for the last committed command buffer completion instead of the last frame completion with command buffer switching, so we can continue to work with current command buffer.
It's required for BT_DEFAULT_SHARED buffers upload
◆ 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 |
◆ mCommitedCommandBuffer
id<MTLCommandBuffer> Ogre::MetalDevice::mCommitedCommandBuffer |
◆ 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: