template <>

class WireWeakAsyncBufferClientImpl

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

Public Methods

::fidl::internal::WireBufferThenable< ::fuchsia_ui_composition::Flatland::ReleaseViewport> ReleaseViewport (const ::fuchsia_ui_composition::wire::ContentId & viewport_id)

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.

Caller provides the backing storage for FIDL message.