class CreateTransform

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

Creates a new Transform node. Transforms are a hierarchical piece of a Flatland graph. They

can have children, and can reference Content. A sub-graph represented by a Transform and its

descendants can be rendered to a display.

Transforms are kept alive, even when released, as long as they are children of either an

unreleased Transform, or the Root Transform.

Each Transform can have a single piece of attached Content. Common types of Content include

bitmaps, asynchronous streams of images, and Viewports to Views hosted in other Flatland

instances.

Transforms have attributes. Child Transforms inherit the combined attributes of their

parents. Content attached to a Transform is also affected by that Transform's attributes.

When a sub-graph of Transforms is rendered, Content will be rendered back-to-front, starting

with the Content on the root transform, and continuing recursively through all of its child

Transforms in the order the children were added. See [`AddChild`] for more information.

Zero is not a valid transform id. All other values are valid, assuming they are not already

in use (see [`ReleaseTransform`] for more details).

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