Flutter Impeller
impeller::CommandBufferMTL Class Referencefinal

#include <command_buffer_mtl.h>

Inheritance diagram for impeller::CommandBufferMTL:
impeller::CommandBuffer

Public Member Functions

 ~CommandBufferMTL () override
 
- Public Member Functions inherited from impeller::CommandBuffer
virtual ~CommandBuffer ()
 
bool SubmitCommands (const CompletionCallback &callback)
 Schedule the command encoded by render passes within this command buffer on the GPU. The encoding of these commnands is performed immediately on the calling thread. More...
 
bool SubmitCommands ()
 
void WaitUntilScheduled ()
 Force execution of pending GPU commands. More...
 
std::shared_ptr< RenderPassCreateRenderPass (const RenderTarget &render_target)
 Create a render pass to record render commands into. More...
 
std::shared_ptr< BlitPassCreateBlitPass ()
 Create a blit pass to record blit commands into. More...
 
std::shared_ptr< ComputePassCreateComputePass ()
 Create a compute pass to record compute commands into. More...
 

Friends

class ContextMTL
 

Additional Inherited Members

- Public Types inherited from impeller::CommandBuffer
enum  Status {
  Status::kPending,
  Status::kError,
  Status::kCompleted
}
 
using CompletionCallback = std::function< void(Status)>
 
- Protected Member Functions inherited from impeller::CommandBuffer
 CommandBuffer (std::weak_ptr< const Context > context)
 
- Protected Attributes inherited from impeller::CommandBuffer
std::weak_ptr< const Contextcontext_
 

Detailed Description

Definition at line 14 of file command_buffer_mtl.h.

Constructor & Destructor Documentation

◆ ~CommandBufferMTL()

impeller::CommandBufferMTL::~CommandBufferMTL ( )
overridedefault

Friends And Related Function Documentation

◆ ContextMTL

friend class ContextMTL
friend

Definition at line 20 of file command_buffer_mtl.h.


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