#import <FlutterView.h>
Definition at line 33 of file FlutterView.h.
◆ initWithCoder:
- (instancetype) initWithCoder: |
|
(NSCoder*) |
NS_UNAVAILABLE |
|
Definition at line 30 of file FlutterView.mm.
31 NSAssert(NO,
@"FlutterView must initWithDelegate");
◆ initWithDelegate:opaque:enableWideGamut:
- (instancetype) initWithDelegate: |
|
(id<FlutterViewEngineDelegate>) |
delegate |
opaque: |
|
(BOOL) |
opaque |
enableWideGamut: |
|
(BOOL) |
NS_DESIGNATED_INITIALIZER |
|
|
| |
Definition at line 66 of file FlutterView.mm.
66 :(id<FlutterViewEngineDelegate>)delegate
68 enableWideGamut:(BOOL)isWideGamutEnabled {
69 if (delegate == nil) {
70 NSLog(
@"FlutterView delegate was nil.");
74 self = [
super initWithFrame:CGRectNull];
78 _isWideGamutEnabled = isWideGamutEnabled;
79 self.layer.opaque = opaque;
◆ initWithFrame:
- (instancetype) initWithFrame: |
|
(CGRect) |
NS_UNAVAILABLE |
|
Definition at line 25 of file FlutterView.mm.
26 NSAssert(NO,
@"FlutterView must initWithDelegate");
◆ NS_UNAVAILABLE [1/2]
+ (instancetype) NS_UNAVAILABLE |
|
|
|
◆ NS_UNAVAILABLE [2/2]
- (instancetype) NS_UNAVAILABLE |
|
|
|
◆ pixelFormat
- (MTLPixelFormat) pixelFormat |
|
|
|
Definition at line 42 of file FlutterView.mm.
43 if ([
self.layer isKindOfClass:[CAMetalLayer
class]]) {
46 #pragma clang diagnostic push
47 #pragma clang diagnostic ignored "-Wunguarded-availability-new"
48 CAMetalLayer* layer = (CAMetalLayer*)
self.layer;
49 return layer.pixelFormat;
51 return MTLPixelFormatBGRA8Unorm;
◆ screen
Definition at line 35 of file FlutterView.mm.
36 if (@available(iOS 13.0, *)) {
37 return self.window.windowScene.screen;
39 return UIScreen.mainScreen;
◆ forceSoftwareRendering
- (BOOL) forceSoftwareRendering |
|
readwritenonatomicassign |
The documentation for this class was generated from the following files: