class ReleaseViewport

Defined at line 1103 of file fidling/gen/sdk/fidl/fuchsia.ui.composition/fuchsia.ui.composition/cpp/fidl/fuchsia.ui.composition/cpp/markers.h

Releases a Viewport from the scene, even if the Viewport is still connected to a Transform.

Unlike other resources, Viewports are garbage collected by the system during the next

[`Present`] because a removed Viewport is guaranteed to provide no renderable content.

Use SetContent(transform_id, 0) to clean up references to released Viewports.

Despite having a return type, this function is still feed-forward like [`CreateView`] and

requires a call to [`Present`] to be executed. The ViewportCreationToken will be returned

after the presented operations have been executed.

Public Members

static const bool kHasClientToServer
static const bool kHasClientToServerBody
static const bool kHasServerToClient
static const bool kHasServerToClientBody
static const bool kHasNonEmptyUserFacingResponse
static const bool kHasDomainError
static const bool kHasFrameworkError
static const uint64_t kOrdinal