summaryrefslogtreecommitdiffhomepage
path: root/include/vulkan/vulkan_raii.hpp
diff options
context:
space:
mode:
authorJon Leech <[email protected]>2022-10-27 01:00:59 -0700
committerJon Leech <[email protected]>2022-10-27 01:02:12 -0700
commite12a8f8cde4047fb40c34bc1bf624e24c0d0c76e (patch)
tree7f14010b549cbf1f9732977487501753d5b70f8a /include/vulkan/vulkan_raii.hpp
parent98f440ce6868c94f5ec6e198cc1adda4760e8849 (diff)
downloadVulkan-Headers-e12a8f8cde4047fb40c34bc1bf624e24c0d0c76e.tar.gz
Vulkan-Headers-e12a8f8cde4047fb40c34bc1bf624e24c0d0c76e.zip
Update for Vulkan-Docs 1.3.232 and add profile JSON under registry/profiles/v1.3.232
Diffstat (limited to 'include/vulkan/vulkan_raii.hpp')
-rw-r--r--include/vulkan/vulkan_raii.hpp373
1 files changed, 370 insertions, 3 deletions
diff --git a/include/vulkan/vulkan_raii.hpp b/include/vulkan/vulkan_raii.hpp
index 80217dd..bca0fc8 100644
--- a/include/vulkan/vulkan_raii.hpp
+++ b/include/vulkan/vulkan_raii.hpp
@@ -16,12 +16,11 @@
# define VULKAN_HPP_RAII_NAMESPACE raii
#endif
+#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) && !defined( VULKAN_HPP_NO_EXCEPTIONS )
namespace VULKAN_HPP_NAMESPACE
{
namespace VULKAN_HPP_RAII_NAMESPACE
{
-#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) && !defined( VULKAN_HPP_NO_EXCEPTIONS )
-
template <class T, class U = T>
VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_INLINE T exchange( T & obj, U && newValue )
{
@@ -2592,6 +2591,13 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Instance release()
+ {
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_instance, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
{
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
@@ -2821,6 +2827,12 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::PhysicalDevice release()
+ {
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_physicalDevice, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
{
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
@@ -3282,6 +3294,13 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Device release()
+ {
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_device, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
{
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
@@ -4131,6 +4150,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::AccelerationStructureKHR release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_accelerationStructure, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -4244,6 +4271,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::AccelerationStructureNV release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_accelerationStructure, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -4364,6 +4399,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Buffer release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_buffer, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -4484,6 +4527,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_collection, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -4605,6 +4656,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::BufferView release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_bufferView, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -4717,6 +4776,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::CommandPool release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_commandPool, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -4818,6 +4885,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::CommandBuffer release()
+ {
+ m_device = nullptr;
+ m_commandPool = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_commandBuffer, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -5785,6 +5860,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::CuFunctionNVX release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_function, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -5897,6 +5980,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::CuModuleNVX release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_module, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6010,6 +6101,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT release()
+ {
+ m_instance = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_callback, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Instance getInstance() const
{
return m_instance;
@@ -6123,6 +6222,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT release()
+ {
+ m_instance = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_messenger, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Instance getInstance() const
{
return m_instance;
@@ -6234,6 +6341,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DeferredOperationKHR release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_operation, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6355,6 +6470,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DescriptorPool release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_descriptorPool, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6450,6 +6573,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DescriptorSet release()
+ {
+ m_device = nullptr;
+ m_descriptorPool = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_descriptorSet, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6610,6 +6741,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DescriptorSetLayout release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_descriptorSetLayout, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6723,6 +6862,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_descriptorUpdateTemplate, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6835,6 +6982,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DeviceMemory release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_memory, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -6977,6 +7132,13 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DisplayKHR release()
+ {
+ m_physicalDevice = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_display, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::PhysicalDevice getPhysicalDevice() const
{
return m_physicalDevice;
@@ -7139,6 +7301,13 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::DisplayModeKHR release()
+ {
+ m_physicalDevice = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_displayModeKHR, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::InstanceDispatcher const * getDispatcher() const
{
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
@@ -7248,6 +7417,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Event release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_event, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -7406,6 +7583,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Fence release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_fence, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -7522,6 +7707,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Framebuffer release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_framebuffer, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -7638,6 +7831,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Image release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_image, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -7774,6 +7975,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::ImageView release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_imageView, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -7891,6 +8100,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_indirectCommandsLayout, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -8003,6 +8220,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::MicromapEXT release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_micromap, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -8116,6 +8341,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_session, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -8222,6 +8455,13 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL release()
+ {
+ m_device = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_configuration, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -8333,6 +8573,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::PipelineCache release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_pipelineCache, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -8530,6 +8778,15 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Pipeline release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_constructorSuccessCode = VULKAN_HPP_NAMESPACE::Result::eErrorUnknown;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_pipeline, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Result getConstructorSuccessCode() const
{
return m_constructorSuccessCode;
@@ -8810,6 +9067,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::PipelineLayout release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_pipelineLayout, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -8923,6 +9188,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::PrivateDataSlot release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_privateDataSlot, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -9035,6 +9308,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::QueryPool release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_queryPool, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -9154,6 +9435,12 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Queue release()
+ {
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_queue, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::DeviceDispatcher const * getDispatcher() const
{
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION );
@@ -9317,6 +9604,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::RenderPass release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_renderPass, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -9437,6 +9732,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Sampler release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_sampler, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -9550,6 +9853,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_ycbcrConversion, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -9662,6 +9973,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::Semaphore release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_semaphore, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -9782,6 +10101,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::ShaderModule release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_shaderModule, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -10176,6 +10503,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::SurfaceKHR release()
+ {
+ m_instance = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_surface, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Instance getInstance() const
{
return m_instance;
@@ -10288,6 +10623,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::SwapchainKHR release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_swapchain, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -10478,6 +10821,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::ValidationCacheEXT release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_validationCache, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -10598,6 +10949,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::VideoSessionKHR release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_videoSession, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -10719,6 +11078,14 @@ namespace VULKAN_HPP_NAMESPACE
m_dispatcher = nullptr;
}
+ VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR release()
+ {
+ m_device = nullptr;
+ m_allocator = nullptr;
+ m_dispatcher = nullptr;
+ return VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::exchange( m_videoSessionParameters, nullptr );
+ }
+
VULKAN_HPP_NAMESPACE::Device getDevice() const
{
return m_device;
@@ -18607,7 +18974,7 @@ namespace VULKAN_HPP_NAMESPACE
return properties;
}
-#endif
} // namespace VULKAN_HPP_RAII_NAMESPACE
} // namespace VULKAN_HPP_NAMESPACE
#endif
+#endif