VkBufferCollectionConstraintsInfoFUCHSIA
The VkBufferCollectionConstraintsInfoFUCHSIA
structure is defined as:
typedef struct VkBufferCollectionConstraintsInfoFUCHSIA {
VkStructureType sType;
const void* pNext;
uint32_t minBufferCount;
uint32_t maxBufferCount;
uint32_t minBufferCountForCamping;
uint32_t minBufferCountForDedicatedSlack;
uint32_t minBufferCountForSharedSlack;
} VkBufferCollectionConstraintsInfoFUCHSIA;
sType
is a VkStructureType value identifying this structure.pNext
isNULL
or a pointer to a structure extending this structureminBufferCount
is the minimum number of buffers available in the collectionmaxBufferCount
is the maximum number of buffers allowed in the collectionminBufferCountForCamping
is the per-participant minimum buffers for campingminBufferCountForDedicatedSlack
is the per-participant minimum buffers for dedicated slackminBufferCountForSharedSlack
is the per-participant minimum buffers for shared slack
Sysmem uses all buffer count parameters in combination to determine the
number of buffers it will allocate.
Sysmem defines buffer count constraints in
fuchsia.sysmem/constraints.fidl
.
Camping as referred to by minBufferCountForCamping
, is the number of
buffers that should be available for the participant that are not for
transient use.
This number of buffers is required for the participant to logically operate.
Slack as referred to by minBufferCountForDedicatedSlack
and
minBufferCountForSharedSlack
, refers to the number of buffers desired
by participants for optimal performance.
minBufferCountForDedicatedSlack
refers to the current participant.
minBufferCountForSharedSlack
refers to buffer slack for all
participants in the collection.
Valid Usage (Implicit)
VUID-VkBufferCollectionConstraintsInfoFUCHSIA-sType-sType
sType
must be VK_STRUCTURE_TYPE_BUFFER_COLLECTION_CONSTRAINTS_INFO_FUCHSIA
VUID-VkBufferCollectionConstraintsInfoFUCHSIA-pNext-pNext
pNext
must be NULL