diff options
author | Jon Leech <[email protected]> | 2024-11-01 19:46:16 -0700 |
---|---|---|
committer | Jon Leech <[email protected]> | 2024-11-01 19:52:35 -0700 |
commit | cbcad3c0587dddc768d76641ea00f5c45ab5a278 (patch) | |
tree | 1dbe3785820514d23f531d11523c9936d4a7f031 /include/vulkan/vulkan_shared.hpp | |
parent | f2eb740f3f0340ad941e563484d5ba45a5ec6af0 (diff) | |
download | Vulkan-Headers-cbcad3c0587dddc768d76641ea00f5c45ab5a278.tar.gz Vulkan-Headers-cbcad3c0587dddc768d76641ea00f5c45ab5a278.zip |
Update for Vulkan-Docs 1.3.301v1.3.301
Diffstat (limited to 'include/vulkan/vulkan_shared.hpp')
-rw-r--r-- | include/vulkan/vulkan_shared.hpp | 340 |
1 files changed, 171 insertions, 169 deletions
diff --git a/include/vulkan/vulkan_shared.hpp b/include/vulkan/vulkan_shared.hpp index fbb871b..7b96b6c 100644 --- a/include/vulkan/vulkan_shared.hpp +++ b/include/vulkan/vulkan_shared.hpp @@ -308,8 +308,8 @@ namespace VULKAN_HPP_NAMESPACE using BaseType::internalDestroy; }; - template <typename HandleType> - class SharedHandleTraits; + namespace detail + { // Silence the function cast warnings. # if defined( __GNUC__ ) && !defined( __clang__ ) && !defined( __INTEL_COMPILER ) @@ -317,150 +317,152 @@ namespace VULKAN_HPP_NAMESPACE # pragma GCC diagnostic ignored "-Wcast-function-type" # endif - template <typename HandleType> - class ObjectDestroyShared - { - public: - using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; - - template <class Dispatcher> - using DestroyFunctionPointerType = - typename std::conditional<HasDestructor<HandleType>::value, - void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const, - void ( HandleType::* )( const AllocationCallbacks *, const Dispatcher & ) const>::type; - - using SelectorType = typename std::conditional<HasDestructor<HandleType>::value, DestructorType, HandleType>::type; - - template <typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - ObjectDestroyShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) - : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &SelectorType::destroy ) ) ) - , m_dispatch( &dispatch ) - , m_allocationCallbacks( allocationCallbacks ) + template <typename HandleType> + class ObjectDestroyShared { - } + public: + using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; + + template <class Dispatcher> + using DestroyFunctionPointerType = + typename std::conditional<HasDestructor<HandleType>::value, + void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const, + void ( HandleType::* )( const AllocationCallbacks *, const Dispatcher & ) const>::type; + + using SelectorType = typename std::conditional<HasDestructor<HandleType>::value, DestructorType, HandleType>::type; + + template <typename Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + ObjectDestroyShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, + const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) + : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &SelectorType::destroy ) ) ) + , m_dispatch( &dispatch ) + , m_allocationCallbacks( allocationCallbacks ) + { + } - public: - template <typename T = HandleType> - typename std::enable_if<HasDestructor<T>::value, void>::type destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); - ( parent.*m_destroy )( handle, m_allocationCallbacks, *m_dispatch ); - } + public: + template <typename T = HandleType> + typename std::enable_if<HasDestructor<T>::value, void>::type destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); + ( parent.*m_destroy )( handle, m_allocationCallbacks, *m_dispatch ); + } - template <typename T = HandleType> - typename std::enable_if<!HasDestructor<T>::value, void>::type destroy( HandleType handle ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); - ( handle.*m_destroy )( m_allocationCallbacks, *m_dispatch ); - } + template <typename T = HandleType> + typename std::enable_if<!HasDestructor<T>::value, void>::type destroy( HandleType handle ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); + ( handle.*m_destroy )( m_allocationCallbacks, *m_dispatch ); + } - private: - DestroyFunctionPointerType<DispatchLoaderBase> m_destroy = nullptr; - const DispatchLoaderBase * m_dispatch = nullptr; - Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr; - }; + private: + DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr; + const detail::DispatchLoaderBase * m_dispatch = nullptr; + Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr; + }; - template <typename HandleType> - class ObjectFreeShared - { - public: - using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; + template <typename HandleType> + class ObjectFreeShared + { + public: + using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; + + template <class Dispatcher> + using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const; + + template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + ObjectFreeShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, + const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) + : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) ) + , m_dispatch( &dispatch ) + , m_allocationCallbacks( allocationCallbacks ) + { + } - template <class Dispatcher> - using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const AllocationCallbacks *, const Dispatcher & ) const; + public: + void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); + ( parent.*m_destroy )( handle, m_allocationCallbacks, *m_dispatch ); + } - template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - ObjectFreeShared( Optional<const AllocationCallbacks> allocationCallbacks VULKAN_HPP_DEFAULT_ARGUMENT_NULLPTR_ASSIGNMENT, - const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) - : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) ) - , m_dispatch( &dispatch ) - , m_allocationCallbacks( allocationCallbacks ) - { - } + private: + DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr; + const detail::DispatchLoaderBase * m_dispatch = nullptr; + Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr; + }; - public: - void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT + template <typename HandleType> + class ObjectReleaseShared { - VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); - ( parent.*m_destroy )( handle, m_allocationCallbacks, *m_dispatch ); - } + public: + using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; - private: - DestroyFunctionPointerType<DispatchLoaderBase> m_destroy = nullptr; - const DispatchLoaderBase * m_dispatch = nullptr; - Optional<const AllocationCallbacks> m_allocationCallbacks = nullptr; - }; + template <class Dispatcher> + using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const Dispatcher & ) const; - template <typename HandleType> - class ObjectReleaseShared - { - public: - using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; + template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + ObjectReleaseShared( const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) + : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::release ) ) ) + , m_dispatch( &dispatch ) + { + } - template <class Dispatcher> - using DestroyFunctionPointerType = void ( DestructorType::* )( HandleType, const Dispatcher & ) const; + public: + void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); + ( parent.*m_destroy )( handle, *m_dispatch ); + } - template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - ObjectReleaseShared( const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) - : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::release ) ) ) - , m_dispatch( &dispatch ) - { - } + private: + DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr; + const detail::DispatchLoaderBase * m_dispatch = nullptr; + }; - public: - void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT + template <typename HandleType, typename PoolType> + class PoolFreeShared { - VULKAN_HPP_ASSERT( m_destroy && m_dispatch ); - ( parent.*m_destroy )( handle, *m_dispatch ); - } - - private: - DestroyFunctionPointerType<DispatchLoaderBase> m_destroy = nullptr; - const DispatchLoaderBase * m_dispatch = nullptr; - }; - - template <typename HandleType, typename PoolType> - class PoolFreeShared - { - public: - using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; + public: + using DestructorType = typename SharedHandleTraits<HandleType>::DestructorType; - using PoolTypeExport = PoolType; + using PoolTypeExport = PoolType; - template <class Dispatcher> - using ReturnType = decltype( std::declval<DestructorType>().free( PoolType(), 0u, nullptr, Dispatcher() ) ); + template <class Dispatcher> + using ReturnType = decltype( std::declval<DestructorType>().free( PoolType(), 0u, nullptr, Dispatcher() ) ); - template <class Dispatcher> - using DestroyFunctionPointerType = ReturnType<Dispatcher> ( DestructorType::* )( PoolType, uint32_t, const HandleType *, const Dispatcher & ) const; + template <class Dispatcher> + using DestroyFunctionPointerType = ReturnType<Dispatcher> ( DestructorType::* )( PoolType, uint32_t, const HandleType *, const Dispatcher & ) const; - PoolFreeShared() = default; + PoolFreeShared() = default; - template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> - PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) - : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) ) - , m_dispatch( &dispatch ) - , m_pool( std::move( pool ) ) - { - } + template <class Dispatcher = VULKAN_HPP_DEFAULT_DISPATCHER_TYPE> + PoolFreeShared( SharedHandle<PoolType> pool, const Dispatcher & dispatch VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) + : m_destroy( reinterpret_cast<decltype( m_destroy )>( static_cast<DestroyFunctionPointerType<Dispatcher>>( &DestructorType::free ) ) ) + , m_dispatch( &dispatch ) + , m_pool( std::move( pool ) ) + { + } - public: - void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT - { - VULKAN_HPP_ASSERT( m_destroy && m_dispatch && m_pool ); - ( parent.*m_destroy )( m_pool.get(), 1u, &handle, *m_dispatch ); - } + public: + void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT + { + VULKAN_HPP_ASSERT( m_destroy && m_dispatch && m_pool ); + ( parent.*m_destroy )( m_pool.get(), 1u, &handle, *m_dispatch ); + } - private: - DestroyFunctionPointerType<DispatchLoaderBase> m_destroy = nullptr; - const DispatchLoaderBase * m_dispatch = nullptr; - SharedHandle<PoolType> m_pool{}; - }; + private: + DestroyFunctionPointerType<detail::DispatchLoaderBase> m_destroy = nullptr; + const detail::DispatchLoaderBase * m_dispatch = nullptr; + SharedHandle<PoolType> m_pool{}; + }; # if defined( __GNUC__ ) && !defined( __clang__ ) && !defined( __INTEL_COMPILER ) # pragma GCC diagnostic pop # endif + } // namespace detail + //====================== //=== SHARED HANDLEs === //====================== @@ -471,7 +473,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = NoDestructor; - using deleter = ObjectDestroyShared<Instance>; + using deleter = detail::ObjectDestroyShared<Instance>; }; using SharedInstance = SharedHandle<Instance>; @@ -481,7 +483,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = NoDestructor; - using deleter = ObjectDestroyShared<Device>; + using deleter = detail::ObjectDestroyShared<Device>; }; using SharedDevice = SharedHandle<Device>; @@ -491,7 +493,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectFreeShared<DeviceMemory>; + using deleter = detail::ObjectFreeShared<DeviceMemory>; }; using SharedDeviceMemory = SharedHandle<DeviceMemory>; @@ -501,7 +503,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Fence>; + using deleter = detail::ObjectDestroyShared<Fence>; }; using SharedFence = SharedHandle<Fence>; @@ -511,7 +513,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Semaphore>; + using deleter = detail::ObjectDestroyShared<Semaphore>; }; using SharedSemaphore = SharedHandle<Semaphore>; @@ -521,7 +523,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Event>; + using deleter = detail::ObjectDestroyShared<Event>; }; using SharedEvent = SharedHandle<Event>; @@ -531,7 +533,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<QueryPool>; + using deleter = detail::ObjectDestroyShared<QueryPool>; }; using SharedQueryPool = SharedHandle<QueryPool>; @@ -541,7 +543,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Buffer>; + using deleter = detail::ObjectDestroyShared<Buffer>; }; using SharedBuffer = SharedHandle<Buffer>; @@ -551,7 +553,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<BufferView>; + using deleter = detail::ObjectDestroyShared<BufferView>; }; using SharedBufferView = SharedHandle<BufferView>; @@ -561,7 +563,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Image>; + using deleter = detail::ObjectDestroyShared<Image>; }; using SharedImage = SharedHandle<Image>; @@ -571,7 +573,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<ImageView>; + using deleter = detail::ObjectDestroyShared<ImageView>; }; using SharedImageView = SharedHandle<ImageView>; @@ -581,7 +583,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<ShaderModule>; + using deleter = detail::ObjectDestroyShared<ShaderModule>; }; using SharedShaderModule = SharedHandle<ShaderModule>; @@ -591,7 +593,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<PipelineCache>; + using deleter = detail::ObjectDestroyShared<PipelineCache>; }; using SharedPipelineCache = SharedHandle<PipelineCache>; @@ -601,7 +603,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Pipeline>; + using deleter = detail::ObjectDestroyShared<Pipeline>; }; using SharedPipeline = SharedHandle<Pipeline>; @@ -611,7 +613,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<PipelineLayout>; + using deleter = detail::ObjectDestroyShared<PipelineLayout>; }; using SharedPipelineLayout = SharedHandle<PipelineLayout>; @@ -621,7 +623,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Sampler>; + using deleter = detail::ObjectDestroyShared<Sampler>; }; using SharedSampler = SharedHandle<Sampler>; @@ -631,7 +633,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<DescriptorPool>; + using deleter = detail::ObjectDestroyShared<DescriptorPool>; }; using SharedDescriptorPool = SharedHandle<DescriptorPool>; @@ -641,7 +643,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = PoolFreeShared<DescriptorSet, DescriptorPool>; + using deleter = detail::PoolFreeShared<DescriptorSet, DescriptorPool>; }; using SharedDescriptorSet = SharedHandle<DescriptorSet>; @@ -651,7 +653,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<DescriptorSetLayout>; + using deleter = detail::ObjectDestroyShared<DescriptorSetLayout>; }; using SharedDescriptorSetLayout = SharedHandle<DescriptorSetLayout>; @@ -661,7 +663,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<Framebuffer>; + using deleter = detail::ObjectDestroyShared<Framebuffer>; }; using SharedFramebuffer = SharedHandle<Framebuffer>; @@ -671,7 +673,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<RenderPass>; + using deleter = detail::ObjectDestroyShared<RenderPass>; }; using SharedRenderPass = SharedHandle<RenderPass>; @@ -681,7 +683,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<CommandPool>; + using deleter = detail::ObjectDestroyShared<CommandPool>; }; using SharedCommandPool = SharedHandle<CommandPool>; @@ -691,7 +693,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = PoolFreeShared<CommandBuffer, CommandPool>; + using deleter = detail::PoolFreeShared<CommandBuffer, CommandPool>; }; using SharedCommandBuffer = SharedHandle<CommandBuffer>; @@ -702,7 +704,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<SamplerYcbcrConversion>; + using deleter = detail::ObjectDestroyShared<SamplerYcbcrConversion>; }; using SharedSamplerYcbcrConversion = SharedHandle<SamplerYcbcrConversion>; @@ -713,7 +715,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<DescriptorUpdateTemplate>; + using deleter = detail::ObjectDestroyShared<DescriptorUpdateTemplate>; }; using SharedDescriptorUpdateTemplate = SharedHandle<DescriptorUpdateTemplate>; @@ -725,7 +727,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<PrivateDataSlot>; + using deleter = detail::ObjectDestroyShared<PrivateDataSlot>; }; using SharedPrivateDataSlot = SharedHandle<PrivateDataSlot>; @@ -737,7 +739,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Instance; - using deleter = ObjectDestroyShared<SurfaceKHR>; + using deleter = detail::ObjectDestroyShared<SurfaceKHR>; }; using SharedSurfaceKHR = SharedHandle<SurfaceKHR>; @@ -748,7 +750,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<SwapchainKHR>; + using deleter = detail::ObjectDestroyShared<SwapchainKHR>; }; using SharedSwapchainKHR = SharedHandle<SwapchainKHR>; @@ -759,7 +761,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = PhysicalDevice; - using deleter = ObjectDestroyShared<DisplayKHR>; + using deleter = detail::ObjectDestroyShared<DisplayKHR>; }; using SharedDisplayKHR = SharedHandle<DisplayKHR>; @@ -770,7 +772,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Instance; - using deleter = ObjectDestroyShared<DebugReportCallbackEXT>; + using deleter = detail::ObjectDestroyShared<DebugReportCallbackEXT>; }; using SharedDebugReportCallbackEXT = SharedHandle<DebugReportCallbackEXT>; @@ -781,7 +783,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<VideoSessionKHR>; + using deleter = detail::ObjectDestroyShared<VideoSessionKHR>; }; using SharedVideoSessionKHR = SharedHandle<VideoSessionKHR>; @@ -791,7 +793,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<VideoSessionParametersKHR>; + using deleter = detail::ObjectDestroyShared<VideoSessionParametersKHR>; }; using SharedVideoSessionParametersKHR = SharedHandle<VideoSessionParametersKHR>; @@ -802,7 +804,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<CuModuleNVX>; + using deleter = detail::ObjectDestroyShared<CuModuleNVX>; }; using SharedCuModuleNVX = SharedHandle<CuModuleNVX>; @@ -812,7 +814,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<CuFunctionNVX>; + using deleter = detail::ObjectDestroyShared<CuFunctionNVX>; }; using SharedCuFunctionNVX = SharedHandle<CuFunctionNVX>; @@ -823,7 +825,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Instance; - using deleter = ObjectDestroyShared<DebugUtilsMessengerEXT>; + using deleter = detail::ObjectDestroyShared<DebugUtilsMessengerEXT>; }; using SharedDebugUtilsMessengerEXT = SharedHandle<DebugUtilsMessengerEXT>; @@ -834,7 +836,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<AccelerationStructureKHR>; + using deleter = detail::ObjectDestroyShared<AccelerationStructureKHR>; }; using SharedAccelerationStructureKHR = SharedHandle<AccelerationStructureKHR>; @@ -845,7 +847,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<ValidationCacheEXT>; + using deleter = detail::ObjectDestroyShared<ValidationCacheEXT>; }; using SharedValidationCacheEXT = SharedHandle<ValidationCacheEXT>; @@ -856,7 +858,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<AccelerationStructureNV>; + using deleter = detail::ObjectDestroyShared<AccelerationStructureNV>; }; using SharedAccelerationStructureNV = SharedHandle<AccelerationStructureNV>; @@ -867,7 +869,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<PerformanceConfigurationINTEL>; + using deleter = detail::ObjectDestroyShared<PerformanceConfigurationINTEL>; }; using SharedPerformanceConfigurationINTEL = SharedHandle<PerformanceConfigurationINTEL>; @@ -878,7 +880,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<DeferredOperationKHR>; + using deleter = detail::ObjectDestroyShared<DeferredOperationKHR>; }; using SharedDeferredOperationKHR = SharedHandle<DeferredOperationKHR>; @@ -889,7 +891,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<IndirectCommandsLayoutNV>; + using deleter = detail::ObjectDestroyShared<IndirectCommandsLayoutNV>; }; using SharedIndirectCommandsLayoutNV = SharedHandle<IndirectCommandsLayoutNV>; @@ -901,7 +903,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<CudaModuleNV>; + using deleter = detail::ObjectDestroyShared<CudaModuleNV>; }; using SharedCudaModuleNV = SharedHandle<CudaModuleNV>; @@ -911,7 +913,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<CudaFunctionNV>; + using deleter = detail::ObjectDestroyShared<CudaFunctionNV>; }; using SharedCudaFunctionNV = SharedHandle<CudaFunctionNV>; @@ -924,7 +926,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<BufferCollectionFUCHSIA>; + using deleter = detail::ObjectDestroyShared<BufferCollectionFUCHSIA>; }; using SharedBufferCollectionFUCHSIA = SharedHandle<BufferCollectionFUCHSIA>; @@ -936,7 +938,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<MicromapEXT>; + using deleter = detail::ObjectDestroyShared<MicromapEXT>; }; using SharedMicromapEXT = SharedHandle<MicromapEXT>; @@ -947,7 +949,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<OpticalFlowSessionNV>; + using deleter = detail::ObjectDestroyShared<OpticalFlowSessionNV>; }; using SharedOpticalFlowSessionNV = SharedHandle<OpticalFlowSessionNV>; @@ -958,7 +960,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<ShaderEXT>; + using deleter = detail::ObjectDestroyShared<ShaderEXT>; }; using SharedShaderEXT = SharedHandle<ShaderEXT>; @@ -969,7 +971,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<PipelineBinaryKHR>; + using deleter = detail::ObjectDestroyShared<PipelineBinaryKHR>; }; using SharedPipelineBinaryKHR = SharedHandle<PipelineBinaryKHR>; @@ -980,7 +982,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<IndirectCommandsLayoutEXT>; + using deleter = detail::ObjectDestroyShared<IndirectCommandsLayoutEXT>; }; using SharedIndirectCommandsLayoutEXT = SharedHandle<IndirectCommandsLayoutEXT>; @@ -990,7 +992,7 @@ namespace VULKAN_HPP_NAMESPACE { public: using DestructorType = Device; - using deleter = ObjectDestroyShared<IndirectExecutionSetEXT>; + using deleter = detail::ObjectDestroyShared<IndirectExecutionSetEXT>; }; using SharedIndirectExecutionSetEXT = SharedHandle<IndirectExecutionSetEXT>; |