C Specification
To retrieve application-defined data from a slot associated with a Vulkan object, call:
// Provided by VK_VERSION_1_3
void vkGetPrivateData(
    VkDevice                                    device,
    VkObjectType                                objectType,
    uint64_t                                    objectHandle,
    VkPrivateDataSlot                           privateDataSlot,
    uint64_t*                                   pData);or the equivalent command
// Provided by VK_EXT_private_data
void vkGetPrivateDataEXT(
    VkDevice                                    device,
    VkObjectType                                objectType,
    uint64_t                                    objectHandle,
    VkPrivateDataSlot                           privateDataSlot,
    uint64_t*                                   pData);Parameters
- 
deviceis the device that created the object
- 
objectTypeis a VkObjectType specifying the type of object data is associated with.
- 
objectHandleis a handle to the object data is associated with.
- 
privateDataSlotis a handle to a VkPrivateDataSlot specifying location of private data pointer storage.
- 
pDatais a pointer to specify where application-defined data is returned.0will be written in the absence of a previous call tovkSetPrivateDatausing the object specified byobjectHandle.
Description
| Note | Due to platform details on Android, implementations might not be able to
reliably return  | 
Document Notes
For more information, see the Vulkan Specification
This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.