#import <FlutterMetalLayer.h>
Instance Methods | |
(nullable id< CAMetalDrawable >) | - nextDrawable |
Class Methods | |
(BOOL) | + enabled |
Properties | |
id< MTLDevice > | device |
id< MTLDevice > | preferredDevice |
MTLPixelFormat | pixelFormat |
BOOL | framebufferOnly |
CGSize | drawableSize |
BOOL | presentsWithTransaction |
CGColorSpaceRef | colorspace |
BOOL | wantsExtendedDynamicRangeContent |
Drop-in replacement (as far as Flutter is concerned) for CAMetalLayer that can present with transaction from a background thread.
Definition at line 12 of file FlutterMetalLayer.h.
+ (BOOL) enabled |
Returns whether the Metal layer is enabled. This is controlled by FLTUseFlutterMetalLayer value in Info.plist.
Definition at line 454 of file FlutterMetalLayer.mm.
- (id< CAMetalDrawable >) nextDrawable |
Definition at line 400 of file FlutterMetalLayer.mm.
|
readwriteatomicassign |
Definition at line 20 of file FlutterMetalLayer.h.
|
readwriteatomicretain |
Definition at line 14 of file FlutterMetalLayer.h.
|
readwriteatomic |
Definition at line 18 of file FlutterMetalLayer.h.
|
readwriteatomic |
Definition at line 17 of file FlutterMetalLayer.h.
|
readwriteatomic |
Definition at line 16 of file FlutterMetalLayer.h.
|
readatomicassign |
Definition at line 15 of file FlutterMetalLayer.h.
|
readwriteatomic |
Definition at line 19 of file FlutterMetalLayer.h.
|
readwriteatomic |
Definition at line 21 of file FlutterMetalLayer.h.