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 81 of file FlutterMetalLayer.mm.

Method Documentation

◆ initWithTexture:layer:drawableId:

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

Definition at line 96 of file FlutterMetalLayer.mm.

96  :(FlutterTexture*)texture
97  layer:(FlutterMetalLayer*)layer
98  drawableId:(NSUInteger)drawableId {
99  if (self = [super init]) {
100  _texture = texture;
101  _layer = layer;
102  _drawableId = drawableId;
103  }
104  return self;
105 }

References _drawableId, _layer, and _texture.

Member Data Documentation

◆ _drawableId

- (NSUInteger) _drawableId
protected

Definition at line 84 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

◆ _layer

- (__weak FlutterMetalLayer*) _layer
protected

Definition at line 83 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

◆ _presented

- (BOOL) _presented
protected

Definition at line 85 of file FlutterMetalLayer.mm.

◆ _texture

- (FlutterTexture*) _texture
protected

Definition at line 82 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:82
FlutterDrawable::_drawableId
NSUInteger _drawableId
Definition: FlutterMetalLayer.mm:84
FlutterTexture
Definition: FlutterMetalLayer.mm:60
FlutterDrawable::_layer
__weak FlutterMetalLayer * _layer
Definition: FlutterMetalLayer.mm:83
FlutterMetalLayer
Definition: FlutterMetalLayer.h:15