| Flutter iOS Embedder |

Instance Methods | Protected Attributes | List of all members
FlutterDrawable Class Reference
Inheritance diagram for FlutterDrawable:

## Instance Methods
(instancetype) | - initWithTexture:layer:drawableId:

## Protected Attributes
FlutterTexture * | _texture
__weak FlutterMetalLayer * | _layer
NSUInteger | _drawableId
BOOL | _presented

## Detailed Description

Definition at line 82 of file FlutterMetalLayer.mm.

## Method Documentation

## ◆ initWithTexture:layer:drawableId:

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

Definition at line 97 of file FlutterMetalLayer.mm.

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

References _drawableId, _layer, and _texture.

## Member Data Documentation

## ◆ _drawableId

- (NSUInteger) _drawableId
| protected

Definition at line 85 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

## ◆ _layer

- (__weak FlutterMetalLayer*) _layer
| protected

Definition at line 84 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

## ◆ _presented

- (BOOL) _presented
| protected

Definition at line 86 of file FlutterMetalLayer.mm.

## ◆ _texture

- (FlutterTexture*) _texture
| protected

Definition at line 83 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

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

- shell/platform/darwin/ios/framework/Source/FlutterMetalLayer.mm

FlutterDrawable::_texture
FlutterTexture * _texture
Definition: FlutterMetalLayer.mm:83
FlutterDrawable::_drawableId
NSUInteger _drawableId
Definition: FlutterMetalLayer.mm:85
FlutterTexture
Definition: FlutterMetalLayer.mm:54
FlutterDrawable::_layer
__weak FlutterMetalLayer * _layer
Definition: FlutterMetalLayer.mm:84
FlutterMetalLayer
Definition: FlutterMetalLayer.h:9