Flutter macOS Embedder
FlutterTextureRegistrar Class Reference

#import <FlutterTextureRegistrar.h>

Inheritance diagram for FlutterTextureRegistrar:
<FlutterTextureRegistry>

Instance Methods

(nullable instancetype) - NS_UNAVAILABLE
 
(nullable instancetype) - initWithDelegate:engine:
 
(nullable FlutterExternalTexture *) - getTextureWithID:
 
- Instance Methods inherited from <FlutterTextureRegistry>
(int64_t) - registerTexture:
 
(void) - textureFrameAvailable:
 
(void) - unregisterTexture:
 

Class Methods

(nullable instancetype) + NS_UNAVAILABLE
 

Detailed Description

Definition at line 28 of file FlutterTextureRegistrar.h.

Method Documentation

◆ getTextureWithID:

- (FlutterExternalTexture *) getTextureWithID: (int64_t)  textureID

Definition at line 57 of file FlutterTextureRegistrar.mm.

57  :(int64_t)textureID {
58  return _textures[@(textureID)];
59 }

References _textures.

◆ initWithDelegate:engine:

- (nullable instancetype) initWithDelegate: (nonnull id< FlutterTextureRegistrarDelegate >)  delegate
engine: (nonnull FlutterEngine *)  NS_DESIGNATED_INITIALIZER 

◆ NS_UNAVAILABLE [1/2]

- (nullable instancetype) NS_UNAVAILABLE

◆ NS_UNAVAILABLE [2/2]

+ (nullable instancetype) NS_UNAVAILABLE

The documentation for this class was generated from the following files:
_textures
NSMutableDictionary< NSNumber *, FlutterExternalTexture * > * _textures
Definition: FlutterTextureRegistrar.mm:15