| Flutter iOS Embedder |

Instance Methods | List of all members
<FlutterMetalDrawable> Protocol Reference

`#import <FlutterMetalLayer.h>`

Inheritance diagram for <FlutterMetalDrawable>:

## Instance Methods
(void) | - flutterPrepareForPresent:

## Detailed Description

Definition at line 38 of file FlutterMetalLayer.h.

## Method Documentation

## ◆ flutterPrepareForPresent:

- (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 file:

- shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.h