class FlatlandView

Defined at line 20 of file ../../src/lib/vulkan/flatland_view/flatland_view.h

This class provides a convenient wrapper around the scenic fidl apis needed to get a Flatland

View. Only SDK available constructs should be used so that this code may be leveraged by Vulkan

applications built with the SDK.

Public Methods

std::unique_ptr<FlatlandView> Create (fidl::UnownedClientEnd<fuchsia_io::Directory> service_directory, fuchsia_ui_views::ViewCreationToken view_creation_token, ResizeCallback resize_callback, async_dispatcher_t * dispatcher)

Creates and initializes a `FlatlandView` instance.

`dispatcher` must be non-null.

Defined at line 28 of file ../../src/lib/vulkan/flatland_view/flatland_view.cc

fuchsia_ui_views::ViewCreationToken TakeChildViewCreationToken ()

Defined at line 37 of file ../../src/lib/vulkan/flatland_view/flatland_view.h

void FlatlandView (ResizeCallback resize_callback, async_dispatcher_t * dispatcher)

Production code must use the `Create()` factory method.

`dispatcher` must be non-null.

Defined at line 41 of file ../../src/lib/vulkan/flatland_view/flatland_view.cc

bool Init (fidl::UnownedClientEnd<fuchsia_io::Directory> service_directory, fuchsia_ui_views::ViewCreationToken view_creation_token)

Defined at line 46 of file ../../src/lib/vulkan/flatland_view/flatland_view.cc

Friends

class FlatlandViewTest