class ResourceArgs

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

These are all of the types of resources that can be created within a

`Session`. Add new fields only to the bottom of the list.

Public Methods

void ResourceArgs (ResourceArgs && other)
ResourceArgs & operator= (ResourceArgs && other)
::fuchsia_ui_gfx::ResourceArgs::Tag Which ()
ResourceArgs WithMemory (::fuchsia_ui_gfx::MemoryArgs val)
const ::fidl::internal::UnionMemberView<1, Storage_> memory ()
::fidl::internal::UnionMemberView<1, Storage_> memory ()
ResourceArgs & memory (::fuchsia_ui_gfx::MemoryArgs value)

Sets the union to hold the memory member.

ResourceArgs WithImage (::fuchsia_ui_gfx::ImageArgs val)
const ::fidl::internal::UnionMemberView<2, Storage_> image ()
::fidl::internal::UnionMemberView<2, Storage_> image ()
ResourceArgs & image (::fuchsia_ui_gfx::ImageArgs value)

Sets the union to hold the image member.

ResourceArgs WithBuffer (::fuchsia_ui_gfx::BufferArgs val)
const ::fidl::internal::UnionMemberView<3, Storage_> buffer ()
::fidl::internal::UnionMemberView<3, Storage_> buffer ()
ResourceArgs & buffer (::fuchsia_ui_gfx::BufferArgs value)

Sets the union to hold the buffer member.

ResourceArgs WithView (::fuchsia_ui_gfx::ViewArgs val)
const ::fidl::internal::UnionMemberView<4, Storage_> view ()
::fidl::internal::UnionMemberView<4, Storage_> view ()
ResourceArgs & view (::fuchsia_ui_gfx::ViewArgs value)

Sets the union to hold the view member.

ResourceArgs WithViewHolder (::fuchsia_ui_gfx::ViewHolderArgs val)
const ::fidl::internal::UnionMemberView<5, Storage_> view_holder ()
::fidl::internal::UnionMemberView<5, Storage_> view_holder ()
ResourceArgs & view_holder (::fuchsia_ui_gfx::ViewHolderArgs value)

Sets the union to hold the view_holder member.

ResourceArgs WithRectangle (::fuchsia_ui_gfx::RectangleArgs val)
const ::fidl::internal::UnionMemberView<6, Storage_> rectangle ()
::fidl::internal::UnionMemberView<6, Storage_> rectangle ()
ResourceArgs & rectangle (::fuchsia_ui_gfx::RectangleArgs value)

Sets the union to hold the rectangle member.

ResourceArgs WithRoundedRectangle (::fuchsia_ui_gfx::RoundedRectangleArgs val)
const ::fidl::internal::UnionMemberView<7, Storage_> rounded_rectangle ()
::fidl::internal::UnionMemberView<7, Storage_> rounded_rectangle ()
ResourceArgs & rounded_rectangle (::fuchsia_ui_gfx::RoundedRectangleArgs value)

Sets the union to hold the rounded_rectangle member.

ResourceArgs WithCircle (::fuchsia_ui_gfx::CircleArgs val)
const ::fidl::internal::UnionMemberView<8, Storage_> circle ()
::fidl::internal::UnionMemberView<8, Storage_> circle ()
ResourceArgs & circle (::fuchsia_ui_gfx::CircleArgs value)

Sets the union to hold the circle member.

ResourceArgs WithMesh (::fuchsia_ui_gfx::MeshArgs val)
const ::fidl::internal::UnionMemberView<9, Storage_> mesh ()
::fidl::internal::UnionMemberView<9, Storage_> mesh ()
ResourceArgs & mesh (::fuchsia_ui_gfx::MeshArgs value)

Sets the union to hold the mesh member.

ResourceArgs WithShapeNode (::fuchsia_ui_gfx::ShapeNodeArgs val)
const ::fidl::internal::UnionMemberView<10, Storage_> shape_node ()
::fidl::internal::UnionMemberView<10, Storage_> shape_node ()
ResourceArgs & shape_node (::fuchsia_ui_gfx::ShapeNodeArgs value)

Sets the union to hold the shape_node member.

ResourceArgs WithClipNode (::fuchsia_ui_gfx::ClipNodeArgs val)
const ::fidl::internal::UnionMemberView<11, Storage_> clip_node ()
::fidl::internal::UnionMemberView<11, Storage_> clip_node ()
ResourceArgs & clip_node (::fuchsia_ui_gfx::ClipNodeArgs value)

Sets the union to hold the clip_node member.

ResourceArgs WithEntityNode (::fuchsia_ui_gfx::EntityNodeArgs val)
const ::fidl::internal::UnionMemberView<12, Storage_> entity_node ()
::fidl::internal::UnionMemberView<12, Storage_> entity_node ()
ResourceArgs & entity_node (::fuchsia_ui_gfx::EntityNodeArgs value)

Sets the union to hold the entity_node member.

ResourceArgs WithOpacityNode (::fuchsia_ui_gfx::OpacityNodeArgsHack val)
const ::fidl::internal::UnionMemberView<13, Storage_> opacity_node ()
::fidl::internal::UnionMemberView<13, Storage_> opacity_node ()
ResourceArgs & opacity_node (::fuchsia_ui_gfx::OpacityNodeArgsHack value)

Sets the union to hold the opacity_node member.

ResourceArgs WithMaterial (::fuchsia_ui_gfx::MaterialArgs val)
const ::fidl::internal::UnionMemberView<14, Storage_> material ()
::fidl::internal::UnionMemberView<14, Storage_> material ()
ResourceArgs & material (::fuchsia_ui_gfx::MaterialArgs value)

Sets the union to hold the material member.

ResourceArgs WithCompositor (::fuchsia_ui_gfx::CompositorArgs val)
const ::fidl::internal::UnionMemberView<15, Storage_> compositor ()
::fidl::internal::UnionMemberView<15, Storage_> compositor ()
ResourceArgs & compositor (::fuchsia_ui_gfx::CompositorArgs value)

Sets the union to hold the compositor member.

ResourceArgs WithDisplayCompositor (::fuchsia_ui_gfx::DisplayCompositorArgs val)
const ::fidl::internal::UnionMemberView<16, Storage_> display_compositor ()
::fidl::internal::UnionMemberView<16, Storage_> display_compositor ()
ResourceArgs & display_compositor (::fuchsia_ui_gfx::DisplayCompositorArgs value)

Sets the union to hold the display_compositor member.

ResourceArgs WithLayerStack (::fuchsia_ui_gfx::LayerStackArgs val)
const ::fidl::internal::UnionMemberView<17, Storage_> layer_stack ()
::fidl::internal::UnionMemberView<17, Storage_> layer_stack ()
ResourceArgs & layer_stack (::fuchsia_ui_gfx::LayerStackArgs value)

Sets the union to hold the layer_stack member.

ResourceArgs WithLayer (::fuchsia_ui_gfx::LayerArgs val)
const ::fidl::internal::UnionMemberView<18, Storage_> layer ()
::fidl::internal::UnionMemberView<18, Storage_> layer ()
ResourceArgs & layer (::fuchsia_ui_gfx::LayerArgs value)

Sets the union to hold the layer member.

ResourceArgs WithScene (::fuchsia_ui_gfx::SceneArgs val)
const ::fidl::internal::UnionMemberView<19, Storage_> scene ()
::fidl::internal::UnionMemberView<19, Storage_> scene ()
ResourceArgs & scene (::fuchsia_ui_gfx::SceneArgs value)

Sets the union to hold the scene member.

ResourceArgs WithCamera (::fuchsia_ui_gfx::CameraArgs val)
const ::fidl::internal::UnionMemberView<20, Storage_> camera ()
::fidl::internal::UnionMemberView<20, Storage_> camera ()
ResourceArgs & camera (::fuchsia_ui_gfx::CameraArgs value)

Sets the union to hold the camera member.

ResourceArgs WithStereoCamera (::fuchsia_ui_gfx::StereoCameraArgs val)
const ::fidl::internal::UnionMemberView<21, Storage_> stereo_camera ()
::fidl::internal::UnionMemberView<21, Storage_> stereo_camera ()
ResourceArgs & stereo_camera (::fuchsia_ui_gfx::StereoCameraArgs value)

Sets the union to hold the stereo_camera member.

ResourceArgs WithRenderer (::fuchsia_ui_gfx::RendererArgs val)
const ::fidl::internal::UnionMemberView<22, Storage_> renderer ()
::fidl::internal::UnionMemberView<22, Storage_> renderer ()
ResourceArgs & renderer (::fuchsia_ui_gfx::RendererArgs value)

Sets the union to hold the renderer member.

ResourceArgs WithAmbientLight (::fuchsia_ui_gfx::AmbientLightArgs val)
const ::fidl::internal::UnionMemberView<23, Storage_> ambient_light ()
::fidl::internal::UnionMemberView<23, Storage_> ambient_light ()
ResourceArgs & ambient_light (::fuchsia_ui_gfx::AmbientLightArgs value)

Sets the union to hold the ambient_light member.

ResourceArgs WithDirectionalLight (::fuchsia_ui_gfx::DirectionalLightArgs val)
const ::fidl::internal::UnionMemberView<24, Storage_> directional_light ()
::fidl::internal::UnionMemberView<24, Storage_> directional_light ()
ResourceArgs & directional_light (::fuchsia_ui_gfx::DirectionalLightArgs value)

Sets the union to hold the directional_light member.

ResourceArgs WithVariable (::fuchsia_ui_gfx::VariableArgs val)
const ::fidl::internal::UnionMemberView<25, Storage_> variable ()
::fidl::internal::UnionMemberView<25, Storage_> variable ()
ResourceArgs & variable (::fuchsia_ui_gfx::VariableArgs value)

Sets the union to hold the variable member.

ResourceArgs WithPointLight (::fuchsia_ui_gfx::PointLightArgs val)
const ::fidl::internal::UnionMemberView<26, Storage_> point_light ()
::fidl::internal::UnionMemberView<26, Storage_> point_light ()
ResourceArgs & point_light (::fuchsia_ui_gfx::PointLightArgs value)

Sets the union to hold the point_light member.

ResourceArgs WithView3 (::fuchsia_ui_gfx::ViewArgs3 val)
const ::fidl::internal::UnionMemberView<27, Storage_> view3 ()
::fidl::internal::UnionMemberView<27, Storage_> view3 ()
ResourceArgs & view3 (::fuchsia_ui_gfx::ViewArgs3 value)

Sets the union to hold the view3 member.

ResourceArgs WithImagePipe2 (::fuchsia_ui_gfx::ImagePipe2Args val)
const ::fidl::internal::UnionMemberView<28, Storage_> image_pipe2 ()
::fidl::internal::UnionMemberView<28, Storage_> image_pipe2 ()
ResourceArgs & image_pipe2 (::fuchsia_ui_gfx::ImagePipe2Args value)

Sets the union to hold the image_pipe2 member.

ResourceArgs WithImage2 (::fuchsia_ui_gfx::ImageArgs2 val)
const ::fidl::internal::UnionMemberView<29, Storage_> image2 ()
::fidl::internal::UnionMemberView<29, Storage_> image2 ()
ResourceArgs & image2 (::fuchsia_ui_gfx::ImageArgs2 value)

Sets the union to hold the image2 member.

ResourceArgs WithImage3 (::fuchsia_ui_gfx::ImageArgs3 val)
const ::fidl::internal::UnionMemberView<30, Storage_> image3 ()
::fidl::internal::UnionMemberView<30, Storage_> image3 ()
ResourceArgs & image3 (::fuchsia_ui_gfx::ImageArgs3 value)

Sets the union to hold the image3 member.

void ResourceArgs (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Enumerations

enum class Tag : fidl_xunion_tag_t
Name Value Comments
kMemory 1

0x1

kImage 2

0x2

kBuffer 4

0x4

kView 5

0x5

kViewHolder 6

0x6

kRectangle 7

0x7

kRoundedRectangle 8

0x8

kCircle 9

0x9

kMesh 10

0xa

kShapeNode 11

0xb

kClipNode 12

0xc

kEntityNode 13

0xd

kOpacityNode 14

0xe

kMaterial 15

0xf

kCompositor 16

0x10

kDisplayCompositor 17

0x11

kLayerStack 19

0x13

kLayer 20

0x14

kScene 21

0x15

kCamera 22

0x16

kStereoCamera 23

0x17

kRenderer 24

0x18

kAmbientLight 25

0x19

kDirectionalLight 26

0x1a

kVariable 27

0x1b

kPointLight 28

0x1c

kView3 31

0x1f

kImagePipe2 32

0x20

kImage2 33

0x21

kImage3 34

0x22

TODO: share union tag types between wire

&

natural.

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

Friends

class NaturalUnionCodingTraits