class SingleBufferSettings
Defined at line 7413 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
These settings and constraints apply to all the buffers in the collection.
Public Members
static const fidl_type_t * FidlType
Public Methods
bool IsEmpty ()
Returns whether no field is set.
const ::fuchsia::sysmem2::BufferMemorySettings & buffer_settings ()
This field will always be set by sysmem.
Defined at line 7420 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
bool has_buffer_settings ()
Defined at line 7424 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
::fuchsia::sysmem2::BufferMemorySettings * mutable_buffer_settings ()
This field will always be set by sysmem.
Defined at line 7429 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
void clear_buffer_settings ()
Defined at line 7437 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
const ::fuchsia::sysmem2::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.
Defined at line 7453 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
bool has_image_format_constraints ()
Defined at line 7457 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
::fuchsia::sysmem2::ImageFormatConstraints * mutable_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.
Defined at line 7469 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
void clear_image_format_constraints ()
Defined at line 7477 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
SingleBufferSettings & set_buffer_settings (::fuchsia::sysmem2::BufferMemorySettings _value)
SingleBufferSettings & set_image_format_constraints (::fuchsia::sysmem2::ImageFormatConstraints _value)
void SingleBufferSettings ()
void SingleBufferSettings (SingleBufferSettings && other)
void ~SingleBufferSettings ()
SingleBufferSettings & operator= (SingleBufferSettings && other)
::std::unique_ptr<SingleBufferSettings> New ()
void Encode (::fidl::Encoder * _encoder, size_t _offset, std::optional< ::fidl::HandleInformation> maybe_handle_info)
void Decode (::fidl::Decoder * _decoder, SingleBufferSettings * _value, size_t _offset)
zx_status_t Clone (SingleBufferSettings * _result)