Flutter Engine
The Flutter Engine
Public Attributes | List of all members
FlutterMetalRendererConfig Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterMetalRendererConfig). More...
 
FlutterMetalDeviceHandle device
 Alias for id<MTLDevice>. More...
 
FlutterMetalCommandQueueHandle present_command_queue
 Alias for id<MTLCommandQueue>. More...
 
FlutterMetalTextureCallback get_next_drawable_callback
 
FlutterMetalPresentCallback present_drawable_callback
 
FlutterMetalTextureFrameCallback external_texture_frame_callback
 

Detailed Description

Definition at line 683 of file embedder.h.

Member Data Documentation

◆ device

FlutterMetalDeviceHandle FlutterMetalRendererConfig::device

Alias for id<MTLDevice>.

Definition at line 687 of file embedder.h.

◆ external_texture_frame_callback

FlutterMetalTextureFrameCallback FlutterMetalRendererConfig::external_texture_frame_callback

When the embedder specifies that a texture has a frame available, the engine will call this method (on an internal engine managed thread) so that external texture details can be supplied to the engine for subsequent composition.

Definition at line 704 of file embedder.h.

◆ get_next_drawable_callback

FlutterMetalTextureCallback FlutterMetalRendererConfig::get_next_drawable_callback

The callback that gets invoked when the engine requests the embedder for a texture to render to.

Not used if a FlutterCompositor is supplied in FlutterProjectArgs.

Definition at line 694 of file embedder.h.

◆ present_command_queue

FlutterMetalCommandQueueHandle FlutterMetalRendererConfig::present_command_queue

Alias for id<MTLCommandQueue>.

Definition at line 689 of file embedder.h.

◆ present_drawable_callback

FlutterMetalPresentCallback FlutterMetalRendererConfig::present_drawable_callback

The callback presented to the embedder to present a fully populated metal texture to the user.

Not used if a FlutterCompositor is supplied in FlutterProjectArgs.

Definition at line 699 of file embedder.h.

◆ struct_size

size_t FlutterMetalRendererConfig::struct_size

The size of this struct. Must be sizeof(FlutterMetalRendererConfig).

Definition at line 685 of file embedder.h.


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