class ImageArgs2

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

An image mapped to a range of a `Memory` resource.

Public Methods

void ImageArgs2 (Storage_ storage)
void ImageArgs2 (uint32_t width, uint32_t height, uint32_t buffer_collection_id, uint32_t buffer_collection_index)
void ImageArgs2 ()

Default constructs a |ImageArgs2| only if all of its members are default constructible.

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

void ImageArgs2 (ImageArgs2 && )

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

void ImageArgs2 (const ImageArgs2 & other)
ImageArgs2 & operator= (ImageArgs2 && )

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

ImageArgs2 & operator= (const ImageArgs2 & other)
bool operator== (const ImageArgs2 & other)
bool operator!= (const ImageArgs2 & other)
uint32_t width ()
uint32_t & width ()
ImageArgs2 & width (uint32_t value)

Setter for width.

uint32_t height ()
uint32_t & height ()
ImageArgs2 & height (uint32_t value)

Setter for height.

uint32_t buffer_collection_id ()

The id of a `BufferCollection`. Before creating this resource, the

buffer collection should be registered on the same `Session` with

`RegisterBufferCollection` and it should have its contraints set.

Once the buffers are allocated successfully (e.g. after calling

`WaitForBuffersAllocated`), the collection's id can be used to create

the image resource.

uint32_t & buffer_collection_id ()

The id of a `BufferCollection`. Before creating this resource, the

buffer collection should be registered on the same `Session` with

`RegisterBufferCollection` and it should have its contraints set.

Once the buffers are allocated successfully (e.g. after calling

`WaitForBuffersAllocated`), the collection's id can be used to create

the image resource.

ImageArgs2 & buffer_collection_id (uint32_t value)

The id of a `BufferCollection`. Before creating this resource, the

buffer collection should be registered on the same `Session` with

`RegisterBufferCollection` and it should have its contraints set.

Once the buffers are allocated successfully (e.g. after calling

`WaitForBuffersAllocated`), the collection's id can be used to create

the image resource.

uint32_t buffer_collection_index ()

The index of the VMO from the `BufferCollection` that backs this image.

uint32_t & buffer_collection_index ()

The index of the VMO from the `BufferCollection` that backs this image.

ImageArgs2 & buffer_collection_index (uint32_t value)

The index of the VMO from the `BufferCollection` that backs this image.

void ImageArgs2 (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )

Friends

class MemberVisitor
class NaturalStructCodingTraits