Private Data


VkResult vkCreatePrivateDataSlot( VkDevice const VkPrivateDataSlotCreateInfo* const VkAllocationCallbacks* VkPrivateDataSlot* device, pCreateInfo, pAllocator, pPrivateDataSlot);

void vkDestroyPrivateDataSlot( VkDevice VkPrivateDataSlot const VkAllocationCallbacks* device, privateDataSlot, pAllocator);

VkResult vkSetPrivateData( VkDevice VkObjectType uint64_t VkPrivateDataSlot uint64_t device, objectType, objectHandle, privateDataSlot, data);

void vkGetPrivateData( VkDevice VkObjectType uint64_t VkPrivateDataSlot uint64_t* device, objectType, objectHandle, privateDataSlot, pData);

本节教程就到此结束,希望大家继续阅读我之后的教程。

谢谢大家,再见!


原创技术文章,撰写不易,转载请注明出处:电子设备中的画家|王烁 于 2021 年 5 月 10 日发表,原文链接(http://geekfaner.com/shineengine/blog20_Vulkanv1.2_6.html)