#import <FlutterMetalLayer.h>
Instance Methods | |
(void) | - flutterPrepareForPresent: |
(void) | - flutterPrepareForPresent: |
Definition at line 33 of file FlutterMetalLayer.h.
- (void) flutterPrepareForPresent: | (nonnull id< MTLCommandBuffer >) | commandBuffer |
- (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.