Open 3D Engine Atom Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
AZ::Metal::CommandQueueCommandBuffer Class Reference

Public Member Functions

 CommandQueueCommandBuffer (const CommandQueueCommandBuffer &)=delete
 
void Init (id< MTLCommandQueue > hwQueue)
 
void CommitMetalCommandBuffer (bool isCommitNeeded=true)
 Commit the native metal command buffer to the command queue.
 
id< MTLCommandEncoder > AcquireSubRenderEncoder (MTLRenderPassDescriptor *renderPassDescriptor, const char *scopeName)
 Creates a ParallelEncoder if one doesnt exist. Creates a new sub renderencoder from it and returns it.
 
void FlushParallelEncoder ()
 Flushes the parallelEncoder.
 
id< MTLCommandBuffer > AcquireMTLCommandBuffer ()
 Grab command buffer from the queue.
 
const id< MTLCommandBuffer > GetMtlCommandBuffer () const
 
MTLCommandBufferStatus GetCommandBufferStatus () const
 

The documentation for this class was generated from the following file: