Flutter iOS Embedder
<FlutterMetalDrawable> Protocol Reference

#import <FlutterMetalLayer.h>

Inheritance diagram for <FlutterMetalDrawable>:
FlutterDrawable

Instance Methods

(void) - flutterPrepareForPresent:
 
(void) - flutterPrepareForPresent:
 

Detailed Description

Definition at line 33 of file FlutterMetalLayer.h.

Method Documentation

◆ flutterPrepareForPresent: [1/2]

- (void) flutterPrepareForPresent: (nonnull id< MTLCommandBuffer >)  commandBuffer

◆ flutterPrepareForPresent: [2/2]

- (void) flutterPrepareForPresent: (nonnull id< MTLCommandBuffer >)  commandBuffer

In order for FlutterMetalLayer to provide back pressure it must have access to the command buffer that is used to render into the drawable to schedule a completion handler. This method must be called before the command buffer is committed.


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