class BufferCollectionInfo
Defined at line 3954 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
Deprecated. Use ['fuchsia.sysmem2.BufferCollectionInfo'].
This type is deprecated for new code but still used by some camera code.
Public Methods
void BufferCollectionInfo (Storage_ storage)
void BufferCollectionInfo (uint32_t buffer_count, ::fuchsia_sysmem::BufferFormat format, ::std::array< ::zx::vmo, 64> vmos, uint64_t vmo_size)
void BufferCollectionInfo ()
Default constructs a |BufferCollectionInfo| only if all of its members are default constructible.
Defined at line 3964 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
void BufferCollectionInfo (BufferCollectionInfo && )
Defined at line 3967 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
uint32_t buffer_count ()
The number of buffers in the collection.
uint32_t & buffer_count ()
The number of buffers in the collection.
BufferCollectionInfo & buffer_count (uint32_t value)
The number of buffers in the collection.
const ::fuchsia_sysmem::BufferFormat & format ()
Describes how the contents of buffers are represented.
All buffers within the collection have the same format.
::fuchsia_sysmem::BufferFormat & format ()
Describes how the contents of buffers are represented.
All buffers within the collection have the same format.
BufferCollectionInfo & format (::fuchsia_sysmem::BufferFormat value)
Describes how the contents of buffers are represented.
All buffers within the collection have the same format.
BufferCollectionInfo & operator= (BufferCollectionInfo && )
Defined at line 3968 of file fidling/gen/sdk/fidl/fuchsia.sysmem/fuchsia.sysmem/cpp/fidl/fuchsia.sysmem/cpp/natural_types.h
const ::std::array< ::zx::vmo, 64> & vmos ()
VMO handles for each buffer in the collection.
The VMOs are only present when the buffers are backed by VMOs.
If present, all the VMOs after `buffer_count` are invalid handles.
All buffer VMO handles have identical size and access rights.
The VMO access rights are determined based on the usages which the
client specified when allocating the buffer collection. For example,
a client which expressed a read-only usage will receive VMOs without
write rights.
::std::array< ::zx::vmo, 64> & vmos ()
VMO handles for each buffer in the collection.
The VMOs are only present when the buffers are backed by VMOs.
If present, all the VMOs after `buffer_count` are invalid handles.
All buffer VMO handles have identical size and access rights.
The VMO access rights are determined based on the usages which the
client specified when allocating the buffer collection. For example,
a client which expressed a read-only usage will receive VMOs without
write rights.
BufferCollectionInfo & vmos (::std::array< ::zx::vmo, 64> value)
VMO handles for each buffer in the collection.
The VMOs are only present when the buffers are backed by VMOs.
If present, all the VMOs after `buffer_count` are invalid handles.
All buffer VMO handles have identical size and access rights.
The VMO access rights are determined based on the usages which the
client specified when allocating the buffer collection. For example,
a client which expressed a read-only usage will receive VMOs without
write rights.
uint64_t vmo_size ()
The size of each VMO provided.
This property is only present when the buffers are backed by VMOs.
uint64_t & vmo_size ()
The size of each VMO provided.
This property is only present when the buffers are backed by VMOs.
BufferCollectionInfo & vmo_size (uint64_t value)
The size of each VMO provided.
This property is only present when the buffers are backed by VMOs.
void BufferCollectionInfo (::fidl::internal::DefaultConstructPossiblyInvalidObjectTag )
Friends
class MemberVisitor
class NaturalStructCodingTraits