| Flutter iOS Embedder |

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

`#import <FlutterMetalLayer.h>`

Inheritance diagram for <FlutterMetalDrawable>:

## 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:

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