C Specification
To create a private data slot, call:
VkResult vkCreatePrivateDataSlotEXT(
VkDevice device,
const VkPrivateDataSlotCreateInfoEXT* pCreateInfo,
const VkAllocationCallbacks* pAllocator,
VkPrivateDataSlotEXT* pPrivateDataSlot);
Parameters
-
deviceis the logical device associated with the creation of the object(s) holding the private data slot. -
pCreateInfois a pointer to aVkPrivateDataSlotCreateInfoEXT -
pAllocatorcontrols host memory allocation as described in the Memory Allocation chapter. -
pPrivateDataSlotis a pointer to a VkPrivateDataSlotEXT handle in which the resulting private data slot is returned
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.