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

#include <embedder.h>

Public Attributes

size_t struct_size
 This size of this struct. Must be sizeof(FlutterLayer).
 
FlutterLayerContentType type
 
union { 
 
   const FlutterBackingStore *   backing_store 
 
   const FlutterPlatformView *   platform_view 
 
};  
 
FlutterPoint offset
 
FlutterSize size
 The size of the layer (in physical pixels).
 
FlutterBackingStorePresentInfobacking_store_present_info
 
uint64_t presentation_time
 

Detailed Description

Definition at line 1817 of file embedder.h.

Member Data Documentation

◆ [union]

union { ... } FlutterLayer

◆ backing_store

const FlutterBackingStore* FlutterLayer::backing_store

Indicates that the contents of this layer are rendered by Flutter into a backing store.

Definition at line 1826 of file embedder.h.

◆ backing_store_present_info

FlutterBackingStorePresentInfo* FlutterLayer::backing_store_present_info

Extra information for the backing store that the embedder may use during presentation.

Definition at line 1839 of file embedder.h.

◆ offset

FlutterPoint FlutterLayer::offset

The offset of this layer (in physical pixels) relative to the top left of the root surface used by the engine.

Definition at line 1833 of file embedder.h.

◆ platform_view

const FlutterPlatformView* FlutterLayer::platform_view

Indicates that the contents of this layer are determined by the embedder.

Definition at line 1829 of file embedder.h.

◆ presentation_time

uint64_t FlutterLayer::presentation_time

Definition at line 1843 of file embedder.h.

◆ size

FlutterSize FlutterLayer::size

The size of the layer (in physical pixels).

Definition at line 1835 of file embedder.h.

◆ struct_size

size_t FlutterLayer::struct_size

This size of this struct. Must be sizeof(FlutterLayer).

Definition at line 1819 of file embedder.h.

◆ type

FlutterLayerContentType FlutterLayer::type

Each layer displays contents in one way or another. The type indicates whether those contents are specified by Flutter or the embedder.

Definition at line 1822 of file embedder.h.


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