Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Instance Methods | List of all members
<FlutterMetalDrawable> Protocol Reference

#include <FlutterMetalLayer.h>

Inheritance diagram for <FlutterMetalDrawable>:
FlutterDrawable

Instance Methods

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

Detailed Description

Definition at line 16 of file surface_mtl.mm.

Method Documentation

◆ flutterPrepareForPresent: [1/3]

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

Reimplemented in FlutterDrawable.

◆ flutterPrepareForPresent: [2/3]

- (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.

Reimplemented in FlutterDrawable.

◆ flutterPrepareForPresent: [3/3]

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

Reimplemented in FlutterDrawable.


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