Flutter iOS Embedder
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 88 of file FlutterMetalLayer.mm.

Method Documentation

◆ initWithTexture:layer:drawableId:

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

Definition at line 103 of file FlutterMetalLayer.mm.

103  :(FlutterTexture*)texture
104  layer:(FlutterMetalLayer*)layer
105  drawableId:(NSUInteger)drawableId {
106  if (self = [super init]) {
107  _texture = texture;
108  _layer = layer;
109  _drawableId = drawableId;
110  }
111  return self;
112 }

References _drawableId, _layer, and _texture.

Member Data Documentation

◆ _drawableId

- (NSUInteger) _drawableId
protected

Definition at line 91 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

◆ _layer

- (__weak FlutterMetalLayer*) _layer
protected

Definition at line 90 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

◆ _presented

- (BOOL) _presented
protected

Definition at line 92 of file FlutterMetalLayer.mm.

◆ _texture

- (FlutterTexture*) _texture
protected

Definition at line 89 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.


The documentation for this class was generated from the following file:
FlutterDrawable::_texture
FlutterTexture * _texture
Definition: FlutterMetalLayer.mm:89
FlutterDrawable::_drawableId
NSUInteger _drawableId
Definition: FlutterMetalLayer.mm:91
FlutterTexture
Definition: FlutterMetalLayer.mm:58
FlutterDrawable::_layer
__weak FlutterMetalLayer * _layer
Definition: FlutterMetalLayer.mm:90
FlutterMetalLayer
Definition: FlutterMetalLayer.h:12