1e5c31af7Sopenharmony_ci/* WARNING: This is auto-generated file. Do not modify, since changes will 2e5c31af7Sopenharmony_ci * be lost! Modify the generating script instead. 3e5c31af7Sopenharmony_ci * This file was generated by /scripts/gen_framework.py 4e5c31af7Sopenharmony_ci */ 5e5c31af7Sopenharmony_ci 6e5c31af7Sopenharmony_cinamespace refdetails 7e5c31af7Sopenharmony_ci{ 8e5c31af7Sopenharmony_ci 9e5c31af7Sopenharmony_citemplate<> 10e5c31af7Sopenharmony_civoid Deleter<VkDeviceMemory>::operator() (VkDeviceMemory obj) const 11e5c31af7Sopenharmony_ci{ 12e5c31af7Sopenharmony_ci m_deviceIface->freeMemory(m_device, obj, m_allocator); 13e5c31af7Sopenharmony_ci} 14e5c31af7Sopenharmony_ci 15e5c31af7Sopenharmony_citemplate<> 16e5c31af7Sopenharmony_civoid Deleter<VkFence>::operator() (VkFence obj) const 17e5c31af7Sopenharmony_ci{ 18e5c31af7Sopenharmony_ci m_deviceIface->destroyFence(m_device, obj, m_allocator); 19e5c31af7Sopenharmony_ci} 20e5c31af7Sopenharmony_ci 21e5c31af7Sopenharmony_citemplate<> 22e5c31af7Sopenharmony_civoid Deleter<VkSemaphore>::operator() (VkSemaphore obj) const 23e5c31af7Sopenharmony_ci{ 24e5c31af7Sopenharmony_ci m_deviceIface->destroySemaphore(m_device, obj, m_allocator); 25e5c31af7Sopenharmony_ci} 26e5c31af7Sopenharmony_ci 27e5c31af7Sopenharmony_citemplate<> 28e5c31af7Sopenharmony_civoid Deleter<VkEvent>::operator() (VkEvent obj) const 29e5c31af7Sopenharmony_ci{ 30e5c31af7Sopenharmony_ci m_deviceIface->destroyEvent(m_device, obj, m_allocator); 31e5c31af7Sopenharmony_ci} 32e5c31af7Sopenharmony_ci 33e5c31af7Sopenharmony_citemplate<> 34e5c31af7Sopenharmony_civoid Deleter<VkQueryPool>::operator() (VkQueryPool obj) const 35e5c31af7Sopenharmony_ci{ 36e5c31af7Sopenharmony_ci m_deviceIface->destroyQueryPool(m_device, obj, m_allocator); 37e5c31af7Sopenharmony_ci} 38e5c31af7Sopenharmony_ci 39e5c31af7Sopenharmony_citemplate<> 40e5c31af7Sopenharmony_civoid Deleter<VkBuffer>::operator() (VkBuffer obj) const 41e5c31af7Sopenharmony_ci{ 42e5c31af7Sopenharmony_ci m_deviceIface->destroyBuffer(m_device, obj, m_allocator); 43e5c31af7Sopenharmony_ci} 44e5c31af7Sopenharmony_ci 45e5c31af7Sopenharmony_citemplate<> 46e5c31af7Sopenharmony_civoid Deleter<VkBufferView>::operator() (VkBufferView obj) const 47e5c31af7Sopenharmony_ci{ 48e5c31af7Sopenharmony_ci m_deviceIface->destroyBufferView(m_device, obj, m_allocator); 49e5c31af7Sopenharmony_ci} 50e5c31af7Sopenharmony_ci 51e5c31af7Sopenharmony_citemplate<> 52e5c31af7Sopenharmony_civoid Deleter<VkImage>::operator() (VkImage obj) const 53e5c31af7Sopenharmony_ci{ 54e5c31af7Sopenharmony_ci m_deviceIface->destroyImage(m_device, obj, m_allocator); 55e5c31af7Sopenharmony_ci} 56e5c31af7Sopenharmony_ci 57e5c31af7Sopenharmony_citemplate<> 58e5c31af7Sopenharmony_civoid Deleter<VkImageView>::operator() (VkImageView obj) const 59e5c31af7Sopenharmony_ci{ 60e5c31af7Sopenharmony_ci m_deviceIface->destroyImageView(m_device, obj, m_allocator); 61e5c31af7Sopenharmony_ci} 62e5c31af7Sopenharmony_ci 63e5c31af7Sopenharmony_citemplate<> 64e5c31af7Sopenharmony_civoid Deleter<VkShaderModule>::operator() (VkShaderModule obj) const 65e5c31af7Sopenharmony_ci{ 66e5c31af7Sopenharmony_ci m_deviceIface->destroyShaderModule(m_device, obj, m_allocator); 67e5c31af7Sopenharmony_ci} 68e5c31af7Sopenharmony_ci 69e5c31af7Sopenharmony_citemplate<> 70e5c31af7Sopenharmony_civoid Deleter<VkPipelineCache>::operator() (VkPipelineCache obj) const 71e5c31af7Sopenharmony_ci{ 72e5c31af7Sopenharmony_ci m_deviceIface->destroyPipelineCache(m_device, obj, m_allocator); 73e5c31af7Sopenharmony_ci} 74e5c31af7Sopenharmony_ci 75e5c31af7Sopenharmony_citemplate<> 76e5c31af7Sopenharmony_civoid Deleter<VkPipeline>::operator() (VkPipeline obj) const 77e5c31af7Sopenharmony_ci{ 78e5c31af7Sopenharmony_ci m_deviceIface->destroyPipeline(m_device, obj, m_allocator); 79e5c31af7Sopenharmony_ci} 80e5c31af7Sopenharmony_ci 81e5c31af7Sopenharmony_citemplate<> 82e5c31af7Sopenharmony_civoid Deleter<VkPipelineLayout>::operator() (VkPipelineLayout obj) const 83e5c31af7Sopenharmony_ci{ 84e5c31af7Sopenharmony_ci m_deviceIface->destroyPipelineLayout(m_device, obj, m_allocator); 85e5c31af7Sopenharmony_ci} 86e5c31af7Sopenharmony_ci 87e5c31af7Sopenharmony_citemplate<> 88e5c31af7Sopenharmony_civoid Deleter<VkSampler>::operator() (VkSampler obj) const 89e5c31af7Sopenharmony_ci{ 90e5c31af7Sopenharmony_ci m_deviceIface->destroySampler(m_device, obj, m_allocator); 91e5c31af7Sopenharmony_ci} 92e5c31af7Sopenharmony_ci 93e5c31af7Sopenharmony_citemplate<> 94e5c31af7Sopenharmony_civoid Deleter<VkDescriptorSetLayout>::operator() (VkDescriptorSetLayout obj) const 95e5c31af7Sopenharmony_ci{ 96e5c31af7Sopenharmony_ci m_deviceIface->destroyDescriptorSetLayout(m_device, obj, m_allocator); 97e5c31af7Sopenharmony_ci} 98e5c31af7Sopenharmony_ci 99e5c31af7Sopenharmony_citemplate<> 100e5c31af7Sopenharmony_civoid Deleter<VkDescriptorPool>::operator() (VkDescriptorPool obj) const 101e5c31af7Sopenharmony_ci{ 102e5c31af7Sopenharmony_ci m_deviceIface->destroyDescriptorPool(m_device, obj, m_allocator); 103e5c31af7Sopenharmony_ci} 104e5c31af7Sopenharmony_ci 105e5c31af7Sopenharmony_citemplate<> 106e5c31af7Sopenharmony_civoid Deleter<VkFramebuffer>::operator() (VkFramebuffer obj) const 107e5c31af7Sopenharmony_ci{ 108e5c31af7Sopenharmony_ci m_deviceIface->destroyFramebuffer(m_device, obj, m_allocator); 109e5c31af7Sopenharmony_ci} 110e5c31af7Sopenharmony_ci 111e5c31af7Sopenharmony_citemplate<> 112e5c31af7Sopenharmony_civoid Deleter<VkRenderPass>::operator() (VkRenderPass obj) const 113e5c31af7Sopenharmony_ci{ 114e5c31af7Sopenharmony_ci m_deviceIface->destroyRenderPass(m_device, obj, m_allocator); 115e5c31af7Sopenharmony_ci} 116e5c31af7Sopenharmony_ci 117e5c31af7Sopenharmony_citemplate<> 118e5c31af7Sopenharmony_civoid Deleter<VkCommandPool>::operator() (VkCommandPool obj) const 119e5c31af7Sopenharmony_ci{ 120e5c31af7Sopenharmony_ci m_deviceIface->destroyCommandPool(m_device, obj, m_allocator); 121e5c31af7Sopenharmony_ci} 122e5c31af7Sopenharmony_ci 123e5c31af7Sopenharmony_citemplate<> 124e5c31af7Sopenharmony_civoid Deleter<VkSwapchainKHR>::operator() (VkSwapchainKHR obj) const 125e5c31af7Sopenharmony_ci{ 126e5c31af7Sopenharmony_ci m_deviceIface->destroySwapchainKHR(m_device, obj, m_allocator); 127e5c31af7Sopenharmony_ci} 128e5c31af7Sopenharmony_ci 129e5c31af7Sopenharmony_citemplate<> 130e5c31af7Sopenharmony_civoid Deleter<VkIndirectCommandsLayoutNV>::operator() (VkIndirectCommandsLayoutNV obj) const 131e5c31af7Sopenharmony_ci{ 132e5c31af7Sopenharmony_ci m_deviceIface->destroyIndirectCommandsLayoutNV(m_device, obj, m_allocator); 133e5c31af7Sopenharmony_ci} 134e5c31af7Sopenharmony_ci 135e5c31af7Sopenharmony_citemplate<> 136e5c31af7Sopenharmony_civoid Deleter<VkDescriptorUpdateTemplate>::operator() (VkDescriptorUpdateTemplate obj) const 137e5c31af7Sopenharmony_ci{ 138e5c31af7Sopenharmony_ci m_deviceIface->destroyDescriptorUpdateTemplate(m_device, obj, m_allocator); 139e5c31af7Sopenharmony_ci} 140e5c31af7Sopenharmony_ci 141e5c31af7Sopenharmony_citemplate<> 142e5c31af7Sopenharmony_civoid Deleter<VkSamplerYcbcrConversion>::operator() (VkSamplerYcbcrConversion obj) const 143e5c31af7Sopenharmony_ci{ 144e5c31af7Sopenharmony_ci m_deviceIface->destroySamplerYcbcrConversion(m_device, obj, m_allocator); 145e5c31af7Sopenharmony_ci} 146e5c31af7Sopenharmony_ci 147e5c31af7Sopenharmony_citemplate<> 148e5c31af7Sopenharmony_civoid Deleter<VkValidationCacheEXT>::operator() (VkValidationCacheEXT obj) const 149e5c31af7Sopenharmony_ci{ 150e5c31af7Sopenharmony_ci m_deviceIface->destroyValidationCacheEXT(m_device, obj, m_allocator); 151e5c31af7Sopenharmony_ci} 152e5c31af7Sopenharmony_ci 153e5c31af7Sopenharmony_citemplate<> 154e5c31af7Sopenharmony_civoid Deleter<VkAccelerationStructureKHR>::operator() (VkAccelerationStructureKHR obj) const 155e5c31af7Sopenharmony_ci{ 156e5c31af7Sopenharmony_ci m_deviceIface->destroyAccelerationStructureKHR(m_device, obj, m_allocator); 157e5c31af7Sopenharmony_ci} 158e5c31af7Sopenharmony_ci 159e5c31af7Sopenharmony_citemplate<> 160e5c31af7Sopenharmony_civoid Deleter<VkAccelerationStructureNV>::operator() (VkAccelerationStructureNV obj) const 161e5c31af7Sopenharmony_ci{ 162e5c31af7Sopenharmony_ci m_deviceIface->destroyAccelerationStructureNV(m_device, obj, m_allocator); 163e5c31af7Sopenharmony_ci} 164e5c31af7Sopenharmony_ci 165e5c31af7Sopenharmony_citemplate<> 166e5c31af7Sopenharmony_civoid Deleter<VkDeferredOperationKHR>::operator() (VkDeferredOperationKHR obj) const 167e5c31af7Sopenharmony_ci{ 168e5c31af7Sopenharmony_ci m_deviceIface->destroyDeferredOperationKHR(m_device, obj, m_allocator); 169e5c31af7Sopenharmony_ci} 170e5c31af7Sopenharmony_ci 171e5c31af7Sopenharmony_citemplate<> 172e5c31af7Sopenharmony_civoid Deleter<VkPrivateDataSlot>::operator() (VkPrivateDataSlot obj) const 173e5c31af7Sopenharmony_ci{ 174e5c31af7Sopenharmony_ci m_deviceIface->destroyPrivateDataSlot(m_device, obj, m_allocator); 175e5c31af7Sopenharmony_ci} 176e5c31af7Sopenharmony_ci 177e5c31af7Sopenharmony_citemplate<> 178e5c31af7Sopenharmony_civoid Deleter<VkVideoSessionKHR>::operator() (VkVideoSessionKHR obj) const 179e5c31af7Sopenharmony_ci{ 180e5c31af7Sopenharmony_ci m_deviceIface->destroyVideoSessionKHR(m_device, obj, m_allocator); 181e5c31af7Sopenharmony_ci} 182e5c31af7Sopenharmony_ci 183e5c31af7Sopenharmony_citemplate<> 184e5c31af7Sopenharmony_civoid Deleter<VkVideoSessionParametersKHR>::operator() (VkVideoSessionParametersKHR obj) const 185e5c31af7Sopenharmony_ci{ 186e5c31af7Sopenharmony_ci m_deviceIface->destroyVideoSessionParametersKHR(m_device, obj, m_allocator); 187e5c31af7Sopenharmony_ci} 188e5c31af7Sopenharmony_ci 189e5c31af7Sopenharmony_citemplate<> 190e5c31af7Sopenharmony_civoid Deleter<VkCuModuleNVX>::operator() (VkCuModuleNVX obj) const 191e5c31af7Sopenharmony_ci{ 192e5c31af7Sopenharmony_ci m_deviceIface->destroyCuModuleNVX(m_device, obj, m_allocator); 193e5c31af7Sopenharmony_ci} 194e5c31af7Sopenharmony_ci 195e5c31af7Sopenharmony_citemplate<> 196e5c31af7Sopenharmony_civoid Deleter<VkCuFunctionNVX>::operator() (VkCuFunctionNVX obj) const 197e5c31af7Sopenharmony_ci{ 198e5c31af7Sopenharmony_ci m_deviceIface->destroyCuFunctionNVX(m_device, obj, m_allocator); 199e5c31af7Sopenharmony_ci} 200e5c31af7Sopenharmony_ci 201e5c31af7Sopenharmony_citemplate<> 202e5c31af7Sopenharmony_civoid Deleter<VkBufferCollectionFUCHSIA>::operator() (VkBufferCollectionFUCHSIA obj) const 203e5c31af7Sopenharmony_ci{ 204e5c31af7Sopenharmony_ci m_deviceIface->destroyBufferCollectionFUCHSIA(m_device, obj, m_allocator); 205e5c31af7Sopenharmony_ci} 206e5c31af7Sopenharmony_ci 207e5c31af7Sopenharmony_citemplate<> 208e5c31af7Sopenharmony_civoid Deleter<VkMicromapEXT>::operator() (VkMicromapEXT obj) const 209e5c31af7Sopenharmony_ci{ 210e5c31af7Sopenharmony_ci m_deviceIface->destroyMicromapEXT(m_device, obj, m_allocator); 211e5c31af7Sopenharmony_ci} 212e5c31af7Sopenharmony_ci 213e5c31af7Sopenharmony_citemplate<> 214e5c31af7Sopenharmony_civoid Deleter<VkOpticalFlowSessionNV>::operator() (VkOpticalFlowSessionNV obj) const 215e5c31af7Sopenharmony_ci{ 216e5c31af7Sopenharmony_ci m_deviceIface->destroyOpticalFlowSessionNV(m_device, obj, m_allocator); 217e5c31af7Sopenharmony_ci} 218e5c31af7Sopenharmony_ci 219e5c31af7Sopenharmony_ci} // refdetails 220e5c31af7Sopenharmony_ci 221e5c31af7Sopenharmony_ciMove<VkInstance> createInstance (const PlatformInterface& vk, const VkInstanceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 222e5c31af7Sopenharmony_ci{ 223e5c31af7Sopenharmony_ci VkInstance object = 0; 224e5c31af7Sopenharmony_ci VK_CHECK(vk.createInstance(pCreateInfo, pAllocator, &object)); 225e5c31af7Sopenharmony_ci return Move<VkInstance>(check<VkInstance>(object), Deleter<VkInstance>(vk, object, pAllocator)); 226e5c31af7Sopenharmony_ci} 227e5c31af7Sopenharmony_ci 228e5c31af7Sopenharmony_ciMove<VkDevice> createDevice (const PlatformInterface& vkp, VkInstance instance, const InstanceInterface& vk, VkPhysicalDevice physicalDevice, const VkDeviceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 229e5c31af7Sopenharmony_ci{ 230e5c31af7Sopenharmony_ci VkDevice object = 0; 231e5c31af7Sopenharmony_ci VK_CHECK(vk.createDevice(physicalDevice, pCreateInfo, pAllocator, &object)); 232e5c31af7Sopenharmony_ci return Move<VkDevice>(check<VkDevice>(object), Deleter<VkDevice>(vkp, instance, object, pAllocator)); 233e5c31af7Sopenharmony_ci} 234e5c31af7Sopenharmony_ci 235e5c31af7Sopenharmony_ciMove<VkDeviceMemory> allocateMemory (const DeviceInterface& vk, VkDevice device, const VkMemoryAllocateInfo* pAllocateInfo, const VkAllocationCallbacks* pAllocator) 236e5c31af7Sopenharmony_ci{ 237e5c31af7Sopenharmony_ci VkDeviceMemory object = 0; 238e5c31af7Sopenharmony_ci VK_CHECK(vk.allocateMemory(device, pAllocateInfo, pAllocator, &object)); 239e5c31af7Sopenharmony_ci return Move<VkDeviceMemory>(check<VkDeviceMemory>(object), Deleter<VkDeviceMemory>(vk, device, pAllocator)); 240e5c31af7Sopenharmony_ci} 241e5c31af7Sopenharmony_ci 242e5c31af7Sopenharmony_ciMove<VkFence> createFence (const DeviceInterface& vk, VkDevice device, const VkFenceCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 243e5c31af7Sopenharmony_ci{ 244e5c31af7Sopenharmony_ci VkFence object = 0; 245e5c31af7Sopenharmony_ci VK_CHECK(vk.createFence(device, pCreateInfo, pAllocator, &object)); 246e5c31af7Sopenharmony_ci return Move<VkFence>(check<VkFence>(object), Deleter<VkFence>(vk, device, pAllocator)); 247e5c31af7Sopenharmony_ci} 248e5c31af7Sopenharmony_ci 249e5c31af7Sopenharmony_ciMove<VkSemaphore> createSemaphore (const DeviceInterface& vk, VkDevice device, const VkSemaphoreCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 250e5c31af7Sopenharmony_ci{ 251e5c31af7Sopenharmony_ci VkSemaphore object = 0; 252e5c31af7Sopenharmony_ci VK_CHECK(vk.createSemaphore(device, pCreateInfo, pAllocator, &object)); 253e5c31af7Sopenharmony_ci return Move<VkSemaphore>(check<VkSemaphore>(object), Deleter<VkSemaphore>(vk, device, pAllocator)); 254e5c31af7Sopenharmony_ci} 255e5c31af7Sopenharmony_ci 256e5c31af7Sopenharmony_ciMove<VkEvent> createEvent (const DeviceInterface& vk, VkDevice device, const VkEventCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 257e5c31af7Sopenharmony_ci{ 258e5c31af7Sopenharmony_ci VkEvent object = 0; 259e5c31af7Sopenharmony_ci VK_CHECK(vk.createEvent(device, pCreateInfo, pAllocator, &object)); 260e5c31af7Sopenharmony_ci return Move<VkEvent>(check<VkEvent>(object), Deleter<VkEvent>(vk, device, pAllocator)); 261e5c31af7Sopenharmony_ci} 262e5c31af7Sopenharmony_ci 263e5c31af7Sopenharmony_ciMove<VkQueryPool> createQueryPool (const DeviceInterface& vk, VkDevice device, const VkQueryPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 264e5c31af7Sopenharmony_ci{ 265e5c31af7Sopenharmony_ci VkQueryPool object = 0; 266e5c31af7Sopenharmony_ci VK_CHECK(vk.createQueryPool(device, pCreateInfo, pAllocator, &object)); 267e5c31af7Sopenharmony_ci return Move<VkQueryPool>(check<VkQueryPool>(object), Deleter<VkQueryPool>(vk, device, pAllocator)); 268e5c31af7Sopenharmony_ci} 269e5c31af7Sopenharmony_ci 270e5c31af7Sopenharmony_ciMove<VkBuffer> createBuffer (const DeviceInterface& vk, VkDevice device, const VkBufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 271e5c31af7Sopenharmony_ci{ 272e5c31af7Sopenharmony_ci VkBuffer object = 0; 273e5c31af7Sopenharmony_ci VK_CHECK(vk.createBuffer(device, pCreateInfo, pAllocator, &object)); 274e5c31af7Sopenharmony_ci return Move<VkBuffer>(check<VkBuffer>(object), Deleter<VkBuffer>(vk, device, pAllocator)); 275e5c31af7Sopenharmony_ci} 276e5c31af7Sopenharmony_ci 277e5c31af7Sopenharmony_ciMove<VkBufferView> createBufferView (const DeviceInterface& vk, VkDevice device, const VkBufferViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 278e5c31af7Sopenharmony_ci{ 279e5c31af7Sopenharmony_ci VkBufferView object = 0; 280e5c31af7Sopenharmony_ci VK_CHECK(vk.createBufferView(device, pCreateInfo, pAllocator, &object)); 281e5c31af7Sopenharmony_ci return Move<VkBufferView>(check<VkBufferView>(object), Deleter<VkBufferView>(vk, device, pAllocator)); 282e5c31af7Sopenharmony_ci} 283e5c31af7Sopenharmony_ci 284e5c31af7Sopenharmony_ciMove<VkImage> createImage (const DeviceInterface& vk, VkDevice device, const VkImageCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 285e5c31af7Sopenharmony_ci{ 286e5c31af7Sopenharmony_ci VkImage object = 0; 287e5c31af7Sopenharmony_ci VK_CHECK(vk.createImage(device, pCreateInfo, pAllocator, &object)); 288e5c31af7Sopenharmony_ci return Move<VkImage>(check<VkImage>(object), Deleter<VkImage>(vk, device, pAllocator)); 289e5c31af7Sopenharmony_ci} 290e5c31af7Sopenharmony_ci 291e5c31af7Sopenharmony_ciMove<VkImageView> createImageView (const DeviceInterface& vk, VkDevice device, const VkImageViewCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 292e5c31af7Sopenharmony_ci{ 293e5c31af7Sopenharmony_ci VkImageView object = 0; 294e5c31af7Sopenharmony_ci VK_CHECK(vk.createImageView(device, pCreateInfo, pAllocator, &object)); 295e5c31af7Sopenharmony_ci return Move<VkImageView>(check<VkImageView>(object), Deleter<VkImageView>(vk, device, pAllocator)); 296e5c31af7Sopenharmony_ci} 297e5c31af7Sopenharmony_ci 298e5c31af7Sopenharmony_ciMove<VkShaderModule> createShaderModule (const DeviceInterface& vk, VkDevice device, const VkShaderModuleCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 299e5c31af7Sopenharmony_ci{ 300e5c31af7Sopenharmony_ci VkShaderModule object = 0; 301e5c31af7Sopenharmony_ci VK_CHECK(vk.createShaderModule(device, pCreateInfo, pAllocator, &object)); 302e5c31af7Sopenharmony_ci return Move<VkShaderModule>(check<VkShaderModule>(object), Deleter<VkShaderModule>(vk, device, pAllocator)); 303e5c31af7Sopenharmony_ci} 304e5c31af7Sopenharmony_ci 305e5c31af7Sopenharmony_ciMove<VkPipelineCache> createPipelineCache (const DeviceInterface& vk, VkDevice device, const VkPipelineCacheCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 306e5c31af7Sopenharmony_ci{ 307e5c31af7Sopenharmony_ci VkPipelineCache object = 0; 308e5c31af7Sopenharmony_ci VK_CHECK(vk.createPipelineCache(device, pCreateInfo, pAllocator, &object)); 309e5c31af7Sopenharmony_ci return Move<VkPipelineCache>(check<VkPipelineCache>(object), Deleter<VkPipelineCache>(vk, device, pAllocator)); 310e5c31af7Sopenharmony_ci} 311e5c31af7Sopenharmony_ci 312e5c31af7Sopenharmony_ciMove<VkPipelineLayout> createPipelineLayout (const DeviceInterface& vk, VkDevice device, const VkPipelineLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 313e5c31af7Sopenharmony_ci{ 314e5c31af7Sopenharmony_ci VkPipelineLayout object = 0; 315e5c31af7Sopenharmony_ci VK_CHECK(vk.createPipelineLayout(device, pCreateInfo, pAllocator, &object)); 316e5c31af7Sopenharmony_ci return Move<VkPipelineLayout>(check<VkPipelineLayout>(object), Deleter<VkPipelineLayout>(vk, device, pAllocator)); 317e5c31af7Sopenharmony_ci} 318e5c31af7Sopenharmony_ci 319e5c31af7Sopenharmony_ciMove<VkSampler> createSampler (const DeviceInterface& vk, VkDevice device, const VkSamplerCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 320e5c31af7Sopenharmony_ci{ 321e5c31af7Sopenharmony_ci VkSampler object = 0; 322e5c31af7Sopenharmony_ci VK_CHECK(vk.createSampler(device, pCreateInfo, pAllocator, &object)); 323e5c31af7Sopenharmony_ci return Move<VkSampler>(check<VkSampler>(object), Deleter<VkSampler>(vk, device, pAllocator)); 324e5c31af7Sopenharmony_ci} 325e5c31af7Sopenharmony_ci 326e5c31af7Sopenharmony_ciMove<VkDescriptorSetLayout> createDescriptorSetLayout (const DeviceInterface& vk, VkDevice device, const VkDescriptorSetLayoutCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 327e5c31af7Sopenharmony_ci{ 328e5c31af7Sopenharmony_ci VkDescriptorSetLayout object = 0; 329e5c31af7Sopenharmony_ci VK_CHECK(vk.createDescriptorSetLayout(device, pCreateInfo, pAllocator, &object)); 330e5c31af7Sopenharmony_ci return Move<VkDescriptorSetLayout>(check<VkDescriptorSetLayout>(object), Deleter<VkDescriptorSetLayout>(vk, device, pAllocator)); 331e5c31af7Sopenharmony_ci} 332e5c31af7Sopenharmony_ci 333e5c31af7Sopenharmony_ciMove<VkDescriptorPool> createDescriptorPool (const DeviceInterface& vk, VkDevice device, const VkDescriptorPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 334e5c31af7Sopenharmony_ci{ 335e5c31af7Sopenharmony_ci VkDescriptorPool object = 0; 336e5c31af7Sopenharmony_ci VK_CHECK(vk.createDescriptorPool(device, pCreateInfo, pAllocator, &object)); 337e5c31af7Sopenharmony_ci return Move<VkDescriptorPool>(check<VkDescriptorPool>(object), Deleter<VkDescriptorPool>(vk, device, pAllocator)); 338e5c31af7Sopenharmony_ci} 339e5c31af7Sopenharmony_ci 340e5c31af7Sopenharmony_ciMove<VkFramebuffer> createFramebuffer (const DeviceInterface& vk, VkDevice device, const VkFramebufferCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 341e5c31af7Sopenharmony_ci{ 342e5c31af7Sopenharmony_ci VkFramebuffer object = 0; 343e5c31af7Sopenharmony_ci VK_CHECK(vk.createFramebuffer(device, pCreateInfo, pAllocator, &object)); 344e5c31af7Sopenharmony_ci return Move<VkFramebuffer>(check<VkFramebuffer>(object), Deleter<VkFramebuffer>(vk, device, pAllocator)); 345e5c31af7Sopenharmony_ci} 346e5c31af7Sopenharmony_ci 347e5c31af7Sopenharmony_ciMove<VkRenderPass> createRenderPass (const DeviceInterface& vk, VkDevice device, const VkRenderPassCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 348e5c31af7Sopenharmony_ci{ 349e5c31af7Sopenharmony_ci VkRenderPass object = 0; 350e5c31af7Sopenharmony_ci VK_CHECK(vk.createRenderPass(device, pCreateInfo, pAllocator, &object)); 351e5c31af7Sopenharmony_ci return Move<VkRenderPass>(check<VkRenderPass>(object), Deleter<VkRenderPass>(vk, device, pAllocator)); 352e5c31af7Sopenharmony_ci} 353e5c31af7Sopenharmony_ci 354e5c31af7Sopenharmony_ciMove<VkCommandPool> createCommandPool (const DeviceInterface& vk, VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 355e5c31af7Sopenharmony_ci{ 356e5c31af7Sopenharmony_ci VkCommandPool object = 0; 357e5c31af7Sopenharmony_ci VK_CHECK(vk.createCommandPool(device, pCreateInfo, pAllocator, &object)); 358e5c31af7Sopenharmony_ci return Move<VkCommandPool>(check<VkCommandPool>(object), Deleter<VkCommandPool>(vk, device, pAllocator)); 359e5c31af7Sopenharmony_ci} 360e5c31af7Sopenharmony_ci 361e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createAndroidSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkAndroidSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 362e5c31af7Sopenharmony_ci{ 363e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 364e5c31af7Sopenharmony_ci VK_CHECK(vk.createAndroidSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 365e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 366e5c31af7Sopenharmony_ci} 367e5c31af7Sopenharmony_ci 368e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createOHOSSurfaceOpenHarmony (const InstanceInterface& vk, VkInstance instance, const VkOHOSSurfaceCreateInfoOpenHarmony* pCreateInfo, const VkAllocationCallbacks* pAllocator) 369e5c31af7Sopenharmony_ci{ 370e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 371e5c31af7Sopenharmony_ci VK_CHECK(vk.createOHOSSurfaceOpenHarmony(instance, pCreateInfo, pAllocator, &object)); 372e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 373e5c31af7Sopenharmony_ci} 374e5c31af7Sopenharmony_ci 375e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createDisplayPlaneSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkDisplaySurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 376e5c31af7Sopenharmony_ci{ 377e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 378e5c31af7Sopenharmony_ci VK_CHECK(vk.createDisplayPlaneSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 379e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 380e5c31af7Sopenharmony_ci} 381e5c31af7Sopenharmony_ci 382e5c31af7Sopenharmony_ciMove<VkSwapchainKHR> createSharedSwapchainsKHR (const DeviceInterface& vk, VkDevice device, uint32_t swapchainCount, const VkSwapchainCreateInfoKHR* pCreateInfos, const VkAllocationCallbacks* pAllocator) 383e5c31af7Sopenharmony_ci{ 384e5c31af7Sopenharmony_ci VkSwapchainKHR object = 0; 385e5c31af7Sopenharmony_ci VK_CHECK(vk.createSharedSwapchainsKHR(device, swapchainCount, pCreateInfos, pAllocator, &object)); 386e5c31af7Sopenharmony_ci return Move<VkSwapchainKHR>(check<VkSwapchainKHR>(object), Deleter<VkSwapchainKHR>(vk, device, pAllocator)); 387e5c31af7Sopenharmony_ci} 388e5c31af7Sopenharmony_ci 389e5c31af7Sopenharmony_ciMove<VkSwapchainKHR> createSwapchainKHR (const DeviceInterface& vk, VkDevice device, const VkSwapchainCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 390e5c31af7Sopenharmony_ci{ 391e5c31af7Sopenharmony_ci VkSwapchainKHR object = 0; 392e5c31af7Sopenharmony_ci VK_CHECK(vk.createSwapchainKHR(device, pCreateInfo, pAllocator, &object)); 393e5c31af7Sopenharmony_ci return Move<VkSwapchainKHR>(check<VkSwapchainKHR>(object), Deleter<VkSwapchainKHR>(vk, device, pAllocator)); 394e5c31af7Sopenharmony_ci} 395e5c31af7Sopenharmony_ci 396e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createViSurfaceNN (const InstanceInterface& vk, VkInstance instance, const VkViSurfaceCreateInfoNN* pCreateInfo, const VkAllocationCallbacks* pAllocator) 397e5c31af7Sopenharmony_ci{ 398e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 399e5c31af7Sopenharmony_ci VK_CHECK(vk.createViSurfaceNN(instance, pCreateInfo, pAllocator, &object)); 400e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 401e5c31af7Sopenharmony_ci} 402e5c31af7Sopenharmony_ci 403e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createWaylandSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkWaylandSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 404e5c31af7Sopenharmony_ci{ 405e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 406e5c31af7Sopenharmony_ci VK_CHECK(vk.createWaylandSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 407e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 408e5c31af7Sopenharmony_ci} 409e5c31af7Sopenharmony_ci 410e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createWin32SurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkWin32SurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 411e5c31af7Sopenharmony_ci{ 412e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 413e5c31af7Sopenharmony_ci VK_CHECK(vk.createWin32SurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 414e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 415e5c31af7Sopenharmony_ci} 416e5c31af7Sopenharmony_ci 417e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createXlibSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkXlibSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 418e5c31af7Sopenharmony_ci{ 419e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 420e5c31af7Sopenharmony_ci VK_CHECK(vk.createXlibSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 421e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 422e5c31af7Sopenharmony_ci} 423e5c31af7Sopenharmony_ci 424e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createXcbSurfaceKHR (const InstanceInterface& vk, VkInstance instance, const VkXcbSurfaceCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 425e5c31af7Sopenharmony_ci{ 426e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 427e5c31af7Sopenharmony_ci VK_CHECK(vk.createXcbSurfaceKHR(instance, pCreateInfo, pAllocator, &object)); 428e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 429e5c31af7Sopenharmony_ci} 430e5c31af7Sopenharmony_ci 431e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createImagePipeSurfaceFUCHSIA (const InstanceInterface& vk, VkInstance instance, const VkImagePipeSurfaceCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator) 432e5c31af7Sopenharmony_ci{ 433e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 434e5c31af7Sopenharmony_ci VK_CHECK(vk.createImagePipeSurfaceFUCHSIA(instance, pCreateInfo, pAllocator, &object)); 435e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 436e5c31af7Sopenharmony_ci} 437e5c31af7Sopenharmony_ci 438e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createStreamDescriptorSurfaceGGP (const InstanceInterface& vk, VkInstance instance, const VkStreamDescriptorSurfaceCreateInfoGGP* pCreateInfo, const VkAllocationCallbacks* pAllocator) 439e5c31af7Sopenharmony_ci{ 440e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 441e5c31af7Sopenharmony_ci VK_CHECK(vk.createStreamDescriptorSurfaceGGP(instance, pCreateInfo, pAllocator, &object)); 442e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 443e5c31af7Sopenharmony_ci} 444e5c31af7Sopenharmony_ci 445e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createScreenSurfaceQNX (const InstanceInterface& vk, VkInstance instance, const VkScreenSurfaceCreateInfoQNX* pCreateInfo, const VkAllocationCallbacks* pAllocator) 446e5c31af7Sopenharmony_ci{ 447e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 448e5c31af7Sopenharmony_ci VK_CHECK(vk.createScreenSurfaceQNX(instance, pCreateInfo, pAllocator, &object)); 449e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 450e5c31af7Sopenharmony_ci} 451e5c31af7Sopenharmony_ci 452e5c31af7Sopenharmony_ciMove<VkDebugReportCallbackEXT> createDebugReportCallbackEXT (const InstanceInterface& vk, VkInstance instance, const VkDebugReportCallbackCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) 453e5c31af7Sopenharmony_ci{ 454e5c31af7Sopenharmony_ci VkDebugReportCallbackEXT object = 0; 455e5c31af7Sopenharmony_ci VK_CHECK(vk.createDebugReportCallbackEXT(instance, pCreateInfo, pAllocator, &object)); 456e5c31af7Sopenharmony_ci return Move<VkDebugReportCallbackEXT>(check<VkDebugReportCallbackEXT>(object), Deleter<VkDebugReportCallbackEXT>(vk, instance, pAllocator)); 457e5c31af7Sopenharmony_ci} 458e5c31af7Sopenharmony_ci 459e5c31af7Sopenharmony_ciMove<VkIndirectCommandsLayoutNV> createIndirectCommandsLayoutNV (const DeviceInterface& vk, VkDevice device, const VkIndirectCommandsLayoutCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator) 460e5c31af7Sopenharmony_ci{ 461e5c31af7Sopenharmony_ci VkIndirectCommandsLayoutNV object = 0; 462e5c31af7Sopenharmony_ci VK_CHECK(vk.createIndirectCommandsLayoutNV(device, pCreateInfo, pAllocator, &object)); 463e5c31af7Sopenharmony_ci return Move<VkIndirectCommandsLayoutNV>(check<VkIndirectCommandsLayoutNV>(object), Deleter<VkIndirectCommandsLayoutNV>(vk, device, pAllocator)); 464e5c31af7Sopenharmony_ci} 465e5c31af7Sopenharmony_ci 466e5c31af7Sopenharmony_ciMove<VkDescriptorUpdateTemplate> createDescriptorUpdateTemplate (const DeviceInterface& vk, VkDevice device, const VkDescriptorUpdateTemplateCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 467e5c31af7Sopenharmony_ci{ 468e5c31af7Sopenharmony_ci VkDescriptorUpdateTemplate object = 0; 469e5c31af7Sopenharmony_ci VK_CHECK(vk.createDescriptorUpdateTemplate(device, pCreateInfo, pAllocator, &object)); 470e5c31af7Sopenharmony_ci return Move<VkDescriptorUpdateTemplate>(check<VkDescriptorUpdateTemplate>(object), Deleter<VkDescriptorUpdateTemplate>(vk, device, pAllocator)); 471e5c31af7Sopenharmony_ci} 472e5c31af7Sopenharmony_ci 473e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createIOSSurfaceMVK (const InstanceInterface& vk, VkInstance instance, const VkIOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator) 474e5c31af7Sopenharmony_ci{ 475e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 476e5c31af7Sopenharmony_ci VK_CHECK(vk.createIOSSurfaceMVK(instance, pCreateInfo, pAllocator, &object)); 477e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 478e5c31af7Sopenharmony_ci} 479e5c31af7Sopenharmony_ci 480e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createMacOSSurfaceMVK (const InstanceInterface& vk, VkInstance instance, const VkMacOSSurfaceCreateInfoMVK* pCreateInfo, const VkAllocationCallbacks* pAllocator) 481e5c31af7Sopenharmony_ci{ 482e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 483e5c31af7Sopenharmony_ci VK_CHECK(vk.createMacOSSurfaceMVK(instance, pCreateInfo, pAllocator, &object)); 484e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 485e5c31af7Sopenharmony_ci} 486e5c31af7Sopenharmony_ci 487e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createMetalSurfaceEXT (const InstanceInterface& vk, VkInstance instance, const VkMetalSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) 488e5c31af7Sopenharmony_ci{ 489e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 490e5c31af7Sopenharmony_ci VK_CHECK(vk.createMetalSurfaceEXT(instance, pCreateInfo, pAllocator, &object)); 491e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 492e5c31af7Sopenharmony_ci} 493e5c31af7Sopenharmony_ci 494e5c31af7Sopenharmony_ciMove<VkSamplerYcbcrConversion> createSamplerYcbcrConversion (const DeviceInterface& vk, VkDevice device, const VkSamplerYcbcrConversionCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 495e5c31af7Sopenharmony_ci{ 496e5c31af7Sopenharmony_ci VkSamplerYcbcrConversion object = 0; 497e5c31af7Sopenharmony_ci VK_CHECK(vk.createSamplerYcbcrConversion(device, pCreateInfo, pAllocator, &object)); 498e5c31af7Sopenharmony_ci return Move<VkSamplerYcbcrConversion>(check<VkSamplerYcbcrConversion>(object), Deleter<VkSamplerYcbcrConversion>(vk, device, pAllocator)); 499e5c31af7Sopenharmony_ci} 500e5c31af7Sopenharmony_ci 501e5c31af7Sopenharmony_ciMove<VkValidationCacheEXT> createValidationCacheEXT (const DeviceInterface& vk, VkDevice device, const VkValidationCacheCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) 502e5c31af7Sopenharmony_ci{ 503e5c31af7Sopenharmony_ci VkValidationCacheEXT object = 0; 504e5c31af7Sopenharmony_ci VK_CHECK(vk.createValidationCacheEXT(device, pCreateInfo, pAllocator, &object)); 505e5c31af7Sopenharmony_ci return Move<VkValidationCacheEXT>(check<VkValidationCacheEXT>(object), Deleter<VkValidationCacheEXT>(vk, device, pAllocator)); 506e5c31af7Sopenharmony_ci} 507e5c31af7Sopenharmony_ci 508e5c31af7Sopenharmony_ciMove<VkDebugUtilsMessengerEXT> createDebugUtilsMessengerEXT (const InstanceInterface& vk, VkInstance instance, const VkDebugUtilsMessengerCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) 509e5c31af7Sopenharmony_ci{ 510e5c31af7Sopenharmony_ci VkDebugUtilsMessengerEXT object = 0; 511e5c31af7Sopenharmony_ci VK_CHECK(vk.createDebugUtilsMessengerEXT(instance, pCreateInfo, pAllocator, &object)); 512e5c31af7Sopenharmony_ci return Move<VkDebugUtilsMessengerEXT>(check<VkDebugUtilsMessengerEXT>(object), Deleter<VkDebugUtilsMessengerEXT>(vk, instance, pAllocator)); 513e5c31af7Sopenharmony_ci} 514e5c31af7Sopenharmony_ci 515e5c31af7Sopenharmony_ciMove<VkRenderPass> createRenderPass2 (const DeviceInterface& vk, VkDevice device, const VkRenderPassCreateInfo2* pCreateInfo, const VkAllocationCallbacks* pAllocator) 516e5c31af7Sopenharmony_ci{ 517e5c31af7Sopenharmony_ci VkRenderPass object = 0; 518e5c31af7Sopenharmony_ci VK_CHECK(vk.createRenderPass2(device, pCreateInfo, pAllocator, &object)); 519e5c31af7Sopenharmony_ci return Move<VkRenderPass>(check<VkRenderPass>(object), Deleter<VkRenderPass>(vk, device, pAllocator)); 520e5c31af7Sopenharmony_ci} 521e5c31af7Sopenharmony_ci 522e5c31af7Sopenharmony_ciMove<VkAccelerationStructureNV> createAccelerationStructureNV (const DeviceInterface& vk, VkDevice device, const VkAccelerationStructureCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator) 523e5c31af7Sopenharmony_ci{ 524e5c31af7Sopenharmony_ci VkAccelerationStructureNV object = 0; 525e5c31af7Sopenharmony_ci VK_CHECK(vk.createAccelerationStructureNV(device, pCreateInfo, pAllocator, &object)); 526e5c31af7Sopenharmony_ci return Move<VkAccelerationStructureNV>(check<VkAccelerationStructureNV>(object), Deleter<VkAccelerationStructureNV>(vk, device, pAllocator)); 527e5c31af7Sopenharmony_ci} 528e5c31af7Sopenharmony_ci 529e5c31af7Sopenharmony_ciMove<VkSurfaceKHR> createHeadlessSurfaceEXT (const InstanceInterface& vk, VkInstance instance, const VkHeadlessSurfaceCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) 530e5c31af7Sopenharmony_ci{ 531e5c31af7Sopenharmony_ci VkSurfaceKHR object = 0; 532e5c31af7Sopenharmony_ci VK_CHECK(vk.createHeadlessSurfaceEXT(instance, pCreateInfo, pAllocator, &object)); 533e5c31af7Sopenharmony_ci return Move<VkSurfaceKHR>(check<VkSurfaceKHR>(object), Deleter<VkSurfaceKHR>(vk, instance, pAllocator)); 534e5c31af7Sopenharmony_ci} 535e5c31af7Sopenharmony_ci 536e5c31af7Sopenharmony_ciMove<VkAccelerationStructureKHR> createAccelerationStructureKHR (const DeviceInterface& vk, VkDevice device, const VkAccelerationStructureCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 537e5c31af7Sopenharmony_ci{ 538e5c31af7Sopenharmony_ci VkAccelerationStructureKHR object = 0; 539e5c31af7Sopenharmony_ci VK_CHECK(vk.createAccelerationStructureKHR(device, pCreateInfo, pAllocator, &object)); 540e5c31af7Sopenharmony_ci return Move<VkAccelerationStructureKHR>(check<VkAccelerationStructureKHR>(object), Deleter<VkAccelerationStructureKHR>(vk, device, pAllocator)); 541e5c31af7Sopenharmony_ci} 542e5c31af7Sopenharmony_ci 543e5c31af7Sopenharmony_ciMove<VkDeferredOperationKHR> createDeferredOperationKHR (const DeviceInterface& vk, VkDevice device, const VkAllocationCallbacks* pAllocator) 544e5c31af7Sopenharmony_ci{ 545e5c31af7Sopenharmony_ci VkDeferredOperationKHR object = 0; 546e5c31af7Sopenharmony_ci VK_CHECK(vk.createDeferredOperationKHR(device, pAllocator, &object)); 547e5c31af7Sopenharmony_ci return Move<VkDeferredOperationKHR>(check<VkDeferredOperationKHR>(object), Deleter<VkDeferredOperationKHR>(vk, device, pAllocator)); 548e5c31af7Sopenharmony_ci} 549e5c31af7Sopenharmony_ci 550e5c31af7Sopenharmony_ciMove<VkPrivateDataSlot> createPrivateDataSlot (const DeviceInterface& vk, VkDevice device, const VkPrivateDataSlotCreateInfo* pCreateInfo, const VkAllocationCallbacks* pAllocator) 551e5c31af7Sopenharmony_ci{ 552e5c31af7Sopenharmony_ci VkPrivateDataSlot object = 0; 553e5c31af7Sopenharmony_ci VK_CHECK(vk.createPrivateDataSlot(device, pCreateInfo, pAllocator, &object)); 554e5c31af7Sopenharmony_ci return Move<VkPrivateDataSlot>(check<VkPrivateDataSlot>(object), Deleter<VkPrivateDataSlot>(vk, device, pAllocator)); 555e5c31af7Sopenharmony_ci} 556e5c31af7Sopenharmony_ci 557e5c31af7Sopenharmony_ciMove<VkVideoSessionKHR> createVideoSessionKHR (const DeviceInterface& vk, VkDevice device, const VkVideoSessionCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 558e5c31af7Sopenharmony_ci{ 559e5c31af7Sopenharmony_ci VkVideoSessionKHR object = 0; 560e5c31af7Sopenharmony_ci VK_CHECK(vk.createVideoSessionKHR(device, pCreateInfo, pAllocator, &object)); 561e5c31af7Sopenharmony_ci return Move<VkVideoSessionKHR>(check<VkVideoSessionKHR>(object), Deleter<VkVideoSessionKHR>(vk, device, pAllocator)); 562e5c31af7Sopenharmony_ci} 563e5c31af7Sopenharmony_ci 564e5c31af7Sopenharmony_ciMove<VkVideoSessionParametersKHR> createVideoSessionParametersKHR (const DeviceInterface& vk, VkDevice device, const VkVideoSessionParametersCreateInfoKHR* pCreateInfo, const VkAllocationCallbacks* pAllocator) 565e5c31af7Sopenharmony_ci{ 566e5c31af7Sopenharmony_ci VkVideoSessionParametersKHR object = 0; 567e5c31af7Sopenharmony_ci VK_CHECK(vk.createVideoSessionParametersKHR(device, pCreateInfo, pAllocator, &object)); 568e5c31af7Sopenharmony_ci return Move<VkVideoSessionParametersKHR>(check<VkVideoSessionParametersKHR>(object), Deleter<VkVideoSessionParametersKHR>(vk, device, pAllocator)); 569e5c31af7Sopenharmony_ci} 570e5c31af7Sopenharmony_ci 571e5c31af7Sopenharmony_ciMove<VkCuModuleNVX> createCuModuleNVX (const DeviceInterface& vk, VkDevice device, const VkCuModuleCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator) 572e5c31af7Sopenharmony_ci{ 573e5c31af7Sopenharmony_ci VkCuModuleNVX object = 0; 574e5c31af7Sopenharmony_ci VK_CHECK(vk.createCuModuleNVX(device, pCreateInfo, pAllocator, &object)); 575e5c31af7Sopenharmony_ci return Move<VkCuModuleNVX>(check<VkCuModuleNVX>(object), Deleter<VkCuModuleNVX>(vk, device, pAllocator)); 576e5c31af7Sopenharmony_ci} 577e5c31af7Sopenharmony_ci 578e5c31af7Sopenharmony_ciMove<VkCuFunctionNVX> createCuFunctionNVX (const DeviceInterface& vk, VkDevice device, const VkCuFunctionCreateInfoNVX* pCreateInfo, const VkAllocationCallbacks* pAllocator) 579e5c31af7Sopenharmony_ci{ 580e5c31af7Sopenharmony_ci VkCuFunctionNVX object = 0; 581e5c31af7Sopenharmony_ci VK_CHECK(vk.createCuFunctionNVX(device, pCreateInfo, pAllocator, &object)); 582e5c31af7Sopenharmony_ci return Move<VkCuFunctionNVX>(check<VkCuFunctionNVX>(object), Deleter<VkCuFunctionNVX>(vk, device, pAllocator)); 583e5c31af7Sopenharmony_ci} 584e5c31af7Sopenharmony_ci 585e5c31af7Sopenharmony_ciMove<VkBufferCollectionFUCHSIA> createBufferCollectionFUCHSIA (const DeviceInterface& vk, VkDevice device, const VkBufferCollectionCreateInfoFUCHSIA* pCreateInfo, const VkAllocationCallbacks* pAllocator) 586e5c31af7Sopenharmony_ci{ 587e5c31af7Sopenharmony_ci VkBufferCollectionFUCHSIA object = 0; 588e5c31af7Sopenharmony_ci VK_CHECK(vk.createBufferCollectionFUCHSIA(device, pCreateInfo, pAllocator, &object)); 589e5c31af7Sopenharmony_ci return Move<VkBufferCollectionFUCHSIA>(check<VkBufferCollectionFUCHSIA>(object), Deleter<VkBufferCollectionFUCHSIA>(vk, device, pAllocator)); 590e5c31af7Sopenharmony_ci} 591e5c31af7Sopenharmony_ci 592e5c31af7Sopenharmony_ciMove<VkMicromapEXT> createMicromapEXT (const DeviceInterface& vk, VkDevice device, const VkMicromapCreateInfoEXT* pCreateInfo, const VkAllocationCallbacks* pAllocator) 593e5c31af7Sopenharmony_ci{ 594e5c31af7Sopenharmony_ci VkMicromapEXT object = 0; 595e5c31af7Sopenharmony_ci VK_CHECK(vk.createMicromapEXT(device, pCreateInfo, pAllocator, &object)); 596e5c31af7Sopenharmony_ci return Move<VkMicromapEXT>(check<VkMicromapEXT>(object), Deleter<VkMicromapEXT>(vk, device, pAllocator)); 597e5c31af7Sopenharmony_ci} 598e5c31af7Sopenharmony_ci 599e5c31af7Sopenharmony_ciMove<VkOpticalFlowSessionNV> createOpticalFlowSessionNV (const DeviceInterface& vk, VkDevice device, const VkOpticalFlowSessionCreateInfoNV* pCreateInfo, const VkAllocationCallbacks* pAllocator) 600e5c31af7Sopenharmony_ci{ 601e5c31af7Sopenharmony_ci VkOpticalFlowSessionNV object = 0; 602e5c31af7Sopenharmony_ci VK_CHECK(vk.createOpticalFlowSessionNV(device, pCreateInfo, pAllocator, &object)); 603e5c31af7Sopenharmony_ci return Move<VkOpticalFlowSessionNV>(check<VkOpticalFlowSessionNV>(object), Deleter<VkOpticalFlowSessionNV>(vk, device, pAllocator)); 604e5c31af7Sopenharmony_ci} 605e5c31af7Sopenharmony_ci 606