Flutter Engine
The Flutter Engine
|
#import <FlutterMetalLayer.h>
Instance Methods | |
(void) | - flutterPrepareForPresent: |
(void) | - flutterPrepareForPresent: |
(void) | - flutterPrepareForPresent: |
Definition at line 16 of file surface_mtl.mm.
- (void) flutterPrepareForPresent: | (nonnull id< MTLCommandBuffer >) | commandBuffer |
Reimplemented in FlutterDrawable.
- (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.
- (void) flutterPrepareForPresent: | (nonnull id< MTLCommandBuffer >) | commandBuffer |
Reimplemented in FlutterDrawable.