class SingleBufferSettings
Defined at line 9249 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
These settings and constraints apply to all the buffers in the collection.
Public Methods
bool IsEmpty ()
Returns whether no field is set.
bool HasUnknownData ()
Returns whether the table references unknown fields.
::fidl::WireTableBuilder< ::fuchsia_sysmem2::wire::SingleBufferSettings> Builder (::fidl::AnyArena & arena)
Return a builder that by defaults allocates of an arena.
::fidl::WireTableExternalBuilder< ::fuchsia_sysmem2::wire::SingleBufferSettings> ExternalBuilder (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem2::wire::SingleBufferSettings>> frame)
Return a builder that relies on explicitly allocating |fidl::ObjectView|s.
void Allocate (::fidl::AnyArena & allocator)
void Init (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem2::wire::SingleBufferSettings>> && frame_ptr)
void SingleBufferSettings ()
Defined at line 9251 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
void SingleBufferSettings (SingleBufferSettings && other)
Defined at line 9254 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
::fuchsia_sysmem2::wire::BufferMemorySettings & buffer_settings ()
This field will always be set by sysmem.
bool has_buffer_settings ()
bool has_image_format_constraints ()
SingleBufferSettings & operator= (const SingleBufferSettings & other)
Defined at line 9253 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
SingleBufferSettings & operator= (SingleBufferSettings && other)
Defined at line 9255 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
SingleBufferSettings & set_buffer_settings (::fidl::ObjectView< ::fuchsia_sysmem2::wire::BufferMemorySettings> elem)
SingleBufferSettings & set_buffer_settings (std::nullptr_t )
SingleBufferSettings & clear_buffer_settings ()
SingleBufferSettings & set_image_format_constraints (::fidl::ObjectView< ::fuchsia_sysmem2::wire::ImageFormatConstraints> elem)
SingleBufferSettings & set_image_format_constraints (std::nullptr_t )
SingleBufferSettings & clear_image_format_constraints ()
void SingleBufferSettings (::fidl::AnyArena & allocator)
void SingleBufferSettings (::fidl::ObjectView< ::fidl::WireTableFrame< ::fuchsia_sysmem2::wire::SingleBufferSettings>> && frame)
This constructor allows a user controlled allocation (not using a Arena).
It should only be used when performance is key.
As soon as the frame is given to the table, it must not be used directly or for another table.
void SingleBufferSettings (const SingleBufferSettings & other)
Defined at line 9252 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
::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.
void ~SingleBufferSettings ()
Defined at line 9257 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/cpp/fidl/fuchsia.sysmem2/cpp/wire_types.h
Friends
class WireTableBaseBuilder
class WireTableBaseBuilder