class SingleBufferSettings
Defined at line 7073 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.
void SingleBufferSettings ()
void SingleBufferSettings (SingleBufferSettings && other)
const ::fuchsia::sysmem2::BufferMemorySettings & buffer_settings ()
This field will always be set by sysmem.
Defined at line 7080 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
bool has_buffer_settings ()
Defined at line 7084 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 7089 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
void clear_buffer_settings ()
Defined at line 7097 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 7113 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
bool has_image_format_constraints ()
Defined at line 7117 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 7129 of file fidling/gen/sdk/fidl/fuchsia.sysmem2/fuchsia.sysmem2/hlcpp/fuchsia/sysmem2/cpp/fidl.h
void clear_image_format_constraints ()
Defined at line 7137 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 ()
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)