Namespaces

Enumerations

enum MeshIndexFormat
Name Value
kUint16 1u
kUint32 2u

Set a mesh's indices and vertices.

`mesh_id` refs the Mesh to be updated.

`index_buffer_id` refs a Buffer that contains the mesh indices.

`index_format` defines how the index buffer data is to be interpreted.

`index_offset` number of bytes from the start of the index Buffer.

`index_count` number of indices.

`vertex_buffer_id` refs a Buffer that contains the mesh vertices.

`vertex_format` defines how the vertex buffer data is to be interpreted.

`vertex_offset` number of bytes from the start of the vertex Buffer.

`vertex_count` number of vertices.

`bounding_box` must contain all vertices within the specified range.

The MeshVertexFormat defines which per-vertex attributes are provided by the

mesh, and the size of each attribute (and therefore the size of each vertex).

The attributes are ordered within the vertex in the same order that they

appear within the MeshVertexFormat struct. For example, if the values are

kVector3, kNone and kVector2, then:

- each vertex has a position and UV-coordinates, but no surface normal.

- the 3D position occupies bytes 0-11 (3 dimensions * 4 bytes per float32).

- the UV coords occupy bytes 12-19, since no surface normal is provided.

Defined at line 41 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/common_types.h

enum ShadowTechnique
Name Value
kUnshadowed 0u
kScreenSpace 1u
kShadowMap 2u
kMomentShadowMap 3u
kStencilShadowVolume 4u

Represents the shadow algorithm that the `Renderer` should use when lighting

the scene.

Defined at line 66 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/common_types.h

enum RenderFrequency
Name Value
kWhenRequested 0u
kContinuously 1u

Defined at line 100 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/common_types.h

enum ImportSpec
Name Value
kNode 0u

Describes an exported resource that is to be imported by an

ImportResourceCmd.

NOTE: Currently just an enum of importable resource types, but may later be

expanded to express concepts like "meshes with a particular vertex format".

Defined at line 128 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/common_types.h

enum ValueType
Name Value
kNone 0u
kVector1 1u
kVector2 2u
kVector3 3u
kVector4 4u
kMatrix4 5u
kColorRgb 6u
kColorRgba 7u
kQuaternion 8u
kFactoredTransform 9u

Defined at line 149 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/common_types.h

enum HitTestBehavior
Name Value
kDefault 0u
kSuppress 1u

Describes how nodes interact with hit testings.

Defined at line 189 of file fidling/gen/sdk/fidl/fuchsia.ui.gfx/fuchsia.ui.gfx/cpp/fidl/fuchsia.ui.gfx/cpp/common_types.h

Records