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
-
class AddChildCmd -
class AddLayerCmd -
class AddLightCmd -
class AddPartCmd -
class AmbientLightArgs -
class BindMeshBuffersCmd -
class BoundingBox -
class BufferArgs -
class CameraArgs -
class CircleArgs -
class ClipNodeArgs -
class ColorRgb -
class ColorRgbValue -
class ColorRgba -
class ColorRgbaValue -
class Command -
class CompositorArgs -
class CreateResourceCmd -
class DetachChildrenCmd -
class DetachCmd -
class DetachLightCmd -
class DetachLightsCmd -
class DirectionalLightArgs -
class DisplayCompositorArgs -
class DisplayInfo -
class EntityNodeArgs -
class Event -
class ExportResourceCmdDeprecated -
class ExportToken -
class FactoredTransform -
class FloatValue -
class ImageArgs -
class ImageArgs2 -
class ImageArgs3 -
class ImagePipe2Args -
class ImportResourceCmdDeprecated -
class ImportToken -
class ImportUnboundEvent -
class LayerArgs -
class LayerStackArgs -
class Mat4 -
class MaterialArgs -
class Matrix4Value -
class MemoryArgs -
class MeshArgs -
class MeshVertexFormat -
class Metrics -
class MetricsEvent -
class OpacityNodeArgsHack -
class Plane3 -
class PointLightArgs -
class Quaternion -
class QuaternionValue -
class RectangleArgs -
class ReleaseResourceCmd -
class RemoveAllLayersCmd -
class RemoveLayerCmd -
class RendererArgs -
class RendererParam -
class ResourceArgs -
class RoundedRectangleArgs -
class SceneAddAmbientLightCmd -
class SceneAddDirectionalLightCmd -
class SceneAddPointLightCmd -
class SceneArgs -
class SendSizeChangeHintCmdHack -
class SetAnchorCmd -
class SetCameraClipSpaceTransformCmd -
class SetCameraCmd -
class SetCameraPoseBufferCmd -
class SetCameraProjectionCmd -
class SetCameraTransformCmd -
class SetClipCmd -
class SetClipPlanesCmd -
class SetColorCmd -
class SetDisableClippingCmd -
class SetDisplayColorConversionCmdHack -
class SetDisplayMinimumRgbCmdHack -
class SetDisplayRotationCmdHack -
class SetEnableDebugViewBoundsCmd -
class SetEventMaskCmd -
class SetHitTestBehaviorCmd -
class SetImportFocusCmdDeprecated -
class SetLabelCmd -
class SetLayerStackCmd -
class SetLightColorCmd -
class SetLightDirectionCmd -
class SetMaterialCmd -
class SetOpacityCmd -
class SetPointLightFalloffCmd -
class SetPointLightPositionCmd -
class SetRendererCmd -
class SetRendererParamCmd -
class SetRotationCmd -
class SetScaleCmd -
class SetSemanticVisibilityCmd -
class SetShapeCmd -
class SetSizeCmd -
class SetStereoCameraProjectionCmd -
class SetTagCmd -
class SetTextureCmd -
class SetTranslationCmd -
class SetViewHolderBoundsColorCmd -
class SetViewPropertiesCmd -
class ShapeNodeArgs -
class SizeChangeHintEvent -
class SnapshotCallbackDeprecated -
class SnapshotCallbackDeprecatedOnDataRequest -
class StereoCameraArgs -
class TakeSnapshotCmdDeprecated -
class Value -
class VariableArgs -
class Vec2 -
class Vec3 -
class Vec4 -
class Vector2Value -
class Vector3Value -
class Vector4Value -
class ViewArgs -
class ViewArgs3 -
class ViewAttachedToSceneEvent -
class ViewConnectedEvent -
class ViewDetachedFromSceneEvent -
class ViewDisconnectedEvent -
class ViewHolderArgs -
class ViewHolderConnectedEvent -
class ViewHolderDisconnectedEvent -
class ViewProperties -
class ViewPropertiesChangedEvent -
class ViewState -
class ViewStateChangedEvent