Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Attributes | List of all members
FlutterPlatformView Struct Reference

#include <embedder.h>

Public Attributes

size_t struct_size
 The size of this struct. Must be sizeof(FlutterPlatformView).
 
FlutterPlatformViewIdentifier identifier
 
size_t mutations_count
 
const FlutterPlatformViewMutation ** mutations
 

Detailed Description

Definition at line 1712 of file embedder.h.

Member Data Documentation

◆ identifier

FlutterPlatformViewIdentifier FlutterPlatformView::identifier

The identifier of this platform view. This identifier is specified by the application when a platform view is added to the scene via the SceneBuilder.addPlatformView call.

Definition at line 1718 of file embedder.h.

◆ mutations

const FlutterPlatformViewMutation** FlutterPlatformView::mutations

The mutations to be applied by this platform view before it is composited on-screen. The Flutter application may transform the platform view but these transformations cannot be affected by the Flutter compositor because it does not render platform views. Since the embedder is responsible for composition of these views, it is also the embedder's responsibility to affect the appropriate transformation.

The mutations must be applied in order. The mutations done in the collection don't take into account the device pixel ratio or the root surface transformation. If these exist, the first mutation in the list will be a transformation mutation to make sure subsequent mutations are in the correct coordinate space.

Definition at line 1734 of file embedder.h.

◆ mutations_count

size_t FlutterPlatformView::mutations_count

The number of mutations to be applied to the platform view by the embedder before on-screen composition.

Definition at line 1721 of file embedder.h.

◆ struct_size

size_t FlutterPlatformView::struct_size

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

Definition at line 1714 of file embedder.h.


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