| Flutter iOS Embedder |

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

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

## Method Documentation

## ◆ initWithTexture:layer:drawableId:

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

Definition at line 104 of file FlutterMetalLayer.mm.

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

References _drawableId, _layer, and _texture.

## Member Data Documentation

## ◆ _drawableId

- (NSUInteger) _drawableId
| protected

Definition at line 92 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

## ◆ _layer

- (__weak FlutterMetalLayer*) _layer
| protected

Definition at line 91 of file FlutterMetalLayer.mm.

Referenced by initWithTexture:layer:drawableId:.

## ◆ _presented

- (BOOL) _presented
| protected

Definition at line 93 of file FlutterMetalLayer.mm.

## ◆ _texture

- (FlutterTexture*) _texture
| protected

Definition at line 90 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:90
FlutterDrawable::_drawableId
NSUInteger _drawableId
Definition: FlutterMetalLayer.mm:92
FlutterTexture
Definition: FlutterMetalLayer.mm:59
FlutterDrawable::_layer
__weak FlutterMetalLayer * _layer
Definition: FlutterMetalLayer.mm:91
FlutterMetalLayer
Definition: FlutterMetalLayer.h:12