Structures
VkDevicePrivateDataCreateInfo
Reserve private data slots
To reserve private data storage slots, add a
VkDevicePrivateDataCreateInfo structure to the pNext chain of
the VkDeviceCreateInfo structure.
Reserving slots in this manner is not strictly necessary, but doing so may
improve performance.
typedef struct VkDevicePrivateDataCreateInfo {
VkStructureType sType;
const void* pNext;
uint32_t privateDataSlotRequestCount;
} VkDevicePrivateDataCreateInfo;
pub struct DevicePrivateDataCreateInfo {
s_type: vk::StructureType,
p_next: *const c_void,
private_data_slot_request_count: u32,
}
typedef VkDevicePrivateDataCreateInfo VkDevicePrivateDataCreateInfoEXT;
type DevicePrivateDataCreateInfoEXT = vk::DevicePrivateDataCreateInfo;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.privateDataSlotRequestCountis the amount of slots to reserve.
Valid Usage (Implicit)
VUID-VkDevicePrivateDataCreateInfo-sType-sType
sType must be VK_STRUCTURE_TYPE_DEVICE_PRIVATE_DATA_CREATE_INFO