C Specification
To retrieve user defined data from a slot associated with a Vulkan object, call:
void vkGetPrivateDataEXT(
VkDevice device,
VkObjectType objectType,
uint64_t objectHandle,
VkPrivateDataSlotEXT privateDataSlot,
uint64_t* pData);
Parameters
-
device
is the device that created the object -
objectType
is a VkObjectType specifying the type of object data is associated with. -
objectHandle
is a handle to the object data is associated with. -
privateDataSlot
is a handle to a VkPrivateDataSlotEXT specifying location of private data pointer storage. -
pData
is a pointer to specify where user data is returned.0
will be written in the absence of a previous call tovkSetPrivateDataEXT
using 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.
Copyright
Copyright (c) 2014-2020 Khronos Group. This work is licensed under a Creative Commons Attribution 4.0 International License.