Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
FlutterDrawable Class Reference
Inheritance diagram for FlutterDrawable:
<FlutterMetalDrawable>

Instance Methods

(instancetype) - initWithTexture:layer:drawableId:
 
- Instance Methods inherited from <FlutterMetalDrawable>
(void) - flutterPrepareForPresent:
 
(void) - flutterPrepareForPresent:
 

Protected Attributes

FlutterTexture_texture
 
__weak FlutterMetalLayer_layer
 
NSUInteger _drawableId
 
BOOL _presented
 

Detailed Description

Definition at line 77 of file FlutterMetalLayer.mm.

Method Documentation

◆ initWithTexture:layer:drawableId:

- (instancetype) initWithTexture: (FlutterTexture*)  texture
layer: (FlutterMetalLayer*)  layer
drawableId: (NSUInteger)  drawableId 

Definition at line 81 of file FlutterMetalLayer.mm.

93 layer:(FlutterMetalLayer*)layer
94 drawableId:(NSUInteger)drawableId {
95 if (self = [super init]) {
97 _layer = layer;
98 _drawableId = drawableId;
99 }
100 return self;
101}
if(engine==nullptr)
FlutterTexture * _texture
__weak FlutterMetalLayer * _layer
FlTexture * texture

Member Data Documentation

◆ _drawableId

- (NSUInteger) _drawableId
protected

Definition at line 80 of file FlutterMetalLayer.mm.

◆ _layer

- (__weak FlutterMetalLayer*) _layer
protected

Definition at line 79 of file FlutterMetalLayer.mm.

◆ _presented

- (BOOL) _presented
protected

Definition at line 81 of file FlutterMetalLayer.mm.

◆ _texture

- (FlutterTexture*) _texture
protected

Definition at line 78 of file FlutterMetalLayer.mm.


The documentation for this class was generated from the following file: