template <typename BuilderImpl>
class WireTableBaseBuilder
Defined at line 9328 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
Public Methods
::fuchsia_sysmem2::wire::SingleBufferSettings Build ()
Build and return the table. The builder should not be used after this.
bool has_buffer_settings ()
void clear_buffer_settings ()
Clears the buffer_settings field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_sysmem2::wire::BufferMemorySettings & buffer_settings ()
This field will always be set by sysmem.
BuilderImpl & buffer_settings (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_sysmem2::wire::BufferMemorySettings>> elem)
This field will always be set by sysmem.
bool has_image_format_constraints ()
void clear_image_format_constraints ()
Clears the image_format_constraints field.
This method should be used sparingly, such as only during tests, as it has
O(number_of_fields) complexity.
::fuchsia_sysmem2::wire::ImageFormatConstraints & image_format_constraints ()
Buffers holding data that is not uncompressed image data will not have
this field set. Buffers holding data that is uncompressed image data
_may_ have this field set.
At least for now, changing the PixelFormat requires re-allocating
buffers.
If un-set, there are no image format constraints.
BuilderImpl & image_format_constraints (Wrapper_Ignore_Me_< ::fidl::ObjectView< ::fuchsia_sysmem2::wire::ImageFormatConstraints>> elem)
Buffers holding data that is not uncompressed image data will not have
this field set. Buffers holding data that is uncompressed image data
_may_ have this field set.
At least for now, changing the PixelFormat requires re-allocating
buffers.
If un-set, there are no image format constraints.
Protected Methods
void WireTableBaseBuilder< ::fuchsia_sysmem2::wire::SingleBufferSettings, BuilderImpl> (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem2::wire::SingleBufferSettings>> && frame)