Flutter Engine
The Flutter Engine
|
#import <FlutterRenderer.h>
Instance Methods | |
(nullable instancetype) | - initWithFlutterEngine: |
(FlutterRendererConfig) | - createRendererConfig |
(BOOL) | - populateTextureWithIdentifier:metalTexture: |
(BOOL) | - populateTextureWithIdentifier:metalTexture: [implementation] |
(FlutterExternalTexture *) | - onRegisterTexture: [implementation] |
Protected Attributes | |
__pad0__: FlutterTextureRegistrar <FlutterTextureRegistry | |
Properties | |
FlutterTextureRegistrarDelegate id< MTLDevice > | device |
id< MTLCommandQueue > | commandQueue |
Rendering backend agnostic FlutterRendererConfig provider to be used by the embedder API.
Definition at line 18 of file FlutterRenderer.h.
- (FlutterRendererConfig) createRendererConfig |
Creates a FlutterRendererConfig that renders using the appropriate backend.
Definition at line 25 of file FlutterRenderer.mm.
- (instancetype) initWithFlutterEngine: | (nonnull FlutterEngine*) | flutterEngine |
Intializes the renderer with the given FlutterEngine.
Definition at line 25 of file FlutterRenderer.mm.
|
implementation |
Definition at line 25 of file FlutterRenderer.mm.
|
implementation |
Definition at line 25 of file FlutterRenderer.mm.
- (BOOL) populateTextureWithIdentifier: | (int64_t) | textureID | |
metalTexture: | (nonnull FlutterMetalExternalTexture *) | metalTexture | |
Populates the texture registry with the provided metalTexture.
|
protected |
Definition at line 1 of file FlutterRenderer.h.
|
readnonatomicassign |
Used to get the command buffers for the MTLDevice to render to.
Definition at line 29 of file FlutterRenderer.h.
|
readnonatomicassign |
Interface to the system GPU. Used to issue all the rendering commands.
Definition at line 24 of file FlutterRenderer.h.