Lines Matching defs:handle
122 SharedHandleBase( HandleType handle, Args &&... control_args )
123 : m_control( new ReferenceCounter<HeaderType>( std::forward<Args>( control_args )... ) ), m_handle( handle )
214 static typename std::enable_if<!HasDestructor<T>::value, void>::type internalDestroy( const HeaderType & control, HandleType handle ) VULKAN_HPP_NOEXCEPT
216 control.deleter.destroy( handle );
220 static typename std::enable_if<HasDestructor<T>::value, void>::type internalDestroy( const HeaderType & control, HandleType handle ) VULKAN_HPP_NOEXCEPT
222 control.deleter.destroy( control.parent.get(), handle );
254 explicit SharedHandle( HandleType handle, SharedHandle<DestructorTypeOf<HandleType>> parent, DeleterType deleter = DeleterType() ) VULKAN_HPP_NOEXCEPT
255 : BaseType( handle, std::move( parent ), std::move( deleter ) )
260 explicit SharedHandle( HandleType handle, DeleterType deleter = DeleterType() ) VULKAN_HPP_NOEXCEPT : BaseType( handle, std::move( deleter ) )
302 typename std::enable_if<HasDestructor<T>::value, void>::type destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT
305 ( parent.*m_destroy )( handle, m_allocationCallbacks, *m_dispatch );
309 typename std::enable_if<!HasDestructor<T>::value, void>::type destroy( HandleType handle ) const VULKAN_HPP_NOEXCEPT
312 ( handle.*m_destroy )( m_allocationCallbacks, *m_dispatch );
340 void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT
343 ( parent.*m_destroy )( handle, m_allocationCallbacks, *m_dispatch );
369 void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT
372 ( parent.*m_destroy )( handle, *m_dispatch );
403 void destroy( DestructorType parent, HandleType handle ) const VULKAN_HPP_NOEXCEPT
406 ( parent.*m_destroy )( m_pool.get(), 1u, &handle, *m_dispatch );
952 explicit SharedHandle( VULKAN_HPP_NAMESPACE::Image handle,
956 : BaseType( handle, std::move( parent ), std::move( deleter ), swapchain_owned )
961 static void internalDestroy( const ImageHeader & control, VULKAN_HPP_NAMESPACE::Image handle ) VULKAN_HPP_NOEXCEPT
965 control.deleter.destroy( control.parent.get(), handle );
997 explicit SharedHandle( VULKAN_HPP_NAMESPACE::SwapchainKHR handle,
1001 : BaseType( handle, std::move( surface ), std::move( parent ), std::move( deleter ) )
1040 explicit SharedHandle( PhysicalDevice handle, SharedInstance parent ) noexcept
1041 : SharedHandleBaseNoDestroy<PhysicalDevice, SharedInstance>( handle, std::move( parent ) )
1056 explicit SharedHandle( Queue handle, SharedDevice parent ) noexcept : SharedHandleBaseNoDestroy<Queue, SharedDevice>( handle, std::move( parent ) ) {}
1071 explicit SharedHandle( DisplayModeKHR handle, SharedDisplayKHR parent ) noexcept
1072 : SharedHandleBaseNoDestroy<DisplayModeKHR, SharedDisplayKHR>( handle, std::move( parent ) )