Flutter Engine
The Flutter Engine
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). More...
 
FlutterLayerContentType type
 
union {
   const FlutterBackingStore *   backing_store
 
   const FlutterPlatformView *   platform_view
 
}; 
 
FlutterPoint offset
 
FlutterSize size
 The size of the layer (in physical pixels). More...
 
FlutterBackingStorePresentInfobacking_store_present_info
 
uint64_t presentation_time
 

Detailed Description

Definition at line 1819 of file embedder.h.

Member Data Documentation

◆ 

union { ... } FlutterLayer::@62

◆ 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 1828 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 1841 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 1835 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 1831 of file embedder.h.

◆ presentation_time

uint64_t FlutterLayer::presentation_time

Definition at line 1845 of file embedder.h.

◆ size

FlutterSize FlutterLayer::size

The size of the layer (in physical pixels).

Definition at line 1837 of file embedder.h.

◆ struct_size

size_t FlutterLayer::struct_size

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

Definition at line 1821 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 1824 of file embedder.h.


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