| 1 |
// Copyright 2015-2026 The Khronos Group Inc. |
| 2 |
// |
| 3 |
// SPDX-License-Identifier: Apache-2.0 OR MIT |
| 4 |
// |
| 5 |
|
| 6 |
// This header is generated from the Khronos Vulkan XML API Registry. |
| 7 |
|
| 8 |
#ifndef VULKAN_RAII_HPP |
| 9 |
#define VULKAN_RAII_HPP |
| 10 |
|
| 11 |
#include <vulkan/vulkan.hpp> |
| 12 |
#if !defined( VULKAN_HPP_CXX_MODULE ) |
| 13 |
# include <memory> // std::unique_ptr |
| 14 |
# include <utility> // std::forward |
| 15 |
#endif |
| 16 |
|
| 17 |
#if !defined( VULKAN_HPP_DISABLE_ENHANCED_MODE ) |
| 18 |
namespace VULKAN_HPP_NAMESPACE |
| 19 |
{ |
| 20 |
namespace VULKAN_HPP_RAII_NAMESPACE |
| 21 |
{ |
| 22 |
namespace detail |
| 23 |
{ |
| 24 |
using PFN_dummy = void ( * )(); |
| 25 |
|
| 26 |
class ContextDispatcher : public ::VULKAN_HPP_NAMESPACE::detail::DispatchLoaderBase |
| 27 |
{ |
| 28 |
public: |
| 29 |
ContextDispatcher( PFN_vkGetInstanceProcAddr getProcAddr ) |
| 30 |
: vkGetInstanceProcAddr( getProcAddr ) |
| 31 |
//=== VK_VERSION_1_0 === |
| 32 |
, vkCreateInstance( PFN_vkCreateInstance( getProcAddr( NULL, "vkCreateInstance" ) ) ) |
| 33 |
, vkEnumerateInstanceExtensionProperties( |
| 34 |
PFN_vkEnumerateInstanceExtensionProperties( getProcAddr( NULL, "vkEnumerateInstanceExtensionProperties" ) ) ) |
| 35 |
, vkEnumerateInstanceLayerProperties( PFN_vkEnumerateInstanceLayerProperties( getProcAddr( NULL, "vkEnumerateInstanceLayerProperties" ) ) ) |
| 36 |
//=== VK_VERSION_1_1 === |
| 37 |
, vkEnumerateInstanceVersion( PFN_vkEnumerateInstanceVersion( getProcAddr( NULL, "vkEnumerateInstanceVersion" ) ) ) |
| 38 |
{ |
| 39 |
} |
| 40 |
|
| 41 |
public: |
| 42 |
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = 0; |
| 43 |
|
| 44 |
//=== VK_VERSION_1_0 === |
| 45 |
PFN_vkCreateInstance vkCreateInstance = 0; |
| 46 |
PFN_vkEnumerateInstanceExtensionProperties vkEnumerateInstanceExtensionProperties = 0; |
| 47 |
PFN_vkEnumerateInstanceLayerProperties vkEnumerateInstanceLayerProperties = 0; |
| 48 |
|
| 49 |
//=== VK_VERSION_1_1 === |
| 50 |
PFN_vkEnumerateInstanceVersion vkEnumerateInstanceVersion = 0; |
| 51 |
}; |
| 52 |
|
| 53 |
class InstanceDispatcher : public ::VULKAN_HPP_NAMESPACE::detail::DispatchLoaderBase |
| 54 |
{ |
| 55 |
public: |
| 56 |
InstanceDispatcher( PFN_vkGetInstanceProcAddr getProcAddr, VkInstance instance ) : vkGetInstanceProcAddr( getProcAddr ) |
| 57 |
{ |
| 58 |
//=== VK_VERSION_1_0 === |
| 59 |
vkDestroyInstance = PFN_vkDestroyInstance( vkGetInstanceProcAddr( instance, "vkDestroyInstance" ) ); |
| 60 |
vkEnumeratePhysicalDevices = PFN_vkEnumeratePhysicalDevices( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDevices" ) ); |
| 61 |
vkGetPhysicalDeviceFeatures = PFN_vkGetPhysicalDeviceFeatures( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures" ) ); |
| 62 |
vkGetPhysicalDeviceFormatProperties = |
| 63 |
PFN_vkGetPhysicalDeviceFormatProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties" ) ); |
| 64 |
vkGetPhysicalDeviceImageFormatProperties = |
| 65 |
PFN_vkGetPhysicalDeviceImageFormatProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties" ) ); |
| 66 |
vkGetPhysicalDeviceProperties = PFN_vkGetPhysicalDeviceProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties" ) ); |
| 67 |
vkGetPhysicalDeviceQueueFamilyProperties = |
| 68 |
PFN_vkGetPhysicalDeviceQueueFamilyProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties" ) ); |
| 69 |
vkGetPhysicalDeviceMemoryProperties = |
| 70 |
PFN_vkGetPhysicalDeviceMemoryProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties" ) ); |
| 71 |
vkCreateDevice = PFN_vkCreateDevice( vkGetInstanceProcAddr( instance, "vkCreateDevice" ) ); |
| 72 |
vkEnumerateDeviceExtensionProperties = |
| 73 |
PFN_vkEnumerateDeviceExtensionProperties( vkGetInstanceProcAddr( instance, "vkEnumerateDeviceExtensionProperties" ) ); |
| 74 |
vkEnumerateDeviceLayerProperties = PFN_vkEnumerateDeviceLayerProperties( vkGetInstanceProcAddr( instance, "vkEnumerateDeviceLayerProperties" ) ); |
| 75 |
vkGetPhysicalDeviceSparseImageFormatProperties = |
| 76 |
PFN_vkGetPhysicalDeviceSparseImageFormatProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties" ) ); |
| 77 |
|
| 78 |
//=== VK_VERSION_1_1 === |
| 79 |
vkEnumeratePhysicalDeviceGroups = PFN_vkEnumeratePhysicalDeviceGroups( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceGroups" ) ); |
| 80 |
vkGetPhysicalDeviceFeatures2 = PFN_vkGetPhysicalDeviceFeatures2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures2" ) ); |
| 81 |
vkGetPhysicalDeviceProperties2 = PFN_vkGetPhysicalDeviceProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties2" ) ); |
| 82 |
vkGetPhysicalDeviceFormatProperties2 = |
| 83 |
PFN_vkGetPhysicalDeviceFormatProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties2" ) ); |
| 84 |
vkGetPhysicalDeviceImageFormatProperties2 = |
| 85 |
PFN_vkGetPhysicalDeviceImageFormatProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties2" ) ); |
| 86 |
vkGetPhysicalDeviceQueueFamilyProperties2 = |
| 87 |
PFN_vkGetPhysicalDeviceQueueFamilyProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties2" ) ); |
| 88 |
vkGetPhysicalDeviceMemoryProperties2 = |
| 89 |
PFN_vkGetPhysicalDeviceMemoryProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties2" ) ); |
| 90 |
vkGetPhysicalDeviceSparseImageFormatProperties2 = |
| 91 |
PFN_vkGetPhysicalDeviceSparseImageFormatProperties2( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties2" ) ); |
| 92 |
vkGetPhysicalDeviceExternalBufferProperties = |
| 93 |
PFN_vkGetPhysicalDeviceExternalBufferProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalBufferProperties" ) ); |
| 94 |
vkGetPhysicalDeviceExternalFenceProperties = |
| 95 |
PFN_vkGetPhysicalDeviceExternalFenceProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalFenceProperties" ) ); |
| 96 |
vkGetPhysicalDeviceExternalSemaphoreProperties = |
| 97 |
PFN_vkGetPhysicalDeviceExternalSemaphoreProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalSemaphoreProperties" ) ); |
| 98 |
|
| 99 |
//=== VK_VERSION_1_3 === |
| 100 |
vkGetPhysicalDeviceToolProperties = PFN_vkGetPhysicalDeviceToolProperties( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceToolProperties" ) ); |
| 101 |
|
| 102 |
//=== VK_KHR_surface === |
| 103 |
vkDestroySurfaceKHR = PFN_vkDestroySurfaceKHR( vkGetInstanceProcAddr( instance, "vkDestroySurfaceKHR" ) ); |
| 104 |
vkGetPhysicalDeviceSurfaceSupportKHR = |
| 105 |
PFN_vkGetPhysicalDeviceSurfaceSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceSupportKHR" ) ); |
| 106 |
vkGetPhysicalDeviceSurfaceCapabilitiesKHR = |
| 107 |
PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR" ) ); |
| 108 |
vkGetPhysicalDeviceSurfaceFormatsKHR = |
| 109 |
PFN_vkGetPhysicalDeviceSurfaceFormatsKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceFormatsKHR" ) ); |
| 110 |
vkGetPhysicalDeviceSurfacePresentModesKHR = |
| 111 |
PFN_vkGetPhysicalDeviceSurfacePresentModesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfacePresentModesKHR" ) ); |
| 112 |
|
| 113 |
//=== VK_KHR_swapchain === |
| 114 |
vkGetPhysicalDevicePresentRectanglesKHR = |
| 115 |
PFN_vkGetPhysicalDevicePresentRectanglesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDevicePresentRectanglesKHR" ) ); |
| 116 |
|
| 117 |
//=== VK_KHR_display === |
| 118 |
vkGetPhysicalDeviceDisplayPropertiesKHR = |
| 119 |
PFN_vkGetPhysicalDeviceDisplayPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPropertiesKHR" ) ); |
| 120 |
vkGetPhysicalDeviceDisplayPlanePropertiesKHR = |
| 121 |
PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPlanePropertiesKHR" ) ); |
| 122 |
vkGetDisplayPlaneSupportedDisplaysKHR = |
| 123 |
PFN_vkGetDisplayPlaneSupportedDisplaysKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneSupportedDisplaysKHR" ) ); |
| 124 |
vkGetDisplayModePropertiesKHR = PFN_vkGetDisplayModePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayModePropertiesKHR" ) ); |
| 125 |
vkCreateDisplayModeKHR = PFN_vkCreateDisplayModeKHR( vkGetInstanceProcAddr( instance, "vkCreateDisplayModeKHR" ) ); |
| 126 |
vkGetDisplayPlaneCapabilitiesKHR = PFN_vkGetDisplayPlaneCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneCapabilitiesKHR" ) ); |
| 127 |
vkCreateDisplayPlaneSurfaceKHR = PFN_vkCreateDisplayPlaneSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateDisplayPlaneSurfaceKHR" ) ); |
| 128 |
|
| 129 |
# if defined( VK_USE_PLATFORM_XLIB_KHR ) |
| 130 |
//=== VK_KHR_xlib_surface === |
| 131 |
vkCreateXlibSurfaceKHR = PFN_vkCreateXlibSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateXlibSurfaceKHR" ) ); |
| 132 |
vkGetPhysicalDeviceXlibPresentationSupportKHR = |
| 133 |
PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceXlibPresentationSupportKHR" ) ); |
| 134 |
# endif /*VK_USE_PLATFORM_XLIB_KHR*/ |
| 135 |
|
| 136 |
# if defined( VK_USE_PLATFORM_XCB_KHR ) |
| 137 |
//=== VK_KHR_xcb_surface === |
| 138 |
vkCreateXcbSurfaceKHR = PFN_vkCreateXcbSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateXcbSurfaceKHR" ) ); |
| 139 |
vkGetPhysicalDeviceXcbPresentationSupportKHR = |
| 140 |
PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceXcbPresentationSupportKHR" ) ); |
| 141 |
# endif /*VK_USE_PLATFORM_XCB_KHR*/ |
| 142 |
|
| 143 |
# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) |
| 144 |
//=== VK_KHR_wayland_surface === |
| 145 |
vkCreateWaylandSurfaceKHR = PFN_vkCreateWaylandSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateWaylandSurfaceKHR" ) ); |
| 146 |
vkGetPhysicalDeviceWaylandPresentationSupportKHR = |
| 147 |
PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceWaylandPresentationSupportKHR" ) ); |
| 148 |
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ |
| 149 |
|
| 150 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 151 |
//=== VK_KHR_android_surface === |
| 152 |
vkCreateAndroidSurfaceKHR = PFN_vkCreateAndroidSurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateAndroidSurfaceKHR" ) ); |
| 153 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 154 |
|
| 155 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 156 |
//=== VK_KHR_win32_surface === |
| 157 |
vkCreateWin32SurfaceKHR = PFN_vkCreateWin32SurfaceKHR( vkGetInstanceProcAddr( instance, "vkCreateWin32SurfaceKHR" ) ); |
| 158 |
vkGetPhysicalDeviceWin32PresentationSupportKHR = |
| 159 |
PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceWin32PresentationSupportKHR" ) ); |
| 160 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 161 |
|
| 162 |
//=== VK_EXT_debug_report === |
| 163 |
vkCreateDebugReportCallbackEXT = PFN_vkCreateDebugReportCallbackEXT( vkGetInstanceProcAddr( instance, "vkCreateDebugReportCallbackEXT" ) ); |
| 164 |
vkDestroyDebugReportCallbackEXT = PFN_vkDestroyDebugReportCallbackEXT( vkGetInstanceProcAddr( instance, "vkDestroyDebugReportCallbackEXT" ) ); |
| 165 |
vkDebugReportMessageEXT = PFN_vkDebugReportMessageEXT( vkGetInstanceProcAddr( instance, "vkDebugReportMessageEXT" ) ); |
| 166 |
|
| 167 |
//=== VK_KHR_video_queue === |
| 168 |
vkGetPhysicalDeviceVideoCapabilitiesKHR = |
| 169 |
PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceVideoCapabilitiesKHR" ) ); |
| 170 |
vkGetPhysicalDeviceVideoFormatPropertiesKHR = |
| 171 |
PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceVideoFormatPropertiesKHR" ) ); |
| 172 |
|
| 173 |
# if defined( VK_USE_PLATFORM_GGP ) |
| 174 |
//=== VK_GGP_stream_descriptor_surface === |
| 175 |
vkCreateStreamDescriptorSurfaceGGP = |
| 176 |
PFN_vkCreateStreamDescriptorSurfaceGGP( vkGetInstanceProcAddr( instance, "vkCreateStreamDescriptorSurfaceGGP" ) ); |
| 177 |
# endif /*VK_USE_PLATFORM_GGP*/ |
| 178 |
|
| 179 |
//=== VK_NV_external_memory_capabilities === |
| 180 |
vkGetPhysicalDeviceExternalImageFormatPropertiesNV = |
| 181 |
PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalImageFormatPropertiesNV" ) ); |
| 182 |
|
| 183 |
//=== VK_KHR_get_physical_device_properties2 === |
| 184 |
vkGetPhysicalDeviceFeatures2KHR = PFN_vkGetPhysicalDeviceFeatures2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFeatures2KHR" ) ); |
| 185 |
if ( !vkGetPhysicalDeviceFeatures2 ) |
| 186 |
vkGetPhysicalDeviceFeatures2 = vkGetPhysicalDeviceFeatures2KHR; |
| 187 |
vkGetPhysicalDeviceProperties2KHR = PFN_vkGetPhysicalDeviceProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceProperties2KHR" ) ); |
| 188 |
if ( !vkGetPhysicalDeviceProperties2 ) |
| 189 |
vkGetPhysicalDeviceProperties2 = vkGetPhysicalDeviceProperties2KHR; |
| 190 |
vkGetPhysicalDeviceFormatProperties2KHR = |
| 191 |
PFN_vkGetPhysicalDeviceFormatProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFormatProperties2KHR" ) ); |
| 192 |
if ( !vkGetPhysicalDeviceFormatProperties2 ) |
| 193 |
vkGetPhysicalDeviceFormatProperties2 = vkGetPhysicalDeviceFormatProperties2KHR; |
| 194 |
vkGetPhysicalDeviceImageFormatProperties2KHR = |
| 195 |
PFN_vkGetPhysicalDeviceImageFormatProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceImageFormatProperties2KHR" ) ); |
| 196 |
if ( !vkGetPhysicalDeviceImageFormatProperties2 ) |
| 197 |
vkGetPhysicalDeviceImageFormatProperties2 = vkGetPhysicalDeviceImageFormatProperties2KHR; |
| 198 |
vkGetPhysicalDeviceQueueFamilyProperties2KHR = |
| 199 |
PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyProperties2KHR" ) ); |
| 200 |
if ( !vkGetPhysicalDeviceQueueFamilyProperties2 ) |
| 201 |
vkGetPhysicalDeviceQueueFamilyProperties2 = vkGetPhysicalDeviceQueueFamilyProperties2KHR; |
| 202 |
vkGetPhysicalDeviceMemoryProperties2KHR = |
| 203 |
PFN_vkGetPhysicalDeviceMemoryProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMemoryProperties2KHR" ) ); |
| 204 |
if ( !vkGetPhysicalDeviceMemoryProperties2 ) |
| 205 |
vkGetPhysicalDeviceMemoryProperties2 = vkGetPhysicalDeviceMemoryProperties2KHR; |
| 206 |
vkGetPhysicalDeviceSparseImageFormatProperties2KHR = |
| 207 |
PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSparseImageFormatProperties2KHR" ) ); |
| 208 |
if ( !vkGetPhysicalDeviceSparseImageFormatProperties2 ) |
| 209 |
vkGetPhysicalDeviceSparseImageFormatProperties2 = vkGetPhysicalDeviceSparseImageFormatProperties2KHR; |
| 210 |
|
| 211 |
# if defined( VK_USE_PLATFORM_VI_NN ) |
| 212 |
//=== VK_NN_vi_surface === |
| 213 |
vkCreateViSurfaceNN = PFN_vkCreateViSurfaceNN( vkGetInstanceProcAddr( instance, "vkCreateViSurfaceNN" ) ); |
| 214 |
# endif /*VK_USE_PLATFORM_VI_NN*/ |
| 215 |
|
| 216 |
//=== VK_KHR_device_group_creation === |
| 217 |
vkEnumeratePhysicalDeviceGroupsKHR = |
| 218 |
PFN_vkEnumeratePhysicalDeviceGroupsKHR( vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceGroupsKHR" ) ); |
| 219 |
if ( !vkEnumeratePhysicalDeviceGroups ) |
| 220 |
vkEnumeratePhysicalDeviceGroups = vkEnumeratePhysicalDeviceGroupsKHR; |
| 221 |
|
| 222 |
//=== VK_KHR_external_memory_capabilities === |
| 223 |
vkGetPhysicalDeviceExternalBufferPropertiesKHR = |
| 224 |
PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalBufferPropertiesKHR" ) ); |
| 225 |
if ( !vkGetPhysicalDeviceExternalBufferProperties ) |
| 226 |
vkGetPhysicalDeviceExternalBufferProperties = vkGetPhysicalDeviceExternalBufferPropertiesKHR; |
| 227 |
|
| 228 |
//=== VK_KHR_external_semaphore_capabilities === |
| 229 |
vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = |
| 230 |
PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalSemaphorePropertiesKHR" ) ); |
| 231 |
if ( !vkGetPhysicalDeviceExternalSemaphoreProperties ) |
| 232 |
vkGetPhysicalDeviceExternalSemaphoreProperties = vkGetPhysicalDeviceExternalSemaphorePropertiesKHR; |
| 233 |
|
| 234 |
//=== VK_EXT_direct_mode_display === |
| 235 |
vkReleaseDisplayEXT = PFN_vkReleaseDisplayEXT( vkGetInstanceProcAddr( instance, "vkReleaseDisplayEXT" ) ); |
| 236 |
|
| 237 |
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) |
| 238 |
//=== VK_EXT_acquire_xlib_display === |
| 239 |
vkAcquireXlibDisplayEXT = PFN_vkAcquireXlibDisplayEXT( vkGetInstanceProcAddr( instance, "vkAcquireXlibDisplayEXT" ) ); |
| 240 |
vkGetRandROutputDisplayEXT = PFN_vkGetRandROutputDisplayEXT( vkGetInstanceProcAddr( instance, "vkGetRandROutputDisplayEXT" ) ); |
| 241 |
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ |
| 242 |
|
| 243 |
//=== VK_EXT_display_surface_counter === |
| 244 |
vkGetPhysicalDeviceSurfaceCapabilities2EXT = |
| 245 |
PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilities2EXT" ) ); |
| 246 |
|
| 247 |
//=== VK_KHR_external_fence_capabilities === |
| 248 |
vkGetPhysicalDeviceExternalFencePropertiesKHR = |
| 249 |
PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalFencePropertiesKHR" ) ); |
| 250 |
if ( !vkGetPhysicalDeviceExternalFenceProperties ) |
| 251 |
vkGetPhysicalDeviceExternalFenceProperties = vkGetPhysicalDeviceExternalFencePropertiesKHR; |
| 252 |
|
| 253 |
//=== VK_KHR_performance_query === |
| 254 |
vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( |
| 255 |
vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR" ) ); |
| 256 |
vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( |
| 257 |
vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR" ) ); |
| 258 |
|
| 259 |
//=== VK_KHR_get_surface_capabilities2 === |
| 260 |
vkGetPhysicalDeviceSurfaceCapabilities2KHR = |
| 261 |
PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceCapabilities2KHR" ) ); |
| 262 |
vkGetPhysicalDeviceSurfaceFormats2KHR = |
| 263 |
PFN_vkGetPhysicalDeviceSurfaceFormats2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfaceFormats2KHR" ) ); |
| 264 |
|
| 265 |
//=== VK_KHR_get_display_properties2 === |
| 266 |
vkGetPhysicalDeviceDisplayProperties2KHR = |
| 267 |
PFN_vkGetPhysicalDeviceDisplayProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayProperties2KHR" ) ); |
| 268 |
vkGetPhysicalDeviceDisplayPlaneProperties2KHR = |
| 269 |
PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDisplayPlaneProperties2KHR" ) ); |
| 270 |
vkGetDisplayModeProperties2KHR = PFN_vkGetDisplayModeProperties2KHR( vkGetInstanceProcAddr( instance, "vkGetDisplayModeProperties2KHR" ) ); |
| 271 |
vkGetDisplayPlaneCapabilities2KHR = PFN_vkGetDisplayPlaneCapabilities2KHR( vkGetInstanceProcAddr( instance, "vkGetDisplayPlaneCapabilities2KHR" ) ); |
| 272 |
|
| 273 |
# if defined( VK_USE_PLATFORM_IOS_MVK ) |
| 274 |
//=== VK_MVK_ios_surface === |
| 275 |
vkCreateIOSSurfaceMVK = PFN_vkCreateIOSSurfaceMVK( vkGetInstanceProcAddr( instance, "vkCreateIOSSurfaceMVK" ) ); |
| 276 |
# endif /*VK_USE_PLATFORM_IOS_MVK*/ |
| 277 |
|
| 278 |
# if defined( VK_USE_PLATFORM_MACOS_MVK ) |
| 279 |
//=== VK_MVK_macos_surface === |
| 280 |
vkCreateMacOSSurfaceMVK = PFN_vkCreateMacOSSurfaceMVK( vkGetInstanceProcAddr( instance, "vkCreateMacOSSurfaceMVK" ) ); |
| 281 |
# endif /*VK_USE_PLATFORM_MACOS_MVK*/ |
| 282 |
|
| 283 |
//=== VK_EXT_debug_utils === |
| 284 |
vkCreateDebugUtilsMessengerEXT = PFN_vkCreateDebugUtilsMessengerEXT( vkGetInstanceProcAddr( instance, "vkCreateDebugUtilsMessengerEXT" ) ); |
| 285 |
vkDestroyDebugUtilsMessengerEXT = PFN_vkDestroyDebugUtilsMessengerEXT( vkGetInstanceProcAddr( instance, "vkDestroyDebugUtilsMessengerEXT" ) ); |
| 286 |
vkSubmitDebugUtilsMessageEXT = PFN_vkSubmitDebugUtilsMessageEXT( vkGetInstanceProcAddr( instance, "vkSubmitDebugUtilsMessageEXT" ) ); |
| 287 |
|
| 288 |
//=== VK_EXT_descriptor_heap === |
| 289 |
vkGetPhysicalDeviceDescriptorSizeEXT = |
| 290 |
PFN_vkGetPhysicalDeviceDescriptorSizeEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDescriptorSizeEXT" ) ); |
| 291 |
|
| 292 |
//=== VK_EXT_sample_locations === |
| 293 |
vkGetPhysicalDeviceMultisamplePropertiesEXT = |
| 294 |
PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceMultisamplePropertiesEXT" ) ); |
| 295 |
|
| 296 |
//=== VK_EXT_calibrated_timestamps === |
| 297 |
vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = |
| 298 |
PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsEXT" ) ); |
| 299 |
if ( !vkGetPhysicalDeviceCalibrateableTimeDomainsKHR ) |
| 300 |
vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = vkGetPhysicalDeviceCalibrateableTimeDomainsEXT; |
| 301 |
|
| 302 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 303 |
//=== VK_FUCHSIA_imagepipe_surface === |
| 304 |
vkCreateImagePipeSurfaceFUCHSIA = PFN_vkCreateImagePipeSurfaceFUCHSIA( vkGetInstanceProcAddr( instance, "vkCreateImagePipeSurfaceFUCHSIA" ) ); |
| 305 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 306 |
|
| 307 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 308 |
//=== VK_EXT_metal_surface === |
| 309 |
vkCreateMetalSurfaceEXT = PFN_vkCreateMetalSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateMetalSurfaceEXT" ) ); |
| 310 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 311 |
|
| 312 |
//=== VK_KHR_fragment_shading_rate === |
| 313 |
vkGetPhysicalDeviceFragmentShadingRatesKHR = |
| 314 |
PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceFragmentShadingRatesKHR" ) ); |
| 315 |
|
| 316 |
//=== VK_EXT_tooling_info === |
| 317 |
vkGetPhysicalDeviceToolPropertiesEXT = |
| 318 |
PFN_vkGetPhysicalDeviceToolPropertiesEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceToolPropertiesEXT" ) ); |
| 319 |
if ( !vkGetPhysicalDeviceToolProperties ) |
| 320 |
vkGetPhysicalDeviceToolProperties = vkGetPhysicalDeviceToolPropertiesEXT; |
| 321 |
|
| 322 |
//=== VK_NV_cooperative_matrix === |
| 323 |
vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = |
| 324 |
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesNV" ) ); |
| 325 |
|
| 326 |
//=== VK_NV_coverage_reduction_mode === |
| 327 |
vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( |
| 328 |
vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV" ) ); |
| 329 |
|
| 330 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 331 |
//=== VK_EXT_full_screen_exclusive === |
| 332 |
vkGetPhysicalDeviceSurfacePresentModes2EXT = |
| 333 |
PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceSurfacePresentModes2EXT" ) ); |
| 334 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 335 |
|
| 336 |
//=== VK_EXT_headless_surface === |
| 337 |
vkCreateHeadlessSurfaceEXT = PFN_vkCreateHeadlessSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateHeadlessSurfaceEXT" ) ); |
| 338 |
|
| 339 |
//=== VK_EXT_acquire_drm_display === |
| 340 |
vkAcquireDrmDisplayEXT = PFN_vkAcquireDrmDisplayEXT( vkGetInstanceProcAddr( instance, "vkAcquireDrmDisplayEXT" ) ); |
| 341 |
vkGetDrmDisplayEXT = PFN_vkGetDrmDisplayEXT( vkGetInstanceProcAddr( instance, "vkGetDrmDisplayEXT" ) ); |
| 342 |
|
| 343 |
//=== VK_KHR_video_encode_queue === |
| 344 |
vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR = PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( |
| 345 |
vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR" ) ); |
| 346 |
|
| 347 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 348 |
//=== VK_NV_acquire_winrt_display === |
| 349 |
vkAcquireWinrtDisplayNV = PFN_vkAcquireWinrtDisplayNV( vkGetInstanceProcAddr( instance, "vkAcquireWinrtDisplayNV" ) ); |
| 350 |
vkGetWinrtDisplayNV = PFN_vkGetWinrtDisplayNV( vkGetInstanceProcAddr( instance, "vkGetWinrtDisplayNV" ) ); |
| 351 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 352 |
|
| 353 |
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) |
| 354 |
//=== VK_EXT_directfb_surface === |
| 355 |
vkCreateDirectFBSurfaceEXT = PFN_vkCreateDirectFBSurfaceEXT( vkGetInstanceProcAddr( instance, "vkCreateDirectFBSurfaceEXT" ) ); |
| 356 |
vkGetPhysicalDeviceDirectFBPresentationSupportEXT = |
| 357 |
PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceDirectFBPresentationSupportEXT" ) ); |
| 358 |
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ |
| 359 |
|
| 360 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 361 |
//=== VK_QNX_screen_surface === |
| 362 |
vkCreateScreenSurfaceQNX = PFN_vkCreateScreenSurfaceQNX( vkGetInstanceProcAddr( instance, "vkCreateScreenSurfaceQNX" ) ); |
| 363 |
vkGetPhysicalDeviceScreenPresentationSupportQNX = |
| 364 |
PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceScreenPresentationSupportQNX" ) ); |
| 365 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 366 |
|
| 367 |
//=== VK_ARM_tensors === |
| 368 |
vkGetPhysicalDeviceExternalTensorPropertiesARM = |
| 369 |
PFN_vkGetPhysicalDeviceExternalTensorPropertiesARM( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceExternalTensorPropertiesARM" ) ); |
| 370 |
|
| 371 |
//=== VK_NV_optical_flow === |
| 372 |
vkGetPhysicalDeviceOpticalFlowImageFormatsNV = |
| 373 |
PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceOpticalFlowImageFormatsNV" ) ); |
| 374 |
|
| 375 |
//=== VK_NV_cooperative_vector === |
| 376 |
vkGetPhysicalDeviceCooperativeVectorPropertiesNV = |
| 377 |
PFN_vkGetPhysicalDeviceCooperativeVectorPropertiesNV( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeVectorPropertiesNV" ) ); |
| 378 |
|
| 379 |
//=== VK_KHR_cooperative_matrix === |
| 380 |
vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR = |
| 381 |
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR" ) ); |
| 382 |
|
| 383 |
//=== VK_ARM_data_graph === |
| 384 |
vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM = PFN_vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( |
| 385 |
vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM" ) ); |
| 386 |
vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM = PFN_vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( |
| 387 |
vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM" ) ); |
| 388 |
|
| 389 |
//=== VK_KHR_calibrated_timestamps === |
| 390 |
vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = |
| 391 |
PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCalibrateableTimeDomainsKHR" ) ); |
| 392 |
|
| 393 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 394 |
//=== VK_OHOS_surface === |
| 395 |
vkCreateSurfaceOHOS = PFN_vkCreateSurfaceOHOS( vkGetInstanceProcAddr( instance, "vkCreateSurfaceOHOS" ) ); |
| 396 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 397 |
|
| 398 |
//=== VK_NV_cooperative_matrix2 === |
| 399 |
vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV = PFN_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( |
| 400 |
vkGetInstanceProcAddr( instance, "vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV" ) ); |
| 401 |
|
| 402 |
//=== VK_ARM_performance_counters_by_region === |
| 403 |
vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM = PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( |
| 404 |
vkGetInstanceProcAddr( instance, "vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM" ) ); |
| 405 |
|
| 406 |
vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetInstanceProcAddr( instance, "vkGetDeviceProcAddr" ) ); |
| 407 |
} |
| 408 |
|
| 409 |
public: |
| 410 |
//=== VK_VERSION_1_0 === |
| 411 |
PFN_vkDestroyInstance vkDestroyInstance = 0; |
| 412 |
PFN_vkEnumeratePhysicalDevices vkEnumeratePhysicalDevices = 0; |
| 413 |
PFN_vkGetPhysicalDeviceFeatures vkGetPhysicalDeviceFeatures = 0; |
| 414 |
PFN_vkGetPhysicalDeviceFormatProperties vkGetPhysicalDeviceFormatProperties = 0; |
| 415 |
PFN_vkGetPhysicalDeviceImageFormatProperties vkGetPhysicalDeviceImageFormatProperties = 0; |
| 416 |
PFN_vkGetPhysicalDeviceProperties vkGetPhysicalDeviceProperties = 0; |
| 417 |
PFN_vkGetPhysicalDeviceQueueFamilyProperties vkGetPhysicalDeviceQueueFamilyProperties = 0; |
| 418 |
PFN_vkGetPhysicalDeviceMemoryProperties vkGetPhysicalDeviceMemoryProperties = 0; |
| 419 |
PFN_vkGetInstanceProcAddr vkGetInstanceProcAddr = 0; |
| 420 |
PFN_vkCreateDevice vkCreateDevice = 0; |
| 421 |
PFN_vkEnumerateDeviceExtensionProperties vkEnumerateDeviceExtensionProperties = 0; |
| 422 |
PFN_vkEnumerateDeviceLayerProperties vkEnumerateDeviceLayerProperties = 0; |
| 423 |
PFN_vkGetPhysicalDeviceSparseImageFormatProperties vkGetPhysicalDeviceSparseImageFormatProperties = 0; |
| 424 |
|
| 425 |
//=== VK_VERSION_1_1 === |
| 426 |
PFN_vkEnumeratePhysicalDeviceGroups vkEnumeratePhysicalDeviceGroups = 0; |
| 427 |
PFN_vkGetPhysicalDeviceFeatures2 vkGetPhysicalDeviceFeatures2 = 0; |
| 428 |
PFN_vkGetPhysicalDeviceProperties2 vkGetPhysicalDeviceProperties2 = 0; |
| 429 |
PFN_vkGetPhysicalDeviceFormatProperties2 vkGetPhysicalDeviceFormatProperties2 = 0; |
| 430 |
PFN_vkGetPhysicalDeviceImageFormatProperties2 vkGetPhysicalDeviceImageFormatProperties2 = 0; |
| 431 |
PFN_vkGetPhysicalDeviceQueueFamilyProperties2 vkGetPhysicalDeviceQueueFamilyProperties2 = 0; |
| 432 |
PFN_vkGetPhysicalDeviceMemoryProperties2 vkGetPhysicalDeviceMemoryProperties2 = 0; |
| 433 |
PFN_vkGetPhysicalDeviceSparseImageFormatProperties2 vkGetPhysicalDeviceSparseImageFormatProperties2 = 0; |
| 434 |
PFN_vkGetPhysicalDeviceExternalBufferProperties vkGetPhysicalDeviceExternalBufferProperties = 0; |
| 435 |
PFN_vkGetPhysicalDeviceExternalFenceProperties vkGetPhysicalDeviceExternalFenceProperties = 0; |
| 436 |
PFN_vkGetPhysicalDeviceExternalSemaphoreProperties vkGetPhysicalDeviceExternalSemaphoreProperties = 0; |
| 437 |
|
| 438 |
//=== VK_VERSION_1_3 === |
| 439 |
PFN_vkGetPhysicalDeviceToolProperties vkGetPhysicalDeviceToolProperties = 0; |
| 440 |
|
| 441 |
//=== VK_KHR_surface === |
| 442 |
PFN_vkDestroySurfaceKHR vkDestroySurfaceKHR = 0; |
| 443 |
PFN_vkGetPhysicalDeviceSurfaceSupportKHR vkGetPhysicalDeviceSurfaceSupportKHR = 0; |
| 444 |
PFN_vkGetPhysicalDeviceSurfaceCapabilitiesKHR vkGetPhysicalDeviceSurfaceCapabilitiesKHR = 0; |
| 445 |
PFN_vkGetPhysicalDeviceSurfaceFormatsKHR vkGetPhysicalDeviceSurfaceFormatsKHR = 0; |
| 446 |
PFN_vkGetPhysicalDeviceSurfacePresentModesKHR vkGetPhysicalDeviceSurfacePresentModesKHR = 0; |
| 447 |
|
| 448 |
//=== VK_KHR_swapchain === |
| 449 |
PFN_vkGetPhysicalDevicePresentRectanglesKHR vkGetPhysicalDevicePresentRectanglesKHR = 0; |
| 450 |
|
| 451 |
//=== VK_KHR_display === |
| 452 |
PFN_vkGetPhysicalDeviceDisplayPropertiesKHR vkGetPhysicalDeviceDisplayPropertiesKHR = 0; |
| 453 |
PFN_vkGetPhysicalDeviceDisplayPlanePropertiesKHR vkGetPhysicalDeviceDisplayPlanePropertiesKHR = 0; |
| 454 |
PFN_vkGetDisplayPlaneSupportedDisplaysKHR vkGetDisplayPlaneSupportedDisplaysKHR = 0; |
| 455 |
PFN_vkGetDisplayModePropertiesKHR vkGetDisplayModePropertiesKHR = 0; |
| 456 |
PFN_vkCreateDisplayModeKHR vkCreateDisplayModeKHR = 0; |
| 457 |
PFN_vkGetDisplayPlaneCapabilitiesKHR vkGetDisplayPlaneCapabilitiesKHR = 0; |
| 458 |
PFN_vkCreateDisplayPlaneSurfaceKHR vkCreateDisplayPlaneSurfaceKHR = 0; |
| 459 |
|
| 460 |
# if defined( VK_USE_PLATFORM_XLIB_KHR ) |
| 461 |
//=== VK_KHR_xlib_surface === |
| 462 |
PFN_vkCreateXlibSurfaceKHR vkCreateXlibSurfaceKHR = 0; |
| 463 |
PFN_vkGetPhysicalDeviceXlibPresentationSupportKHR vkGetPhysicalDeviceXlibPresentationSupportKHR = 0; |
| 464 |
# else |
| 465 |
PFN_dummy vkCreateXlibSurfaceKHR_placeholder = 0; |
| 466 |
PFN_dummy vkGetPhysicalDeviceXlibPresentationSupportKHR_placeholder = 0; |
| 467 |
# endif /*VK_USE_PLATFORM_XLIB_KHR*/ |
| 468 |
|
| 469 |
# if defined( VK_USE_PLATFORM_XCB_KHR ) |
| 470 |
//=== VK_KHR_xcb_surface === |
| 471 |
PFN_vkCreateXcbSurfaceKHR vkCreateXcbSurfaceKHR = 0; |
| 472 |
PFN_vkGetPhysicalDeviceXcbPresentationSupportKHR vkGetPhysicalDeviceXcbPresentationSupportKHR = 0; |
| 473 |
# else |
| 474 |
PFN_dummy vkCreateXcbSurfaceKHR_placeholder = 0; |
| 475 |
PFN_dummy vkGetPhysicalDeviceXcbPresentationSupportKHR_placeholder = 0; |
| 476 |
# endif /*VK_USE_PLATFORM_XCB_KHR*/ |
| 477 |
|
| 478 |
# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) |
| 479 |
//=== VK_KHR_wayland_surface === |
| 480 |
PFN_vkCreateWaylandSurfaceKHR vkCreateWaylandSurfaceKHR = 0; |
| 481 |
PFN_vkGetPhysicalDeviceWaylandPresentationSupportKHR vkGetPhysicalDeviceWaylandPresentationSupportKHR = 0; |
| 482 |
# else |
| 483 |
PFN_dummy vkCreateWaylandSurfaceKHR_placeholder = 0; |
| 484 |
PFN_dummy vkGetPhysicalDeviceWaylandPresentationSupportKHR_placeholder = 0; |
| 485 |
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ |
| 486 |
|
| 487 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 488 |
//=== VK_KHR_android_surface === |
| 489 |
PFN_vkCreateAndroidSurfaceKHR vkCreateAndroidSurfaceKHR = 0; |
| 490 |
# else |
| 491 |
PFN_dummy vkCreateAndroidSurfaceKHR_placeholder = 0; |
| 492 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 493 |
|
| 494 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 495 |
//=== VK_KHR_win32_surface === |
| 496 |
PFN_vkCreateWin32SurfaceKHR vkCreateWin32SurfaceKHR = 0; |
| 497 |
PFN_vkGetPhysicalDeviceWin32PresentationSupportKHR vkGetPhysicalDeviceWin32PresentationSupportKHR = 0; |
| 498 |
# else |
| 499 |
PFN_dummy vkCreateWin32SurfaceKHR_placeholder = 0; |
| 500 |
PFN_dummy vkGetPhysicalDeviceWin32PresentationSupportKHR_placeholder = 0; |
| 501 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 502 |
|
| 503 |
//=== VK_EXT_debug_report === |
| 504 |
PFN_vkCreateDebugReportCallbackEXT vkCreateDebugReportCallbackEXT = 0; |
| 505 |
PFN_vkDestroyDebugReportCallbackEXT vkDestroyDebugReportCallbackEXT = 0; |
| 506 |
PFN_vkDebugReportMessageEXT vkDebugReportMessageEXT = 0; |
| 507 |
|
| 508 |
//=== VK_KHR_video_queue === |
| 509 |
PFN_vkGetPhysicalDeviceVideoCapabilitiesKHR vkGetPhysicalDeviceVideoCapabilitiesKHR = 0; |
| 510 |
PFN_vkGetPhysicalDeviceVideoFormatPropertiesKHR vkGetPhysicalDeviceVideoFormatPropertiesKHR = 0; |
| 511 |
|
| 512 |
# if defined( VK_USE_PLATFORM_GGP ) |
| 513 |
//=== VK_GGP_stream_descriptor_surface === |
| 514 |
PFN_vkCreateStreamDescriptorSurfaceGGP vkCreateStreamDescriptorSurfaceGGP = 0; |
| 515 |
# else |
| 516 |
PFN_dummy vkCreateStreamDescriptorSurfaceGGP_placeholder = 0; |
| 517 |
# endif /*VK_USE_PLATFORM_GGP*/ |
| 518 |
|
| 519 |
//=== VK_NV_external_memory_capabilities === |
| 520 |
PFN_vkGetPhysicalDeviceExternalImageFormatPropertiesNV vkGetPhysicalDeviceExternalImageFormatPropertiesNV = 0; |
| 521 |
|
| 522 |
//=== VK_KHR_get_physical_device_properties2 === |
| 523 |
PFN_vkGetPhysicalDeviceFeatures2KHR vkGetPhysicalDeviceFeatures2KHR = 0; |
| 524 |
PFN_vkGetPhysicalDeviceProperties2KHR vkGetPhysicalDeviceProperties2KHR = 0; |
| 525 |
PFN_vkGetPhysicalDeviceFormatProperties2KHR vkGetPhysicalDeviceFormatProperties2KHR = 0; |
| 526 |
PFN_vkGetPhysicalDeviceImageFormatProperties2KHR vkGetPhysicalDeviceImageFormatProperties2KHR = 0; |
| 527 |
PFN_vkGetPhysicalDeviceQueueFamilyProperties2KHR vkGetPhysicalDeviceQueueFamilyProperties2KHR = 0; |
| 528 |
PFN_vkGetPhysicalDeviceMemoryProperties2KHR vkGetPhysicalDeviceMemoryProperties2KHR = 0; |
| 529 |
PFN_vkGetPhysicalDeviceSparseImageFormatProperties2KHR vkGetPhysicalDeviceSparseImageFormatProperties2KHR = 0; |
| 530 |
|
| 531 |
# if defined( VK_USE_PLATFORM_VI_NN ) |
| 532 |
//=== VK_NN_vi_surface === |
| 533 |
PFN_vkCreateViSurfaceNN vkCreateViSurfaceNN = 0; |
| 534 |
# else |
| 535 |
PFN_dummy vkCreateViSurfaceNN_placeholder = 0; |
| 536 |
# endif /*VK_USE_PLATFORM_VI_NN*/ |
| 537 |
|
| 538 |
//=== VK_KHR_device_group_creation === |
| 539 |
PFN_vkEnumeratePhysicalDeviceGroupsKHR vkEnumeratePhysicalDeviceGroupsKHR = 0; |
| 540 |
|
| 541 |
//=== VK_KHR_external_memory_capabilities === |
| 542 |
PFN_vkGetPhysicalDeviceExternalBufferPropertiesKHR vkGetPhysicalDeviceExternalBufferPropertiesKHR = 0; |
| 543 |
|
| 544 |
//=== VK_KHR_external_semaphore_capabilities === |
| 545 |
PFN_vkGetPhysicalDeviceExternalSemaphorePropertiesKHR vkGetPhysicalDeviceExternalSemaphorePropertiesKHR = 0; |
| 546 |
|
| 547 |
//=== VK_EXT_direct_mode_display === |
| 548 |
PFN_vkReleaseDisplayEXT vkReleaseDisplayEXT = 0; |
| 549 |
|
| 550 |
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) |
| 551 |
//=== VK_EXT_acquire_xlib_display === |
| 552 |
PFN_vkAcquireXlibDisplayEXT vkAcquireXlibDisplayEXT = 0; |
| 553 |
PFN_vkGetRandROutputDisplayEXT vkGetRandROutputDisplayEXT = 0; |
| 554 |
# else |
| 555 |
PFN_dummy vkAcquireXlibDisplayEXT_placeholder = 0; |
| 556 |
PFN_dummy vkGetRandROutputDisplayEXT_placeholder = 0; |
| 557 |
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ |
| 558 |
|
| 559 |
//=== VK_EXT_display_surface_counter === |
| 560 |
PFN_vkGetPhysicalDeviceSurfaceCapabilities2EXT vkGetPhysicalDeviceSurfaceCapabilities2EXT = 0; |
| 561 |
|
| 562 |
//=== VK_KHR_external_fence_capabilities === |
| 563 |
PFN_vkGetPhysicalDeviceExternalFencePropertiesKHR vkGetPhysicalDeviceExternalFencePropertiesKHR = 0; |
| 564 |
|
| 565 |
//=== VK_KHR_performance_query === |
| 566 |
PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR = 0; |
| 567 |
PFN_vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR = 0; |
| 568 |
|
| 569 |
//=== VK_KHR_get_surface_capabilities2 === |
| 570 |
PFN_vkGetPhysicalDeviceSurfaceCapabilities2KHR vkGetPhysicalDeviceSurfaceCapabilities2KHR = 0; |
| 571 |
PFN_vkGetPhysicalDeviceSurfaceFormats2KHR vkGetPhysicalDeviceSurfaceFormats2KHR = 0; |
| 572 |
|
| 573 |
//=== VK_KHR_get_display_properties2 === |
| 574 |
PFN_vkGetPhysicalDeviceDisplayProperties2KHR vkGetPhysicalDeviceDisplayProperties2KHR = 0; |
| 575 |
PFN_vkGetPhysicalDeviceDisplayPlaneProperties2KHR vkGetPhysicalDeviceDisplayPlaneProperties2KHR = 0; |
| 576 |
PFN_vkGetDisplayModeProperties2KHR vkGetDisplayModeProperties2KHR = 0; |
| 577 |
PFN_vkGetDisplayPlaneCapabilities2KHR vkGetDisplayPlaneCapabilities2KHR = 0; |
| 578 |
|
| 579 |
# if defined( VK_USE_PLATFORM_IOS_MVK ) |
| 580 |
//=== VK_MVK_ios_surface === |
| 581 |
PFN_vkCreateIOSSurfaceMVK vkCreateIOSSurfaceMVK = 0; |
| 582 |
# else |
| 583 |
PFN_dummy vkCreateIOSSurfaceMVK_placeholder = 0; |
| 584 |
# endif /*VK_USE_PLATFORM_IOS_MVK*/ |
| 585 |
|
| 586 |
# if defined( VK_USE_PLATFORM_MACOS_MVK ) |
| 587 |
//=== VK_MVK_macos_surface === |
| 588 |
PFN_vkCreateMacOSSurfaceMVK vkCreateMacOSSurfaceMVK = 0; |
| 589 |
# else |
| 590 |
PFN_dummy vkCreateMacOSSurfaceMVK_placeholder = 0; |
| 591 |
# endif /*VK_USE_PLATFORM_MACOS_MVK*/ |
| 592 |
|
| 593 |
//=== VK_EXT_debug_utils === |
| 594 |
PFN_vkCreateDebugUtilsMessengerEXT vkCreateDebugUtilsMessengerEXT = 0; |
| 595 |
PFN_vkDestroyDebugUtilsMessengerEXT vkDestroyDebugUtilsMessengerEXT = 0; |
| 596 |
PFN_vkSubmitDebugUtilsMessageEXT vkSubmitDebugUtilsMessageEXT = 0; |
| 597 |
|
| 598 |
//=== VK_EXT_descriptor_heap === |
| 599 |
PFN_vkGetPhysicalDeviceDescriptorSizeEXT vkGetPhysicalDeviceDescriptorSizeEXT = 0; |
| 600 |
|
| 601 |
//=== VK_EXT_sample_locations === |
| 602 |
PFN_vkGetPhysicalDeviceMultisamplePropertiesEXT vkGetPhysicalDeviceMultisamplePropertiesEXT = 0; |
| 603 |
|
| 604 |
//=== VK_EXT_calibrated_timestamps === |
| 605 |
PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsEXT vkGetPhysicalDeviceCalibrateableTimeDomainsEXT = 0; |
| 606 |
|
| 607 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 608 |
//=== VK_FUCHSIA_imagepipe_surface === |
| 609 |
PFN_vkCreateImagePipeSurfaceFUCHSIA vkCreateImagePipeSurfaceFUCHSIA = 0; |
| 610 |
# else |
| 611 |
PFN_dummy vkCreateImagePipeSurfaceFUCHSIA_placeholder = 0; |
| 612 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 613 |
|
| 614 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 615 |
//=== VK_EXT_metal_surface === |
| 616 |
PFN_vkCreateMetalSurfaceEXT vkCreateMetalSurfaceEXT = 0; |
| 617 |
# else |
| 618 |
PFN_dummy vkCreateMetalSurfaceEXT_placeholder = 0; |
| 619 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 620 |
|
| 621 |
//=== VK_KHR_fragment_shading_rate === |
| 622 |
PFN_vkGetPhysicalDeviceFragmentShadingRatesKHR vkGetPhysicalDeviceFragmentShadingRatesKHR = 0; |
| 623 |
|
| 624 |
//=== VK_EXT_tooling_info === |
| 625 |
PFN_vkGetPhysicalDeviceToolPropertiesEXT vkGetPhysicalDeviceToolPropertiesEXT = 0; |
| 626 |
|
| 627 |
//=== VK_NV_cooperative_matrix === |
| 628 |
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesNV vkGetPhysicalDeviceCooperativeMatrixPropertiesNV = 0; |
| 629 |
|
| 630 |
//=== VK_NV_coverage_reduction_mode === |
| 631 |
PFN_vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV = 0; |
| 632 |
|
| 633 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 634 |
//=== VK_EXT_full_screen_exclusive === |
| 635 |
PFN_vkGetPhysicalDeviceSurfacePresentModes2EXT vkGetPhysicalDeviceSurfacePresentModes2EXT = 0; |
| 636 |
# else |
| 637 |
PFN_dummy vkGetPhysicalDeviceSurfacePresentModes2EXT_placeholder = 0; |
| 638 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 639 |
|
| 640 |
//=== VK_EXT_headless_surface === |
| 641 |
PFN_vkCreateHeadlessSurfaceEXT vkCreateHeadlessSurfaceEXT = 0; |
| 642 |
|
| 643 |
//=== VK_EXT_acquire_drm_display === |
| 644 |
PFN_vkAcquireDrmDisplayEXT vkAcquireDrmDisplayEXT = 0; |
| 645 |
PFN_vkGetDrmDisplayEXT vkGetDrmDisplayEXT = 0; |
| 646 |
|
| 647 |
//=== VK_KHR_video_encode_queue === |
| 648 |
PFN_vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR = 0; |
| 649 |
|
| 650 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 651 |
//=== VK_NV_acquire_winrt_display === |
| 652 |
PFN_vkAcquireWinrtDisplayNV vkAcquireWinrtDisplayNV = 0; |
| 653 |
PFN_vkGetWinrtDisplayNV vkGetWinrtDisplayNV = 0; |
| 654 |
# else |
| 655 |
PFN_dummy vkAcquireWinrtDisplayNV_placeholder = 0; |
| 656 |
PFN_dummy vkGetWinrtDisplayNV_placeholder = 0; |
| 657 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 658 |
|
| 659 |
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) |
| 660 |
//=== VK_EXT_directfb_surface === |
| 661 |
PFN_vkCreateDirectFBSurfaceEXT vkCreateDirectFBSurfaceEXT = 0; |
| 662 |
PFN_vkGetPhysicalDeviceDirectFBPresentationSupportEXT vkGetPhysicalDeviceDirectFBPresentationSupportEXT = 0; |
| 663 |
# else |
| 664 |
PFN_dummy vkCreateDirectFBSurfaceEXT_placeholder = 0; |
| 665 |
PFN_dummy vkGetPhysicalDeviceDirectFBPresentationSupportEXT_placeholder = 0; |
| 666 |
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ |
| 667 |
|
| 668 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 669 |
//=== VK_QNX_screen_surface === |
| 670 |
PFN_vkCreateScreenSurfaceQNX vkCreateScreenSurfaceQNX = 0; |
| 671 |
PFN_vkGetPhysicalDeviceScreenPresentationSupportQNX vkGetPhysicalDeviceScreenPresentationSupportQNX = 0; |
| 672 |
# else |
| 673 |
PFN_dummy vkCreateScreenSurfaceQNX_placeholder = 0; |
| 674 |
PFN_dummy vkGetPhysicalDeviceScreenPresentationSupportQNX_placeholder = 0; |
| 675 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 676 |
|
| 677 |
//=== VK_ARM_tensors === |
| 678 |
PFN_vkGetPhysicalDeviceExternalTensorPropertiesARM vkGetPhysicalDeviceExternalTensorPropertiesARM = 0; |
| 679 |
|
| 680 |
//=== VK_NV_optical_flow === |
| 681 |
PFN_vkGetPhysicalDeviceOpticalFlowImageFormatsNV vkGetPhysicalDeviceOpticalFlowImageFormatsNV = 0; |
| 682 |
|
| 683 |
//=== VK_NV_cooperative_vector === |
| 684 |
PFN_vkGetPhysicalDeviceCooperativeVectorPropertiesNV vkGetPhysicalDeviceCooperativeVectorPropertiesNV = 0; |
| 685 |
|
| 686 |
//=== VK_KHR_cooperative_matrix === |
| 687 |
PFN_vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR = 0; |
| 688 |
|
| 689 |
//=== VK_ARM_data_graph === |
| 690 |
PFN_vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM = 0; |
| 691 |
PFN_vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM = 0; |
| 692 |
|
| 693 |
//=== VK_KHR_calibrated_timestamps === |
| 694 |
PFN_vkGetPhysicalDeviceCalibrateableTimeDomainsKHR vkGetPhysicalDeviceCalibrateableTimeDomainsKHR = 0; |
| 695 |
|
| 696 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 697 |
//=== VK_OHOS_surface === |
| 698 |
PFN_vkCreateSurfaceOHOS vkCreateSurfaceOHOS = 0; |
| 699 |
# else |
| 700 |
PFN_dummy vkCreateSurfaceOHOS_placeholder = 0; |
| 701 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 702 |
|
| 703 |
//=== VK_NV_cooperative_matrix2 === |
| 704 |
PFN_vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV = 0; |
| 705 |
|
| 706 |
//=== VK_ARM_performance_counters_by_region === |
| 707 |
PFN_vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM = 0; |
| 708 |
|
| 709 |
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0; |
| 710 |
}; |
| 711 |
|
| 712 |
class DeviceDispatcher : public ::VULKAN_HPP_NAMESPACE::detail::DispatchLoaderBase |
| 713 |
{ |
| 714 |
public: |
| 715 |
DeviceDispatcher( PFN_vkGetDeviceProcAddr getProcAddr, VkDevice device ) : vkGetDeviceProcAddr( getProcAddr ) |
| 716 |
{ |
| 717 |
//=== VK_VERSION_1_0 === |
| 718 |
vkGetDeviceProcAddr = PFN_vkGetDeviceProcAddr( vkGetDeviceProcAddr( device, "vkGetDeviceProcAddr" ) ); |
| 719 |
vkDestroyDevice = PFN_vkDestroyDevice( vkGetDeviceProcAddr( device, "vkDestroyDevice" ) ); |
| 720 |
vkGetDeviceQueue = PFN_vkGetDeviceQueue( vkGetDeviceProcAddr( device, "vkGetDeviceQueue" ) ); |
| 721 |
vkQueueSubmit = PFN_vkQueueSubmit( vkGetDeviceProcAddr( device, "vkQueueSubmit" ) ); |
| 722 |
vkQueueWaitIdle = PFN_vkQueueWaitIdle( vkGetDeviceProcAddr( device, "vkQueueWaitIdle" ) ); |
| 723 |
vkDeviceWaitIdle = PFN_vkDeviceWaitIdle( vkGetDeviceProcAddr( device, "vkDeviceWaitIdle" ) ); |
| 724 |
vkAllocateMemory = PFN_vkAllocateMemory( vkGetDeviceProcAddr( device, "vkAllocateMemory" ) ); |
| 725 |
vkFreeMemory = PFN_vkFreeMemory( vkGetDeviceProcAddr( device, "vkFreeMemory" ) ); |
| 726 |
vkMapMemory = PFN_vkMapMemory( vkGetDeviceProcAddr( device, "vkMapMemory" ) ); |
| 727 |
vkUnmapMemory = PFN_vkUnmapMemory( vkGetDeviceProcAddr( device, "vkUnmapMemory" ) ); |
| 728 |
vkFlushMappedMemoryRanges = PFN_vkFlushMappedMemoryRanges( vkGetDeviceProcAddr( device, "vkFlushMappedMemoryRanges" ) ); |
| 729 |
vkInvalidateMappedMemoryRanges = PFN_vkInvalidateMappedMemoryRanges( vkGetDeviceProcAddr( device, "vkInvalidateMappedMemoryRanges" ) ); |
| 730 |
vkGetDeviceMemoryCommitment = PFN_vkGetDeviceMemoryCommitment( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryCommitment" ) ); |
| 731 |
vkBindBufferMemory = PFN_vkBindBufferMemory( vkGetDeviceProcAddr( device, "vkBindBufferMemory" ) ); |
| 732 |
vkBindImageMemory = PFN_vkBindImageMemory( vkGetDeviceProcAddr( device, "vkBindImageMemory" ) ); |
| 733 |
vkGetBufferMemoryRequirements = PFN_vkGetBufferMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements" ) ); |
| 734 |
vkGetImageMemoryRequirements = PFN_vkGetImageMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements" ) ); |
| 735 |
vkGetImageSparseMemoryRequirements = PFN_vkGetImageSparseMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements" ) ); |
| 736 |
vkQueueBindSparse = PFN_vkQueueBindSparse( vkGetDeviceProcAddr( device, "vkQueueBindSparse" ) ); |
| 737 |
vkCreateFence = PFN_vkCreateFence( vkGetDeviceProcAddr( device, "vkCreateFence" ) ); |
| 738 |
vkDestroyFence = PFN_vkDestroyFence( vkGetDeviceProcAddr( device, "vkDestroyFence" ) ); |
| 739 |
vkResetFences = PFN_vkResetFences( vkGetDeviceProcAddr( device, "vkResetFences" ) ); |
| 740 |
vkGetFenceStatus = PFN_vkGetFenceStatus( vkGetDeviceProcAddr( device, "vkGetFenceStatus" ) ); |
| 741 |
vkWaitForFences = PFN_vkWaitForFences( vkGetDeviceProcAddr( device, "vkWaitForFences" ) ); |
| 742 |
vkCreateSemaphore = PFN_vkCreateSemaphore( vkGetDeviceProcAddr( device, "vkCreateSemaphore" ) ); |
| 743 |
vkDestroySemaphore = PFN_vkDestroySemaphore( vkGetDeviceProcAddr( device, "vkDestroySemaphore" ) ); |
| 744 |
vkCreateQueryPool = PFN_vkCreateQueryPool( vkGetDeviceProcAddr( device, "vkCreateQueryPool" ) ); |
| 745 |
vkDestroyQueryPool = PFN_vkDestroyQueryPool( vkGetDeviceProcAddr( device, "vkDestroyQueryPool" ) ); |
| 746 |
vkGetQueryPoolResults = PFN_vkGetQueryPoolResults( vkGetDeviceProcAddr( device, "vkGetQueryPoolResults" ) ); |
| 747 |
vkCreateBuffer = PFN_vkCreateBuffer( vkGetDeviceProcAddr( device, "vkCreateBuffer" ) ); |
| 748 |
vkDestroyBuffer = PFN_vkDestroyBuffer( vkGetDeviceProcAddr( device, "vkDestroyBuffer" ) ); |
| 749 |
vkCreateImage = PFN_vkCreateImage( vkGetDeviceProcAddr( device, "vkCreateImage" ) ); |
| 750 |
vkDestroyImage = PFN_vkDestroyImage( vkGetDeviceProcAddr( device, "vkDestroyImage" ) ); |
| 751 |
vkGetImageSubresourceLayout = PFN_vkGetImageSubresourceLayout( vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout" ) ); |
| 752 |
vkCreateImageView = PFN_vkCreateImageView( vkGetDeviceProcAddr( device, "vkCreateImageView" ) ); |
| 753 |
vkDestroyImageView = PFN_vkDestroyImageView( vkGetDeviceProcAddr( device, "vkDestroyImageView" ) ); |
| 754 |
vkCreateCommandPool = PFN_vkCreateCommandPool( vkGetDeviceProcAddr( device, "vkCreateCommandPool" ) ); |
| 755 |
vkDestroyCommandPool = PFN_vkDestroyCommandPool( vkGetDeviceProcAddr( device, "vkDestroyCommandPool" ) ); |
| 756 |
vkResetCommandPool = PFN_vkResetCommandPool( vkGetDeviceProcAddr( device, "vkResetCommandPool" ) ); |
| 757 |
vkAllocateCommandBuffers = PFN_vkAllocateCommandBuffers( vkGetDeviceProcAddr( device, "vkAllocateCommandBuffers" ) ); |
| 758 |
vkFreeCommandBuffers = PFN_vkFreeCommandBuffers( vkGetDeviceProcAddr( device, "vkFreeCommandBuffers" ) ); |
| 759 |
vkBeginCommandBuffer = PFN_vkBeginCommandBuffer( vkGetDeviceProcAddr( device, "vkBeginCommandBuffer" ) ); |
| 760 |
vkEndCommandBuffer = PFN_vkEndCommandBuffer( vkGetDeviceProcAddr( device, "vkEndCommandBuffer" ) ); |
| 761 |
vkResetCommandBuffer = PFN_vkResetCommandBuffer( vkGetDeviceProcAddr( device, "vkResetCommandBuffer" ) ); |
| 762 |
vkCmdCopyBuffer = PFN_vkCmdCopyBuffer( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer" ) ); |
| 763 |
vkCmdCopyImage = PFN_vkCmdCopyImage( vkGetDeviceProcAddr( device, "vkCmdCopyImage" ) ); |
| 764 |
vkCmdCopyBufferToImage = PFN_vkCmdCopyBufferToImage( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage" ) ); |
| 765 |
vkCmdCopyImageToBuffer = PFN_vkCmdCopyImageToBuffer( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer" ) ); |
| 766 |
vkCmdUpdateBuffer = PFN_vkCmdUpdateBuffer( vkGetDeviceProcAddr( device, "vkCmdUpdateBuffer" ) ); |
| 767 |
vkCmdFillBuffer = PFN_vkCmdFillBuffer( vkGetDeviceProcAddr( device, "vkCmdFillBuffer" ) ); |
| 768 |
vkCmdPipelineBarrier = PFN_vkCmdPipelineBarrier( vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier" ) ); |
| 769 |
vkCmdBeginQuery = PFN_vkCmdBeginQuery( vkGetDeviceProcAddr( device, "vkCmdBeginQuery" ) ); |
| 770 |
vkCmdEndQuery = PFN_vkCmdEndQuery( vkGetDeviceProcAddr( device, "vkCmdEndQuery" ) ); |
| 771 |
vkCmdResetQueryPool = PFN_vkCmdResetQueryPool( vkGetDeviceProcAddr( device, "vkCmdResetQueryPool" ) ); |
| 772 |
vkCmdWriteTimestamp = PFN_vkCmdWriteTimestamp( vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp" ) ); |
| 773 |
vkCmdCopyQueryPoolResults = PFN_vkCmdCopyQueryPoolResults( vkGetDeviceProcAddr( device, "vkCmdCopyQueryPoolResults" ) ); |
| 774 |
vkCmdExecuteCommands = PFN_vkCmdExecuteCommands( vkGetDeviceProcAddr( device, "vkCmdExecuteCommands" ) ); |
| 775 |
vkCreateEvent = PFN_vkCreateEvent( vkGetDeviceProcAddr( device, "vkCreateEvent" ) ); |
| 776 |
vkDestroyEvent = PFN_vkDestroyEvent( vkGetDeviceProcAddr( device, "vkDestroyEvent" ) ); |
| 777 |
vkGetEventStatus = PFN_vkGetEventStatus( vkGetDeviceProcAddr( device, "vkGetEventStatus" ) ); |
| 778 |
vkSetEvent = PFN_vkSetEvent( vkGetDeviceProcAddr( device, "vkSetEvent" ) ); |
| 779 |
vkResetEvent = PFN_vkResetEvent( vkGetDeviceProcAddr( device, "vkResetEvent" ) ); |
| 780 |
vkCreateBufferView = PFN_vkCreateBufferView( vkGetDeviceProcAddr( device, "vkCreateBufferView" ) ); |
| 781 |
vkDestroyBufferView = PFN_vkDestroyBufferView( vkGetDeviceProcAddr( device, "vkDestroyBufferView" ) ); |
| 782 |
vkCreateShaderModule = PFN_vkCreateShaderModule( vkGetDeviceProcAddr( device, "vkCreateShaderModule" ) ); |
| 783 |
vkDestroyShaderModule = PFN_vkDestroyShaderModule( vkGetDeviceProcAddr( device, "vkDestroyShaderModule" ) ); |
| 784 |
vkCreatePipelineCache = PFN_vkCreatePipelineCache( vkGetDeviceProcAddr( device, "vkCreatePipelineCache" ) ); |
| 785 |
vkDestroyPipelineCache = PFN_vkDestroyPipelineCache( vkGetDeviceProcAddr( device, "vkDestroyPipelineCache" ) ); |
| 786 |
vkGetPipelineCacheData = PFN_vkGetPipelineCacheData( vkGetDeviceProcAddr( device, "vkGetPipelineCacheData" ) ); |
| 787 |
vkMergePipelineCaches = PFN_vkMergePipelineCaches( vkGetDeviceProcAddr( device, "vkMergePipelineCaches" ) ); |
| 788 |
vkCreateComputePipelines = PFN_vkCreateComputePipelines( vkGetDeviceProcAddr( device, "vkCreateComputePipelines" ) ); |
| 789 |
vkDestroyPipeline = PFN_vkDestroyPipeline( vkGetDeviceProcAddr( device, "vkDestroyPipeline" ) ); |
| 790 |
vkCreatePipelineLayout = PFN_vkCreatePipelineLayout( vkGetDeviceProcAddr( device, "vkCreatePipelineLayout" ) ); |
| 791 |
vkDestroyPipelineLayout = PFN_vkDestroyPipelineLayout( vkGetDeviceProcAddr( device, "vkDestroyPipelineLayout" ) ); |
| 792 |
vkCreateSampler = PFN_vkCreateSampler( vkGetDeviceProcAddr( device, "vkCreateSampler" ) ); |
| 793 |
vkDestroySampler = PFN_vkDestroySampler( vkGetDeviceProcAddr( device, "vkDestroySampler" ) ); |
| 794 |
vkCreateDescriptorSetLayout = PFN_vkCreateDescriptorSetLayout( vkGetDeviceProcAddr( device, "vkCreateDescriptorSetLayout" ) ); |
| 795 |
vkDestroyDescriptorSetLayout = PFN_vkDestroyDescriptorSetLayout( vkGetDeviceProcAddr( device, "vkDestroyDescriptorSetLayout" ) ); |
| 796 |
vkCreateDescriptorPool = PFN_vkCreateDescriptorPool( vkGetDeviceProcAddr( device, "vkCreateDescriptorPool" ) ); |
| 797 |
vkDestroyDescriptorPool = PFN_vkDestroyDescriptorPool( vkGetDeviceProcAddr( device, "vkDestroyDescriptorPool" ) ); |
| 798 |
vkResetDescriptorPool = PFN_vkResetDescriptorPool( vkGetDeviceProcAddr( device, "vkResetDescriptorPool" ) ); |
| 799 |
vkAllocateDescriptorSets = PFN_vkAllocateDescriptorSets( vkGetDeviceProcAddr( device, "vkAllocateDescriptorSets" ) ); |
| 800 |
vkFreeDescriptorSets = PFN_vkFreeDescriptorSets( vkGetDeviceProcAddr( device, "vkFreeDescriptorSets" ) ); |
| 801 |
vkUpdateDescriptorSets = PFN_vkUpdateDescriptorSets( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSets" ) ); |
| 802 |
vkCmdBindPipeline = PFN_vkCmdBindPipeline( vkGetDeviceProcAddr( device, "vkCmdBindPipeline" ) ); |
| 803 |
vkCmdBindDescriptorSets = PFN_vkCmdBindDescriptorSets( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorSets" ) ); |
| 804 |
vkCmdClearColorImage = PFN_vkCmdClearColorImage( vkGetDeviceProcAddr( device, "vkCmdClearColorImage" ) ); |
| 805 |
vkCmdDispatch = PFN_vkCmdDispatch( vkGetDeviceProcAddr( device, "vkCmdDispatch" ) ); |
| 806 |
vkCmdDispatchIndirect = PFN_vkCmdDispatchIndirect( vkGetDeviceProcAddr( device, "vkCmdDispatchIndirect" ) ); |
| 807 |
vkCmdSetEvent = PFN_vkCmdSetEvent( vkGetDeviceProcAddr( device, "vkCmdSetEvent" ) ); |
| 808 |
vkCmdResetEvent = PFN_vkCmdResetEvent( vkGetDeviceProcAddr( device, "vkCmdResetEvent" ) ); |
| 809 |
vkCmdWaitEvents = PFN_vkCmdWaitEvents( vkGetDeviceProcAddr( device, "vkCmdWaitEvents" ) ); |
| 810 |
vkCmdPushConstants = PFN_vkCmdPushConstants( vkGetDeviceProcAddr( device, "vkCmdPushConstants" ) ); |
| 811 |
vkCreateGraphicsPipelines = PFN_vkCreateGraphicsPipelines( vkGetDeviceProcAddr( device, "vkCreateGraphicsPipelines" ) ); |
| 812 |
vkCreateFramebuffer = PFN_vkCreateFramebuffer( vkGetDeviceProcAddr( device, "vkCreateFramebuffer" ) ); |
| 813 |
vkDestroyFramebuffer = PFN_vkDestroyFramebuffer( vkGetDeviceProcAddr( device, "vkDestroyFramebuffer" ) ); |
| 814 |
vkCreateRenderPass = PFN_vkCreateRenderPass( vkGetDeviceProcAddr( device, "vkCreateRenderPass" ) ); |
| 815 |
vkDestroyRenderPass = PFN_vkDestroyRenderPass( vkGetDeviceProcAddr( device, "vkDestroyRenderPass" ) ); |
| 816 |
vkGetRenderAreaGranularity = PFN_vkGetRenderAreaGranularity( vkGetDeviceProcAddr( device, "vkGetRenderAreaGranularity" ) ); |
| 817 |
vkCmdSetViewport = PFN_vkCmdSetViewport( vkGetDeviceProcAddr( device, "vkCmdSetViewport" ) ); |
| 818 |
vkCmdSetScissor = PFN_vkCmdSetScissor( vkGetDeviceProcAddr( device, "vkCmdSetScissor" ) ); |
| 819 |
vkCmdSetLineWidth = PFN_vkCmdSetLineWidth( vkGetDeviceProcAddr( device, "vkCmdSetLineWidth" ) ); |
| 820 |
vkCmdSetDepthBias = PFN_vkCmdSetDepthBias( vkGetDeviceProcAddr( device, "vkCmdSetDepthBias" ) ); |
| 821 |
vkCmdSetBlendConstants = PFN_vkCmdSetBlendConstants( vkGetDeviceProcAddr( device, "vkCmdSetBlendConstants" ) ); |
| 822 |
vkCmdSetDepthBounds = PFN_vkCmdSetDepthBounds( vkGetDeviceProcAddr( device, "vkCmdSetDepthBounds" ) ); |
| 823 |
vkCmdSetStencilCompareMask = PFN_vkCmdSetStencilCompareMask( vkGetDeviceProcAddr( device, "vkCmdSetStencilCompareMask" ) ); |
| 824 |
vkCmdSetStencilWriteMask = PFN_vkCmdSetStencilWriteMask( vkGetDeviceProcAddr( device, "vkCmdSetStencilWriteMask" ) ); |
| 825 |
vkCmdSetStencilReference = PFN_vkCmdSetStencilReference( vkGetDeviceProcAddr( device, "vkCmdSetStencilReference" ) ); |
| 826 |
vkCmdBindIndexBuffer = PFN_vkCmdBindIndexBuffer( vkGetDeviceProcAddr( device, "vkCmdBindIndexBuffer" ) ); |
| 827 |
vkCmdBindVertexBuffers = PFN_vkCmdBindVertexBuffers( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers" ) ); |
| 828 |
vkCmdDraw = PFN_vkCmdDraw( vkGetDeviceProcAddr( device, "vkCmdDraw" ) ); |
| 829 |
vkCmdDrawIndexed = PFN_vkCmdDrawIndexed( vkGetDeviceProcAddr( device, "vkCmdDrawIndexed" ) ); |
| 830 |
vkCmdDrawIndirect = PFN_vkCmdDrawIndirect( vkGetDeviceProcAddr( device, "vkCmdDrawIndirect" ) ); |
| 831 |
vkCmdDrawIndexedIndirect = PFN_vkCmdDrawIndexedIndirect( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirect" ) ); |
| 832 |
vkCmdBlitImage = PFN_vkCmdBlitImage( vkGetDeviceProcAddr( device, "vkCmdBlitImage" ) ); |
| 833 |
vkCmdClearDepthStencilImage = PFN_vkCmdClearDepthStencilImage( vkGetDeviceProcAddr( device, "vkCmdClearDepthStencilImage" ) ); |
| 834 |
vkCmdClearAttachments = PFN_vkCmdClearAttachments( vkGetDeviceProcAddr( device, "vkCmdClearAttachments" ) ); |
| 835 |
vkCmdResolveImage = PFN_vkCmdResolveImage( vkGetDeviceProcAddr( device, "vkCmdResolveImage" ) ); |
| 836 |
vkCmdBeginRenderPass = PFN_vkCmdBeginRenderPass( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass" ) ); |
| 837 |
vkCmdNextSubpass = PFN_vkCmdNextSubpass( vkGetDeviceProcAddr( device, "vkCmdNextSubpass" ) ); |
| 838 |
vkCmdEndRenderPass = PFN_vkCmdEndRenderPass( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass" ) ); |
| 839 |
|
| 840 |
//=== VK_VERSION_1_1 === |
| 841 |
vkBindBufferMemory2 = PFN_vkBindBufferMemory2( vkGetDeviceProcAddr( device, "vkBindBufferMemory2" ) ); |
| 842 |
vkBindImageMemory2 = PFN_vkBindImageMemory2( vkGetDeviceProcAddr( device, "vkBindImageMemory2" ) ); |
| 843 |
vkGetDeviceGroupPeerMemoryFeatures = PFN_vkGetDeviceGroupPeerMemoryFeatures( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeatures" ) ); |
| 844 |
vkCmdSetDeviceMask = PFN_vkCmdSetDeviceMask( vkGetDeviceProcAddr( device, "vkCmdSetDeviceMask" ) ); |
| 845 |
vkGetImageMemoryRequirements2 = PFN_vkGetImageMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2" ) ); |
| 846 |
vkGetBufferMemoryRequirements2 = PFN_vkGetBufferMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2" ) ); |
| 847 |
vkGetImageSparseMemoryRequirements2 = PFN_vkGetImageSparseMemoryRequirements2( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2" ) ); |
| 848 |
vkTrimCommandPool = PFN_vkTrimCommandPool( vkGetDeviceProcAddr( device, "vkTrimCommandPool" ) ); |
| 849 |
vkGetDeviceQueue2 = PFN_vkGetDeviceQueue2( vkGetDeviceProcAddr( device, "vkGetDeviceQueue2" ) ); |
| 850 |
vkCmdDispatchBase = PFN_vkCmdDispatchBase( vkGetDeviceProcAddr( device, "vkCmdDispatchBase" ) ); |
| 851 |
vkCreateDescriptorUpdateTemplate = PFN_vkCreateDescriptorUpdateTemplate( vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplate" ) ); |
| 852 |
vkDestroyDescriptorUpdateTemplate = PFN_vkDestroyDescriptorUpdateTemplate( vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplate" ) ); |
| 853 |
vkUpdateDescriptorSetWithTemplate = PFN_vkUpdateDescriptorSetWithTemplate( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplate" ) ); |
| 854 |
vkGetDescriptorSetLayoutSupport = PFN_vkGetDescriptorSetLayoutSupport( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupport" ) ); |
| 855 |
vkCreateSamplerYcbcrConversion = PFN_vkCreateSamplerYcbcrConversion( vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversion" ) ); |
| 856 |
vkDestroySamplerYcbcrConversion = PFN_vkDestroySamplerYcbcrConversion( vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversion" ) ); |
| 857 |
|
| 858 |
//=== VK_VERSION_1_2 === |
| 859 |
vkResetQueryPool = PFN_vkResetQueryPool( vkGetDeviceProcAddr( device, "vkResetQueryPool" ) ); |
| 860 |
vkGetSemaphoreCounterValue = PFN_vkGetSemaphoreCounterValue( vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValue" ) ); |
| 861 |
vkWaitSemaphores = PFN_vkWaitSemaphores( vkGetDeviceProcAddr( device, "vkWaitSemaphores" ) ); |
| 862 |
vkSignalSemaphore = PFN_vkSignalSemaphore( vkGetDeviceProcAddr( device, "vkSignalSemaphore" ) ); |
| 863 |
vkGetBufferDeviceAddress = PFN_vkGetBufferDeviceAddress( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddress" ) ); |
| 864 |
vkGetBufferOpaqueCaptureAddress = PFN_vkGetBufferOpaqueCaptureAddress( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddress" ) ); |
| 865 |
vkGetDeviceMemoryOpaqueCaptureAddress = |
| 866 |
PFN_vkGetDeviceMemoryOpaqueCaptureAddress( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddress" ) ); |
| 867 |
vkCmdDrawIndirectCount = PFN_vkCmdDrawIndirectCount( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCount" ) ); |
| 868 |
vkCmdDrawIndexedIndirectCount = PFN_vkCmdDrawIndexedIndirectCount( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCount" ) ); |
| 869 |
vkCreateRenderPass2 = PFN_vkCreateRenderPass2( vkGetDeviceProcAddr( device, "vkCreateRenderPass2" ) ); |
| 870 |
vkCmdBeginRenderPass2 = PFN_vkCmdBeginRenderPass2( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2" ) ); |
| 871 |
vkCmdNextSubpass2 = PFN_vkCmdNextSubpass2( vkGetDeviceProcAddr( device, "vkCmdNextSubpass2" ) ); |
| 872 |
vkCmdEndRenderPass2 = PFN_vkCmdEndRenderPass2( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2" ) ); |
| 873 |
|
| 874 |
//=== VK_VERSION_1_3 === |
| 875 |
vkCreatePrivateDataSlot = PFN_vkCreatePrivateDataSlot( vkGetDeviceProcAddr( device, "vkCreatePrivateDataSlot" ) ); |
| 876 |
vkDestroyPrivateDataSlot = PFN_vkDestroyPrivateDataSlot( vkGetDeviceProcAddr( device, "vkDestroyPrivateDataSlot" ) ); |
| 877 |
vkSetPrivateData = PFN_vkSetPrivateData( vkGetDeviceProcAddr( device, "vkSetPrivateData" ) ); |
| 878 |
vkGetPrivateData = PFN_vkGetPrivateData( vkGetDeviceProcAddr( device, "vkGetPrivateData" ) ); |
| 879 |
vkCmdPipelineBarrier2 = PFN_vkCmdPipelineBarrier2( vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier2" ) ); |
| 880 |
vkCmdWriteTimestamp2 = PFN_vkCmdWriteTimestamp2( vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp2" ) ); |
| 881 |
vkQueueSubmit2 = PFN_vkQueueSubmit2( vkGetDeviceProcAddr( device, "vkQueueSubmit2" ) ); |
| 882 |
vkCmdCopyBuffer2 = PFN_vkCmdCopyBuffer2( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer2" ) ); |
| 883 |
vkCmdCopyImage2 = PFN_vkCmdCopyImage2( vkGetDeviceProcAddr( device, "vkCmdCopyImage2" ) ); |
| 884 |
vkCmdCopyBufferToImage2 = PFN_vkCmdCopyBufferToImage2( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage2" ) ); |
| 885 |
vkCmdCopyImageToBuffer2 = PFN_vkCmdCopyImageToBuffer2( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer2" ) ); |
| 886 |
vkGetDeviceBufferMemoryRequirements = PFN_vkGetDeviceBufferMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetDeviceBufferMemoryRequirements" ) ); |
| 887 |
vkGetDeviceImageMemoryRequirements = PFN_vkGetDeviceImageMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetDeviceImageMemoryRequirements" ) ); |
| 888 |
vkGetDeviceImageSparseMemoryRequirements = |
| 889 |
PFN_vkGetDeviceImageSparseMemoryRequirements( vkGetDeviceProcAddr( device, "vkGetDeviceImageSparseMemoryRequirements" ) ); |
| 890 |
vkCmdSetEvent2 = PFN_vkCmdSetEvent2( vkGetDeviceProcAddr( device, "vkCmdSetEvent2" ) ); |
| 891 |
vkCmdResetEvent2 = PFN_vkCmdResetEvent2( vkGetDeviceProcAddr( device, "vkCmdResetEvent2" ) ); |
| 892 |
vkCmdWaitEvents2 = PFN_vkCmdWaitEvents2( vkGetDeviceProcAddr( device, "vkCmdWaitEvents2" ) ); |
| 893 |
vkCmdBlitImage2 = PFN_vkCmdBlitImage2( vkGetDeviceProcAddr( device, "vkCmdBlitImage2" ) ); |
| 894 |
vkCmdResolveImage2 = PFN_vkCmdResolveImage2( vkGetDeviceProcAddr( device, "vkCmdResolveImage2" ) ); |
| 895 |
vkCmdBeginRendering = PFN_vkCmdBeginRendering( vkGetDeviceProcAddr( device, "vkCmdBeginRendering" ) ); |
| 896 |
vkCmdEndRendering = PFN_vkCmdEndRendering( vkGetDeviceProcAddr( device, "vkCmdEndRendering" ) ); |
| 897 |
vkCmdSetCullMode = PFN_vkCmdSetCullMode( vkGetDeviceProcAddr( device, "vkCmdSetCullMode" ) ); |
| 898 |
vkCmdSetFrontFace = PFN_vkCmdSetFrontFace( vkGetDeviceProcAddr( device, "vkCmdSetFrontFace" ) ); |
| 899 |
vkCmdSetPrimitiveTopology = PFN_vkCmdSetPrimitiveTopology( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveTopology" ) ); |
| 900 |
vkCmdSetViewportWithCount = PFN_vkCmdSetViewportWithCount( vkGetDeviceProcAddr( device, "vkCmdSetViewportWithCount" ) ); |
| 901 |
vkCmdSetScissorWithCount = PFN_vkCmdSetScissorWithCount( vkGetDeviceProcAddr( device, "vkCmdSetScissorWithCount" ) ); |
| 902 |
vkCmdBindVertexBuffers2 = PFN_vkCmdBindVertexBuffers2( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers2" ) ); |
| 903 |
vkCmdSetDepthTestEnable = PFN_vkCmdSetDepthTestEnable( vkGetDeviceProcAddr( device, "vkCmdSetDepthTestEnable" ) ); |
| 904 |
vkCmdSetDepthWriteEnable = PFN_vkCmdSetDepthWriteEnable( vkGetDeviceProcAddr( device, "vkCmdSetDepthWriteEnable" ) ); |
| 905 |
vkCmdSetDepthCompareOp = PFN_vkCmdSetDepthCompareOp( vkGetDeviceProcAddr( device, "vkCmdSetDepthCompareOp" ) ); |
| 906 |
vkCmdSetDepthBoundsTestEnable = PFN_vkCmdSetDepthBoundsTestEnable( vkGetDeviceProcAddr( device, "vkCmdSetDepthBoundsTestEnable" ) ); |
| 907 |
vkCmdSetStencilTestEnable = PFN_vkCmdSetStencilTestEnable( vkGetDeviceProcAddr( device, "vkCmdSetStencilTestEnable" ) ); |
| 908 |
vkCmdSetStencilOp = PFN_vkCmdSetStencilOp( vkGetDeviceProcAddr( device, "vkCmdSetStencilOp" ) ); |
| 909 |
vkCmdSetRasterizerDiscardEnable = PFN_vkCmdSetRasterizerDiscardEnable( vkGetDeviceProcAddr( device, "vkCmdSetRasterizerDiscardEnable" ) ); |
| 910 |
vkCmdSetDepthBiasEnable = PFN_vkCmdSetDepthBiasEnable( vkGetDeviceProcAddr( device, "vkCmdSetDepthBiasEnable" ) ); |
| 911 |
vkCmdSetPrimitiveRestartEnable = PFN_vkCmdSetPrimitiveRestartEnable( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveRestartEnable" ) ); |
| 912 |
|
| 913 |
//=== VK_VERSION_1_4 === |
| 914 |
vkMapMemory2 = PFN_vkMapMemory2( vkGetDeviceProcAddr( device, "vkMapMemory2" ) ); |
| 915 |
vkUnmapMemory2 = PFN_vkUnmapMemory2( vkGetDeviceProcAddr( device, "vkUnmapMemory2" ) ); |
| 916 |
vkGetDeviceImageSubresourceLayout = PFN_vkGetDeviceImageSubresourceLayout( vkGetDeviceProcAddr( device, "vkGetDeviceImageSubresourceLayout" ) ); |
| 917 |
vkGetImageSubresourceLayout2 = PFN_vkGetImageSubresourceLayout2( vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout2" ) ); |
| 918 |
vkCopyMemoryToImage = PFN_vkCopyMemoryToImage( vkGetDeviceProcAddr( device, "vkCopyMemoryToImage" ) ); |
| 919 |
vkCopyImageToMemory = PFN_vkCopyImageToMemory( vkGetDeviceProcAddr( device, "vkCopyImageToMemory" ) ); |
| 920 |
vkCopyImageToImage = PFN_vkCopyImageToImage( vkGetDeviceProcAddr( device, "vkCopyImageToImage" ) ); |
| 921 |
vkTransitionImageLayout = PFN_vkTransitionImageLayout( vkGetDeviceProcAddr( device, "vkTransitionImageLayout" ) ); |
| 922 |
vkCmdPushDescriptorSet = PFN_vkCmdPushDescriptorSet( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSet" ) ); |
| 923 |
vkCmdPushDescriptorSetWithTemplate = PFN_vkCmdPushDescriptorSetWithTemplate( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplate" ) ); |
| 924 |
vkCmdBindDescriptorSets2 = PFN_vkCmdBindDescriptorSets2( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorSets2" ) ); |
| 925 |
vkCmdPushConstants2 = PFN_vkCmdPushConstants2( vkGetDeviceProcAddr( device, "vkCmdPushConstants2" ) ); |
| 926 |
vkCmdPushDescriptorSet2 = PFN_vkCmdPushDescriptorSet2( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSet2" ) ); |
| 927 |
vkCmdPushDescriptorSetWithTemplate2 = PFN_vkCmdPushDescriptorSetWithTemplate2( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplate2" ) ); |
| 928 |
vkCmdSetLineStipple = PFN_vkCmdSetLineStipple( vkGetDeviceProcAddr( device, "vkCmdSetLineStipple" ) ); |
| 929 |
vkCmdBindIndexBuffer2 = PFN_vkCmdBindIndexBuffer2( vkGetDeviceProcAddr( device, "vkCmdBindIndexBuffer2" ) ); |
| 930 |
vkGetRenderingAreaGranularity = PFN_vkGetRenderingAreaGranularity( vkGetDeviceProcAddr( device, "vkGetRenderingAreaGranularity" ) ); |
| 931 |
vkCmdSetRenderingAttachmentLocations = |
| 932 |
PFN_vkCmdSetRenderingAttachmentLocations( vkGetDeviceProcAddr( device, "vkCmdSetRenderingAttachmentLocations" ) ); |
| 933 |
vkCmdSetRenderingInputAttachmentIndices = |
| 934 |
PFN_vkCmdSetRenderingInputAttachmentIndices( vkGetDeviceProcAddr( device, "vkCmdSetRenderingInputAttachmentIndices" ) ); |
| 935 |
|
| 936 |
//=== VK_KHR_swapchain === |
| 937 |
vkCreateSwapchainKHR = PFN_vkCreateSwapchainKHR( vkGetDeviceProcAddr( device, "vkCreateSwapchainKHR" ) ); |
| 938 |
vkDestroySwapchainKHR = PFN_vkDestroySwapchainKHR( vkGetDeviceProcAddr( device, "vkDestroySwapchainKHR" ) ); |
| 939 |
vkGetSwapchainImagesKHR = PFN_vkGetSwapchainImagesKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainImagesKHR" ) ); |
| 940 |
vkAcquireNextImageKHR = PFN_vkAcquireNextImageKHR( vkGetDeviceProcAddr( device, "vkAcquireNextImageKHR" ) ); |
| 941 |
vkQueuePresentKHR = PFN_vkQueuePresentKHR( vkGetDeviceProcAddr( device, "vkQueuePresentKHR" ) ); |
| 942 |
vkGetDeviceGroupPresentCapabilitiesKHR = |
| 943 |
PFN_vkGetDeviceGroupPresentCapabilitiesKHR( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPresentCapabilitiesKHR" ) ); |
| 944 |
vkGetDeviceGroupSurfacePresentModesKHR = |
| 945 |
PFN_vkGetDeviceGroupSurfacePresentModesKHR( vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModesKHR" ) ); |
| 946 |
vkAcquireNextImage2KHR = PFN_vkAcquireNextImage2KHR( vkGetDeviceProcAddr( device, "vkAcquireNextImage2KHR" ) ); |
| 947 |
|
| 948 |
//=== VK_KHR_display_swapchain === |
| 949 |
vkCreateSharedSwapchainsKHR = PFN_vkCreateSharedSwapchainsKHR( vkGetDeviceProcAddr( device, "vkCreateSharedSwapchainsKHR" ) ); |
| 950 |
|
| 951 |
//=== VK_EXT_debug_marker === |
| 952 |
vkDebugMarkerSetObjectTagEXT = PFN_vkDebugMarkerSetObjectTagEXT( vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectTagEXT" ) ); |
| 953 |
vkDebugMarkerSetObjectNameEXT = PFN_vkDebugMarkerSetObjectNameEXT( vkGetDeviceProcAddr( device, "vkDebugMarkerSetObjectNameEXT" ) ); |
| 954 |
vkCmdDebugMarkerBeginEXT = PFN_vkCmdDebugMarkerBeginEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerBeginEXT" ) ); |
| 955 |
vkCmdDebugMarkerEndEXT = PFN_vkCmdDebugMarkerEndEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerEndEXT" ) ); |
| 956 |
vkCmdDebugMarkerInsertEXT = PFN_vkCmdDebugMarkerInsertEXT( vkGetDeviceProcAddr( device, "vkCmdDebugMarkerInsertEXT" ) ); |
| 957 |
|
| 958 |
//=== VK_KHR_video_queue === |
| 959 |
vkCreateVideoSessionKHR = PFN_vkCreateVideoSessionKHR( vkGetDeviceProcAddr( device, "vkCreateVideoSessionKHR" ) ); |
| 960 |
vkDestroyVideoSessionKHR = PFN_vkDestroyVideoSessionKHR( vkGetDeviceProcAddr( device, "vkDestroyVideoSessionKHR" ) ); |
| 961 |
vkGetVideoSessionMemoryRequirementsKHR = |
| 962 |
PFN_vkGetVideoSessionMemoryRequirementsKHR( vkGetDeviceProcAddr( device, "vkGetVideoSessionMemoryRequirementsKHR" ) ); |
| 963 |
vkBindVideoSessionMemoryKHR = PFN_vkBindVideoSessionMemoryKHR( vkGetDeviceProcAddr( device, "vkBindVideoSessionMemoryKHR" ) ); |
| 964 |
vkCreateVideoSessionParametersKHR = PFN_vkCreateVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkCreateVideoSessionParametersKHR" ) ); |
| 965 |
vkUpdateVideoSessionParametersKHR = PFN_vkUpdateVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkUpdateVideoSessionParametersKHR" ) ); |
| 966 |
vkDestroyVideoSessionParametersKHR = PFN_vkDestroyVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkDestroyVideoSessionParametersKHR" ) ); |
| 967 |
vkCmdBeginVideoCodingKHR = PFN_vkCmdBeginVideoCodingKHR( vkGetDeviceProcAddr( device, "vkCmdBeginVideoCodingKHR" ) ); |
| 968 |
vkCmdEndVideoCodingKHR = PFN_vkCmdEndVideoCodingKHR( vkGetDeviceProcAddr( device, "vkCmdEndVideoCodingKHR" ) ); |
| 969 |
vkCmdControlVideoCodingKHR = PFN_vkCmdControlVideoCodingKHR( vkGetDeviceProcAddr( device, "vkCmdControlVideoCodingKHR" ) ); |
| 970 |
|
| 971 |
//=== VK_KHR_video_decode_queue === |
| 972 |
vkCmdDecodeVideoKHR = PFN_vkCmdDecodeVideoKHR( vkGetDeviceProcAddr( device, "vkCmdDecodeVideoKHR" ) ); |
| 973 |
|
| 974 |
//=== VK_EXT_transform_feedback === |
| 975 |
vkCmdBindTransformFeedbackBuffersEXT = |
| 976 |
PFN_vkCmdBindTransformFeedbackBuffersEXT( vkGetDeviceProcAddr( device, "vkCmdBindTransformFeedbackBuffersEXT" ) ); |
| 977 |
vkCmdBeginTransformFeedbackEXT = PFN_vkCmdBeginTransformFeedbackEXT( vkGetDeviceProcAddr( device, "vkCmdBeginTransformFeedbackEXT" ) ); |
| 978 |
vkCmdEndTransformFeedbackEXT = PFN_vkCmdEndTransformFeedbackEXT( vkGetDeviceProcAddr( device, "vkCmdEndTransformFeedbackEXT" ) ); |
| 979 |
vkCmdBeginQueryIndexedEXT = PFN_vkCmdBeginQueryIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdBeginQueryIndexedEXT" ) ); |
| 980 |
vkCmdEndQueryIndexedEXT = PFN_vkCmdEndQueryIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdEndQueryIndexedEXT" ) ); |
| 981 |
vkCmdDrawIndirectByteCountEXT = PFN_vkCmdDrawIndirectByteCountEXT( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectByteCountEXT" ) ); |
| 982 |
|
| 983 |
//=== VK_NVX_binary_import === |
| 984 |
vkCreateCuModuleNVX = PFN_vkCreateCuModuleNVX( vkGetDeviceProcAddr( device, "vkCreateCuModuleNVX" ) ); |
| 985 |
vkCreateCuFunctionNVX = PFN_vkCreateCuFunctionNVX( vkGetDeviceProcAddr( device, "vkCreateCuFunctionNVX" ) ); |
| 986 |
vkDestroyCuModuleNVX = PFN_vkDestroyCuModuleNVX( vkGetDeviceProcAddr( device, "vkDestroyCuModuleNVX" ) ); |
| 987 |
vkDestroyCuFunctionNVX = PFN_vkDestroyCuFunctionNVX( vkGetDeviceProcAddr( device, "vkDestroyCuFunctionNVX" ) ); |
| 988 |
vkCmdCuLaunchKernelNVX = PFN_vkCmdCuLaunchKernelNVX( vkGetDeviceProcAddr( device, "vkCmdCuLaunchKernelNVX" ) ); |
| 989 |
|
| 990 |
//=== VK_NVX_image_view_handle === |
| 991 |
vkGetImageViewHandleNVX = PFN_vkGetImageViewHandleNVX( vkGetDeviceProcAddr( device, "vkGetImageViewHandleNVX" ) ); |
| 992 |
vkGetImageViewHandle64NVX = PFN_vkGetImageViewHandle64NVX( vkGetDeviceProcAddr( device, "vkGetImageViewHandle64NVX" ) ); |
| 993 |
vkGetImageViewAddressNVX = PFN_vkGetImageViewAddressNVX( vkGetDeviceProcAddr( device, "vkGetImageViewAddressNVX" ) ); |
| 994 |
vkGetDeviceCombinedImageSamplerIndexNVX = |
| 995 |
PFN_vkGetDeviceCombinedImageSamplerIndexNVX( vkGetDeviceProcAddr( device, "vkGetDeviceCombinedImageSamplerIndexNVX" ) ); |
| 996 |
|
| 997 |
//=== VK_AMD_draw_indirect_count === |
| 998 |
vkCmdDrawIndirectCountAMD = PFN_vkCmdDrawIndirectCountAMD( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCountAMD" ) ); |
| 999 |
if ( !vkCmdDrawIndirectCount ) |
| 1000 |
vkCmdDrawIndirectCount = vkCmdDrawIndirectCountAMD; |
| 1001 |
vkCmdDrawIndexedIndirectCountAMD = PFN_vkCmdDrawIndexedIndirectCountAMD( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCountAMD" ) ); |
| 1002 |
if ( !vkCmdDrawIndexedIndirectCount ) |
| 1003 |
vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountAMD; |
| 1004 |
|
| 1005 |
//=== VK_AMD_shader_info === |
| 1006 |
vkGetShaderInfoAMD = PFN_vkGetShaderInfoAMD( vkGetDeviceProcAddr( device, "vkGetShaderInfoAMD" ) ); |
| 1007 |
|
| 1008 |
//=== VK_KHR_dynamic_rendering === |
| 1009 |
vkCmdBeginRenderingKHR = PFN_vkCmdBeginRenderingKHR( vkGetDeviceProcAddr( device, "vkCmdBeginRenderingKHR" ) ); |
| 1010 |
if ( !vkCmdBeginRendering ) |
| 1011 |
vkCmdBeginRendering = vkCmdBeginRenderingKHR; |
| 1012 |
vkCmdEndRenderingKHR = PFN_vkCmdEndRenderingKHR( vkGetDeviceProcAddr( device, "vkCmdEndRenderingKHR" ) ); |
| 1013 |
if ( !vkCmdEndRendering ) |
| 1014 |
vkCmdEndRendering = vkCmdEndRenderingKHR; |
| 1015 |
|
| 1016 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 1017 |
//=== VK_NV_external_memory_win32 === |
| 1018 |
vkGetMemoryWin32HandleNV = PFN_vkGetMemoryWin32HandleNV( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleNV" ) ); |
| 1019 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 1020 |
|
| 1021 |
//=== VK_KHR_device_group === |
| 1022 |
vkGetDeviceGroupPeerMemoryFeaturesKHR = |
| 1023 |
PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR( vkGetDeviceProcAddr( device, "vkGetDeviceGroupPeerMemoryFeaturesKHR" ) ); |
| 1024 |
if ( !vkGetDeviceGroupPeerMemoryFeatures ) |
| 1025 |
vkGetDeviceGroupPeerMemoryFeatures = vkGetDeviceGroupPeerMemoryFeaturesKHR; |
| 1026 |
vkCmdSetDeviceMaskKHR = PFN_vkCmdSetDeviceMaskKHR( vkGetDeviceProcAddr( device, "vkCmdSetDeviceMaskKHR" ) ); |
| 1027 |
if ( !vkCmdSetDeviceMask ) |
| 1028 |
vkCmdSetDeviceMask = vkCmdSetDeviceMaskKHR; |
| 1029 |
vkCmdDispatchBaseKHR = PFN_vkCmdDispatchBaseKHR( vkGetDeviceProcAddr( device, "vkCmdDispatchBaseKHR" ) ); |
| 1030 |
if ( !vkCmdDispatchBase ) |
| 1031 |
vkCmdDispatchBase = vkCmdDispatchBaseKHR; |
| 1032 |
|
| 1033 |
//=== VK_KHR_maintenance1 === |
| 1034 |
vkTrimCommandPoolKHR = PFN_vkTrimCommandPoolKHR( vkGetDeviceProcAddr( device, "vkTrimCommandPoolKHR" ) ); |
| 1035 |
if ( !vkTrimCommandPool ) |
| 1036 |
vkTrimCommandPool = vkTrimCommandPoolKHR; |
| 1037 |
|
| 1038 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 1039 |
//=== VK_KHR_external_memory_win32 === |
| 1040 |
vkGetMemoryWin32HandleKHR = PFN_vkGetMemoryWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandleKHR" ) ); |
| 1041 |
vkGetMemoryWin32HandlePropertiesKHR = PFN_vkGetMemoryWin32HandlePropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryWin32HandlePropertiesKHR" ) ); |
| 1042 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 1043 |
|
| 1044 |
//=== VK_KHR_external_memory_fd === |
| 1045 |
vkGetMemoryFdKHR = PFN_vkGetMemoryFdKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdKHR" ) ); |
| 1046 |
vkGetMemoryFdPropertiesKHR = PFN_vkGetMemoryFdPropertiesKHR( vkGetDeviceProcAddr( device, "vkGetMemoryFdPropertiesKHR" ) ); |
| 1047 |
|
| 1048 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 1049 |
//=== VK_KHR_external_semaphore_win32 === |
| 1050 |
vkImportSemaphoreWin32HandleKHR = PFN_vkImportSemaphoreWin32HandleKHR( vkGetDeviceProcAddr( device, "vkImportSemaphoreWin32HandleKHR" ) ); |
| 1051 |
vkGetSemaphoreWin32HandleKHR = PFN_vkGetSemaphoreWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreWin32HandleKHR" ) ); |
| 1052 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 1053 |
|
| 1054 |
//=== VK_KHR_external_semaphore_fd === |
| 1055 |
vkImportSemaphoreFdKHR = PFN_vkImportSemaphoreFdKHR( vkGetDeviceProcAddr( device, "vkImportSemaphoreFdKHR" ) ); |
| 1056 |
vkGetSemaphoreFdKHR = PFN_vkGetSemaphoreFdKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreFdKHR" ) ); |
| 1057 |
|
| 1058 |
//=== VK_KHR_push_descriptor === |
| 1059 |
vkCmdPushDescriptorSetKHR = PFN_vkCmdPushDescriptorSetKHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetKHR" ) ); |
| 1060 |
if ( !vkCmdPushDescriptorSet ) |
| 1061 |
vkCmdPushDescriptorSet = vkCmdPushDescriptorSetKHR; |
| 1062 |
vkCmdPushDescriptorSetWithTemplateKHR = |
| 1063 |
PFN_vkCmdPushDescriptorSetWithTemplateKHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplateKHR" ) ); |
| 1064 |
if ( !vkCmdPushDescriptorSetWithTemplate ) |
| 1065 |
vkCmdPushDescriptorSetWithTemplate = vkCmdPushDescriptorSetWithTemplateKHR; |
| 1066 |
|
| 1067 |
//=== VK_EXT_conditional_rendering === |
| 1068 |
vkCmdBeginConditionalRenderingEXT = PFN_vkCmdBeginConditionalRenderingEXT( vkGetDeviceProcAddr( device, "vkCmdBeginConditionalRenderingEXT" ) ); |
| 1069 |
vkCmdEndConditionalRenderingEXT = PFN_vkCmdEndConditionalRenderingEXT( vkGetDeviceProcAddr( device, "vkCmdEndConditionalRenderingEXT" ) ); |
| 1070 |
|
| 1071 |
//=== VK_KHR_descriptor_update_template === |
| 1072 |
vkCreateDescriptorUpdateTemplateKHR = PFN_vkCreateDescriptorUpdateTemplateKHR( vkGetDeviceProcAddr( device, "vkCreateDescriptorUpdateTemplateKHR" ) ); |
| 1073 |
if ( !vkCreateDescriptorUpdateTemplate ) |
| 1074 |
vkCreateDescriptorUpdateTemplate = vkCreateDescriptorUpdateTemplateKHR; |
| 1075 |
vkDestroyDescriptorUpdateTemplateKHR = |
| 1076 |
PFN_vkDestroyDescriptorUpdateTemplateKHR( vkGetDeviceProcAddr( device, "vkDestroyDescriptorUpdateTemplateKHR" ) ); |
| 1077 |
if ( !vkDestroyDescriptorUpdateTemplate ) |
| 1078 |
vkDestroyDescriptorUpdateTemplate = vkDestroyDescriptorUpdateTemplateKHR; |
| 1079 |
vkUpdateDescriptorSetWithTemplateKHR = |
| 1080 |
PFN_vkUpdateDescriptorSetWithTemplateKHR( vkGetDeviceProcAddr( device, "vkUpdateDescriptorSetWithTemplateKHR" ) ); |
| 1081 |
if ( !vkUpdateDescriptorSetWithTemplate ) |
| 1082 |
vkUpdateDescriptorSetWithTemplate = vkUpdateDescriptorSetWithTemplateKHR; |
| 1083 |
|
| 1084 |
//=== VK_NV_clip_space_w_scaling === |
| 1085 |
vkCmdSetViewportWScalingNV = PFN_vkCmdSetViewportWScalingNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportWScalingNV" ) ); |
| 1086 |
|
| 1087 |
//=== VK_EXT_display_control === |
| 1088 |
vkDisplayPowerControlEXT = PFN_vkDisplayPowerControlEXT( vkGetDeviceProcAddr( device, "vkDisplayPowerControlEXT" ) ); |
| 1089 |
vkRegisterDeviceEventEXT = PFN_vkRegisterDeviceEventEXT( vkGetDeviceProcAddr( device, "vkRegisterDeviceEventEXT" ) ); |
| 1090 |
vkRegisterDisplayEventEXT = PFN_vkRegisterDisplayEventEXT( vkGetDeviceProcAddr( device, "vkRegisterDisplayEventEXT" ) ); |
| 1091 |
vkGetSwapchainCounterEXT = PFN_vkGetSwapchainCounterEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainCounterEXT" ) ); |
| 1092 |
|
| 1093 |
//=== VK_GOOGLE_display_timing === |
| 1094 |
vkGetRefreshCycleDurationGOOGLE = PFN_vkGetRefreshCycleDurationGOOGLE( vkGetDeviceProcAddr( device, "vkGetRefreshCycleDurationGOOGLE" ) ); |
| 1095 |
vkGetPastPresentationTimingGOOGLE = PFN_vkGetPastPresentationTimingGOOGLE( vkGetDeviceProcAddr( device, "vkGetPastPresentationTimingGOOGLE" ) ); |
| 1096 |
|
| 1097 |
//=== VK_EXT_discard_rectangles === |
| 1098 |
vkCmdSetDiscardRectangleEXT = PFN_vkCmdSetDiscardRectangleEXT( vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleEXT" ) ); |
| 1099 |
vkCmdSetDiscardRectangleEnableEXT = PFN_vkCmdSetDiscardRectangleEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleEnableEXT" ) ); |
| 1100 |
vkCmdSetDiscardRectangleModeEXT = PFN_vkCmdSetDiscardRectangleModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetDiscardRectangleModeEXT" ) ); |
| 1101 |
|
| 1102 |
//=== VK_EXT_hdr_metadata === |
| 1103 |
vkSetHdrMetadataEXT = PFN_vkSetHdrMetadataEXT( vkGetDeviceProcAddr( device, "vkSetHdrMetadataEXT" ) ); |
| 1104 |
|
| 1105 |
//=== VK_KHR_create_renderpass2 === |
| 1106 |
vkCreateRenderPass2KHR = PFN_vkCreateRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCreateRenderPass2KHR" ) ); |
| 1107 |
if ( !vkCreateRenderPass2 ) |
| 1108 |
vkCreateRenderPass2 = vkCreateRenderPass2KHR; |
| 1109 |
vkCmdBeginRenderPass2KHR = PFN_vkCmdBeginRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCmdBeginRenderPass2KHR" ) ); |
| 1110 |
if ( !vkCmdBeginRenderPass2 ) |
| 1111 |
vkCmdBeginRenderPass2 = vkCmdBeginRenderPass2KHR; |
| 1112 |
vkCmdNextSubpass2KHR = PFN_vkCmdNextSubpass2KHR( vkGetDeviceProcAddr( device, "vkCmdNextSubpass2KHR" ) ); |
| 1113 |
if ( !vkCmdNextSubpass2 ) |
| 1114 |
vkCmdNextSubpass2 = vkCmdNextSubpass2KHR; |
| 1115 |
vkCmdEndRenderPass2KHR = PFN_vkCmdEndRenderPass2KHR( vkGetDeviceProcAddr( device, "vkCmdEndRenderPass2KHR" ) ); |
| 1116 |
if ( !vkCmdEndRenderPass2 ) |
| 1117 |
vkCmdEndRenderPass2 = vkCmdEndRenderPass2KHR; |
| 1118 |
|
| 1119 |
//=== VK_KHR_shared_presentable_image === |
| 1120 |
vkGetSwapchainStatusKHR = PFN_vkGetSwapchainStatusKHR( vkGetDeviceProcAddr( device, "vkGetSwapchainStatusKHR" ) ); |
| 1121 |
|
| 1122 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 1123 |
//=== VK_KHR_external_fence_win32 === |
| 1124 |
vkImportFenceWin32HandleKHR = PFN_vkImportFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkImportFenceWin32HandleKHR" ) ); |
| 1125 |
vkGetFenceWin32HandleKHR = PFN_vkGetFenceWin32HandleKHR( vkGetDeviceProcAddr( device, "vkGetFenceWin32HandleKHR" ) ); |
| 1126 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 1127 |
|
| 1128 |
//=== VK_KHR_external_fence_fd === |
| 1129 |
vkImportFenceFdKHR = PFN_vkImportFenceFdKHR( vkGetDeviceProcAddr( device, "vkImportFenceFdKHR" ) ); |
| 1130 |
vkGetFenceFdKHR = PFN_vkGetFenceFdKHR( vkGetDeviceProcAddr( device, "vkGetFenceFdKHR" ) ); |
| 1131 |
|
| 1132 |
//=== VK_KHR_performance_query === |
| 1133 |
vkAcquireProfilingLockKHR = PFN_vkAcquireProfilingLockKHR( vkGetDeviceProcAddr( device, "vkAcquireProfilingLockKHR" ) ); |
| 1134 |
vkReleaseProfilingLockKHR = PFN_vkReleaseProfilingLockKHR( vkGetDeviceProcAddr( device, "vkReleaseProfilingLockKHR" ) ); |
| 1135 |
|
| 1136 |
//=== VK_EXT_debug_utils === |
| 1137 |
vkSetDebugUtilsObjectNameEXT = PFN_vkSetDebugUtilsObjectNameEXT( vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectNameEXT" ) ); |
| 1138 |
vkSetDebugUtilsObjectTagEXT = PFN_vkSetDebugUtilsObjectTagEXT( vkGetDeviceProcAddr( device, "vkSetDebugUtilsObjectTagEXT" ) ); |
| 1139 |
vkQueueBeginDebugUtilsLabelEXT = PFN_vkQueueBeginDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueBeginDebugUtilsLabelEXT" ) ); |
| 1140 |
vkQueueEndDebugUtilsLabelEXT = PFN_vkQueueEndDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueEndDebugUtilsLabelEXT" ) ); |
| 1141 |
vkQueueInsertDebugUtilsLabelEXT = PFN_vkQueueInsertDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkQueueInsertDebugUtilsLabelEXT" ) ); |
| 1142 |
vkCmdBeginDebugUtilsLabelEXT = PFN_vkCmdBeginDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdBeginDebugUtilsLabelEXT" ) ); |
| 1143 |
vkCmdEndDebugUtilsLabelEXT = PFN_vkCmdEndDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdEndDebugUtilsLabelEXT" ) ); |
| 1144 |
vkCmdInsertDebugUtilsLabelEXT = PFN_vkCmdInsertDebugUtilsLabelEXT( vkGetDeviceProcAddr( device, "vkCmdInsertDebugUtilsLabelEXT" ) ); |
| 1145 |
|
| 1146 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 1147 |
//=== VK_ANDROID_external_memory_android_hardware_buffer === |
| 1148 |
vkGetAndroidHardwareBufferPropertiesANDROID = |
| 1149 |
PFN_vkGetAndroidHardwareBufferPropertiesANDROID( vkGetDeviceProcAddr( device, "vkGetAndroidHardwareBufferPropertiesANDROID" ) ); |
| 1150 |
vkGetMemoryAndroidHardwareBufferANDROID = |
| 1151 |
PFN_vkGetMemoryAndroidHardwareBufferANDROID( vkGetDeviceProcAddr( device, "vkGetMemoryAndroidHardwareBufferANDROID" ) ); |
| 1152 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 1153 |
|
| 1154 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 1155 |
//=== VK_AMDX_shader_enqueue === |
| 1156 |
vkCreateExecutionGraphPipelinesAMDX = PFN_vkCreateExecutionGraphPipelinesAMDX( vkGetDeviceProcAddr( device, "vkCreateExecutionGraphPipelinesAMDX" ) ); |
| 1157 |
vkGetExecutionGraphPipelineScratchSizeAMDX = |
| 1158 |
PFN_vkGetExecutionGraphPipelineScratchSizeAMDX( vkGetDeviceProcAddr( device, "vkGetExecutionGraphPipelineScratchSizeAMDX" ) ); |
| 1159 |
vkGetExecutionGraphPipelineNodeIndexAMDX = |
| 1160 |
PFN_vkGetExecutionGraphPipelineNodeIndexAMDX( vkGetDeviceProcAddr( device, "vkGetExecutionGraphPipelineNodeIndexAMDX" ) ); |
| 1161 |
vkCmdInitializeGraphScratchMemoryAMDX = |
| 1162 |
PFN_vkCmdInitializeGraphScratchMemoryAMDX( vkGetDeviceProcAddr( device, "vkCmdInitializeGraphScratchMemoryAMDX" ) ); |
| 1163 |
vkCmdDispatchGraphAMDX = PFN_vkCmdDispatchGraphAMDX( vkGetDeviceProcAddr( device, "vkCmdDispatchGraphAMDX" ) ); |
| 1164 |
vkCmdDispatchGraphIndirectAMDX = PFN_vkCmdDispatchGraphIndirectAMDX( vkGetDeviceProcAddr( device, "vkCmdDispatchGraphIndirectAMDX" ) ); |
| 1165 |
vkCmdDispatchGraphIndirectCountAMDX = PFN_vkCmdDispatchGraphIndirectCountAMDX( vkGetDeviceProcAddr( device, "vkCmdDispatchGraphIndirectCountAMDX" ) ); |
| 1166 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 1167 |
|
| 1168 |
//=== VK_EXT_descriptor_heap === |
| 1169 |
vkWriteSamplerDescriptorsEXT = PFN_vkWriteSamplerDescriptorsEXT( vkGetDeviceProcAddr( device, "vkWriteSamplerDescriptorsEXT" ) ); |
| 1170 |
vkWriteResourceDescriptorsEXT = PFN_vkWriteResourceDescriptorsEXT( vkGetDeviceProcAddr( device, "vkWriteResourceDescriptorsEXT" ) ); |
| 1171 |
vkCmdBindSamplerHeapEXT = PFN_vkCmdBindSamplerHeapEXT( vkGetDeviceProcAddr( device, "vkCmdBindSamplerHeapEXT" ) ); |
| 1172 |
vkCmdBindResourceHeapEXT = PFN_vkCmdBindResourceHeapEXT( vkGetDeviceProcAddr( device, "vkCmdBindResourceHeapEXT" ) ); |
| 1173 |
vkCmdPushDataEXT = PFN_vkCmdPushDataEXT( vkGetDeviceProcAddr( device, "vkCmdPushDataEXT" ) ); |
| 1174 |
vkGetImageOpaqueCaptureDataEXT = PFN_vkGetImageOpaqueCaptureDataEXT( vkGetDeviceProcAddr( device, "vkGetImageOpaqueCaptureDataEXT" ) ); |
| 1175 |
vkRegisterCustomBorderColorEXT = PFN_vkRegisterCustomBorderColorEXT( vkGetDeviceProcAddr( device, "vkRegisterCustomBorderColorEXT" ) ); |
| 1176 |
vkUnregisterCustomBorderColorEXT = PFN_vkUnregisterCustomBorderColorEXT( vkGetDeviceProcAddr( device, "vkUnregisterCustomBorderColorEXT" ) ); |
| 1177 |
vkGetTensorOpaqueCaptureDataARM = PFN_vkGetTensorOpaqueCaptureDataARM( vkGetDeviceProcAddr( device, "vkGetTensorOpaqueCaptureDataARM" ) ); |
| 1178 |
|
| 1179 |
//=== VK_EXT_sample_locations === |
| 1180 |
vkCmdSetSampleLocationsEXT = PFN_vkCmdSetSampleLocationsEXT( vkGetDeviceProcAddr( device, "vkCmdSetSampleLocationsEXT" ) ); |
| 1181 |
|
| 1182 |
//=== VK_KHR_get_memory_requirements2 === |
| 1183 |
vkGetImageMemoryRequirements2KHR = PFN_vkGetImageMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetImageMemoryRequirements2KHR" ) ); |
| 1184 |
if ( !vkGetImageMemoryRequirements2 ) |
| 1185 |
vkGetImageMemoryRequirements2 = vkGetImageMemoryRequirements2KHR; |
| 1186 |
vkGetBufferMemoryRequirements2KHR = PFN_vkGetBufferMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetBufferMemoryRequirements2KHR" ) ); |
| 1187 |
if ( !vkGetBufferMemoryRequirements2 ) |
| 1188 |
vkGetBufferMemoryRequirements2 = vkGetBufferMemoryRequirements2KHR; |
| 1189 |
vkGetImageSparseMemoryRequirements2KHR = |
| 1190 |
PFN_vkGetImageSparseMemoryRequirements2KHR( vkGetDeviceProcAddr( device, "vkGetImageSparseMemoryRequirements2KHR" ) ); |
| 1191 |
if ( !vkGetImageSparseMemoryRequirements2 ) |
| 1192 |
vkGetImageSparseMemoryRequirements2 = vkGetImageSparseMemoryRequirements2KHR; |
| 1193 |
|
| 1194 |
//=== VK_KHR_acceleration_structure === |
| 1195 |
vkCreateAccelerationStructureKHR = PFN_vkCreateAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureKHR" ) ); |
| 1196 |
vkDestroyAccelerationStructureKHR = PFN_vkDestroyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureKHR" ) ); |
| 1197 |
vkCmdBuildAccelerationStructuresKHR = PFN_vkCmdBuildAccelerationStructuresKHR( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresKHR" ) ); |
| 1198 |
vkCmdBuildAccelerationStructuresIndirectKHR = |
| 1199 |
PFN_vkCmdBuildAccelerationStructuresIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructuresIndirectKHR" ) ); |
| 1200 |
vkBuildAccelerationStructuresKHR = PFN_vkBuildAccelerationStructuresKHR( vkGetDeviceProcAddr( device, "vkBuildAccelerationStructuresKHR" ) ); |
| 1201 |
vkCopyAccelerationStructureKHR = PFN_vkCopyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureKHR" ) ); |
| 1202 |
vkCopyAccelerationStructureToMemoryKHR = |
| 1203 |
PFN_vkCopyAccelerationStructureToMemoryKHR( vkGetDeviceProcAddr( device, "vkCopyAccelerationStructureToMemoryKHR" ) ); |
| 1204 |
vkCopyMemoryToAccelerationStructureKHR = |
| 1205 |
PFN_vkCopyMemoryToAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCopyMemoryToAccelerationStructureKHR" ) ); |
| 1206 |
vkWriteAccelerationStructuresPropertiesKHR = |
| 1207 |
PFN_vkWriteAccelerationStructuresPropertiesKHR( vkGetDeviceProcAddr( device, "vkWriteAccelerationStructuresPropertiesKHR" ) ); |
| 1208 |
vkCmdCopyAccelerationStructureKHR = PFN_vkCmdCopyAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureKHR" ) ); |
| 1209 |
vkCmdCopyAccelerationStructureToMemoryKHR = |
| 1210 |
PFN_vkCmdCopyAccelerationStructureToMemoryKHR( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureToMemoryKHR" ) ); |
| 1211 |
vkCmdCopyMemoryToAccelerationStructureKHR = |
| 1212 |
PFN_vkCmdCopyMemoryToAccelerationStructureKHR( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToAccelerationStructureKHR" ) ); |
| 1213 |
vkGetAccelerationStructureDeviceAddressKHR = |
| 1214 |
PFN_vkGetAccelerationStructureDeviceAddressKHR( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureDeviceAddressKHR" ) ); |
| 1215 |
vkCmdWriteAccelerationStructuresPropertiesKHR = |
| 1216 |
PFN_vkCmdWriteAccelerationStructuresPropertiesKHR( vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesKHR" ) ); |
| 1217 |
vkGetDeviceAccelerationStructureCompatibilityKHR = |
| 1218 |
PFN_vkGetDeviceAccelerationStructureCompatibilityKHR( vkGetDeviceProcAddr( device, "vkGetDeviceAccelerationStructureCompatibilityKHR" ) ); |
| 1219 |
vkGetAccelerationStructureBuildSizesKHR = |
| 1220 |
PFN_vkGetAccelerationStructureBuildSizesKHR( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureBuildSizesKHR" ) ); |
| 1221 |
|
| 1222 |
//=== VK_KHR_ray_tracing_pipeline === |
| 1223 |
vkCmdTraceRaysKHR = PFN_vkCmdTraceRaysKHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysKHR" ) ); |
| 1224 |
vkCreateRayTracingPipelinesKHR = PFN_vkCreateRayTracingPipelinesKHR( vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesKHR" ) ); |
| 1225 |
vkGetRayTracingShaderGroupHandlesKHR = |
| 1226 |
PFN_vkGetRayTracingShaderGroupHandlesKHR( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesKHR" ) ); |
| 1227 |
vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = |
| 1228 |
PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( vkGetDeviceProcAddr( device, "vkGetRayTracingCaptureReplayShaderGroupHandlesKHR" ) ); |
| 1229 |
vkCmdTraceRaysIndirectKHR = PFN_vkCmdTraceRaysIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirectKHR" ) ); |
| 1230 |
vkGetRayTracingShaderGroupStackSizeKHR = |
| 1231 |
PFN_vkGetRayTracingShaderGroupStackSizeKHR( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupStackSizeKHR" ) ); |
| 1232 |
vkCmdSetRayTracingPipelineStackSizeKHR = |
| 1233 |
PFN_vkCmdSetRayTracingPipelineStackSizeKHR( vkGetDeviceProcAddr( device, "vkCmdSetRayTracingPipelineStackSizeKHR" ) ); |
| 1234 |
|
| 1235 |
//=== VK_KHR_sampler_ycbcr_conversion === |
| 1236 |
vkCreateSamplerYcbcrConversionKHR = PFN_vkCreateSamplerYcbcrConversionKHR( vkGetDeviceProcAddr( device, "vkCreateSamplerYcbcrConversionKHR" ) ); |
| 1237 |
if ( !vkCreateSamplerYcbcrConversion ) |
| 1238 |
vkCreateSamplerYcbcrConversion = vkCreateSamplerYcbcrConversionKHR; |
| 1239 |
vkDestroySamplerYcbcrConversionKHR = PFN_vkDestroySamplerYcbcrConversionKHR( vkGetDeviceProcAddr( device, "vkDestroySamplerYcbcrConversionKHR" ) ); |
| 1240 |
if ( !vkDestroySamplerYcbcrConversion ) |
| 1241 |
vkDestroySamplerYcbcrConversion = vkDestroySamplerYcbcrConversionKHR; |
| 1242 |
|
| 1243 |
//=== VK_KHR_bind_memory2 === |
| 1244 |
vkBindBufferMemory2KHR = PFN_vkBindBufferMemory2KHR( vkGetDeviceProcAddr( device, "vkBindBufferMemory2KHR" ) ); |
| 1245 |
if ( !vkBindBufferMemory2 ) |
| 1246 |
vkBindBufferMemory2 = vkBindBufferMemory2KHR; |
| 1247 |
vkBindImageMemory2KHR = PFN_vkBindImageMemory2KHR( vkGetDeviceProcAddr( device, "vkBindImageMemory2KHR" ) ); |
| 1248 |
if ( !vkBindImageMemory2 ) |
| 1249 |
vkBindImageMemory2 = vkBindImageMemory2KHR; |
| 1250 |
|
| 1251 |
//=== VK_EXT_image_drm_format_modifier === |
| 1252 |
vkGetImageDrmFormatModifierPropertiesEXT = |
| 1253 |
PFN_vkGetImageDrmFormatModifierPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetImageDrmFormatModifierPropertiesEXT" ) ); |
| 1254 |
|
| 1255 |
//=== VK_EXT_validation_cache === |
| 1256 |
vkCreateValidationCacheEXT = PFN_vkCreateValidationCacheEXT( vkGetDeviceProcAddr( device, "vkCreateValidationCacheEXT" ) ); |
| 1257 |
vkDestroyValidationCacheEXT = PFN_vkDestroyValidationCacheEXT( vkGetDeviceProcAddr( device, "vkDestroyValidationCacheEXT" ) ); |
| 1258 |
vkMergeValidationCachesEXT = PFN_vkMergeValidationCachesEXT( vkGetDeviceProcAddr( device, "vkMergeValidationCachesEXT" ) ); |
| 1259 |
vkGetValidationCacheDataEXT = PFN_vkGetValidationCacheDataEXT( vkGetDeviceProcAddr( device, "vkGetValidationCacheDataEXT" ) ); |
| 1260 |
|
| 1261 |
//=== VK_NV_shading_rate_image === |
| 1262 |
vkCmdBindShadingRateImageNV = PFN_vkCmdBindShadingRateImageNV( vkGetDeviceProcAddr( device, "vkCmdBindShadingRateImageNV" ) ); |
| 1263 |
vkCmdSetViewportShadingRatePaletteNV = |
| 1264 |
PFN_vkCmdSetViewportShadingRatePaletteNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportShadingRatePaletteNV" ) ); |
| 1265 |
vkCmdSetCoarseSampleOrderNV = PFN_vkCmdSetCoarseSampleOrderNV( vkGetDeviceProcAddr( device, "vkCmdSetCoarseSampleOrderNV" ) ); |
| 1266 |
|
| 1267 |
//=== VK_NV_ray_tracing === |
| 1268 |
vkCreateAccelerationStructureNV = PFN_vkCreateAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCreateAccelerationStructureNV" ) ); |
| 1269 |
vkDestroyAccelerationStructureNV = PFN_vkDestroyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkDestroyAccelerationStructureNV" ) ); |
| 1270 |
vkGetAccelerationStructureMemoryRequirementsNV = |
| 1271 |
PFN_vkGetAccelerationStructureMemoryRequirementsNV( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureMemoryRequirementsNV" ) ); |
| 1272 |
vkBindAccelerationStructureMemoryNV = PFN_vkBindAccelerationStructureMemoryNV( vkGetDeviceProcAddr( device, "vkBindAccelerationStructureMemoryNV" ) ); |
| 1273 |
vkCmdBuildAccelerationStructureNV = PFN_vkCmdBuildAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCmdBuildAccelerationStructureNV" ) ); |
| 1274 |
vkCmdCopyAccelerationStructureNV = PFN_vkCmdCopyAccelerationStructureNV( vkGetDeviceProcAddr( device, "vkCmdCopyAccelerationStructureNV" ) ); |
| 1275 |
vkCmdTraceRaysNV = PFN_vkCmdTraceRaysNV( vkGetDeviceProcAddr( device, "vkCmdTraceRaysNV" ) ); |
| 1276 |
vkCreateRayTracingPipelinesNV = PFN_vkCreateRayTracingPipelinesNV( vkGetDeviceProcAddr( device, "vkCreateRayTracingPipelinesNV" ) ); |
| 1277 |
vkGetRayTracingShaderGroupHandlesNV = PFN_vkGetRayTracingShaderGroupHandlesNV( vkGetDeviceProcAddr( device, "vkGetRayTracingShaderGroupHandlesNV" ) ); |
| 1278 |
if ( !vkGetRayTracingShaderGroupHandlesKHR ) |
| 1279 |
vkGetRayTracingShaderGroupHandlesKHR = vkGetRayTracingShaderGroupHandlesNV; |
| 1280 |
vkGetAccelerationStructureHandleNV = PFN_vkGetAccelerationStructureHandleNV( vkGetDeviceProcAddr( device, "vkGetAccelerationStructureHandleNV" ) ); |
| 1281 |
vkCmdWriteAccelerationStructuresPropertiesNV = |
| 1282 |
PFN_vkCmdWriteAccelerationStructuresPropertiesNV( vkGetDeviceProcAddr( device, "vkCmdWriteAccelerationStructuresPropertiesNV" ) ); |
| 1283 |
vkCompileDeferredNV = PFN_vkCompileDeferredNV( vkGetDeviceProcAddr( device, "vkCompileDeferredNV" ) ); |
| 1284 |
|
| 1285 |
//=== VK_KHR_maintenance3 === |
| 1286 |
vkGetDescriptorSetLayoutSupportKHR = PFN_vkGetDescriptorSetLayoutSupportKHR( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSupportKHR" ) ); |
| 1287 |
if ( !vkGetDescriptorSetLayoutSupport ) |
| 1288 |
vkGetDescriptorSetLayoutSupport = vkGetDescriptorSetLayoutSupportKHR; |
| 1289 |
|
| 1290 |
//=== VK_KHR_draw_indirect_count === |
| 1291 |
vkCmdDrawIndirectCountKHR = PFN_vkCmdDrawIndirectCountKHR( vkGetDeviceProcAddr( device, "vkCmdDrawIndirectCountKHR" ) ); |
| 1292 |
if ( !vkCmdDrawIndirectCount ) |
| 1293 |
vkCmdDrawIndirectCount = vkCmdDrawIndirectCountKHR; |
| 1294 |
vkCmdDrawIndexedIndirectCountKHR = PFN_vkCmdDrawIndexedIndirectCountKHR( vkGetDeviceProcAddr( device, "vkCmdDrawIndexedIndirectCountKHR" ) ); |
| 1295 |
if ( !vkCmdDrawIndexedIndirectCount ) |
| 1296 |
vkCmdDrawIndexedIndirectCount = vkCmdDrawIndexedIndirectCountKHR; |
| 1297 |
|
| 1298 |
//=== VK_EXT_external_memory_host === |
| 1299 |
vkGetMemoryHostPointerPropertiesEXT = PFN_vkGetMemoryHostPointerPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetMemoryHostPointerPropertiesEXT" ) ); |
| 1300 |
|
| 1301 |
//=== VK_AMD_buffer_marker === |
| 1302 |
vkCmdWriteBufferMarkerAMD = PFN_vkCmdWriteBufferMarkerAMD( vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarkerAMD" ) ); |
| 1303 |
vkCmdWriteBufferMarker2AMD = PFN_vkCmdWriteBufferMarker2AMD( vkGetDeviceProcAddr( device, "vkCmdWriteBufferMarker2AMD" ) ); |
| 1304 |
|
| 1305 |
//=== VK_EXT_calibrated_timestamps === |
| 1306 |
vkGetCalibratedTimestampsEXT = PFN_vkGetCalibratedTimestampsEXT( vkGetDeviceProcAddr( device, "vkGetCalibratedTimestampsEXT" ) ); |
| 1307 |
if ( !vkGetCalibratedTimestampsKHR ) |
| 1308 |
vkGetCalibratedTimestampsKHR = vkGetCalibratedTimestampsEXT; |
| 1309 |
|
| 1310 |
//=== VK_NV_mesh_shader === |
| 1311 |
vkCmdDrawMeshTasksNV = PFN_vkCmdDrawMeshTasksNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksNV" ) ); |
| 1312 |
vkCmdDrawMeshTasksIndirectNV = PFN_vkCmdDrawMeshTasksIndirectNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectNV" ) ); |
| 1313 |
vkCmdDrawMeshTasksIndirectCountNV = PFN_vkCmdDrawMeshTasksIndirectCountNV( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountNV" ) ); |
| 1314 |
|
| 1315 |
//=== VK_NV_scissor_exclusive === |
| 1316 |
vkCmdSetExclusiveScissorEnableNV = PFN_vkCmdSetExclusiveScissorEnableNV( vkGetDeviceProcAddr( device, "vkCmdSetExclusiveScissorEnableNV" ) ); |
| 1317 |
vkCmdSetExclusiveScissorNV = PFN_vkCmdSetExclusiveScissorNV( vkGetDeviceProcAddr( device, "vkCmdSetExclusiveScissorNV" ) ); |
| 1318 |
|
| 1319 |
//=== VK_NV_device_diagnostic_checkpoints === |
| 1320 |
vkCmdSetCheckpointNV = PFN_vkCmdSetCheckpointNV( vkGetDeviceProcAddr( device, "vkCmdSetCheckpointNV" ) ); |
| 1321 |
vkGetQueueCheckpointDataNV = PFN_vkGetQueueCheckpointDataNV( vkGetDeviceProcAddr( device, "vkGetQueueCheckpointDataNV" ) ); |
| 1322 |
vkGetQueueCheckpointData2NV = PFN_vkGetQueueCheckpointData2NV( vkGetDeviceProcAddr( device, "vkGetQueueCheckpointData2NV" ) ); |
| 1323 |
|
| 1324 |
//=== VK_KHR_timeline_semaphore === |
| 1325 |
vkGetSemaphoreCounterValueKHR = PFN_vkGetSemaphoreCounterValueKHR( vkGetDeviceProcAddr( device, "vkGetSemaphoreCounterValueKHR" ) ); |
| 1326 |
if ( !vkGetSemaphoreCounterValue ) |
| 1327 |
vkGetSemaphoreCounterValue = vkGetSemaphoreCounterValueKHR; |
| 1328 |
vkWaitSemaphoresKHR = PFN_vkWaitSemaphoresKHR( vkGetDeviceProcAddr( device, "vkWaitSemaphoresKHR" ) ); |
| 1329 |
if ( !vkWaitSemaphores ) |
| 1330 |
vkWaitSemaphores = vkWaitSemaphoresKHR; |
| 1331 |
vkSignalSemaphoreKHR = PFN_vkSignalSemaphoreKHR( vkGetDeviceProcAddr( device, "vkSignalSemaphoreKHR" ) ); |
| 1332 |
if ( !vkSignalSemaphore ) |
| 1333 |
vkSignalSemaphore = vkSignalSemaphoreKHR; |
| 1334 |
|
| 1335 |
//=== VK_EXT_present_timing === |
| 1336 |
vkSetSwapchainPresentTimingQueueSizeEXT = |
| 1337 |
PFN_vkSetSwapchainPresentTimingQueueSizeEXT( vkGetDeviceProcAddr( device, "vkSetSwapchainPresentTimingQueueSizeEXT" ) ); |
| 1338 |
vkGetSwapchainTimingPropertiesEXT = PFN_vkGetSwapchainTimingPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainTimingPropertiesEXT" ) ); |
| 1339 |
vkGetSwapchainTimeDomainPropertiesEXT = |
| 1340 |
PFN_vkGetSwapchainTimeDomainPropertiesEXT( vkGetDeviceProcAddr( device, "vkGetSwapchainTimeDomainPropertiesEXT" ) ); |
| 1341 |
vkGetPastPresentationTimingEXT = PFN_vkGetPastPresentationTimingEXT( vkGetDeviceProcAddr( device, "vkGetPastPresentationTimingEXT" ) ); |
| 1342 |
|
| 1343 |
//=== VK_INTEL_performance_query === |
| 1344 |
vkInitializePerformanceApiINTEL = PFN_vkInitializePerformanceApiINTEL( vkGetDeviceProcAddr( device, "vkInitializePerformanceApiINTEL" ) ); |
| 1345 |
vkUninitializePerformanceApiINTEL = PFN_vkUninitializePerformanceApiINTEL( vkGetDeviceProcAddr( device, "vkUninitializePerformanceApiINTEL" ) ); |
| 1346 |
vkCmdSetPerformanceMarkerINTEL = PFN_vkCmdSetPerformanceMarkerINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceMarkerINTEL" ) ); |
| 1347 |
vkCmdSetPerformanceStreamMarkerINTEL = |
| 1348 |
PFN_vkCmdSetPerformanceStreamMarkerINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceStreamMarkerINTEL" ) ); |
| 1349 |
vkCmdSetPerformanceOverrideINTEL = PFN_vkCmdSetPerformanceOverrideINTEL( vkGetDeviceProcAddr( device, "vkCmdSetPerformanceOverrideINTEL" ) ); |
| 1350 |
vkAcquirePerformanceConfigurationINTEL = |
| 1351 |
PFN_vkAcquirePerformanceConfigurationINTEL( vkGetDeviceProcAddr( device, "vkAcquirePerformanceConfigurationINTEL" ) ); |
| 1352 |
vkReleasePerformanceConfigurationINTEL = |
| 1353 |
PFN_vkReleasePerformanceConfigurationINTEL( vkGetDeviceProcAddr( device, "vkReleasePerformanceConfigurationINTEL" ) ); |
| 1354 |
vkQueueSetPerformanceConfigurationINTEL = |
| 1355 |
PFN_vkQueueSetPerformanceConfigurationINTEL( vkGetDeviceProcAddr( device, "vkQueueSetPerformanceConfigurationINTEL" ) ); |
| 1356 |
vkGetPerformanceParameterINTEL = PFN_vkGetPerformanceParameterINTEL( vkGetDeviceProcAddr( device, "vkGetPerformanceParameterINTEL" ) ); |
| 1357 |
|
| 1358 |
//=== VK_AMD_display_native_hdr === |
| 1359 |
vkSetLocalDimmingAMD = PFN_vkSetLocalDimmingAMD( vkGetDeviceProcAddr( device, "vkSetLocalDimmingAMD" ) ); |
| 1360 |
|
| 1361 |
//=== VK_KHR_fragment_shading_rate === |
| 1362 |
vkCmdSetFragmentShadingRateKHR = PFN_vkCmdSetFragmentShadingRateKHR( vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateKHR" ) ); |
| 1363 |
|
| 1364 |
//=== VK_KHR_dynamic_rendering_local_read === |
| 1365 |
vkCmdSetRenderingAttachmentLocationsKHR = |
| 1366 |
PFN_vkCmdSetRenderingAttachmentLocationsKHR( vkGetDeviceProcAddr( device, "vkCmdSetRenderingAttachmentLocationsKHR" ) ); |
| 1367 |
if ( !vkCmdSetRenderingAttachmentLocations ) |
| 1368 |
vkCmdSetRenderingAttachmentLocations = vkCmdSetRenderingAttachmentLocationsKHR; |
| 1369 |
vkCmdSetRenderingInputAttachmentIndicesKHR = |
| 1370 |
PFN_vkCmdSetRenderingInputAttachmentIndicesKHR( vkGetDeviceProcAddr( device, "vkCmdSetRenderingInputAttachmentIndicesKHR" ) ); |
| 1371 |
if ( !vkCmdSetRenderingInputAttachmentIndices ) |
| 1372 |
vkCmdSetRenderingInputAttachmentIndices = vkCmdSetRenderingInputAttachmentIndicesKHR; |
| 1373 |
|
| 1374 |
//=== VK_EXT_buffer_device_address === |
| 1375 |
vkGetBufferDeviceAddressEXT = PFN_vkGetBufferDeviceAddressEXT( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddressEXT" ) ); |
| 1376 |
if ( !vkGetBufferDeviceAddress ) |
| 1377 |
vkGetBufferDeviceAddress = vkGetBufferDeviceAddressEXT; |
| 1378 |
|
| 1379 |
//=== VK_KHR_present_wait === |
| 1380 |
vkWaitForPresentKHR = PFN_vkWaitForPresentKHR( vkGetDeviceProcAddr( device, "vkWaitForPresentKHR" ) ); |
| 1381 |
|
| 1382 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 1383 |
//=== VK_EXT_full_screen_exclusive === |
| 1384 |
vkAcquireFullScreenExclusiveModeEXT = PFN_vkAcquireFullScreenExclusiveModeEXT( vkGetDeviceProcAddr( device, "vkAcquireFullScreenExclusiveModeEXT" ) ); |
| 1385 |
vkReleaseFullScreenExclusiveModeEXT = PFN_vkReleaseFullScreenExclusiveModeEXT( vkGetDeviceProcAddr( device, "vkReleaseFullScreenExclusiveModeEXT" ) ); |
| 1386 |
vkGetDeviceGroupSurfacePresentModes2EXT = |
| 1387 |
PFN_vkGetDeviceGroupSurfacePresentModes2EXT( vkGetDeviceProcAddr( device, "vkGetDeviceGroupSurfacePresentModes2EXT" ) ); |
| 1388 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 1389 |
|
| 1390 |
//=== VK_KHR_buffer_device_address === |
| 1391 |
vkGetBufferDeviceAddressKHR = PFN_vkGetBufferDeviceAddressKHR( vkGetDeviceProcAddr( device, "vkGetBufferDeviceAddressKHR" ) ); |
| 1392 |
if ( !vkGetBufferDeviceAddress ) |
| 1393 |
vkGetBufferDeviceAddress = vkGetBufferDeviceAddressKHR; |
| 1394 |
vkGetBufferOpaqueCaptureAddressKHR = PFN_vkGetBufferOpaqueCaptureAddressKHR( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureAddressKHR" ) ); |
| 1395 |
if ( !vkGetBufferOpaqueCaptureAddress ) |
| 1396 |
vkGetBufferOpaqueCaptureAddress = vkGetBufferOpaqueCaptureAddressKHR; |
| 1397 |
vkGetDeviceMemoryOpaqueCaptureAddressKHR = |
| 1398 |
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR( vkGetDeviceProcAddr( device, "vkGetDeviceMemoryOpaqueCaptureAddressKHR" ) ); |
| 1399 |
if ( !vkGetDeviceMemoryOpaqueCaptureAddress ) |
| 1400 |
vkGetDeviceMemoryOpaqueCaptureAddress = vkGetDeviceMemoryOpaqueCaptureAddressKHR; |
| 1401 |
|
| 1402 |
//=== VK_EXT_line_rasterization === |
| 1403 |
vkCmdSetLineStippleEXT = PFN_vkCmdSetLineStippleEXT( vkGetDeviceProcAddr( device, "vkCmdSetLineStippleEXT" ) ); |
| 1404 |
if ( !vkCmdSetLineStipple ) |
| 1405 |
vkCmdSetLineStipple = vkCmdSetLineStippleEXT; |
| 1406 |
|
| 1407 |
//=== VK_EXT_host_query_reset === |
| 1408 |
vkResetQueryPoolEXT = PFN_vkResetQueryPoolEXT( vkGetDeviceProcAddr( device, "vkResetQueryPoolEXT" ) ); |
| 1409 |
if ( !vkResetQueryPool ) |
| 1410 |
vkResetQueryPool = vkResetQueryPoolEXT; |
| 1411 |
|
| 1412 |
//=== VK_EXT_extended_dynamic_state === |
| 1413 |
vkCmdSetCullModeEXT = PFN_vkCmdSetCullModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetCullModeEXT" ) ); |
| 1414 |
if ( !vkCmdSetCullMode ) |
| 1415 |
vkCmdSetCullMode = vkCmdSetCullModeEXT; |
| 1416 |
vkCmdSetFrontFaceEXT = PFN_vkCmdSetFrontFaceEXT( vkGetDeviceProcAddr( device, "vkCmdSetFrontFaceEXT" ) ); |
| 1417 |
if ( !vkCmdSetFrontFace ) |
| 1418 |
vkCmdSetFrontFace = vkCmdSetFrontFaceEXT; |
| 1419 |
vkCmdSetPrimitiveTopologyEXT = PFN_vkCmdSetPrimitiveTopologyEXT( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveTopologyEXT" ) ); |
| 1420 |
if ( !vkCmdSetPrimitiveTopology ) |
| 1421 |
vkCmdSetPrimitiveTopology = vkCmdSetPrimitiveTopologyEXT; |
| 1422 |
vkCmdSetViewportWithCountEXT = PFN_vkCmdSetViewportWithCountEXT( vkGetDeviceProcAddr( device, "vkCmdSetViewportWithCountEXT" ) ); |
| 1423 |
if ( !vkCmdSetViewportWithCount ) |
| 1424 |
vkCmdSetViewportWithCount = vkCmdSetViewportWithCountEXT; |
| 1425 |
vkCmdSetScissorWithCountEXT = PFN_vkCmdSetScissorWithCountEXT( vkGetDeviceProcAddr( device, "vkCmdSetScissorWithCountEXT" ) ); |
| 1426 |
if ( !vkCmdSetScissorWithCount ) |
| 1427 |
vkCmdSetScissorWithCount = vkCmdSetScissorWithCountEXT; |
| 1428 |
vkCmdBindVertexBuffers2EXT = PFN_vkCmdBindVertexBuffers2EXT( vkGetDeviceProcAddr( device, "vkCmdBindVertexBuffers2EXT" ) ); |
| 1429 |
if ( !vkCmdBindVertexBuffers2 ) |
| 1430 |
vkCmdBindVertexBuffers2 = vkCmdBindVertexBuffers2EXT; |
| 1431 |
vkCmdSetDepthTestEnableEXT = PFN_vkCmdSetDepthTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthTestEnableEXT" ) ); |
| 1432 |
if ( !vkCmdSetDepthTestEnable ) |
| 1433 |
vkCmdSetDepthTestEnable = vkCmdSetDepthTestEnableEXT; |
| 1434 |
vkCmdSetDepthWriteEnableEXT = PFN_vkCmdSetDepthWriteEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthWriteEnableEXT" ) ); |
| 1435 |
if ( !vkCmdSetDepthWriteEnable ) |
| 1436 |
vkCmdSetDepthWriteEnable = vkCmdSetDepthWriteEnableEXT; |
| 1437 |
vkCmdSetDepthCompareOpEXT = PFN_vkCmdSetDepthCompareOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthCompareOpEXT" ) ); |
| 1438 |
if ( !vkCmdSetDepthCompareOp ) |
| 1439 |
vkCmdSetDepthCompareOp = vkCmdSetDepthCompareOpEXT; |
| 1440 |
vkCmdSetDepthBoundsTestEnableEXT = PFN_vkCmdSetDepthBoundsTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthBoundsTestEnableEXT" ) ); |
| 1441 |
if ( !vkCmdSetDepthBoundsTestEnable ) |
| 1442 |
vkCmdSetDepthBoundsTestEnable = vkCmdSetDepthBoundsTestEnableEXT; |
| 1443 |
vkCmdSetStencilTestEnableEXT = PFN_vkCmdSetStencilTestEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetStencilTestEnableEXT" ) ); |
| 1444 |
if ( !vkCmdSetStencilTestEnable ) |
| 1445 |
vkCmdSetStencilTestEnable = vkCmdSetStencilTestEnableEXT; |
| 1446 |
vkCmdSetStencilOpEXT = PFN_vkCmdSetStencilOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetStencilOpEXT" ) ); |
| 1447 |
if ( !vkCmdSetStencilOp ) |
| 1448 |
vkCmdSetStencilOp = vkCmdSetStencilOpEXT; |
| 1449 |
|
| 1450 |
//=== VK_KHR_deferred_host_operations === |
| 1451 |
vkCreateDeferredOperationKHR = PFN_vkCreateDeferredOperationKHR( vkGetDeviceProcAddr( device, "vkCreateDeferredOperationKHR" ) ); |
| 1452 |
vkDestroyDeferredOperationKHR = PFN_vkDestroyDeferredOperationKHR( vkGetDeviceProcAddr( device, "vkDestroyDeferredOperationKHR" ) ); |
| 1453 |
vkGetDeferredOperationMaxConcurrencyKHR = |
| 1454 |
PFN_vkGetDeferredOperationMaxConcurrencyKHR( vkGetDeviceProcAddr( device, "vkGetDeferredOperationMaxConcurrencyKHR" ) ); |
| 1455 |
vkGetDeferredOperationResultKHR = PFN_vkGetDeferredOperationResultKHR( vkGetDeviceProcAddr( device, "vkGetDeferredOperationResultKHR" ) ); |
| 1456 |
vkDeferredOperationJoinKHR = PFN_vkDeferredOperationJoinKHR( vkGetDeviceProcAddr( device, "vkDeferredOperationJoinKHR" ) ); |
| 1457 |
|
| 1458 |
//=== VK_KHR_pipeline_executable_properties === |
| 1459 |
vkGetPipelineExecutablePropertiesKHR = |
| 1460 |
PFN_vkGetPipelineExecutablePropertiesKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutablePropertiesKHR" ) ); |
| 1461 |
vkGetPipelineExecutableStatisticsKHR = |
| 1462 |
PFN_vkGetPipelineExecutableStatisticsKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutableStatisticsKHR" ) ); |
| 1463 |
vkGetPipelineExecutableInternalRepresentationsKHR = |
| 1464 |
PFN_vkGetPipelineExecutableInternalRepresentationsKHR( vkGetDeviceProcAddr( device, "vkGetPipelineExecutableInternalRepresentationsKHR" ) ); |
| 1465 |
|
| 1466 |
//=== VK_EXT_host_image_copy === |
| 1467 |
vkCopyMemoryToImageEXT = PFN_vkCopyMemoryToImageEXT( vkGetDeviceProcAddr( device, "vkCopyMemoryToImageEXT" ) ); |
| 1468 |
if ( !vkCopyMemoryToImage ) |
| 1469 |
vkCopyMemoryToImage = vkCopyMemoryToImageEXT; |
| 1470 |
vkCopyImageToMemoryEXT = PFN_vkCopyImageToMemoryEXT( vkGetDeviceProcAddr( device, "vkCopyImageToMemoryEXT" ) ); |
| 1471 |
if ( !vkCopyImageToMemory ) |
| 1472 |
vkCopyImageToMemory = vkCopyImageToMemoryEXT; |
| 1473 |
vkCopyImageToImageEXT = PFN_vkCopyImageToImageEXT( vkGetDeviceProcAddr( device, "vkCopyImageToImageEXT" ) ); |
| 1474 |
if ( !vkCopyImageToImage ) |
| 1475 |
vkCopyImageToImage = vkCopyImageToImageEXT; |
| 1476 |
vkTransitionImageLayoutEXT = PFN_vkTransitionImageLayoutEXT( vkGetDeviceProcAddr( device, "vkTransitionImageLayoutEXT" ) ); |
| 1477 |
if ( !vkTransitionImageLayout ) |
| 1478 |
vkTransitionImageLayout = vkTransitionImageLayoutEXT; |
| 1479 |
vkGetImageSubresourceLayout2EXT = PFN_vkGetImageSubresourceLayout2EXT( vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout2EXT" ) ); |
| 1480 |
if ( !vkGetImageSubresourceLayout2 ) |
| 1481 |
vkGetImageSubresourceLayout2 = vkGetImageSubresourceLayout2EXT; |
| 1482 |
|
| 1483 |
//=== VK_KHR_map_memory2 === |
| 1484 |
vkMapMemory2KHR = PFN_vkMapMemory2KHR( vkGetDeviceProcAddr( device, "vkMapMemory2KHR" ) ); |
| 1485 |
if ( !vkMapMemory2 ) |
| 1486 |
vkMapMemory2 = vkMapMemory2KHR; |
| 1487 |
vkUnmapMemory2KHR = PFN_vkUnmapMemory2KHR( vkGetDeviceProcAddr( device, "vkUnmapMemory2KHR" ) ); |
| 1488 |
if ( !vkUnmapMemory2 ) |
| 1489 |
vkUnmapMemory2 = vkUnmapMemory2KHR; |
| 1490 |
|
| 1491 |
//=== VK_EXT_swapchain_maintenance1 === |
| 1492 |
vkReleaseSwapchainImagesEXT = PFN_vkReleaseSwapchainImagesEXT( vkGetDeviceProcAddr( device, "vkReleaseSwapchainImagesEXT" ) ); |
| 1493 |
if ( !vkReleaseSwapchainImagesKHR ) |
| 1494 |
vkReleaseSwapchainImagesKHR = vkReleaseSwapchainImagesEXT; |
| 1495 |
|
| 1496 |
//=== VK_NV_device_generated_commands === |
| 1497 |
vkGetGeneratedCommandsMemoryRequirementsNV = |
| 1498 |
PFN_vkGetGeneratedCommandsMemoryRequirementsNV( vkGetDeviceProcAddr( device, "vkGetGeneratedCommandsMemoryRequirementsNV" ) ); |
| 1499 |
vkCmdPreprocessGeneratedCommandsNV = PFN_vkCmdPreprocessGeneratedCommandsNV( vkGetDeviceProcAddr( device, "vkCmdPreprocessGeneratedCommandsNV" ) ); |
| 1500 |
vkCmdExecuteGeneratedCommandsNV = PFN_vkCmdExecuteGeneratedCommandsNV( vkGetDeviceProcAddr( device, "vkCmdExecuteGeneratedCommandsNV" ) ); |
| 1501 |
vkCmdBindPipelineShaderGroupNV = PFN_vkCmdBindPipelineShaderGroupNV( vkGetDeviceProcAddr( device, "vkCmdBindPipelineShaderGroupNV" ) ); |
| 1502 |
vkCreateIndirectCommandsLayoutNV = PFN_vkCreateIndirectCommandsLayoutNV( vkGetDeviceProcAddr( device, "vkCreateIndirectCommandsLayoutNV" ) ); |
| 1503 |
vkDestroyIndirectCommandsLayoutNV = PFN_vkDestroyIndirectCommandsLayoutNV( vkGetDeviceProcAddr( device, "vkDestroyIndirectCommandsLayoutNV" ) ); |
| 1504 |
|
| 1505 |
//=== VK_EXT_depth_bias_control === |
| 1506 |
vkCmdSetDepthBias2EXT = PFN_vkCmdSetDepthBias2EXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthBias2EXT" ) ); |
| 1507 |
|
| 1508 |
//=== VK_EXT_private_data === |
| 1509 |
vkCreatePrivateDataSlotEXT = PFN_vkCreatePrivateDataSlotEXT( vkGetDeviceProcAddr( device, "vkCreatePrivateDataSlotEXT" ) ); |
| 1510 |
if ( !vkCreatePrivateDataSlot ) |
| 1511 |
vkCreatePrivateDataSlot = vkCreatePrivateDataSlotEXT; |
| 1512 |
vkDestroyPrivateDataSlotEXT = PFN_vkDestroyPrivateDataSlotEXT( vkGetDeviceProcAddr( device, "vkDestroyPrivateDataSlotEXT" ) ); |
| 1513 |
if ( !vkDestroyPrivateDataSlot ) |
| 1514 |
vkDestroyPrivateDataSlot = vkDestroyPrivateDataSlotEXT; |
| 1515 |
vkSetPrivateDataEXT = PFN_vkSetPrivateDataEXT( vkGetDeviceProcAddr( device, "vkSetPrivateDataEXT" ) ); |
| 1516 |
if ( !vkSetPrivateData ) |
| 1517 |
vkSetPrivateData = vkSetPrivateDataEXT; |
| 1518 |
vkGetPrivateDataEXT = PFN_vkGetPrivateDataEXT( vkGetDeviceProcAddr( device, "vkGetPrivateDataEXT" ) ); |
| 1519 |
if ( !vkGetPrivateData ) |
| 1520 |
vkGetPrivateData = vkGetPrivateDataEXT; |
| 1521 |
|
| 1522 |
//=== VK_KHR_video_encode_queue === |
| 1523 |
vkGetEncodedVideoSessionParametersKHR = |
| 1524 |
PFN_vkGetEncodedVideoSessionParametersKHR( vkGetDeviceProcAddr( device, "vkGetEncodedVideoSessionParametersKHR" ) ); |
| 1525 |
vkCmdEncodeVideoKHR = PFN_vkCmdEncodeVideoKHR( vkGetDeviceProcAddr( device, "vkCmdEncodeVideoKHR" ) ); |
| 1526 |
|
| 1527 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 1528 |
//=== VK_NV_cuda_kernel_launch === |
| 1529 |
vkCreateCudaModuleNV = PFN_vkCreateCudaModuleNV( vkGetDeviceProcAddr( device, "vkCreateCudaModuleNV" ) ); |
| 1530 |
vkGetCudaModuleCacheNV = PFN_vkGetCudaModuleCacheNV( vkGetDeviceProcAddr( device, "vkGetCudaModuleCacheNV" ) ); |
| 1531 |
vkCreateCudaFunctionNV = PFN_vkCreateCudaFunctionNV( vkGetDeviceProcAddr( device, "vkCreateCudaFunctionNV" ) ); |
| 1532 |
vkDestroyCudaModuleNV = PFN_vkDestroyCudaModuleNV( vkGetDeviceProcAddr( device, "vkDestroyCudaModuleNV" ) ); |
| 1533 |
vkDestroyCudaFunctionNV = PFN_vkDestroyCudaFunctionNV( vkGetDeviceProcAddr( device, "vkDestroyCudaFunctionNV" ) ); |
| 1534 |
vkCmdCudaLaunchKernelNV = PFN_vkCmdCudaLaunchKernelNV( vkGetDeviceProcAddr( device, "vkCmdCudaLaunchKernelNV" ) ); |
| 1535 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 1536 |
|
| 1537 |
//=== VK_QCOM_tile_shading === |
| 1538 |
vkCmdDispatchTileQCOM = PFN_vkCmdDispatchTileQCOM( vkGetDeviceProcAddr( device, "vkCmdDispatchTileQCOM" ) ); |
| 1539 |
vkCmdBeginPerTileExecutionQCOM = PFN_vkCmdBeginPerTileExecutionQCOM( vkGetDeviceProcAddr( device, "vkCmdBeginPerTileExecutionQCOM" ) ); |
| 1540 |
vkCmdEndPerTileExecutionQCOM = PFN_vkCmdEndPerTileExecutionQCOM( vkGetDeviceProcAddr( device, "vkCmdEndPerTileExecutionQCOM" ) ); |
| 1541 |
|
| 1542 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 1543 |
//=== VK_EXT_metal_objects === |
| 1544 |
vkExportMetalObjectsEXT = PFN_vkExportMetalObjectsEXT( vkGetDeviceProcAddr( device, "vkExportMetalObjectsEXT" ) ); |
| 1545 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 1546 |
|
| 1547 |
//=== VK_KHR_synchronization2 === |
| 1548 |
vkCmdSetEvent2KHR = PFN_vkCmdSetEvent2KHR( vkGetDeviceProcAddr( device, "vkCmdSetEvent2KHR" ) ); |
| 1549 |
if ( !vkCmdSetEvent2 ) |
| 1550 |
vkCmdSetEvent2 = vkCmdSetEvent2KHR; |
| 1551 |
vkCmdResetEvent2KHR = PFN_vkCmdResetEvent2KHR( vkGetDeviceProcAddr( device, "vkCmdResetEvent2KHR" ) ); |
| 1552 |
if ( !vkCmdResetEvent2 ) |
| 1553 |
vkCmdResetEvent2 = vkCmdResetEvent2KHR; |
| 1554 |
vkCmdWaitEvents2KHR = PFN_vkCmdWaitEvents2KHR( vkGetDeviceProcAddr( device, "vkCmdWaitEvents2KHR" ) ); |
| 1555 |
if ( !vkCmdWaitEvents2 ) |
| 1556 |
vkCmdWaitEvents2 = vkCmdWaitEvents2KHR; |
| 1557 |
vkCmdPipelineBarrier2KHR = PFN_vkCmdPipelineBarrier2KHR( vkGetDeviceProcAddr( device, "vkCmdPipelineBarrier2KHR" ) ); |
| 1558 |
if ( !vkCmdPipelineBarrier2 ) |
| 1559 |
vkCmdPipelineBarrier2 = vkCmdPipelineBarrier2KHR; |
| 1560 |
vkCmdWriteTimestamp2KHR = PFN_vkCmdWriteTimestamp2KHR( vkGetDeviceProcAddr( device, "vkCmdWriteTimestamp2KHR" ) ); |
| 1561 |
if ( !vkCmdWriteTimestamp2 ) |
| 1562 |
vkCmdWriteTimestamp2 = vkCmdWriteTimestamp2KHR; |
| 1563 |
vkQueueSubmit2KHR = PFN_vkQueueSubmit2KHR( vkGetDeviceProcAddr( device, "vkQueueSubmit2KHR" ) ); |
| 1564 |
if ( !vkQueueSubmit2 ) |
| 1565 |
vkQueueSubmit2 = vkQueueSubmit2KHR; |
| 1566 |
|
| 1567 |
//=== VK_EXT_descriptor_buffer === |
| 1568 |
vkGetDescriptorSetLayoutSizeEXT = PFN_vkGetDescriptorSetLayoutSizeEXT( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutSizeEXT" ) ); |
| 1569 |
vkGetDescriptorSetLayoutBindingOffsetEXT = |
| 1570 |
PFN_vkGetDescriptorSetLayoutBindingOffsetEXT( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutBindingOffsetEXT" ) ); |
| 1571 |
vkGetDescriptorEXT = PFN_vkGetDescriptorEXT( vkGetDeviceProcAddr( device, "vkGetDescriptorEXT" ) ); |
| 1572 |
vkCmdBindDescriptorBuffersEXT = PFN_vkCmdBindDescriptorBuffersEXT( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorBuffersEXT" ) ); |
| 1573 |
vkCmdSetDescriptorBufferOffsetsEXT = PFN_vkCmdSetDescriptorBufferOffsetsEXT( vkGetDeviceProcAddr( device, "vkCmdSetDescriptorBufferOffsetsEXT" ) ); |
| 1574 |
vkCmdBindDescriptorBufferEmbeddedSamplersEXT = |
| 1575 |
PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorBufferEmbeddedSamplersEXT" ) ); |
| 1576 |
vkGetBufferOpaqueCaptureDescriptorDataEXT = |
| 1577 |
PFN_vkGetBufferOpaqueCaptureDescriptorDataEXT( vkGetDeviceProcAddr( device, "vkGetBufferOpaqueCaptureDescriptorDataEXT" ) ); |
| 1578 |
vkGetImageOpaqueCaptureDescriptorDataEXT = |
| 1579 |
PFN_vkGetImageOpaqueCaptureDescriptorDataEXT( vkGetDeviceProcAddr( device, "vkGetImageOpaqueCaptureDescriptorDataEXT" ) ); |
| 1580 |
vkGetImageViewOpaqueCaptureDescriptorDataEXT = |
| 1581 |
PFN_vkGetImageViewOpaqueCaptureDescriptorDataEXT( vkGetDeviceProcAddr( device, "vkGetImageViewOpaqueCaptureDescriptorDataEXT" ) ); |
| 1582 |
vkGetSamplerOpaqueCaptureDescriptorDataEXT = |
| 1583 |
PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT( vkGetDeviceProcAddr( device, "vkGetSamplerOpaqueCaptureDescriptorDataEXT" ) ); |
| 1584 |
vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT = PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT( |
| 1585 |
vkGetDeviceProcAddr( device, "vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT" ) ); |
| 1586 |
|
| 1587 |
//=== VK_NV_fragment_shading_rate_enums === |
| 1588 |
vkCmdSetFragmentShadingRateEnumNV = PFN_vkCmdSetFragmentShadingRateEnumNV( vkGetDeviceProcAddr( device, "vkCmdSetFragmentShadingRateEnumNV" ) ); |
| 1589 |
|
| 1590 |
//=== VK_EXT_mesh_shader === |
| 1591 |
vkCmdDrawMeshTasksEXT = PFN_vkCmdDrawMeshTasksEXT( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksEXT" ) ); |
| 1592 |
vkCmdDrawMeshTasksIndirectEXT = PFN_vkCmdDrawMeshTasksIndirectEXT( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectEXT" ) ); |
| 1593 |
vkCmdDrawMeshTasksIndirectCountEXT = PFN_vkCmdDrawMeshTasksIndirectCountEXT( vkGetDeviceProcAddr( device, "vkCmdDrawMeshTasksIndirectCountEXT" ) ); |
| 1594 |
|
| 1595 |
//=== VK_KHR_copy_commands2 === |
| 1596 |
vkCmdCopyBuffer2KHR = PFN_vkCmdCopyBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyBuffer2KHR" ) ); |
| 1597 |
if ( !vkCmdCopyBuffer2 ) |
| 1598 |
vkCmdCopyBuffer2 = vkCmdCopyBuffer2KHR; |
| 1599 |
vkCmdCopyImage2KHR = PFN_vkCmdCopyImage2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyImage2KHR" ) ); |
| 1600 |
if ( !vkCmdCopyImage2 ) |
| 1601 |
vkCmdCopyImage2 = vkCmdCopyImage2KHR; |
| 1602 |
vkCmdCopyBufferToImage2KHR = PFN_vkCmdCopyBufferToImage2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyBufferToImage2KHR" ) ); |
| 1603 |
if ( !vkCmdCopyBufferToImage2 ) |
| 1604 |
vkCmdCopyBufferToImage2 = vkCmdCopyBufferToImage2KHR; |
| 1605 |
vkCmdCopyImageToBuffer2KHR = PFN_vkCmdCopyImageToBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdCopyImageToBuffer2KHR" ) ); |
| 1606 |
if ( !vkCmdCopyImageToBuffer2 ) |
| 1607 |
vkCmdCopyImageToBuffer2 = vkCmdCopyImageToBuffer2KHR; |
| 1608 |
vkCmdBlitImage2KHR = PFN_vkCmdBlitImage2KHR( vkGetDeviceProcAddr( device, "vkCmdBlitImage2KHR" ) ); |
| 1609 |
if ( !vkCmdBlitImage2 ) |
| 1610 |
vkCmdBlitImage2 = vkCmdBlitImage2KHR; |
| 1611 |
vkCmdResolveImage2KHR = PFN_vkCmdResolveImage2KHR( vkGetDeviceProcAddr( device, "vkCmdResolveImage2KHR" ) ); |
| 1612 |
if ( !vkCmdResolveImage2 ) |
| 1613 |
vkCmdResolveImage2 = vkCmdResolveImage2KHR; |
| 1614 |
|
| 1615 |
//=== VK_EXT_device_fault === |
| 1616 |
vkGetDeviceFaultInfoEXT = PFN_vkGetDeviceFaultInfoEXT( vkGetDeviceProcAddr( device, "vkGetDeviceFaultInfoEXT" ) ); |
| 1617 |
|
| 1618 |
//=== VK_EXT_vertex_input_dynamic_state === |
| 1619 |
vkCmdSetVertexInputEXT = PFN_vkCmdSetVertexInputEXT( vkGetDeviceProcAddr( device, "vkCmdSetVertexInputEXT" ) ); |
| 1620 |
|
| 1621 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 1622 |
//=== VK_FUCHSIA_external_memory === |
| 1623 |
vkGetMemoryZirconHandleFUCHSIA = PFN_vkGetMemoryZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkGetMemoryZirconHandleFUCHSIA" ) ); |
| 1624 |
vkGetMemoryZirconHandlePropertiesFUCHSIA = |
| 1625 |
PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA( vkGetDeviceProcAddr( device, "vkGetMemoryZirconHandlePropertiesFUCHSIA" ) ); |
| 1626 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 1627 |
|
| 1628 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 1629 |
//=== VK_FUCHSIA_external_semaphore === |
| 1630 |
vkImportSemaphoreZirconHandleFUCHSIA = |
| 1631 |
PFN_vkImportSemaphoreZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkImportSemaphoreZirconHandleFUCHSIA" ) ); |
| 1632 |
vkGetSemaphoreZirconHandleFUCHSIA = PFN_vkGetSemaphoreZirconHandleFUCHSIA( vkGetDeviceProcAddr( device, "vkGetSemaphoreZirconHandleFUCHSIA" ) ); |
| 1633 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 1634 |
|
| 1635 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 1636 |
//=== VK_FUCHSIA_buffer_collection === |
| 1637 |
vkCreateBufferCollectionFUCHSIA = PFN_vkCreateBufferCollectionFUCHSIA( vkGetDeviceProcAddr( device, "vkCreateBufferCollectionFUCHSIA" ) ); |
| 1638 |
vkSetBufferCollectionImageConstraintsFUCHSIA = |
| 1639 |
PFN_vkSetBufferCollectionImageConstraintsFUCHSIA( vkGetDeviceProcAddr( device, "vkSetBufferCollectionImageConstraintsFUCHSIA" ) ); |
| 1640 |
vkSetBufferCollectionBufferConstraintsFUCHSIA = |
| 1641 |
PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA( vkGetDeviceProcAddr( device, "vkSetBufferCollectionBufferConstraintsFUCHSIA" ) ); |
| 1642 |
vkDestroyBufferCollectionFUCHSIA = PFN_vkDestroyBufferCollectionFUCHSIA( vkGetDeviceProcAddr( device, "vkDestroyBufferCollectionFUCHSIA" ) ); |
| 1643 |
vkGetBufferCollectionPropertiesFUCHSIA = |
| 1644 |
PFN_vkGetBufferCollectionPropertiesFUCHSIA( vkGetDeviceProcAddr( device, "vkGetBufferCollectionPropertiesFUCHSIA" ) ); |
| 1645 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 1646 |
|
| 1647 |
//=== VK_HUAWEI_subpass_shading === |
| 1648 |
vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = |
| 1649 |
PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( vkGetDeviceProcAddr( device, "vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI" ) ); |
| 1650 |
vkCmdSubpassShadingHUAWEI = PFN_vkCmdSubpassShadingHUAWEI( vkGetDeviceProcAddr( device, "vkCmdSubpassShadingHUAWEI" ) ); |
| 1651 |
|
| 1652 |
//=== VK_HUAWEI_invocation_mask === |
| 1653 |
vkCmdBindInvocationMaskHUAWEI = PFN_vkCmdBindInvocationMaskHUAWEI( vkGetDeviceProcAddr( device, "vkCmdBindInvocationMaskHUAWEI" ) ); |
| 1654 |
|
| 1655 |
//=== VK_NV_external_memory_rdma === |
| 1656 |
vkGetMemoryRemoteAddressNV = PFN_vkGetMemoryRemoteAddressNV( vkGetDeviceProcAddr( device, "vkGetMemoryRemoteAddressNV" ) ); |
| 1657 |
|
| 1658 |
//=== VK_EXT_pipeline_properties === |
| 1659 |
vkGetPipelinePropertiesEXT = PFN_vkGetPipelinePropertiesEXT( vkGetDeviceProcAddr( device, "vkGetPipelinePropertiesEXT" ) ); |
| 1660 |
|
| 1661 |
//=== VK_EXT_extended_dynamic_state2 === |
| 1662 |
vkCmdSetPatchControlPointsEXT = PFN_vkCmdSetPatchControlPointsEXT( vkGetDeviceProcAddr( device, "vkCmdSetPatchControlPointsEXT" ) ); |
| 1663 |
vkCmdSetRasterizerDiscardEnableEXT = PFN_vkCmdSetRasterizerDiscardEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetRasterizerDiscardEnableEXT" ) ); |
| 1664 |
if ( !vkCmdSetRasterizerDiscardEnable ) |
| 1665 |
vkCmdSetRasterizerDiscardEnable = vkCmdSetRasterizerDiscardEnableEXT; |
| 1666 |
vkCmdSetDepthBiasEnableEXT = PFN_vkCmdSetDepthBiasEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthBiasEnableEXT" ) ); |
| 1667 |
if ( !vkCmdSetDepthBiasEnable ) |
| 1668 |
vkCmdSetDepthBiasEnable = vkCmdSetDepthBiasEnableEXT; |
| 1669 |
vkCmdSetLogicOpEXT = PFN_vkCmdSetLogicOpEXT( vkGetDeviceProcAddr( device, "vkCmdSetLogicOpEXT" ) ); |
| 1670 |
vkCmdSetPrimitiveRestartEnableEXT = PFN_vkCmdSetPrimitiveRestartEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetPrimitiveRestartEnableEXT" ) ); |
| 1671 |
if ( !vkCmdSetPrimitiveRestartEnable ) |
| 1672 |
vkCmdSetPrimitiveRestartEnable = vkCmdSetPrimitiveRestartEnableEXT; |
| 1673 |
|
| 1674 |
//=== VK_EXT_color_write_enable === |
| 1675 |
vkCmdSetColorWriteEnableEXT = PFN_vkCmdSetColorWriteEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetColorWriteEnableEXT" ) ); |
| 1676 |
|
| 1677 |
//=== VK_KHR_ray_tracing_maintenance1 === |
| 1678 |
vkCmdTraceRaysIndirect2KHR = PFN_vkCmdTraceRaysIndirect2KHR( vkGetDeviceProcAddr( device, "vkCmdTraceRaysIndirect2KHR" ) ); |
| 1679 |
|
| 1680 |
//=== VK_EXT_multi_draw === |
| 1681 |
vkCmdDrawMultiEXT = PFN_vkCmdDrawMultiEXT( vkGetDeviceProcAddr( device, "vkCmdDrawMultiEXT" ) ); |
| 1682 |
vkCmdDrawMultiIndexedEXT = PFN_vkCmdDrawMultiIndexedEXT( vkGetDeviceProcAddr( device, "vkCmdDrawMultiIndexedEXT" ) ); |
| 1683 |
|
| 1684 |
//=== VK_EXT_opacity_micromap === |
| 1685 |
vkCreateMicromapEXT = PFN_vkCreateMicromapEXT( vkGetDeviceProcAddr( device, "vkCreateMicromapEXT" ) ); |
| 1686 |
vkDestroyMicromapEXT = PFN_vkDestroyMicromapEXT( vkGetDeviceProcAddr( device, "vkDestroyMicromapEXT" ) ); |
| 1687 |
vkCmdBuildMicromapsEXT = PFN_vkCmdBuildMicromapsEXT( vkGetDeviceProcAddr( device, "vkCmdBuildMicromapsEXT" ) ); |
| 1688 |
vkBuildMicromapsEXT = PFN_vkBuildMicromapsEXT( vkGetDeviceProcAddr( device, "vkBuildMicromapsEXT" ) ); |
| 1689 |
vkCopyMicromapEXT = PFN_vkCopyMicromapEXT( vkGetDeviceProcAddr( device, "vkCopyMicromapEXT" ) ); |
| 1690 |
vkCopyMicromapToMemoryEXT = PFN_vkCopyMicromapToMemoryEXT( vkGetDeviceProcAddr( device, "vkCopyMicromapToMemoryEXT" ) ); |
| 1691 |
vkCopyMemoryToMicromapEXT = PFN_vkCopyMemoryToMicromapEXT( vkGetDeviceProcAddr( device, "vkCopyMemoryToMicromapEXT" ) ); |
| 1692 |
vkWriteMicromapsPropertiesEXT = PFN_vkWriteMicromapsPropertiesEXT( vkGetDeviceProcAddr( device, "vkWriteMicromapsPropertiesEXT" ) ); |
| 1693 |
vkCmdCopyMicromapEXT = PFN_vkCmdCopyMicromapEXT( vkGetDeviceProcAddr( device, "vkCmdCopyMicromapEXT" ) ); |
| 1694 |
vkCmdCopyMicromapToMemoryEXT = PFN_vkCmdCopyMicromapToMemoryEXT( vkGetDeviceProcAddr( device, "vkCmdCopyMicromapToMemoryEXT" ) ); |
| 1695 |
vkCmdCopyMemoryToMicromapEXT = PFN_vkCmdCopyMemoryToMicromapEXT( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToMicromapEXT" ) ); |
| 1696 |
vkCmdWriteMicromapsPropertiesEXT = PFN_vkCmdWriteMicromapsPropertiesEXT( vkGetDeviceProcAddr( device, "vkCmdWriteMicromapsPropertiesEXT" ) ); |
| 1697 |
vkGetDeviceMicromapCompatibilityEXT = PFN_vkGetDeviceMicromapCompatibilityEXT( vkGetDeviceProcAddr( device, "vkGetDeviceMicromapCompatibilityEXT" ) ); |
| 1698 |
vkGetMicromapBuildSizesEXT = PFN_vkGetMicromapBuildSizesEXT( vkGetDeviceProcAddr( device, "vkGetMicromapBuildSizesEXT" ) ); |
| 1699 |
|
| 1700 |
//=== VK_HUAWEI_cluster_culling_shader === |
| 1701 |
vkCmdDrawClusterHUAWEI = PFN_vkCmdDrawClusterHUAWEI( vkGetDeviceProcAddr( device, "vkCmdDrawClusterHUAWEI" ) ); |
| 1702 |
vkCmdDrawClusterIndirectHUAWEI = PFN_vkCmdDrawClusterIndirectHUAWEI( vkGetDeviceProcAddr( device, "vkCmdDrawClusterIndirectHUAWEI" ) ); |
| 1703 |
|
| 1704 |
//=== VK_EXT_pageable_device_local_memory === |
| 1705 |
vkSetDeviceMemoryPriorityEXT = PFN_vkSetDeviceMemoryPriorityEXT( vkGetDeviceProcAddr( device, "vkSetDeviceMemoryPriorityEXT" ) ); |
| 1706 |
|
| 1707 |
//=== VK_KHR_maintenance4 === |
| 1708 |
vkGetDeviceBufferMemoryRequirementsKHR = |
| 1709 |
PFN_vkGetDeviceBufferMemoryRequirementsKHR( vkGetDeviceProcAddr( device, "vkGetDeviceBufferMemoryRequirementsKHR" ) ); |
| 1710 |
if ( !vkGetDeviceBufferMemoryRequirements ) |
| 1711 |
vkGetDeviceBufferMemoryRequirements = vkGetDeviceBufferMemoryRequirementsKHR; |
| 1712 |
vkGetDeviceImageMemoryRequirementsKHR = |
| 1713 |
PFN_vkGetDeviceImageMemoryRequirementsKHR( vkGetDeviceProcAddr( device, "vkGetDeviceImageMemoryRequirementsKHR" ) ); |
| 1714 |
if ( !vkGetDeviceImageMemoryRequirements ) |
| 1715 |
vkGetDeviceImageMemoryRequirements = vkGetDeviceImageMemoryRequirementsKHR; |
| 1716 |
vkGetDeviceImageSparseMemoryRequirementsKHR = |
| 1717 |
PFN_vkGetDeviceImageSparseMemoryRequirementsKHR( vkGetDeviceProcAddr( device, "vkGetDeviceImageSparseMemoryRequirementsKHR" ) ); |
| 1718 |
if ( !vkGetDeviceImageSparseMemoryRequirements ) |
| 1719 |
vkGetDeviceImageSparseMemoryRequirements = vkGetDeviceImageSparseMemoryRequirementsKHR; |
| 1720 |
|
| 1721 |
//=== VK_VALVE_descriptor_set_host_mapping === |
| 1722 |
vkGetDescriptorSetLayoutHostMappingInfoVALVE = |
| 1723 |
PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE( vkGetDeviceProcAddr( device, "vkGetDescriptorSetLayoutHostMappingInfoVALVE" ) ); |
| 1724 |
vkGetDescriptorSetHostMappingVALVE = PFN_vkGetDescriptorSetHostMappingVALVE( vkGetDeviceProcAddr( device, "vkGetDescriptorSetHostMappingVALVE" ) ); |
| 1725 |
|
| 1726 |
//=== VK_NV_copy_memory_indirect === |
| 1727 |
vkCmdCopyMemoryIndirectNV = PFN_vkCmdCopyMemoryIndirectNV( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryIndirectNV" ) ); |
| 1728 |
vkCmdCopyMemoryToImageIndirectNV = PFN_vkCmdCopyMemoryToImageIndirectNV( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToImageIndirectNV" ) ); |
| 1729 |
|
| 1730 |
//=== VK_NV_memory_decompression === |
| 1731 |
vkCmdDecompressMemoryNV = PFN_vkCmdDecompressMemoryNV( vkGetDeviceProcAddr( device, "vkCmdDecompressMemoryNV" ) ); |
| 1732 |
vkCmdDecompressMemoryIndirectCountNV = |
| 1733 |
PFN_vkCmdDecompressMemoryIndirectCountNV( vkGetDeviceProcAddr( device, "vkCmdDecompressMemoryIndirectCountNV" ) ); |
| 1734 |
|
| 1735 |
//=== VK_NV_device_generated_commands_compute === |
| 1736 |
vkGetPipelineIndirectMemoryRequirementsNV = |
| 1737 |
PFN_vkGetPipelineIndirectMemoryRequirementsNV( vkGetDeviceProcAddr( device, "vkGetPipelineIndirectMemoryRequirementsNV" ) ); |
| 1738 |
vkCmdUpdatePipelineIndirectBufferNV = PFN_vkCmdUpdatePipelineIndirectBufferNV( vkGetDeviceProcAddr( device, "vkCmdUpdatePipelineIndirectBufferNV" ) ); |
| 1739 |
vkGetPipelineIndirectDeviceAddressNV = |
| 1740 |
PFN_vkGetPipelineIndirectDeviceAddressNV( vkGetDeviceProcAddr( device, "vkGetPipelineIndirectDeviceAddressNV" ) ); |
| 1741 |
|
| 1742 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 1743 |
//=== VK_OHOS_external_memory === |
| 1744 |
vkGetNativeBufferPropertiesOHOS = PFN_vkGetNativeBufferPropertiesOHOS( vkGetDeviceProcAddr( device, "vkGetNativeBufferPropertiesOHOS" ) ); |
| 1745 |
vkGetMemoryNativeBufferOHOS = PFN_vkGetMemoryNativeBufferOHOS( vkGetDeviceProcAddr( device, "vkGetMemoryNativeBufferOHOS" ) ); |
| 1746 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 1747 |
|
| 1748 |
//=== VK_EXT_extended_dynamic_state3 === |
| 1749 |
vkCmdSetDepthClampEnableEXT = PFN_vkCmdSetDepthClampEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthClampEnableEXT" ) ); |
| 1750 |
vkCmdSetPolygonModeEXT = PFN_vkCmdSetPolygonModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetPolygonModeEXT" ) ); |
| 1751 |
vkCmdSetRasterizationSamplesEXT = PFN_vkCmdSetRasterizationSamplesEXT( vkGetDeviceProcAddr( device, "vkCmdSetRasterizationSamplesEXT" ) ); |
| 1752 |
vkCmdSetSampleMaskEXT = PFN_vkCmdSetSampleMaskEXT( vkGetDeviceProcAddr( device, "vkCmdSetSampleMaskEXT" ) ); |
| 1753 |
vkCmdSetAlphaToCoverageEnableEXT = PFN_vkCmdSetAlphaToCoverageEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetAlphaToCoverageEnableEXT" ) ); |
| 1754 |
vkCmdSetAlphaToOneEnableEXT = PFN_vkCmdSetAlphaToOneEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetAlphaToOneEnableEXT" ) ); |
| 1755 |
vkCmdSetLogicOpEnableEXT = PFN_vkCmdSetLogicOpEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetLogicOpEnableEXT" ) ); |
| 1756 |
vkCmdSetColorBlendEnableEXT = PFN_vkCmdSetColorBlendEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetColorBlendEnableEXT" ) ); |
| 1757 |
vkCmdSetColorBlendEquationEXT = PFN_vkCmdSetColorBlendEquationEXT( vkGetDeviceProcAddr( device, "vkCmdSetColorBlendEquationEXT" ) ); |
| 1758 |
vkCmdSetColorWriteMaskEXT = PFN_vkCmdSetColorWriteMaskEXT( vkGetDeviceProcAddr( device, "vkCmdSetColorWriteMaskEXT" ) ); |
| 1759 |
vkCmdSetTessellationDomainOriginEXT = PFN_vkCmdSetTessellationDomainOriginEXT( vkGetDeviceProcAddr( device, "vkCmdSetTessellationDomainOriginEXT" ) ); |
| 1760 |
vkCmdSetRasterizationStreamEXT = PFN_vkCmdSetRasterizationStreamEXT( vkGetDeviceProcAddr( device, "vkCmdSetRasterizationStreamEXT" ) ); |
| 1761 |
vkCmdSetConservativeRasterizationModeEXT = |
| 1762 |
PFN_vkCmdSetConservativeRasterizationModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetConservativeRasterizationModeEXT" ) ); |
| 1763 |
vkCmdSetExtraPrimitiveOverestimationSizeEXT = |
| 1764 |
PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT( vkGetDeviceProcAddr( device, "vkCmdSetExtraPrimitiveOverestimationSizeEXT" ) ); |
| 1765 |
vkCmdSetDepthClipEnableEXT = PFN_vkCmdSetDepthClipEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthClipEnableEXT" ) ); |
| 1766 |
vkCmdSetSampleLocationsEnableEXT = PFN_vkCmdSetSampleLocationsEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetSampleLocationsEnableEXT" ) ); |
| 1767 |
vkCmdSetColorBlendAdvancedEXT = PFN_vkCmdSetColorBlendAdvancedEXT( vkGetDeviceProcAddr( device, "vkCmdSetColorBlendAdvancedEXT" ) ); |
| 1768 |
vkCmdSetProvokingVertexModeEXT = PFN_vkCmdSetProvokingVertexModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetProvokingVertexModeEXT" ) ); |
| 1769 |
vkCmdSetLineRasterizationModeEXT = PFN_vkCmdSetLineRasterizationModeEXT( vkGetDeviceProcAddr( device, "vkCmdSetLineRasterizationModeEXT" ) ); |
| 1770 |
vkCmdSetLineStippleEnableEXT = PFN_vkCmdSetLineStippleEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetLineStippleEnableEXT" ) ); |
| 1771 |
vkCmdSetDepthClipNegativeOneToOneEXT = |
| 1772 |
PFN_vkCmdSetDepthClipNegativeOneToOneEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthClipNegativeOneToOneEXT" ) ); |
| 1773 |
vkCmdSetViewportWScalingEnableNV = PFN_vkCmdSetViewportWScalingEnableNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportWScalingEnableNV" ) ); |
| 1774 |
vkCmdSetViewportSwizzleNV = PFN_vkCmdSetViewportSwizzleNV( vkGetDeviceProcAddr( device, "vkCmdSetViewportSwizzleNV" ) ); |
| 1775 |
vkCmdSetCoverageToColorEnableNV = PFN_vkCmdSetCoverageToColorEnableNV( vkGetDeviceProcAddr( device, "vkCmdSetCoverageToColorEnableNV" ) ); |
| 1776 |
vkCmdSetCoverageToColorLocationNV = PFN_vkCmdSetCoverageToColorLocationNV( vkGetDeviceProcAddr( device, "vkCmdSetCoverageToColorLocationNV" ) ); |
| 1777 |
vkCmdSetCoverageModulationModeNV = PFN_vkCmdSetCoverageModulationModeNV( vkGetDeviceProcAddr( device, "vkCmdSetCoverageModulationModeNV" ) ); |
| 1778 |
vkCmdSetCoverageModulationTableEnableNV = |
| 1779 |
PFN_vkCmdSetCoverageModulationTableEnableNV( vkGetDeviceProcAddr( device, "vkCmdSetCoverageModulationTableEnableNV" ) ); |
| 1780 |
vkCmdSetCoverageModulationTableNV = PFN_vkCmdSetCoverageModulationTableNV( vkGetDeviceProcAddr( device, "vkCmdSetCoverageModulationTableNV" ) ); |
| 1781 |
vkCmdSetShadingRateImageEnableNV = PFN_vkCmdSetShadingRateImageEnableNV( vkGetDeviceProcAddr( device, "vkCmdSetShadingRateImageEnableNV" ) ); |
| 1782 |
vkCmdSetRepresentativeFragmentTestEnableNV = |
| 1783 |
PFN_vkCmdSetRepresentativeFragmentTestEnableNV( vkGetDeviceProcAddr( device, "vkCmdSetRepresentativeFragmentTestEnableNV" ) ); |
| 1784 |
vkCmdSetCoverageReductionModeNV = PFN_vkCmdSetCoverageReductionModeNV( vkGetDeviceProcAddr( device, "vkCmdSetCoverageReductionModeNV" ) ); |
| 1785 |
|
| 1786 |
//=== VK_ARM_tensors === |
| 1787 |
vkCreateTensorARM = PFN_vkCreateTensorARM( vkGetDeviceProcAddr( device, "vkCreateTensorARM" ) ); |
| 1788 |
vkDestroyTensorARM = PFN_vkDestroyTensorARM( vkGetDeviceProcAddr( device, "vkDestroyTensorARM" ) ); |
| 1789 |
vkCreateTensorViewARM = PFN_vkCreateTensorViewARM( vkGetDeviceProcAddr( device, "vkCreateTensorViewARM" ) ); |
| 1790 |
vkDestroyTensorViewARM = PFN_vkDestroyTensorViewARM( vkGetDeviceProcAddr( device, "vkDestroyTensorViewARM" ) ); |
| 1791 |
vkGetTensorMemoryRequirementsARM = PFN_vkGetTensorMemoryRequirementsARM( vkGetDeviceProcAddr( device, "vkGetTensorMemoryRequirementsARM" ) ); |
| 1792 |
vkBindTensorMemoryARM = PFN_vkBindTensorMemoryARM( vkGetDeviceProcAddr( device, "vkBindTensorMemoryARM" ) ); |
| 1793 |
vkGetDeviceTensorMemoryRequirementsARM = |
| 1794 |
PFN_vkGetDeviceTensorMemoryRequirementsARM( vkGetDeviceProcAddr( device, "vkGetDeviceTensorMemoryRequirementsARM" ) ); |
| 1795 |
vkCmdCopyTensorARM = PFN_vkCmdCopyTensorARM( vkGetDeviceProcAddr( device, "vkCmdCopyTensorARM" ) ); |
| 1796 |
vkGetTensorOpaqueCaptureDescriptorDataARM = |
| 1797 |
PFN_vkGetTensorOpaqueCaptureDescriptorDataARM( vkGetDeviceProcAddr( device, "vkGetTensorOpaqueCaptureDescriptorDataARM" ) ); |
| 1798 |
vkGetTensorViewOpaqueCaptureDescriptorDataARM = |
| 1799 |
PFN_vkGetTensorViewOpaqueCaptureDescriptorDataARM( vkGetDeviceProcAddr( device, "vkGetTensorViewOpaqueCaptureDescriptorDataARM" ) ); |
| 1800 |
|
| 1801 |
//=== VK_EXT_shader_module_identifier === |
| 1802 |
vkGetShaderModuleIdentifierEXT = PFN_vkGetShaderModuleIdentifierEXT( vkGetDeviceProcAddr( device, "vkGetShaderModuleIdentifierEXT" ) ); |
| 1803 |
vkGetShaderModuleCreateInfoIdentifierEXT = |
| 1804 |
PFN_vkGetShaderModuleCreateInfoIdentifierEXT( vkGetDeviceProcAddr( device, "vkGetShaderModuleCreateInfoIdentifierEXT" ) ); |
| 1805 |
|
| 1806 |
//=== VK_NV_optical_flow === |
| 1807 |
vkCreateOpticalFlowSessionNV = PFN_vkCreateOpticalFlowSessionNV( vkGetDeviceProcAddr( device, "vkCreateOpticalFlowSessionNV" ) ); |
| 1808 |
vkDestroyOpticalFlowSessionNV = PFN_vkDestroyOpticalFlowSessionNV( vkGetDeviceProcAddr( device, "vkDestroyOpticalFlowSessionNV" ) ); |
| 1809 |
vkBindOpticalFlowSessionImageNV = PFN_vkBindOpticalFlowSessionImageNV( vkGetDeviceProcAddr( device, "vkBindOpticalFlowSessionImageNV" ) ); |
| 1810 |
vkCmdOpticalFlowExecuteNV = PFN_vkCmdOpticalFlowExecuteNV( vkGetDeviceProcAddr( device, "vkCmdOpticalFlowExecuteNV" ) ); |
| 1811 |
|
| 1812 |
//=== VK_KHR_maintenance5 === |
| 1813 |
vkCmdBindIndexBuffer2KHR = PFN_vkCmdBindIndexBuffer2KHR( vkGetDeviceProcAddr( device, "vkCmdBindIndexBuffer2KHR" ) ); |
| 1814 |
if ( !vkCmdBindIndexBuffer2 ) |
| 1815 |
vkCmdBindIndexBuffer2 = vkCmdBindIndexBuffer2KHR; |
| 1816 |
vkGetRenderingAreaGranularityKHR = PFN_vkGetRenderingAreaGranularityKHR( vkGetDeviceProcAddr( device, "vkGetRenderingAreaGranularityKHR" ) ); |
| 1817 |
if ( !vkGetRenderingAreaGranularity ) |
| 1818 |
vkGetRenderingAreaGranularity = vkGetRenderingAreaGranularityKHR; |
| 1819 |
vkGetDeviceImageSubresourceLayoutKHR = |
| 1820 |
PFN_vkGetDeviceImageSubresourceLayoutKHR( vkGetDeviceProcAddr( device, "vkGetDeviceImageSubresourceLayoutKHR" ) ); |
| 1821 |
if ( !vkGetDeviceImageSubresourceLayout ) |
| 1822 |
vkGetDeviceImageSubresourceLayout = vkGetDeviceImageSubresourceLayoutKHR; |
| 1823 |
vkGetImageSubresourceLayout2KHR = PFN_vkGetImageSubresourceLayout2KHR( vkGetDeviceProcAddr( device, "vkGetImageSubresourceLayout2KHR" ) ); |
| 1824 |
if ( !vkGetImageSubresourceLayout2 ) |
| 1825 |
vkGetImageSubresourceLayout2 = vkGetImageSubresourceLayout2KHR; |
| 1826 |
|
| 1827 |
//=== VK_AMD_anti_lag === |
| 1828 |
vkAntiLagUpdateAMD = PFN_vkAntiLagUpdateAMD( vkGetDeviceProcAddr( device, "vkAntiLagUpdateAMD" ) ); |
| 1829 |
|
| 1830 |
//=== VK_KHR_present_wait2 === |
| 1831 |
vkWaitForPresent2KHR = PFN_vkWaitForPresent2KHR( vkGetDeviceProcAddr( device, "vkWaitForPresent2KHR" ) ); |
| 1832 |
|
| 1833 |
//=== VK_EXT_shader_object === |
| 1834 |
vkCreateShadersEXT = PFN_vkCreateShadersEXT( vkGetDeviceProcAddr( device, "vkCreateShadersEXT" ) ); |
| 1835 |
vkDestroyShaderEXT = PFN_vkDestroyShaderEXT( vkGetDeviceProcAddr( device, "vkDestroyShaderEXT" ) ); |
| 1836 |
vkGetShaderBinaryDataEXT = PFN_vkGetShaderBinaryDataEXT( vkGetDeviceProcAddr( device, "vkGetShaderBinaryDataEXT" ) ); |
| 1837 |
vkCmdBindShadersEXT = PFN_vkCmdBindShadersEXT( vkGetDeviceProcAddr( device, "vkCmdBindShadersEXT" ) ); |
| 1838 |
vkCmdSetDepthClampRangeEXT = PFN_vkCmdSetDepthClampRangeEXT( vkGetDeviceProcAddr( device, "vkCmdSetDepthClampRangeEXT" ) ); |
| 1839 |
|
| 1840 |
//=== VK_KHR_pipeline_binary === |
| 1841 |
vkCreatePipelineBinariesKHR = PFN_vkCreatePipelineBinariesKHR( vkGetDeviceProcAddr( device, "vkCreatePipelineBinariesKHR" ) ); |
| 1842 |
vkDestroyPipelineBinaryKHR = PFN_vkDestroyPipelineBinaryKHR( vkGetDeviceProcAddr( device, "vkDestroyPipelineBinaryKHR" ) ); |
| 1843 |
vkGetPipelineKeyKHR = PFN_vkGetPipelineKeyKHR( vkGetDeviceProcAddr( device, "vkGetPipelineKeyKHR" ) ); |
| 1844 |
vkGetPipelineBinaryDataKHR = PFN_vkGetPipelineBinaryDataKHR( vkGetDeviceProcAddr( device, "vkGetPipelineBinaryDataKHR" ) ); |
| 1845 |
vkReleaseCapturedPipelineDataKHR = PFN_vkReleaseCapturedPipelineDataKHR( vkGetDeviceProcAddr( device, "vkReleaseCapturedPipelineDataKHR" ) ); |
| 1846 |
|
| 1847 |
//=== VK_QCOM_tile_properties === |
| 1848 |
vkGetFramebufferTilePropertiesQCOM = PFN_vkGetFramebufferTilePropertiesQCOM( vkGetDeviceProcAddr( device, "vkGetFramebufferTilePropertiesQCOM" ) ); |
| 1849 |
vkGetDynamicRenderingTilePropertiesQCOM = |
| 1850 |
PFN_vkGetDynamicRenderingTilePropertiesQCOM( vkGetDeviceProcAddr( device, "vkGetDynamicRenderingTilePropertiesQCOM" ) ); |
| 1851 |
|
| 1852 |
//=== VK_KHR_swapchain_maintenance1 === |
| 1853 |
vkReleaseSwapchainImagesKHR = PFN_vkReleaseSwapchainImagesKHR( vkGetDeviceProcAddr( device, "vkReleaseSwapchainImagesKHR" ) ); |
| 1854 |
|
| 1855 |
//=== VK_NV_cooperative_vector === |
| 1856 |
vkConvertCooperativeVectorMatrixNV = PFN_vkConvertCooperativeVectorMatrixNV( vkGetDeviceProcAddr( device, "vkConvertCooperativeVectorMatrixNV" ) ); |
| 1857 |
vkCmdConvertCooperativeVectorMatrixNV = |
| 1858 |
PFN_vkCmdConvertCooperativeVectorMatrixNV( vkGetDeviceProcAddr( device, "vkCmdConvertCooperativeVectorMatrixNV" ) ); |
| 1859 |
|
| 1860 |
//=== VK_NV_low_latency2 === |
| 1861 |
vkSetLatencySleepModeNV = PFN_vkSetLatencySleepModeNV( vkGetDeviceProcAddr( device, "vkSetLatencySleepModeNV" ) ); |
| 1862 |
vkLatencySleepNV = PFN_vkLatencySleepNV( vkGetDeviceProcAddr( device, "vkLatencySleepNV" ) ); |
| 1863 |
vkSetLatencyMarkerNV = PFN_vkSetLatencyMarkerNV( vkGetDeviceProcAddr( device, "vkSetLatencyMarkerNV" ) ); |
| 1864 |
vkGetLatencyTimingsNV = PFN_vkGetLatencyTimingsNV( vkGetDeviceProcAddr( device, "vkGetLatencyTimingsNV" ) ); |
| 1865 |
vkQueueNotifyOutOfBandNV = PFN_vkQueueNotifyOutOfBandNV( vkGetDeviceProcAddr( device, "vkQueueNotifyOutOfBandNV" ) ); |
| 1866 |
|
| 1867 |
//=== VK_ARM_data_graph === |
| 1868 |
vkCreateDataGraphPipelinesARM = PFN_vkCreateDataGraphPipelinesARM( vkGetDeviceProcAddr( device, "vkCreateDataGraphPipelinesARM" ) ); |
| 1869 |
vkCreateDataGraphPipelineSessionARM = PFN_vkCreateDataGraphPipelineSessionARM( vkGetDeviceProcAddr( device, "vkCreateDataGraphPipelineSessionARM" ) ); |
| 1870 |
vkGetDataGraphPipelineSessionBindPointRequirementsARM = |
| 1871 |
PFN_vkGetDataGraphPipelineSessionBindPointRequirementsARM( vkGetDeviceProcAddr( device, "vkGetDataGraphPipelineSessionBindPointRequirementsARM" ) ); |
| 1872 |
vkGetDataGraphPipelineSessionMemoryRequirementsARM = |
| 1873 |
PFN_vkGetDataGraphPipelineSessionMemoryRequirementsARM( vkGetDeviceProcAddr( device, "vkGetDataGraphPipelineSessionMemoryRequirementsARM" ) ); |
| 1874 |
vkBindDataGraphPipelineSessionMemoryARM = |
| 1875 |
PFN_vkBindDataGraphPipelineSessionMemoryARM( vkGetDeviceProcAddr( device, "vkBindDataGraphPipelineSessionMemoryARM" ) ); |
| 1876 |
vkDestroyDataGraphPipelineSessionARM = |
| 1877 |
PFN_vkDestroyDataGraphPipelineSessionARM( vkGetDeviceProcAddr( device, "vkDestroyDataGraphPipelineSessionARM" ) ); |
| 1878 |
vkCmdDispatchDataGraphARM = PFN_vkCmdDispatchDataGraphARM( vkGetDeviceProcAddr( device, "vkCmdDispatchDataGraphARM" ) ); |
| 1879 |
vkGetDataGraphPipelineAvailablePropertiesARM = |
| 1880 |
PFN_vkGetDataGraphPipelineAvailablePropertiesARM( vkGetDeviceProcAddr( device, "vkGetDataGraphPipelineAvailablePropertiesARM" ) ); |
| 1881 |
vkGetDataGraphPipelinePropertiesARM = PFN_vkGetDataGraphPipelinePropertiesARM( vkGetDeviceProcAddr( device, "vkGetDataGraphPipelinePropertiesARM" ) ); |
| 1882 |
|
| 1883 |
//=== VK_EXT_attachment_feedback_loop_dynamic_state === |
| 1884 |
vkCmdSetAttachmentFeedbackLoopEnableEXT = |
| 1885 |
PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT( vkGetDeviceProcAddr( device, "vkCmdSetAttachmentFeedbackLoopEnableEXT" ) ); |
| 1886 |
|
| 1887 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 1888 |
//=== VK_QNX_external_memory_screen_buffer === |
| 1889 |
vkGetScreenBufferPropertiesQNX = PFN_vkGetScreenBufferPropertiesQNX( vkGetDeviceProcAddr( device, "vkGetScreenBufferPropertiesQNX" ) ); |
| 1890 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 1891 |
|
| 1892 |
//=== VK_KHR_line_rasterization === |
| 1893 |
vkCmdSetLineStippleKHR = PFN_vkCmdSetLineStippleKHR( vkGetDeviceProcAddr( device, "vkCmdSetLineStippleKHR" ) ); |
| 1894 |
if ( !vkCmdSetLineStipple ) |
| 1895 |
vkCmdSetLineStipple = vkCmdSetLineStippleKHR; |
| 1896 |
|
| 1897 |
//=== VK_KHR_calibrated_timestamps === |
| 1898 |
vkGetCalibratedTimestampsKHR = PFN_vkGetCalibratedTimestampsKHR( vkGetDeviceProcAddr( device, "vkGetCalibratedTimestampsKHR" ) ); |
| 1899 |
|
| 1900 |
//=== VK_KHR_maintenance6 === |
| 1901 |
vkCmdBindDescriptorSets2KHR = PFN_vkCmdBindDescriptorSets2KHR( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorSets2KHR" ) ); |
| 1902 |
if ( !vkCmdBindDescriptorSets2 ) |
| 1903 |
vkCmdBindDescriptorSets2 = vkCmdBindDescriptorSets2KHR; |
| 1904 |
vkCmdPushConstants2KHR = PFN_vkCmdPushConstants2KHR( vkGetDeviceProcAddr( device, "vkCmdPushConstants2KHR" ) ); |
| 1905 |
if ( !vkCmdPushConstants2 ) |
| 1906 |
vkCmdPushConstants2 = vkCmdPushConstants2KHR; |
| 1907 |
vkCmdPushDescriptorSet2KHR = PFN_vkCmdPushDescriptorSet2KHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSet2KHR" ) ); |
| 1908 |
if ( !vkCmdPushDescriptorSet2 ) |
| 1909 |
vkCmdPushDescriptorSet2 = vkCmdPushDescriptorSet2KHR; |
| 1910 |
vkCmdPushDescriptorSetWithTemplate2KHR = |
| 1911 |
PFN_vkCmdPushDescriptorSetWithTemplate2KHR( vkGetDeviceProcAddr( device, "vkCmdPushDescriptorSetWithTemplate2KHR" ) ); |
| 1912 |
if ( !vkCmdPushDescriptorSetWithTemplate2 ) |
| 1913 |
vkCmdPushDescriptorSetWithTemplate2 = vkCmdPushDescriptorSetWithTemplate2KHR; |
| 1914 |
vkCmdSetDescriptorBufferOffsets2EXT = PFN_vkCmdSetDescriptorBufferOffsets2EXT( vkGetDeviceProcAddr( device, "vkCmdSetDescriptorBufferOffsets2EXT" ) ); |
| 1915 |
vkCmdBindDescriptorBufferEmbeddedSamplers2EXT = |
| 1916 |
PFN_vkCmdBindDescriptorBufferEmbeddedSamplers2EXT( vkGetDeviceProcAddr( device, "vkCmdBindDescriptorBufferEmbeddedSamplers2EXT" ) ); |
| 1917 |
|
| 1918 |
//=== VK_QCOM_tile_memory_heap === |
| 1919 |
vkCmdBindTileMemoryQCOM = PFN_vkCmdBindTileMemoryQCOM( vkGetDeviceProcAddr( device, "vkCmdBindTileMemoryQCOM" ) ); |
| 1920 |
|
| 1921 |
//=== VK_KHR_copy_memory_indirect === |
| 1922 |
vkCmdCopyMemoryIndirectKHR = PFN_vkCmdCopyMemoryIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryIndirectKHR" ) ); |
| 1923 |
vkCmdCopyMemoryToImageIndirectKHR = PFN_vkCmdCopyMemoryToImageIndirectKHR( vkGetDeviceProcAddr( device, "vkCmdCopyMemoryToImageIndirectKHR" ) ); |
| 1924 |
|
| 1925 |
//=== VK_EXT_memory_decompression === |
| 1926 |
vkCmdDecompressMemoryEXT = PFN_vkCmdDecompressMemoryEXT( vkGetDeviceProcAddr( device, "vkCmdDecompressMemoryEXT" ) ); |
| 1927 |
vkCmdDecompressMemoryIndirectCountEXT = |
| 1928 |
PFN_vkCmdDecompressMemoryIndirectCountEXT( vkGetDeviceProcAddr( device, "vkCmdDecompressMemoryIndirectCountEXT" ) ); |
| 1929 |
|
| 1930 |
//=== VK_NV_external_compute_queue === |
| 1931 |
vkCreateExternalComputeQueueNV = PFN_vkCreateExternalComputeQueueNV( vkGetDeviceProcAddr( device, "vkCreateExternalComputeQueueNV" ) ); |
| 1932 |
vkDestroyExternalComputeQueueNV = PFN_vkDestroyExternalComputeQueueNV( vkGetDeviceProcAddr( device, "vkDestroyExternalComputeQueueNV" ) ); |
| 1933 |
vkGetExternalComputeQueueDataNV = PFN_vkGetExternalComputeQueueDataNV( vkGetDeviceProcAddr( device, "vkGetExternalComputeQueueDataNV" ) ); |
| 1934 |
|
| 1935 |
//=== VK_NV_cluster_acceleration_structure === |
| 1936 |
vkGetClusterAccelerationStructureBuildSizesNV = |
| 1937 |
PFN_vkGetClusterAccelerationStructureBuildSizesNV( vkGetDeviceProcAddr( device, "vkGetClusterAccelerationStructureBuildSizesNV" ) ); |
| 1938 |
vkCmdBuildClusterAccelerationStructureIndirectNV = |
| 1939 |
PFN_vkCmdBuildClusterAccelerationStructureIndirectNV( vkGetDeviceProcAddr( device, "vkCmdBuildClusterAccelerationStructureIndirectNV" ) ); |
| 1940 |
|
| 1941 |
//=== VK_NV_partitioned_acceleration_structure === |
| 1942 |
vkGetPartitionedAccelerationStructuresBuildSizesNV = |
| 1943 |
PFN_vkGetPartitionedAccelerationStructuresBuildSizesNV( vkGetDeviceProcAddr( device, "vkGetPartitionedAccelerationStructuresBuildSizesNV" ) ); |
| 1944 |
vkCmdBuildPartitionedAccelerationStructuresNV = |
| 1945 |
PFN_vkCmdBuildPartitionedAccelerationStructuresNV( vkGetDeviceProcAddr( device, "vkCmdBuildPartitionedAccelerationStructuresNV" ) ); |
| 1946 |
|
| 1947 |
//=== VK_EXT_device_generated_commands === |
| 1948 |
vkGetGeneratedCommandsMemoryRequirementsEXT = |
| 1949 |
PFN_vkGetGeneratedCommandsMemoryRequirementsEXT( vkGetDeviceProcAddr( device, "vkGetGeneratedCommandsMemoryRequirementsEXT" ) ); |
| 1950 |
vkCmdPreprocessGeneratedCommandsEXT = PFN_vkCmdPreprocessGeneratedCommandsEXT( vkGetDeviceProcAddr( device, "vkCmdPreprocessGeneratedCommandsEXT" ) ); |
| 1951 |
vkCmdExecuteGeneratedCommandsEXT = PFN_vkCmdExecuteGeneratedCommandsEXT( vkGetDeviceProcAddr( device, "vkCmdExecuteGeneratedCommandsEXT" ) ); |
| 1952 |
vkCreateIndirectCommandsLayoutEXT = PFN_vkCreateIndirectCommandsLayoutEXT( vkGetDeviceProcAddr( device, "vkCreateIndirectCommandsLayoutEXT" ) ); |
| 1953 |
vkDestroyIndirectCommandsLayoutEXT = PFN_vkDestroyIndirectCommandsLayoutEXT( vkGetDeviceProcAddr( device, "vkDestroyIndirectCommandsLayoutEXT" ) ); |
| 1954 |
vkCreateIndirectExecutionSetEXT = PFN_vkCreateIndirectExecutionSetEXT( vkGetDeviceProcAddr( device, "vkCreateIndirectExecutionSetEXT" ) ); |
| 1955 |
vkDestroyIndirectExecutionSetEXT = PFN_vkDestroyIndirectExecutionSetEXT( vkGetDeviceProcAddr( device, "vkDestroyIndirectExecutionSetEXT" ) ); |
| 1956 |
vkUpdateIndirectExecutionSetPipelineEXT = |
| 1957 |
PFN_vkUpdateIndirectExecutionSetPipelineEXT( vkGetDeviceProcAddr( device, "vkUpdateIndirectExecutionSetPipelineEXT" ) ); |
| 1958 |
vkUpdateIndirectExecutionSetShaderEXT = |
| 1959 |
PFN_vkUpdateIndirectExecutionSetShaderEXT( vkGetDeviceProcAddr( device, "vkUpdateIndirectExecutionSetShaderEXT" ) ); |
| 1960 |
|
| 1961 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 1962 |
//=== VK_EXT_external_memory_metal === |
| 1963 |
vkGetMemoryMetalHandleEXT = PFN_vkGetMemoryMetalHandleEXT( vkGetDeviceProcAddr( device, "vkGetMemoryMetalHandleEXT" ) ); |
| 1964 |
vkGetMemoryMetalHandlePropertiesEXT = PFN_vkGetMemoryMetalHandlePropertiesEXT( vkGetDeviceProcAddr( device, "vkGetMemoryMetalHandlePropertiesEXT" ) ); |
| 1965 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 1966 |
|
| 1967 |
//=== VK_EXT_fragment_density_map_offset === |
| 1968 |
vkCmdEndRendering2EXT = PFN_vkCmdEndRendering2EXT( vkGetDeviceProcAddr( device, "vkCmdEndRendering2EXT" ) ); |
| 1969 |
if ( !vkCmdEndRendering2KHR ) |
| 1970 |
vkCmdEndRendering2KHR = vkCmdEndRendering2EXT; |
| 1971 |
|
| 1972 |
//=== VK_EXT_custom_resolve === |
| 1973 |
vkCmdBeginCustomResolveEXT = PFN_vkCmdBeginCustomResolveEXT( vkGetDeviceProcAddr( device, "vkCmdBeginCustomResolveEXT" ) ); |
| 1974 |
|
| 1975 |
//=== VK_KHR_maintenance10 === |
| 1976 |
vkCmdEndRendering2KHR = PFN_vkCmdEndRendering2KHR( vkGetDeviceProcAddr( device, "vkCmdEndRendering2KHR" ) ); |
| 1977 |
|
| 1978 |
//=== VK_NV_compute_occupancy_priority === |
| 1979 |
vkCmdSetComputeOccupancyPriorityNV = PFN_vkCmdSetComputeOccupancyPriorityNV( vkGetDeviceProcAddr( device, "vkCmdSetComputeOccupancyPriorityNV" ) ); |
| 1980 |
} |
| 1981 |
|
| 1982 |
public: |
| 1983 |
//=== VK_VERSION_1_0 === |
| 1984 |
PFN_vkGetDeviceProcAddr vkGetDeviceProcAddr = 0; |
| 1985 |
PFN_vkDestroyDevice vkDestroyDevice = 0; |
| 1986 |
PFN_vkGetDeviceQueue vkGetDeviceQueue = 0; |
| 1987 |
PFN_vkQueueSubmit vkQueueSubmit = 0; |
| 1988 |
PFN_vkQueueWaitIdle vkQueueWaitIdle = 0; |
| 1989 |
PFN_vkDeviceWaitIdle vkDeviceWaitIdle = 0; |
| 1990 |
PFN_vkAllocateMemory vkAllocateMemory = 0; |
| 1991 |
PFN_vkFreeMemory vkFreeMemory = 0; |
| 1992 |
PFN_vkMapMemory vkMapMemory = 0; |
| 1993 |
PFN_vkUnmapMemory vkUnmapMemory = 0; |
| 1994 |
PFN_vkFlushMappedMemoryRanges vkFlushMappedMemoryRanges = 0; |
| 1995 |
PFN_vkInvalidateMappedMemoryRanges vkInvalidateMappedMemoryRanges = 0; |
| 1996 |
PFN_vkGetDeviceMemoryCommitment vkGetDeviceMemoryCommitment = 0; |
| 1997 |
PFN_vkBindBufferMemory vkBindBufferMemory = 0; |
| 1998 |
PFN_vkBindImageMemory vkBindImageMemory = 0; |
| 1999 |
PFN_vkGetBufferMemoryRequirements vkGetBufferMemoryRequirements = 0; |
| 2000 |
PFN_vkGetImageMemoryRequirements vkGetImageMemoryRequirements = 0; |
| 2001 |
PFN_vkGetImageSparseMemoryRequirements vkGetImageSparseMemoryRequirements = 0; |
| 2002 |
PFN_vkQueueBindSparse vkQueueBindSparse = 0; |
| 2003 |
PFN_vkCreateFence vkCreateFence = 0; |
| 2004 |
PFN_vkDestroyFence vkDestroyFence = 0; |
| 2005 |
PFN_vkResetFences vkResetFences = 0; |
| 2006 |
PFN_vkGetFenceStatus vkGetFenceStatus = 0; |
| 2007 |
PFN_vkWaitForFences vkWaitForFences = 0; |
| 2008 |
PFN_vkCreateSemaphore vkCreateSemaphore = 0; |
| 2009 |
PFN_vkDestroySemaphore vkDestroySemaphore = 0; |
| 2010 |
PFN_vkCreateQueryPool vkCreateQueryPool = 0; |
| 2011 |
PFN_vkDestroyQueryPool vkDestroyQueryPool = 0; |
| 2012 |
PFN_vkGetQueryPoolResults vkGetQueryPoolResults = 0; |
| 2013 |
PFN_vkCreateBuffer vkCreateBuffer = 0; |
| 2014 |
PFN_vkDestroyBuffer vkDestroyBuffer = 0; |
| 2015 |
PFN_vkCreateImage vkCreateImage = 0; |
| 2016 |
PFN_vkDestroyImage vkDestroyImage = 0; |
| 2017 |
PFN_vkGetImageSubresourceLayout vkGetImageSubresourceLayout = 0; |
| 2018 |
PFN_vkCreateImageView vkCreateImageView = 0; |
| 2019 |
PFN_vkDestroyImageView vkDestroyImageView = 0; |
| 2020 |
PFN_vkCreateCommandPool vkCreateCommandPool = 0; |
| 2021 |
PFN_vkDestroyCommandPool vkDestroyCommandPool = 0; |
| 2022 |
PFN_vkResetCommandPool vkResetCommandPool = 0; |
| 2023 |
PFN_vkAllocateCommandBuffers vkAllocateCommandBuffers = 0; |
| 2024 |
PFN_vkFreeCommandBuffers vkFreeCommandBuffers = 0; |
| 2025 |
PFN_vkBeginCommandBuffer vkBeginCommandBuffer = 0; |
| 2026 |
PFN_vkEndCommandBuffer vkEndCommandBuffer = 0; |
| 2027 |
PFN_vkResetCommandBuffer vkResetCommandBuffer = 0; |
| 2028 |
PFN_vkCmdCopyBuffer vkCmdCopyBuffer = 0; |
| 2029 |
PFN_vkCmdCopyImage vkCmdCopyImage = 0; |
| 2030 |
PFN_vkCmdCopyBufferToImage vkCmdCopyBufferToImage = 0; |
| 2031 |
PFN_vkCmdCopyImageToBuffer vkCmdCopyImageToBuffer = 0; |
| 2032 |
PFN_vkCmdUpdateBuffer vkCmdUpdateBuffer = 0; |
| 2033 |
PFN_vkCmdFillBuffer vkCmdFillBuffer = 0; |
| 2034 |
PFN_vkCmdPipelineBarrier vkCmdPipelineBarrier = 0; |
| 2035 |
PFN_vkCmdBeginQuery vkCmdBeginQuery = 0; |
| 2036 |
PFN_vkCmdEndQuery vkCmdEndQuery = 0; |
| 2037 |
PFN_vkCmdResetQueryPool vkCmdResetQueryPool = 0; |
| 2038 |
PFN_vkCmdWriteTimestamp vkCmdWriteTimestamp = 0; |
| 2039 |
PFN_vkCmdCopyQueryPoolResults vkCmdCopyQueryPoolResults = 0; |
| 2040 |
PFN_vkCmdExecuteCommands vkCmdExecuteCommands = 0; |
| 2041 |
PFN_vkCreateEvent vkCreateEvent = 0; |
| 2042 |
PFN_vkDestroyEvent vkDestroyEvent = 0; |
| 2043 |
PFN_vkGetEventStatus vkGetEventStatus = 0; |
| 2044 |
PFN_vkSetEvent vkSetEvent = 0; |
| 2045 |
PFN_vkResetEvent vkResetEvent = 0; |
| 2046 |
PFN_vkCreateBufferView vkCreateBufferView = 0; |
| 2047 |
PFN_vkDestroyBufferView vkDestroyBufferView = 0; |
| 2048 |
PFN_vkCreateShaderModule vkCreateShaderModule = 0; |
| 2049 |
PFN_vkDestroyShaderModule vkDestroyShaderModule = 0; |
| 2050 |
PFN_vkCreatePipelineCache vkCreatePipelineCache = 0; |
| 2051 |
PFN_vkDestroyPipelineCache vkDestroyPipelineCache = 0; |
| 2052 |
PFN_vkGetPipelineCacheData vkGetPipelineCacheData = 0; |
| 2053 |
PFN_vkMergePipelineCaches vkMergePipelineCaches = 0; |
| 2054 |
PFN_vkCreateComputePipelines vkCreateComputePipelines = 0; |
| 2055 |
PFN_vkDestroyPipeline vkDestroyPipeline = 0; |
| 2056 |
PFN_vkCreatePipelineLayout vkCreatePipelineLayout = 0; |
| 2057 |
PFN_vkDestroyPipelineLayout vkDestroyPipelineLayout = 0; |
| 2058 |
PFN_vkCreateSampler vkCreateSampler = 0; |
| 2059 |
PFN_vkDestroySampler vkDestroySampler = 0; |
| 2060 |
PFN_vkCreateDescriptorSetLayout vkCreateDescriptorSetLayout = 0; |
| 2061 |
PFN_vkDestroyDescriptorSetLayout vkDestroyDescriptorSetLayout = 0; |
| 2062 |
PFN_vkCreateDescriptorPool vkCreateDescriptorPool = 0; |
| 2063 |
PFN_vkDestroyDescriptorPool vkDestroyDescriptorPool = 0; |
| 2064 |
PFN_vkResetDescriptorPool vkResetDescriptorPool = 0; |
| 2065 |
PFN_vkAllocateDescriptorSets vkAllocateDescriptorSets = 0; |
| 2066 |
PFN_vkFreeDescriptorSets vkFreeDescriptorSets = 0; |
| 2067 |
PFN_vkUpdateDescriptorSets vkUpdateDescriptorSets = 0; |
| 2068 |
PFN_vkCmdBindPipeline vkCmdBindPipeline = 0; |
| 2069 |
PFN_vkCmdBindDescriptorSets vkCmdBindDescriptorSets = 0; |
| 2070 |
PFN_vkCmdClearColorImage vkCmdClearColorImage = 0; |
| 2071 |
PFN_vkCmdDispatch vkCmdDispatch = 0; |
| 2072 |
PFN_vkCmdDispatchIndirect vkCmdDispatchIndirect = 0; |
| 2073 |
PFN_vkCmdSetEvent vkCmdSetEvent = 0; |
| 2074 |
PFN_vkCmdResetEvent vkCmdResetEvent = 0; |
| 2075 |
PFN_vkCmdWaitEvents vkCmdWaitEvents = 0; |
| 2076 |
PFN_vkCmdPushConstants vkCmdPushConstants = 0; |
| 2077 |
PFN_vkCreateGraphicsPipelines vkCreateGraphicsPipelines = 0; |
| 2078 |
PFN_vkCreateFramebuffer vkCreateFramebuffer = 0; |
| 2079 |
PFN_vkDestroyFramebuffer vkDestroyFramebuffer = 0; |
| 2080 |
PFN_vkCreateRenderPass vkCreateRenderPass = 0; |
| 2081 |
PFN_vkDestroyRenderPass vkDestroyRenderPass = 0; |
| 2082 |
PFN_vkGetRenderAreaGranularity vkGetRenderAreaGranularity = 0; |
| 2083 |
PFN_vkCmdSetViewport vkCmdSetViewport = 0; |
| 2084 |
PFN_vkCmdSetScissor vkCmdSetScissor = 0; |
| 2085 |
PFN_vkCmdSetLineWidth vkCmdSetLineWidth = 0; |
| 2086 |
PFN_vkCmdSetDepthBias vkCmdSetDepthBias = 0; |
| 2087 |
PFN_vkCmdSetBlendConstants vkCmdSetBlendConstants = 0; |
| 2088 |
PFN_vkCmdSetDepthBounds vkCmdSetDepthBounds = 0; |
| 2089 |
PFN_vkCmdSetStencilCompareMask vkCmdSetStencilCompareMask = 0; |
| 2090 |
PFN_vkCmdSetStencilWriteMask vkCmdSetStencilWriteMask = 0; |
| 2091 |
PFN_vkCmdSetStencilReference vkCmdSetStencilReference = 0; |
| 2092 |
PFN_vkCmdBindIndexBuffer vkCmdBindIndexBuffer = 0; |
| 2093 |
PFN_vkCmdBindVertexBuffers vkCmdBindVertexBuffers = 0; |
| 2094 |
PFN_vkCmdDraw vkCmdDraw = 0; |
| 2095 |
PFN_vkCmdDrawIndexed vkCmdDrawIndexed = 0; |
| 2096 |
PFN_vkCmdDrawIndirect vkCmdDrawIndirect = 0; |
| 2097 |
PFN_vkCmdDrawIndexedIndirect vkCmdDrawIndexedIndirect = 0; |
| 2098 |
PFN_vkCmdBlitImage vkCmdBlitImage = 0; |
| 2099 |
PFN_vkCmdClearDepthStencilImage vkCmdClearDepthStencilImage = 0; |
| 2100 |
PFN_vkCmdClearAttachments vkCmdClearAttachments = 0; |
| 2101 |
PFN_vkCmdResolveImage vkCmdResolveImage = 0; |
| 2102 |
PFN_vkCmdBeginRenderPass vkCmdBeginRenderPass = 0; |
| 2103 |
PFN_vkCmdNextSubpass vkCmdNextSubpass = 0; |
| 2104 |
PFN_vkCmdEndRenderPass vkCmdEndRenderPass = 0; |
| 2105 |
|
| 2106 |
//=== VK_VERSION_1_1 === |
| 2107 |
PFN_vkBindBufferMemory2 vkBindBufferMemory2 = 0; |
| 2108 |
PFN_vkBindImageMemory2 vkBindImageMemory2 = 0; |
| 2109 |
PFN_vkGetDeviceGroupPeerMemoryFeatures vkGetDeviceGroupPeerMemoryFeatures = 0; |
| 2110 |
PFN_vkCmdSetDeviceMask vkCmdSetDeviceMask = 0; |
| 2111 |
PFN_vkGetImageMemoryRequirements2 vkGetImageMemoryRequirements2 = 0; |
| 2112 |
PFN_vkGetBufferMemoryRequirements2 vkGetBufferMemoryRequirements2 = 0; |
| 2113 |
PFN_vkGetImageSparseMemoryRequirements2 vkGetImageSparseMemoryRequirements2 = 0; |
| 2114 |
PFN_vkTrimCommandPool vkTrimCommandPool = 0; |
| 2115 |
PFN_vkGetDeviceQueue2 vkGetDeviceQueue2 = 0; |
| 2116 |
PFN_vkCmdDispatchBase vkCmdDispatchBase = 0; |
| 2117 |
PFN_vkCreateDescriptorUpdateTemplate vkCreateDescriptorUpdateTemplate = 0; |
| 2118 |
PFN_vkDestroyDescriptorUpdateTemplate vkDestroyDescriptorUpdateTemplate = 0; |
| 2119 |
PFN_vkUpdateDescriptorSetWithTemplate vkUpdateDescriptorSetWithTemplate = 0; |
| 2120 |
PFN_vkGetDescriptorSetLayoutSupport vkGetDescriptorSetLayoutSupport = 0; |
| 2121 |
PFN_vkCreateSamplerYcbcrConversion vkCreateSamplerYcbcrConversion = 0; |
| 2122 |
PFN_vkDestroySamplerYcbcrConversion vkDestroySamplerYcbcrConversion = 0; |
| 2123 |
|
| 2124 |
//=== VK_VERSION_1_2 === |
| 2125 |
PFN_vkResetQueryPool vkResetQueryPool = 0; |
| 2126 |
PFN_vkGetSemaphoreCounterValue vkGetSemaphoreCounterValue = 0; |
| 2127 |
PFN_vkWaitSemaphores vkWaitSemaphores = 0; |
| 2128 |
PFN_vkSignalSemaphore vkSignalSemaphore = 0; |
| 2129 |
PFN_vkGetBufferDeviceAddress vkGetBufferDeviceAddress = 0; |
| 2130 |
PFN_vkGetBufferOpaqueCaptureAddress vkGetBufferOpaqueCaptureAddress = 0; |
| 2131 |
PFN_vkGetDeviceMemoryOpaqueCaptureAddress vkGetDeviceMemoryOpaqueCaptureAddress = 0; |
| 2132 |
PFN_vkCmdDrawIndirectCount vkCmdDrawIndirectCount = 0; |
| 2133 |
PFN_vkCmdDrawIndexedIndirectCount vkCmdDrawIndexedIndirectCount = 0; |
| 2134 |
PFN_vkCreateRenderPass2 vkCreateRenderPass2 = 0; |
| 2135 |
PFN_vkCmdBeginRenderPass2 vkCmdBeginRenderPass2 = 0; |
| 2136 |
PFN_vkCmdNextSubpass2 vkCmdNextSubpass2 = 0; |
| 2137 |
PFN_vkCmdEndRenderPass2 vkCmdEndRenderPass2 = 0; |
| 2138 |
|
| 2139 |
//=== VK_VERSION_1_3 === |
| 2140 |
PFN_vkCreatePrivateDataSlot vkCreatePrivateDataSlot = 0; |
| 2141 |
PFN_vkDestroyPrivateDataSlot vkDestroyPrivateDataSlot = 0; |
| 2142 |
PFN_vkSetPrivateData vkSetPrivateData = 0; |
| 2143 |
PFN_vkGetPrivateData vkGetPrivateData = 0; |
| 2144 |
PFN_vkCmdPipelineBarrier2 vkCmdPipelineBarrier2 = 0; |
| 2145 |
PFN_vkCmdWriteTimestamp2 vkCmdWriteTimestamp2 = 0; |
| 2146 |
PFN_vkQueueSubmit2 vkQueueSubmit2 = 0; |
| 2147 |
PFN_vkCmdCopyBuffer2 vkCmdCopyBuffer2 = 0; |
| 2148 |
PFN_vkCmdCopyImage2 vkCmdCopyImage2 = 0; |
| 2149 |
PFN_vkCmdCopyBufferToImage2 vkCmdCopyBufferToImage2 = 0; |
| 2150 |
PFN_vkCmdCopyImageToBuffer2 vkCmdCopyImageToBuffer2 = 0; |
| 2151 |
PFN_vkGetDeviceBufferMemoryRequirements vkGetDeviceBufferMemoryRequirements = 0; |
| 2152 |
PFN_vkGetDeviceImageMemoryRequirements vkGetDeviceImageMemoryRequirements = 0; |
| 2153 |
PFN_vkGetDeviceImageSparseMemoryRequirements vkGetDeviceImageSparseMemoryRequirements = 0; |
| 2154 |
PFN_vkCmdSetEvent2 vkCmdSetEvent2 = 0; |
| 2155 |
PFN_vkCmdResetEvent2 vkCmdResetEvent2 = 0; |
| 2156 |
PFN_vkCmdWaitEvents2 vkCmdWaitEvents2 = 0; |
| 2157 |
PFN_vkCmdBlitImage2 vkCmdBlitImage2 = 0; |
| 2158 |
PFN_vkCmdResolveImage2 vkCmdResolveImage2 = 0; |
| 2159 |
PFN_vkCmdBeginRendering vkCmdBeginRendering = 0; |
| 2160 |
PFN_vkCmdEndRendering vkCmdEndRendering = 0; |
| 2161 |
PFN_vkCmdSetCullMode vkCmdSetCullMode = 0; |
| 2162 |
PFN_vkCmdSetFrontFace vkCmdSetFrontFace = 0; |
| 2163 |
PFN_vkCmdSetPrimitiveTopology vkCmdSetPrimitiveTopology = 0; |
| 2164 |
PFN_vkCmdSetViewportWithCount vkCmdSetViewportWithCount = 0; |
| 2165 |
PFN_vkCmdSetScissorWithCount vkCmdSetScissorWithCount = 0; |
| 2166 |
PFN_vkCmdBindVertexBuffers2 vkCmdBindVertexBuffers2 = 0; |
| 2167 |
PFN_vkCmdSetDepthTestEnable vkCmdSetDepthTestEnable = 0; |
| 2168 |
PFN_vkCmdSetDepthWriteEnable vkCmdSetDepthWriteEnable = 0; |
| 2169 |
PFN_vkCmdSetDepthCompareOp vkCmdSetDepthCompareOp = 0; |
| 2170 |
PFN_vkCmdSetDepthBoundsTestEnable vkCmdSetDepthBoundsTestEnable = 0; |
| 2171 |
PFN_vkCmdSetStencilTestEnable vkCmdSetStencilTestEnable = 0; |
| 2172 |
PFN_vkCmdSetStencilOp vkCmdSetStencilOp = 0; |
| 2173 |
PFN_vkCmdSetRasterizerDiscardEnable vkCmdSetRasterizerDiscardEnable = 0; |
| 2174 |
PFN_vkCmdSetDepthBiasEnable vkCmdSetDepthBiasEnable = 0; |
| 2175 |
PFN_vkCmdSetPrimitiveRestartEnable vkCmdSetPrimitiveRestartEnable = 0; |
| 2176 |
|
| 2177 |
//=== VK_VERSION_1_4 === |
| 2178 |
PFN_vkMapMemory2 vkMapMemory2 = 0; |
| 2179 |
PFN_vkUnmapMemory2 vkUnmapMemory2 = 0; |
| 2180 |
PFN_vkGetDeviceImageSubresourceLayout vkGetDeviceImageSubresourceLayout = 0; |
| 2181 |
PFN_vkGetImageSubresourceLayout2 vkGetImageSubresourceLayout2 = 0; |
| 2182 |
PFN_vkCopyMemoryToImage vkCopyMemoryToImage = 0; |
| 2183 |
PFN_vkCopyImageToMemory vkCopyImageToMemory = 0; |
| 2184 |
PFN_vkCopyImageToImage vkCopyImageToImage = 0; |
| 2185 |
PFN_vkTransitionImageLayout vkTransitionImageLayout = 0; |
| 2186 |
PFN_vkCmdPushDescriptorSet vkCmdPushDescriptorSet = 0; |
| 2187 |
PFN_vkCmdPushDescriptorSetWithTemplate vkCmdPushDescriptorSetWithTemplate = 0; |
| 2188 |
PFN_vkCmdBindDescriptorSets2 vkCmdBindDescriptorSets2 = 0; |
| 2189 |
PFN_vkCmdPushConstants2 vkCmdPushConstants2 = 0; |
| 2190 |
PFN_vkCmdPushDescriptorSet2 vkCmdPushDescriptorSet2 = 0; |
| 2191 |
PFN_vkCmdPushDescriptorSetWithTemplate2 vkCmdPushDescriptorSetWithTemplate2 = 0; |
| 2192 |
PFN_vkCmdSetLineStipple vkCmdSetLineStipple = 0; |
| 2193 |
PFN_vkCmdBindIndexBuffer2 vkCmdBindIndexBuffer2 = 0; |
| 2194 |
PFN_vkGetRenderingAreaGranularity vkGetRenderingAreaGranularity = 0; |
| 2195 |
PFN_vkCmdSetRenderingAttachmentLocations vkCmdSetRenderingAttachmentLocations = 0; |
| 2196 |
PFN_vkCmdSetRenderingInputAttachmentIndices vkCmdSetRenderingInputAttachmentIndices = 0; |
| 2197 |
|
| 2198 |
//=== VK_KHR_swapchain === |
| 2199 |
PFN_vkCreateSwapchainKHR vkCreateSwapchainKHR = 0; |
| 2200 |
PFN_vkDestroySwapchainKHR vkDestroySwapchainKHR = 0; |
| 2201 |
PFN_vkGetSwapchainImagesKHR vkGetSwapchainImagesKHR = 0; |
| 2202 |
PFN_vkAcquireNextImageKHR vkAcquireNextImageKHR = 0; |
| 2203 |
PFN_vkQueuePresentKHR vkQueuePresentKHR = 0; |
| 2204 |
PFN_vkGetDeviceGroupPresentCapabilitiesKHR vkGetDeviceGroupPresentCapabilitiesKHR = 0; |
| 2205 |
PFN_vkGetDeviceGroupSurfacePresentModesKHR vkGetDeviceGroupSurfacePresentModesKHR = 0; |
| 2206 |
PFN_vkAcquireNextImage2KHR vkAcquireNextImage2KHR = 0; |
| 2207 |
|
| 2208 |
//=== VK_KHR_display_swapchain === |
| 2209 |
PFN_vkCreateSharedSwapchainsKHR vkCreateSharedSwapchainsKHR = 0; |
| 2210 |
|
| 2211 |
//=== VK_EXT_debug_marker === |
| 2212 |
PFN_vkDebugMarkerSetObjectTagEXT vkDebugMarkerSetObjectTagEXT = 0; |
| 2213 |
PFN_vkDebugMarkerSetObjectNameEXT vkDebugMarkerSetObjectNameEXT = 0; |
| 2214 |
PFN_vkCmdDebugMarkerBeginEXT vkCmdDebugMarkerBeginEXT = 0; |
| 2215 |
PFN_vkCmdDebugMarkerEndEXT vkCmdDebugMarkerEndEXT = 0; |
| 2216 |
PFN_vkCmdDebugMarkerInsertEXT vkCmdDebugMarkerInsertEXT = 0; |
| 2217 |
|
| 2218 |
//=== VK_KHR_video_queue === |
| 2219 |
PFN_vkCreateVideoSessionKHR vkCreateVideoSessionKHR = 0; |
| 2220 |
PFN_vkDestroyVideoSessionKHR vkDestroyVideoSessionKHR = 0; |
| 2221 |
PFN_vkGetVideoSessionMemoryRequirementsKHR vkGetVideoSessionMemoryRequirementsKHR = 0; |
| 2222 |
PFN_vkBindVideoSessionMemoryKHR vkBindVideoSessionMemoryKHR = 0; |
| 2223 |
PFN_vkCreateVideoSessionParametersKHR vkCreateVideoSessionParametersKHR = 0; |
| 2224 |
PFN_vkUpdateVideoSessionParametersKHR vkUpdateVideoSessionParametersKHR = 0; |
| 2225 |
PFN_vkDestroyVideoSessionParametersKHR vkDestroyVideoSessionParametersKHR = 0; |
| 2226 |
PFN_vkCmdBeginVideoCodingKHR vkCmdBeginVideoCodingKHR = 0; |
| 2227 |
PFN_vkCmdEndVideoCodingKHR vkCmdEndVideoCodingKHR = 0; |
| 2228 |
PFN_vkCmdControlVideoCodingKHR vkCmdControlVideoCodingKHR = 0; |
| 2229 |
|
| 2230 |
//=== VK_KHR_video_decode_queue === |
| 2231 |
PFN_vkCmdDecodeVideoKHR vkCmdDecodeVideoKHR = 0; |
| 2232 |
|
| 2233 |
//=== VK_EXT_transform_feedback === |
| 2234 |
PFN_vkCmdBindTransformFeedbackBuffersEXT vkCmdBindTransformFeedbackBuffersEXT = 0; |
| 2235 |
PFN_vkCmdBeginTransformFeedbackEXT vkCmdBeginTransformFeedbackEXT = 0; |
| 2236 |
PFN_vkCmdEndTransformFeedbackEXT vkCmdEndTransformFeedbackEXT = 0; |
| 2237 |
PFN_vkCmdBeginQueryIndexedEXT vkCmdBeginQueryIndexedEXT = 0; |
| 2238 |
PFN_vkCmdEndQueryIndexedEXT vkCmdEndQueryIndexedEXT = 0; |
| 2239 |
PFN_vkCmdDrawIndirectByteCountEXT vkCmdDrawIndirectByteCountEXT = 0; |
| 2240 |
|
| 2241 |
//=== VK_NVX_binary_import === |
| 2242 |
PFN_vkCreateCuModuleNVX vkCreateCuModuleNVX = 0; |
| 2243 |
PFN_vkCreateCuFunctionNVX vkCreateCuFunctionNVX = 0; |
| 2244 |
PFN_vkDestroyCuModuleNVX vkDestroyCuModuleNVX = 0; |
| 2245 |
PFN_vkDestroyCuFunctionNVX vkDestroyCuFunctionNVX = 0; |
| 2246 |
PFN_vkCmdCuLaunchKernelNVX vkCmdCuLaunchKernelNVX = 0; |
| 2247 |
|
| 2248 |
//=== VK_NVX_image_view_handle === |
| 2249 |
PFN_vkGetImageViewHandleNVX vkGetImageViewHandleNVX = 0; |
| 2250 |
PFN_vkGetImageViewHandle64NVX vkGetImageViewHandle64NVX = 0; |
| 2251 |
PFN_vkGetImageViewAddressNVX vkGetImageViewAddressNVX = 0; |
| 2252 |
PFN_vkGetDeviceCombinedImageSamplerIndexNVX vkGetDeviceCombinedImageSamplerIndexNVX = 0; |
| 2253 |
|
| 2254 |
//=== VK_AMD_draw_indirect_count === |
| 2255 |
PFN_vkCmdDrawIndirectCountAMD vkCmdDrawIndirectCountAMD = 0; |
| 2256 |
PFN_vkCmdDrawIndexedIndirectCountAMD vkCmdDrawIndexedIndirectCountAMD = 0; |
| 2257 |
|
| 2258 |
//=== VK_AMD_shader_info === |
| 2259 |
PFN_vkGetShaderInfoAMD vkGetShaderInfoAMD = 0; |
| 2260 |
|
| 2261 |
//=== VK_KHR_dynamic_rendering === |
| 2262 |
PFN_vkCmdBeginRenderingKHR vkCmdBeginRenderingKHR = 0; |
| 2263 |
PFN_vkCmdEndRenderingKHR vkCmdEndRenderingKHR = 0; |
| 2264 |
|
| 2265 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 2266 |
//=== VK_NV_external_memory_win32 === |
| 2267 |
PFN_vkGetMemoryWin32HandleNV vkGetMemoryWin32HandleNV = 0; |
| 2268 |
# else |
| 2269 |
PFN_dummy vkGetMemoryWin32HandleNV_placeholder = 0; |
| 2270 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 2271 |
|
| 2272 |
//=== VK_KHR_device_group === |
| 2273 |
PFN_vkGetDeviceGroupPeerMemoryFeaturesKHR vkGetDeviceGroupPeerMemoryFeaturesKHR = 0; |
| 2274 |
PFN_vkCmdSetDeviceMaskKHR vkCmdSetDeviceMaskKHR = 0; |
| 2275 |
PFN_vkCmdDispatchBaseKHR vkCmdDispatchBaseKHR = 0; |
| 2276 |
|
| 2277 |
//=== VK_KHR_maintenance1 === |
| 2278 |
PFN_vkTrimCommandPoolKHR vkTrimCommandPoolKHR = 0; |
| 2279 |
|
| 2280 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 2281 |
//=== VK_KHR_external_memory_win32 === |
| 2282 |
PFN_vkGetMemoryWin32HandleKHR vkGetMemoryWin32HandleKHR = 0; |
| 2283 |
PFN_vkGetMemoryWin32HandlePropertiesKHR vkGetMemoryWin32HandlePropertiesKHR = 0; |
| 2284 |
# else |
| 2285 |
PFN_dummy vkGetMemoryWin32HandleKHR_placeholder = 0; |
| 2286 |
PFN_dummy vkGetMemoryWin32HandlePropertiesKHR_placeholder = 0; |
| 2287 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 2288 |
|
| 2289 |
//=== VK_KHR_external_memory_fd === |
| 2290 |
PFN_vkGetMemoryFdKHR vkGetMemoryFdKHR = 0; |
| 2291 |
PFN_vkGetMemoryFdPropertiesKHR vkGetMemoryFdPropertiesKHR = 0; |
| 2292 |
|
| 2293 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 2294 |
//=== VK_KHR_external_semaphore_win32 === |
| 2295 |
PFN_vkImportSemaphoreWin32HandleKHR vkImportSemaphoreWin32HandleKHR = 0; |
| 2296 |
PFN_vkGetSemaphoreWin32HandleKHR vkGetSemaphoreWin32HandleKHR = 0; |
| 2297 |
# else |
| 2298 |
PFN_dummy vkImportSemaphoreWin32HandleKHR_placeholder = 0; |
| 2299 |
PFN_dummy vkGetSemaphoreWin32HandleKHR_placeholder = 0; |
| 2300 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 2301 |
|
| 2302 |
//=== VK_KHR_external_semaphore_fd === |
| 2303 |
PFN_vkImportSemaphoreFdKHR vkImportSemaphoreFdKHR = 0; |
| 2304 |
PFN_vkGetSemaphoreFdKHR vkGetSemaphoreFdKHR = 0; |
| 2305 |
|
| 2306 |
//=== VK_KHR_push_descriptor === |
| 2307 |
PFN_vkCmdPushDescriptorSetKHR vkCmdPushDescriptorSetKHR = 0; |
| 2308 |
PFN_vkCmdPushDescriptorSetWithTemplateKHR vkCmdPushDescriptorSetWithTemplateKHR = 0; |
| 2309 |
|
| 2310 |
//=== VK_EXT_conditional_rendering === |
| 2311 |
PFN_vkCmdBeginConditionalRenderingEXT vkCmdBeginConditionalRenderingEXT = 0; |
| 2312 |
PFN_vkCmdEndConditionalRenderingEXT vkCmdEndConditionalRenderingEXT = 0; |
| 2313 |
|
| 2314 |
//=== VK_KHR_descriptor_update_template === |
| 2315 |
PFN_vkCreateDescriptorUpdateTemplateKHR vkCreateDescriptorUpdateTemplateKHR = 0; |
| 2316 |
PFN_vkDestroyDescriptorUpdateTemplateKHR vkDestroyDescriptorUpdateTemplateKHR = 0; |
| 2317 |
PFN_vkUpdateDescriptorSetWithTemplateKHR vkUpdateDescriptorSetWithTemplateKHR = 0; |
| 2318 |
|
| 2319 |
//=== VK_NV_clip_space_w_scaling === |
| 2320 |
PFN_vkCmdSetViewportWScalingNV vkCmdSetViewportWScalingNV = 0; |
| 2321 |
|
| 2322 |
//=== VK_EXT_display_control === |
| 2323 |
PFN_vkDisplayPowerControlEXT vkDisplayPowerControlEXT = 0; |
| 2324 |
PFN_vkRegisterDeviceEventEXT vkRegisterDeviceEventEXT = 0; |
| 2325 |
PFN_vkRegisterDisplayEventEXT vkRegisterDisplayEventEXT = 0; |
| 2326 |
PFN_vkGetSwapchainCounterEXT vkGetSwapchainCounterEXT = 0; |
| 2327 |
|
| 2328 |
//=== VK_GOOGLE_display_timing === |
| 2329 |
PFN_vkGetRefreshCycleDurationGOOGLE vkGetRefreshCycleDurationGOOGLE = 0; |
| 2330 |
PFN_vkGetPastPresentationTimingGOOGLE vkGetPastPresentationTimingGOOGLE = 0; |
| 2331 |
|
| 2332 |
//=== VK_EXT_discard_rectangles === |
| 2333 |
PFN_vkCmdSetDiscardRectangleEXT vkCmdSetDiscardRectangleEXT = 0; |
| 2334 |
PFN_vkCmdSetDiscardRectangleEnableEXT vkCmdSetDiscardRectangleEnableEXT = 0; |
| 2335 |
PFN_vkCmdSetDiscardRectangleModeEXT vkCmdSetDiscardRectangleModeEXT = 0; |
| 2336 |
|
| 2337 |
//=== VK_EXT_hdr_metadata === |
| 2338 |
PFN_vkSetHdrMetadataEXT vkSetHdrMetadataEXT = 0; |
| 2339 |
|
| 2340 |
//=== VK_KHR_create_renderpass2 === |
| 2341 |
PFN_vkCreateRenderPass2KHR vkCreateRenderPass2KHR = 0; |
| 2342 |
PFN_vkCmdBeginRenderPass2KHR vkCmdBeginRenderPass2KHR = 0; |
| 2343 |
PFN_vkCmdNextSubpass2KHR vkCmdNextSubpass2KHR = 0; |
| 2344 |
PFN_vkCmdEndRenderPass2KHR vkCmdEndRenderPass2KHR = 0; |
| 2345 |
|
| 2346 |
//=== VK_KHR_shared_presentable_image === |
| 2347 |
PFN_vkGetSwapchainStatusKHR vkGetSwapchainStatusKHR = 0; |
| 2348 |
|
| 2349 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 2350 |
//=== VK_KHR_external_fence_win32 === |
| 2351 |
PFN_vkImportFenceWin32HandleKHR vkImportFenceWin32HandleKHR = 0; |
| 2352 |
PFN_vkGetFenceWin32HandleKHR vkGetFenceWin32HandleKHR = 0; |
| 2353 |
# else |
| 2354 |
PFN_dummy vkImportFenceWin32HandleKHR_placeholder = 0; |
| 2355 |
PFN_dummy vkGetFenceWin32HandleKHR_placeholder = 0; |
| 2356 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 2357 |
|
| 2358 |
//=== VK_KHR_external_fence_fd === |
| 2359 |
PFN_vkImportFenceFdKHR vkImportFenceFdKHR = 0; |
| 2360 |
PFN_vkGetFenceFdKHR vkGetFenceFdKHR = 0; |
| 2361 |
|
| 2362 |
//=== VK_KHR_performance_query === |
| 2363 |
PFN_vkAcquireProfilingLockKHR vkAcquireProfilingLockKHR = 0; |
| 2364 |
PFN_vkReleaseProfilingLockKHR vkReleaseProfilingLockKHR = 0; |
| 2365 |
|
| 2366 |
//=== VK_EXT_debug_utils === |
| 2367 |
PFN_vkSetDebugUtilsObjectNameEXT vkSetDebugUtilsObjectNameEXT = 0; |
| 2368 |
PFN_vkSetDebugUtilsObjectTagEXT vkSetDebugUtilsObjectTagEXT = 0; |
| 2369 |
PFN_vkQueueBeginDebugUtilsLabelEXT vkQueueBeginDebugUtilsLabelEXT = 0; |
| 2370 |
PFN_vkQueueEndDebugUtilsLabelEXT vkQueueEndDebugUtilsLabelEXT = 0; |
| 2371 |
PFN_vkQueueInsertDebugUtilsLabelEXT vkQueueInsertDebugUtilsLabelEXT = 0; |
| 2372 |
PFN_vkCmdBeginDebugUtilsLabelEXT vkCmdBeginDebugUtilsLabelEXT = 0; |
| 2373 |
PFN_vkCmdEndDebugUtilsLabelEXT vkCmdEndDebugUtilsLabelEXT = 0; |
| 2374 |
PFN_vkCmdInsertDebugUtilsLabelEXT vkCmdInsertDebugUtilsLabelEXT = 0; |
| 2375 |
|
| 2376 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 2377 |
//=== VK_ANDROID_external_memory_android_hardware_buffer === |
| 2378 |
PFN_vkGetAndroidHardwareBufferPropertiesANDROID vkGetAndroidHardwareBufferPropertiesANDROID = 0; |
| 2379 |
PFN_vkGetMemoryAndroidHardwareBufferANDROID vkGetMemoryAndroidHardwareBufferANDROID = 0; |
| 2380 |
# else |
| 2381 |
PFN_dummy vkGetAndroidHardwareBufferPropertiesANDROID_placeholder = 0; |
| 2382 |
PFN_dummy vkGetMemoryAndroidHardwareBufferANDROID_placeholder = 0; |
| 2383 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 2384 |
|
| 2385 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 2386 |
//=== VK_AMDX_shader_enqueue === |
| 2387 |
PFN_vkCreateExecutionGraphPipelinesAMDX vkCreateExecutionGraphPipelinesAMDX = 0; |
| 2388 |
PFN_vkGetExecutionGraphPipelineScratchSizeAMDX vkGetExecutionGraphPipelineScratchSizeAMDX = 0; |
| 2389 |
PFN_vkGetExecutionGraphPipelineNodeIndexAMDX vkGetExecutionGraphPipelineNodeIndexAMDX = 0; |
| 2390 |
PFN_vkCmdInitializeGraphScratchMemoryAMDX vkCmdInitializeGraphScratchMemoryAMDX = 0; |
| 2391 |
PFN_vkCmdDispatchGraphAMDX vkCmdDispatchGraphAMDX = 0; |
| 2392 |
PFN_vkCmdDispatchGraphIndirectAMDX vkCmdDispatchGraphIndirectAMDX = 0; |
| 2393 |
PFN_vkCmdDispatchGraphIndirectCountAMDX vkCmdDispatchGraphIndirectCountAMDX = 0; |
| 2394 |
# else |
| 2395 |
PFN_dummy vkCreateExecutionGraphPipelinesAMDX_placeholder = 0; |
| 2396 |
PFN_dummy vkGetExecutionGraphPipelineScratchSizeAMDX_placeholder = 0; |
| 2397 |
PFN_dummy vkGetExecutionGraphPipelineNodeIndexAMDX_placeholder = 0; |
| 2398 |
PFN_dummy vkCmdInitializeGraphScratchMemoryAMDX_placeholder = 0; |
| 2399 |
PFN_dummy vkCmdDispatchGraphAMDX_placeholder = 0; |
| 2400 |
PFN_dummy vkCmdDispatchGraphIndirectAMDX_placeholder = 0; |
| 2401 |
PFN_dummy vkCmdDispatchGraphIndirectCountAMDX_placeholder = 0; |
| 2402 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 2403 |
|
| 2404 |
//=== VK_EXT_descriptor_heap === |
| 2405 |
PFN_vkWriteSamplerDescriptorsEXT vkWriteSamplerDescriptorsEXT = 0; |
| 2406 |
PFN_vkWriteResourceDescriptorsEXT vkWriteResourceDescriptorsEXT = 0; |
| 2407 |
PFN_vkCmdBindSamplerHeapEXT vkCmdBindSamplerHeapEXT = 0; |
| 2408 |
PFN_vkCmdBindResourceHeapEXT vkCmdBindResourceHeapEXT = 0; |
| 2409 |
PFN_vkCmdPushDataEXT vkCmdPushDataEXT = 0; |
| 2410 |
PFN_vkGetImageOpaqueCaptureDataEXT vkGetImageOpaqueCaptureDataEXT = 0; |
| 2411 |
PFN_vkRegisterCustomBorderColorEXT vkRegisterCustomBorderColorEXT = 0; |
| 2412 |
PFN_vkUnregisterCustomBorderColorEXT vkUnregisterCustomBorderColorEXT = 0; |
| 2413 |
PFN_vkGetTensorOpaqueCaptureDataARM vkGetTensorOpaqueCaptureDataARM = 0; |
| 2414 |
|
| 2415 |
//=== VK_EXT_sample_locations === |
| 2416 |
PFN_vkCmdSetSampleLocationsEXT vkCmdSetSampleLocationsEXT = 0; |
| 2417 |
|
| 2418 |
//=== VK_KHR_get_memory_requirements2 === |
| 2419 |
PFN_vkGetImageMemoryRequirements2KHR vkGetImageMemoryRequirements2KHR = 0; |
| 2420 |
PFN_vkGetBufferMemoryRequirements2KHR vkGetBufferMemoryRequirements2KHR = 0; |
| 2421 |
PFN_vkGetImageSparseMemoryRequirements2KHR vkGetImageSparseMemoryRequirements2KHR = 0; |
| 2422 |
|
| 2423 |
//=== VK_KHR_acceleration_structure === |
| 2424 |
PFN_vkCreateAccelerationStructureKHR vkCreateAccelerationStructureKHR = 0; |
| 2425 |
PFN_vkDestroyAccelerationStructureKHR vkDestroyAccelerationStructureKHR = 0; |
| 2426 |
PFN_vkCmdBuildAccelerationStructuresKHR vkCmdBuildAccelerationStructuresKHR = 0; |
| 2427 |
PFN_vkCmdBuildAccelerationStructuresIndirectKHR vkCmdBuildAccelerationStructuresIndirectKHR = 0; |
| 2428 |
PFN_vkBuildAccelerationStructuresKHR vkBuildAccelerationStructuresKHR = 0; |
| 2429 |
PFN_vkCopyAccelerationStructureKHR vkCopyAccelerationStructureKHR = 0; |
| 2430 |
PFN_vkCopyAccelerationStructureToMemoryKHR vkCopyAccelerationStructureToMemoryKHR = 0; |
| 2431 |
PFN_vkCopyMemoryToAccelerationStructureKHR vkCopyMemoryToAccelerationStructureKHR = 0; |
| 2432 |
PFN_vkWriteAccelerationStructuresPropertiesKHR vkWriteAccelerationStructuresPropertiesKHR = 0; |
| 2433 |
PFN_vkCmdCopyAccelerationStructureKHR vkCmdCopyAccelerationStructureKHR = 0; |
| 2434 |
PFN_vkCmdCopyAccelerationStructureToMemoryKHR vkCmdCopyAccelerationStructureToMemoryKHR = 0; |
| 2435 |
PFN_vkCmdCopyMemoryToAccelerationStructureKHR vkCmdCopyMemoryToAccelerationStructureKHR = 0; |
| 2436 |
PFN_vkGetAccelerationStructureDeviceAddressKHR vkGetAccelerationStructureDeviceAddressKHR = 0; |
| 2437 |
PFN_vkCmdWriteAccelerationStructuresPropertiesKHR vkCmdWriteAccelerationStructuresPropertiesKHR = 0; |
| 2438 |
PFN_vkGetDeviceAccelerationStructureCompatibilityKHR vkGetDeviceAccelerationStructureCompatibilityKHR = 0; |
| 2439 |
PFN_vkGetAccelerationStructureBuildSizesKHR vkGetAccelerationStructureBuildSizesKHR = 0; |
| 2440 |
|
| 2441 |
//=== VK_KHR_ray_tracing_pipeline === |
| 2442 |
PFN_vkCmdTraceRaysKHR vkCmdTraceRaysKHR = 0; |
| 2443 |
PFN_vkCreateRayTracingPipelinesKHR vkCreateRayTracingPipelinesKHR = 0; |
| 2444 |
PFN_vkGetRayTracingShaderGroupHandlesKHR vkGetRayTracingShaderGroupHandlesKHR = 0; |
| 2445 |
PFN_vkGetRayTracingCaptureReplayShaderGroupHandlesKHR vkGetRayTracingCaptureReplayShaderGroupHandlesKHR = 0; |
| 2446 |
PFN_vkCmdTraceRaysIndirectKHR vkCmdTraceRaysIndirectKHR = 0; |
| 2447 |
PFN_vkGetRayTracingShaderGroupStackSizeKHR vkGetRayTracingShaderGroupStackSizeKHR = 0; |
| 2448 |
PFN_vkCmdSetRayTracingPipelineStackSizeKHR vkCmdSetRayTracingPipelineStackSizeKHR = 0; |
| 2449 |
|
| 2450 |
//=== VK_KHR_sampler_ycbcr_conversion === |
| 2451 |
PFN_vkCreateSamplerYcbcrConversionKHR vkCreateSamplerYcbcrConversionKHR = 0; |
| 2452 |
PFN_vkDestroySamplerYcbcrConversionKHR vkDestroySamplerYcbcrConversionKHR = 0; |
| 2453 |
|
| 2454 |
//=== VK_KHR_bind_memory2 === |
| 2455 |
PFN_vkBindBufferMemory2KHR vkBindBufferMemory2KHR = 0; |
| 2456 |
PFN_vkBindImageMemory2KHR vkBindImageMemory2KHR = 0; |
| 2457 |
|
| 2458 |
//=== VK_EXT_image_drm_format_modifier === |
| 2459 |
PFN_vkGetImageDrmFormatModifierPropertiesEXT vkGetImageDrmFormatModifierPropertiesEXT = 0; |
| 2460 |
|
| 2461 |
//=== VK_EXT_validation_cache === |
| 2462 |
PFN_vkCreateValidationCacheEXT vkCreateValidationCacheEXT = 0; |
| 2463 |
PFN_vkDestroyValidationCacheEXT vkDestroyValidationCacheEXT = 0; |
| 2464 |
PFN_vkMergeValidationCachesEXT vkMergeValidationCachesEXT = 0; |
| 2465 |
PFN_vkGetValidationCacheDataEXT vkGetValidationCacheDataEXT = 0; |
| 2466 |
|
| 2467 |
//=== VK_NV_shading_rate_image === |
| 2468 |
PFN_vkCmdBindShadingRateImageNV vkCmdBindShadingRateImageNV = 0; |
| 2469 |
PFN_vkCmdSetViewportShadingRatePaletteNV vkCmdSetViewportShadingRatePaletteNV = 0; |
| 2470 |
PFN_vkCmdSetCoarseSampleOrderNV vkCmdSetCoarseSampleOrderNV = 0; |
| 2471 |
|
| 2472 |
//=== VK_NV_ray_tracing === |
| 2473 |
PFN_vkCreateAccelerationStructureNV vkCreateAccelerationStructureNV = 0; |
| 2474 |
PFN_vkDestroyAccelerationStructureNV vkDestroyAccelerationStructureNV = 0; |
| 2475 |
PFN_vkGetAccelerationStructureMemoryRequirementsNV vkGetAccelerationStructureMemoryRequirementsNV = 0; |
| 2476 |
PFN_vkBindAccelerationStructureMemoryNV vkBindAccelerationStructureMemoryNV = 0; |
| 2477 |
PFN_vkCmdBuildAccelerationStructureNV vkCmdBuildAccelerationStructureNV = 0; |
| 2478 |
PFN_vkCmdCopyAccelerationStructureNV vkCmdCopyAccelerationStructureNV = 0; |
| 2479 |
PFN_vkCmdTraceRaysNV vkCmdTraceRaysNV = 0; |
| 2480 |
PFN_vkCreateRayTracingPipelinesNV vkCreateRayTracingPipelinesNV = 0; |
| 2481 |
PFN_vkGetRayTracingShaderGroupHandlesNV vkGetRayTracingShaderGroupHandlesNV = 0; |
| 2482 |
PFN_vkGetAccelerationStructureHandleNV vkGetAccelerationStructureHandleNV = 0; |
| 2483 |
PFN_vkCmdWriteAccelerationStructuresPropertiesNV vkCmdWriteAccelerationStructuresPropertiesNV = 0; |
| 2484 |
PFN_vkCompileDeferredNV vkCompileDeferredNV = 0; |
| 2485 |
|
| 2486 |
//=== VK_KHR_maintenance3 === |
| 2487 |
PFN_vkGetDescriptorSetLayoutSupportKHR vkGetDescriptorSetLayoutSupportKHR = 0; |
| 2488 |
|
| 2489 |
//=== VK_KHR_draw_indirect_count === |
| 2490 |
PFN_vkCmdDrawIndirectCountKHR vkCmdDrawIndirectCountKHR = 0; |
| 2491 |
PFN_vkCmdDrawIndexedIndirectCountKHR vkCmdDrawIndexedIndirectCountKHR = 0; |
| 2492 |
|
| 2493 |
//=== VK_EXT_external_memory_host === |
| 2494 |
PFN_vkGetMemoryHostPointerPropertiesEXT vkGetMemoryHostPointerPropertiesEXT = 0; |
| 2495 |
|
| 2496 |
//=== VK_AMD_buffer_marker === |
| 2497 |
PFN_vkCmdWriteBufferMarkerAMD vkCmdWriteBufferMarkerAMD = 0; |
| 2498 |
PFN_vkCmdWriteBufferMarker2AMD vkCmdWriteBufferMarker2AMD = 0; |
| 2499 |
|
| 2500 |
//=== VK_EXT_calibrated_timestamps === |
| 2501 |
PFN_vkGetCalibratedTimestampsEXT vkGetCalibratedTimestampsEXT = 0; |
| 2502 |
|
| 2503 |
//=== VK_NV_mesh_shader === |
| 2504 |
PFN_vkCmdDrawMeshTasksNV vkCmdDrawMeshTasksNV = 0; |
| 2505 |
PFN_vkCmdDrawMeshTasksIndirectNV vkCmdDrawMeshTasksIndirectNV = 0; |
| 2506 |
PFN_vkCmdDrawMeshTasksIndirectCountNV vkCmdDrawMeshTasksIndirectCountNV = 0; |
| 2507 |
|
| 2508 |
//=== VK_NV_scissor_exclusive === |
| 2509 |
PFN_vkCmdSetExclusiveScissorEnableNV vkCmdSetExclusiveScissorEnableNV = 0; |
| 2510 |
PFN_vkCmdSetExclusiveScissorNV vkCmdSetExclusiveScissorNV = 0; |
| 2511 |
|
| 2512 |
//=== VK_NV_device_diagnostic_checkpoints === |
| 2513 |
PFN_vkCmdSetCheckpointNV vkCmdSetCheckpointNV = 0; |
| 2514 |
PFN_vkGetQueueCheckpointDataNV vkGetQueueCheckpointDataNV = 0; |
| 2515 |
PFN_vkGetQueueCheckpointData2NV vkGetQueueCheckpointData2NV = 0; |
| 2516 |
|
| 2517 |
//=== VK_KHR_timeline_semaphore === |
| 2518 |
PFN_vkGetSemaphoreCounterValueKHR vkGetSemaphoreCounterValueKHR = 0; |
| 2519 |
PFN_vkWaitSemaphoresKHR vkWaitSemaphoresKHR = 0; |
| 2520 |
PFN_vkSignalSemaphoreKHR vkSignalSemaphoreKHR = 0; |
| 2521 |
|
| 2522 |
//=== VK_EXT_present_timing === |
| 2523 |
PFN_vkSetSwapchainPresentTimingQueueSizeEXT vkSetSwapchainPresentTimingQueueSizeEXT = 0; |
| 2524 |
PFN_vkGetSwapchainTimingPropertiesEXT vkGetSwapchainTimingPropertiesEXT = 0; |
| 2525 |
PFN_vkGetSwapchainTimeDomainPropertiesEXT vkGetSwapchainTimeDomainPropertiesEXT = 0; |
| 2526 |
PFN_vkGetPastPresentationTimingEXT vkGetPastPresentationTimingEXT = 0; |
| 2527 |
|
| 2528 |
//=== VK_INTEL_performance_query === |
| 2529 |
PFN_vkInitializePerformanceApiINTEL vkInitializePerformanceApiINTEL = 0; |
| 2530 |
PFN_vkUninitializePerformanceApiINTEL vkUninitializePerformanceApiINTEL = 0; |
| 2531 |
PFN_vkCmdSetPerformanceMarkerINTEL vkCmdSetPerformanceMarkerINTEL = 0; |
| 2532 |
PFN_vkCmdSetPerformanceStreamMarkerINTEL vkCmdSetPerformanceStreamMarkerINTEL = 0; |
| 2533 |
PFN_vkCmdSetPerformanceOverrideINTEL vkCmdSetPerformanceOverrideINTEL = 0; |
| 2534 |
PFN_vkAcquirePerformanceConfigurationINTEL vkAcquirePerformanceConfigurationINTEL = 0; |
| 2535 |
PFN_vkReleasePerformanceConfigurationINTEL vkReleasePerformanceConfigurationINTEL = 0; |
| 2536 |
PFN_vkQueueSetPerformanceConfigurationINTEL vkQueueSetPerformanceConfigurationINTEL = 0; |
| 2537 |
PFN_vkGetPerformanceParameterINTEL vkGetPerformanceParameterINTEL = 0; |
| 2538 |
|
| 2539 |
//=== VK_AMD_display_native_hdr === |
| 2540 |
PFN_vkSetLocalDimmingAMD vkSetLocalDimmingAMD = 0; |
| 2541 |
|
| 2542 |
//=== VK_KHR_fragment_shading_rate === |
| 2543 |
PFN_vkCmdSetFragmentShadingRateKHR vkCmdSetFragmentShadingRateKHR = 0; |
| 2544 |
|
| 2545 |
//=== VK_KHR_dynamic_rendering_local_read === |
| 2546 |
PFN_vkCmdSetRenderingAttachmentLocationsKHR vkCmdSetRenderingAttachmentLocationsKHR = 0; |
| 2547 |
PFN_vkCmdSetRenderingInputAttachmentIndicesKHR vkCmdSetRenderingInputAttachmentIndicesKHR = 0; |
| 2548 |
|
| 2549 |
//=== VK_EXT_buffer_device_address === |
| 2550 |
PFN_vkGetBufferDeviceAddressEXT vkGetBufferDeviceAddressEXT = 0; |
| 2551 |
|
| 2552 |
//=== VK_KHR_present_wait === |
| 2553 |
PFN_vkWaitForPresentKHR vkWaitForPresentKHR = 0; |
| 2554 |
|
| 2555 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 2556 |
//=== VK_EXT_full_screen_exclusive === |
| 2557 |
PFN_vkAcquireFullScreenExclusiveModeEXT vkAcquireFullScreenExclusiveModeEXT = 0; |
| 2558 |
PFN_vkReleaseFullScreenExclusiveModeEXT vkReleaseFullScreenExclusiveModeEXT = 0; |
| 2559 |
PFN_vkGetDeviceGroupSurfacePresentModes2EXT vkGetDeviceGroupSurfacePresentModes2EXT = 0; |
| 2560 |
# else |
| 2561 |
PFN_dummy vkAcquireFullScreenExclusiveModeEXT_placeholder = 0; |
| 2562 |
PFN_dummy vkReleaseFullScreenExclusiveModeEXT_placeholder = 0; |
| 2563 |
PFN_dummy vkGetDeviceGroupSurfacePresentModes2EXT_placeholder = 0; |
| 2564 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 2565 |
|
| 2566 |
//=== VK_KHR_buffer_device_address === |
| 2567 |
PFN_vkGetBufferDeviceAddressKHR vkGetBufferDeviceAddressKHR = 0; |
| 2568 |
PFN_vkGetBufferOpaqueCaptureAddressKHR vkGetBufferOpaqueCaptureAddressKHR = 0; |
| 2569 |
PFN_vkGetDeviceMemoryOpaqueCaptureAddressKHR vkGetDeviceMemoryOpaqueCaptureAddressKHR = 0; |
| 2570 |
|
| 2571 |
//=== VK_EXT_line_rasterization === |
| 2572 |
PFN_vkCmdSetLineStippleEXT vkCmdSetLineStippleEXT = 0; |
| 2573 |
|
| 2574 |
//=== VK_EXT_host_query_reset === |
| 2575 |
PFN_vkResetQueryPoolEXT vkResetQueryPoolEXT = 0; |
| 2576 |
|
| 2577 |
//=== VK_EXT_extended_dynamic_state === |
| 2578 |
PFN_vkCmdSetCullModeEXT vkCmdSetCullModeEXT = 0; |
| 2579 |
PFN_vkCmdSetFrontFaceEXT vkCmdSetFrontFaceEXT = 0; |
| 2580 |
PFN_vkCmdSetPrimitiveTopologyEXT vkCmdSetPrimitiveTopologyEXT = 0; |
| 2581 |
PFN_vkCmdSetViewportWithCountEXT vkCmdSetViewportWithCountEXT = 0; |
| 2582 |
PFN_vkCmdSetScissorWithCountEXT vkCmdSetScissorWithCountEXT = 0; |
| 2583 |
PFN_vkCmdBindVertexBuffers2EXT vkCmdBindVertexBuffers2EXT = 0; |
| 2584 |
PFN_vkCmdSetDepthTestEnableEXT vkCmdSetDepthTestEnableEXT = 0; |
| 2585 |
PFN_vkCmdSetDepthWriteEnableEXT vkCmdSetDepthWriteEnableEXT = 0; |
| 2586 |
PFN_vkCmdSetDepthCompareOpEXT vkCmdSetDepthCompareOpEXT = 0; |
| 2587 |
PFN_vkCmdSetDepthBoundsTestEnableEXT vkCmdSetDepthBoundsTestEnableEXT = 0; |
| 2588 |
PFN_vkCmdSetStencilTestEnableEXT vkCmdSetStencilTestEnableEXT = 0; |
| 2589 |
PFN_vkCmdSetStencilOpEXT vkCmdSetStencilOpEXT = 0; |
| 2590 |
|
| 2591 |
//=== VK_KHR_deferred_host_operations === |
| 2592 |
PFN_vkCreateDeferredOperationKHR vkCreateDeferredOperationKHR = 0; |
| 2593 |
PFN_vkDestroyDeferredOperationKHR vkDestroyDeferredOperationKHR = 0; |
| 2594 |
PFN_vkGetDeferredOperationMaxConcurrencyKHR vkGetDeferredOperationMaxConcurrencyKHR = 0; |
| 2595 |
PFN_vkGetDeferredOperationResultKHR vkGetDeferredOperationResultKHR = 0; |
| 2596 |
PFN_vkDeferredOperationJoinKHR vkDeferredOperationJoinKHR = 0; |
| 2597 |
|
| 2598 |
//=== VK_KHR_pipeline_executable_properties === |
| 2599 |
PFN_vkGetPipelineExecutablePropertiesKHR vkGetPipelineExecutablePropertiesKHR = 0; |
| 2600 |
PFN_vkGetPipelineExecutableStatisticsKHR vkGetPipelineExecutableStatisticsKHR = 0; |
| 2601 |
PFN_vkGetPipelineExecutableInternalRepresentationsKHR vkGetPipelineExecutableInternalRepresentationsKHR = 0; |
| 2602 |
|
| 2603 |
//=== VK_EXT_host_image_copy === |
| 2604 |
PFN_vkCopyMemoryToImageEXT vkCopyMemoryToImageEXT = 0; |
| 2605 |
PFN_vkCopyImageToMemoryEXT vkCopyImageToMemoryEXT = 0; |
| 2606 |
PFN_vkCopyImageToImageEXT vkCopyImageToImageEXT = 0; |
| 2607 |
PFN_vkTransitionImageLayoutEXT vkTransitionImageLayoutEXT = 0; |
| 2608 |
PFN_vkGetImageSubresourceLayout2EXT vkGetImageSubresourceLayout2EXT = 0; |
| 2609 |
|
| 2610 |
//=== VK_KHR_map_memory2 === |
| 2611 |
PFN_vkMapMemory2KHR vkMapMemory2KHR = 0; |
| 2612 |
PFN_vkUnmapMemory2KHR vkUnmapMemory2KHR = 0; |
| 2613 |
|
| 2614 |
//=== VK_EXT_swapchain_maintenance1 === |
| 2615 |
PFN_vkReleaseSwapchainImagesEXT vkReleaseSwapchainImagesEXT = 0; |
| 2616 |
|
| 2617 |
//=== VK_NV_device_generated_commands === |
| 2618 |
PFN_vkGetGeneratedCommandsMemoryRequirementsNV vkGetGeneratedCommandsMemoryRequirementsNV = 0; |
| 2619 |
PFN_vkCmdPreprocessGeneratedCommandsNV vkCmdPreprocessGeneratedCommandsNV = 0; |
| 2620 |
PFN_vkCmdExecuteGeneratedCommandsNV vkCmdExecuteGeneratedCommandsNV = 0; |
| 2621 |
PFN_vkCmdBindPipelineShaderGroupNV vkCmdBindPipelineShaderGroupNV = 0; |
| 2622 |
PFN_vkCreateIndirectCommandsLayoutNV vkCreateIndirectCommandsLayoutNV = 0; |
| 2623 |
PFN_vkDestroyIndirectCommandsLayoutNV vkDestroyIndirectCommandsLayoutNV = 0; |
| 2624 |
|
| 2625 |
//=== VK_EXT_depth_bias_control === |
| 2626 |
PFN_vkCmdSetDepthBias2EXT vkCmdSetDepthBias2EXT = 0; |
| 2627 |
|
| 2628 |
//=== VK_EXT_private_data === |
| 2629 |
PFN_vkCreatePrivateDataSlotEXT vkCreatePrivateDataSlotEXT = 0; |
| 2630 |
PFN_vkDestroyPrivateDataSlotEXT vkDestroyPrivateDataSlotEXT = 0; |
| 2631 |
PFN_vkSetPrivateDataEXT vkSetPrivateDataEXT = 0; |
| 2632 |
PFN_vkGetPrivateDataEXT vkGetPrivateDataEXT = 0; |
| 2633 |
|
| 2634 |
//=== VK_KHR_video_encode_queue === |
| 2635 |
PFN_vkGetEncodedVideoSessionParametersKHR vkGetEncodedVideoSessionParametersKHR = 0; |
| 2636 |
PFN_vkCmdEncodeVideoKHR vkCmdEncodeVideoKHR = 0; |
| 2637 |
|
| 2638 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 2639 |
//=== VK_NV_cuda_kernel_launch === |
| 2640 |
PFN_vkCreateCudaModuleNV vkCreateCudaModuleNV = 0; |
| 2641 |
PFN_vkGetCudaModuleCacheNV vkGetCudaModuleCacheNV = 0; |
| 2642 |
PFN_vkCreateCudaFunctionNV vkCreateCudaFunctionNV = 0; |
| 2643 |
PFN_vkDestroyCudaModuleNV vkDestroyCudaModuleNV = 0; |
| 2644 |
PFN_vkDestroyCudaFunctionNV vkDestroyCudaFunctionNV = 0; |
| 2645 |
PFN_vkCmdCudaLaunchKernelNV vkCmdCudaLaunchKernelNV = 0; |
| 2646 |
# else |
| 2647 |
PFN_dummy vkCreateCudaModuleNV_placeholder = 0; |
| 2648 |
PFN_dummy vkGetCudaModuleCacheNV_placeholder = 0; |
| 2649 |
PFN_dummy vkCreateCudaFunctionNV_placeholder = 0; |
| 2650 |
PFN_dummy vkDestroyCudaModuleNV_placeholder = 0; |
| 2651 |
PFN_dummy vkDestroyCudaFunctionNV_placeholder = 0; |
| 2652 |
PFN_dummy vkCmdCudaLaunchKernelNV_placeholder = 0; |
| 2653 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 2654 |
|
| 2655 |
//=== VK_QCOM_tile_shading === |
| 2656 |
PFN_vkCmdDispatchTileQCOM vkCmdDispatchTileQCOM = 0; |
| 2657 |
PFN_vkCmdBeginPerTileExecutionQCOM vkCmdBeginPerTileExecutionQCOM = 0; |
| 2658 |
PFN_vkCmdEndPerTileExecutionQCOM vkCmdEndPerTileExecutionQCOM = 0; |
| 2659 |
|
| 2660 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 2661 |
//=== VK_EXT_metal_objects === |
| 2662 |
PFN_vkExportMetalObjectsEXT vkExportMetalObjectsEXT = 0; |
| 2663 |
# else |
| 2664 |
PFN_dummy vkExportMetalObjectsEXT_placeholder = 0; |
| 2665 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 2666 |
|
| 2667 |
//=== VK_KHR_synchronization2 === |
| 2668 |
PFN_vkCmdSetEvent2KHR vkCmdSetEvent2KHR = 0; |
| 2669 |
PFN_vkCmdResetEvent2KHR vkCmdResetEvent2KHR = 0; |
| 2670 |
PFN_vkCmdWaitEvents2KHR vkCmdWaitEvents2KHR = 0; |
| 2671 |
PFN_vkCmdPipelineBarrier2KHR vkCmdPipelineBarrier2KHR = 0; |
| 2672 |
PFN_vkCmdWriteTimestamp2KHR vkCmdWriteTimestamp2KHR = 0; |
| 2673 |
PFN_vkQueueSubmit2KHR vkQueueSubmit2KHR = 0; |
| 2674 |
|
| 2675 |
//=== VK_EXT_descriptor_buffer === |
| 2676 |
PFN_vkGetDescriptorSetLayoutSizeEXT vkGetDescriptorSetLayoutSizeEXT = 0; |
| 2677 |
PFN_vkGetDescriptorSetLayoutBindingOffsetEXT vkGetDescriptorSetLayoutBindingOffsetEXT = 0; |
| 2678 |
PFN_vkGetDescriptorEXT vkGetDescriptorEXT = 0; |
| 2679 |
PFN_vkCmdBindDescriptorBuffersEXT vkCmdBindDescriptorBuffersEXT = 0; |
| 2680 |
PFN_vkCmdSetDescriptorBufferOffsetsEXT vkCmdSetDescriptorBufferOffsetsEXT = 0; |
| 2681 |
PFN_vkCmdBindDescriptorBufferEmbeddedSamplersEXT vkCmdBindDescriptorBufferEmbeddedSamplersEXT = 0; |
| 2682 |
PFN_vkGetBufferOpaqueCaptureDescriptorDataEXT vkGetBufferOpaqueCaptureDescriptorDataEXT = 0; |
| 2683 |
PFN_vkGetImageOpaqueCaptureDescriptorDataEXT vkGetImageOpaqueCaptureDescriptorDataEXT = 0; |
| 2684 |
PFN_vkGetImageViewOpaqueCaptureDescriptorDataEXT vkGetImageViewOpaqueCaptureDescriptorDataEXT = 0; |
| 2685 |
PFN_vkGetSamplerOpaqueCaptureDescriptorDataEXT vkGetSamplerOpaqueCaptureDescriptorDataEXT = 0; |
| 2686 |
PFN_vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT = 0; |
| 2687 |
|
| 2688 |
//=== VK_NV_fragment_shading_rate_enums === |
| 2689 |
PFN_vkCmdSetFragmentShadingRateEnumNV vkCmdSetFragmentShadingRateEnumNV = 0; |
| 2690 |
|
| 2691 |
//=== VK_EXT_mesh_shader === |
| 2692 |
PFN_vkCmdDrawMeshTasksEXT vkCmdDrawMeshTasksEXT = 0; |
| 2693 |
PFN_vkCmdDrawMeshTasksIndirectEXT vkCmdDrawMeshTasksIndirectEXT = 0; |
| 2694 |
PFN_vkCmdDrawMeshTasksIndirectCountEXT vkCmdDrawMeshTasksIndirectCountEXT = 0; |
| 2695 |
|
| 2696 |
//=== VK_KHR_copy_commands2 === |
| 2697 |
PFN_vkCmdCopyBuffer2KHR vkCmdCopyBuffer2KHR = 0; |
| 2698 |
PFN_vkCmdCopyImage2KHR vkCmdCopyImage2KHR = 0; |
| 2699 |
PFN_vkCmdCopyBufferToImage2KHR vkCmdCopyBufferToImage2KHR = 0; |
| 2700 |
PFN_vkCmdCopyImageToBuffer2KHR vkCmdCopyImageToBuffer2KHR = 0; |
| 2701 |
PFN_vkCmdBlitImage2KHR vkCmdBlitImage2KHR = 0; |
| 2702 |
PFN_vkCmdResolveImage2KHR vkCmdResolveImage2KHR = 0; |
| 2703 |
|
| 2704 |
//=== VK_EXT_device_fault === |
| 2705 |
PFN_vkGetDeviceFaultInfoEXT vkGetDeviceFaultInfoEXT = 0; |
| 2706 |
|
| 2707 |
//=== VK_EXT_vertex_input_dynamic_state === |
| 2708 |
PFN_vkCmdSetVertexInputEXT vkCmdSetVertexInputEXT = 0; |
| 2709 |
|
| 2710 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 2711 |
//=== VK_FUCHSIA_external_memory === |
| 2712 |
PFN_vkGetMemoryZirconHandleFUCHSIA vkGetMemoryZirconHandleFUCHSIA = 0; |
| 2713 |
PFN_vkGetMemoryZirconHandlePropertiesFUCHSIA vkGetMemoryZirconHandlePropertiesFUCHSIA = 0; |
| 2714 |
# else |
| 2715 |
PFN_dummy vkGetMemoryZirconHandleFUCHSIA_placeholder = 0; |
| 2716 |
PFN_dummy vkGetMemoryZirconHandlePropertiesFUCHSIA_placeholder = 0; |
| 2717 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 2718 |
|
| 2719 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 2720 |
//=== VK_FUCHSIA_external_semaphore === |
| 2721 |
PFN_vkImportSemaphoreZirconHandleFUCHSIA vkImportSemaphoreZirconHandleFUCHSIA = 0; |
| 2722 |
PFN_vkGetSemaphoreZirconHandleFUCHSIA vkGetSemaphoreZirconHandleFUCHSIA = 0; |
| 2723 |
# else |
| 2724 |
PFN_dummy vkImportSemaphoreZirconHandleFUCHSIA_placeholder = 0; |
| 2725 |
PFN_dummy vkGetSemaphoreZirconHandleFUCHSIA_placeholder = 0; |
| 2726 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 2727 |
|
| 2728 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 2729 |
//=== VK_FUCHSIA_buffer_collection === |
| 2730 |
PFN_vkCreateBufferCollectionFUCHSIA vkCreateBufferCollectionFUCHSIA = 0; |
| 2731 |
PFN_vkSetBufferCollectionImageConstraintsFUCHSIA vkSetBufferCollectionImageConstraintsFUCHSIA = 0; |
| 2732 |
PFN_vkSetBufferCollectionBufferConstraintsFUCHSIA vkSetBufferCollectionBufferConstraintsFUCHSIA = 0; |
| 2733 |
PFN_vkDestroyBufferCollectionFUCHSIA vkDestroyBufferCollectionFUCHSIA = 0; |
| 2734 |
PFN_vkGetBufferCollectionPropertiesFUCHSIA vkGetBufferCollectionPropertiesFUCHSIA = 0; |
| 2735 |
# else |
| 2736 |
PFN_dummy vkCreateBufferCollectionFUCHSIA_placeholder = 0; |
| 2737 |
PFN_dummy vkSetBufferCollectionImageConstraintsFUCHSIA_placeholder = 0; |
| 2738 |
PFN_dummy vkSetBufferCollectionBufferConstraintsFUCHSIA_placeholder = 0; |
| 2739 |
PFN_dummy vkDestroyBufferCollectionFUCHSIA_placeholder = 0; |
| 2740 |
PFN_dummy vkGetBufferCollectionPropertiesFUCHSIA_placeholder = 0; |
| 2741 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 2742 |
|
| 2743 |
//=== VK_HUAWEI_subpass_shading === |
| 2744 |
PFN_vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI = 0; |
| 2745 |
PFN_vkCmdSubpassShadingHUAWEI vkCmdSubpassShadingHUAWEI = 0; |
| 2746 |
|
| 2747 |
//=== VK_HUAWEI_invocation_mask === |
| 2748 |
PFN_vkCmdBindInvocationMaskHUAWEI vkCmdBindInvocationMaskHUAWEI = 0; |
| 2749 |
|
| 2750 |
//=== VK_NV_external_memory_rdma === |
| 2751 |
PFN_vkGetMemoryRemoteAddressNV vkGetMemoryRemoteAddressNV = 0; |
| 2752 |
|
| 2753 |
//=== VK_EXT_pipeline_properties === |
| 2754 |
PFN_vkGetPipelinePropertiesEXT vkGetPipelinePropertiesEXT = 0; |
| 2755 |
|
| 2756 |
//=== VK_EXT_extended_dynamic_state2 === |
| 2757 |
PFN_vkCmdSetPatchControlPointsEXT vkCmdSetPatchControlPointsEXT = 0; |
| 2758 |
PFN_vkCmdSetRasterizerDiscardEnableEXT vkCmdSetRasterizerDiscardEnableEXT = 0; |
| 2759 |
PFN_vkCmdSetDepthBiasEnableEXT vkCmdSetDepthBiasEnableEXT = 0; |
| 2760 |
PFN_vkCmdSetLogicOpEXT vkCmdSetLogicOpEXT = 0; |
| 2761 |
PFN_vkCmdSetPrimitiveRestartEnableEXT vkCmdSetPrimitiveRestartEnableEXT = 0; |
| 2762 |
|
| 2763 |
//=== VK_EXT_color_write_enable === |
| 2764 |
PFN_vkCmdSetColorWriteEnableEXT vkCmdSetColorWriteEnableEXT = 0; |
| 2765 |
|
| 2766 |
//=== VK_KHR_ray_tracing_maintenance1 === |
| 2767 |
PFN_vkCmdTraceRaysIndirect2KHR vkCmdTraceRaysIndirect2KHR = 0; |
| 2768 |
|
| 2769 |
//=== VK_EXT_multi_draw === |
| 2770 |
PFN_vkCmdDrawMultiEXT vkCmdDrawMultiEXT = 0; |
| 2771 |
PFN_vkCmdDrawMultiIndexedEXT vkCmdDrawMultiIndexedEXT = 0; |
| 2772 |
|
| 2773 |
//=== VK_EXT_opacity_micromap === |
| 2774 |
PFN_vkCreateMicromapEXT vkCreateMicromapEXT = 0; |
| 2775 |
PFN_vkDestroyMicromapEXT vkDestroyMicromapEXT = 0; |
| 2776 |
PFN_vkCmdBuildMicromapsEXT vkCmdBuildMicromapsEXT = 0; |
| 2777 |
PFN_vkBuildMicromapsEXT vkBuildMicromapsEXT = 0; |
| 2778 |
PFN_vkCopyMicromapEXT vkCopyMicromapEXT = 0; |
| 2779 |
PFN_vkCopyMicromapToMemoryEXT vkCopyMicromapToMemoryEXT = 0; |
| 2780 |
PFN_vkCopyMemoryToMicromapEXT vkCopyMemoryToMicromapEXT = 0; |
| 2781 |
PFN_vkWriteMicromapsPropertiesEXT vkWriteMicromapsPropertiesEXT = 0; |
| 2782 |
PFN_vkCmdCopyMicromapEXT vkCmdCopyMicromapEXT = 0; |
| 2783 |
PFN_vkCmdCopyMicromapToMemoryEXT vkCmdCopyMicromapToMemoryEXT = 0; |
| 2784 |
PFN_vkCmdCopyMemoryToMicromapEXT vkCmdCopyMemoryToMicromapEXT = 0; |
| 2785 |
PFN_vkCmdWriteMicromapsPropertiesEXT vkCmdWriteMicromapsPropertiesEXT = 0; |
| 2786 |
PFN_vkGetDeviceMicromapCompatibilityEXT vkGetDeviceMicromapCompatibilityEXT = 0; |
| 2787 |
PFN_vkGetMicromapBuildSizesEXT vkGetMicromapBuildSizesEXT = 0; |
| 2788 |
|
| 2789 |
//=== VK_HUAWEI_cluster_culling_shader === |
| 2790 |
PFN_vkCmdDrawClusterHUAWEI vkCmdDrawClusterHUAWEI = 0; |
| 2791 |
PFN_vkCmdDrawClusterIndirectHUAWEI vkCmdDrawClusterIndirectHUAWEI = 0; |
| 2792 |
|
| 2793 |
//=== VK_EXT_pageable_device_local_memory === |
| 2794 |
PFN_vkSetDeviceMemoryPriorityEXT vkSetDeviceMemoryPriorityEXT = 0; |
| 2795 |
|
| 2796 |
//=== VK_KHR_maintenance4 === |
| 2797 |
PFN_vkGetDeviceBufferMemoryRequirementsKHR vkGetDeviceBufferMemoryRequirementsKHR = 0; |
| 2798 |
PFN_vkGetDeviceImageMemoryRequirementsKHR vkGetDeviceImageMemoryRequirementsKHR = 0; |
| 2799 |
PFN_vkGetDeviceImageSparseMemoryRequirementsKHR vkGetDeviceImageSparseMemoryRequirementsKHR = 0; |
| 2800 |
|
| 2801 |
//=== VK_VALVE_descriptor_set_host_mapping === |
| 2802 |
PFN_vkGetDescriptorSetLayoutHostMappingInfoVALVE vkGetDescriptorSetLayoutHostMappingInfoVALVE = 0; |
| 2803 |
PFN_vkGetDescriptorSetHostMappingVALVE vkGetDescriptorSetHostMappingVALVE = 0; |
| 2804 |
|
| 2805 |
//=== VK_NV_copy_memory_indirect === |
| 2806 |
PFN_vkCmdCopyMemoryIndirectNV vkCmdCopyMemoryIndirectNV = 0; |
| 2807 |
PFN_vkCmdCopyMemoryToImageIndirectNV vkCmdCopyMemoryToImageIndirectNV = 0; |
| 2808 |
|
| 2809 |
//=== VK_NV_memory_decompression === |
| 2810 |
PFN_vkCmdDecompressMemoryNV vkCmdDecompressMemoryNV = 0; |
| 2811 |
PFN_vkCmdDecompressMemoryIndirectCountNV vkCmdDecompressMemoryIndirectCountNV = 0; |
| 2812 |
|
| 2813 |
//=== VK_NV_device_generated_commands_compute === |
| 2814 |
PFN_vkGetPipelineIndirectMemoryRequirementsNV vkGetPipelineIndirectMemoryRequirementsNV = 0; |
| 2815 |
PFN_vkCmdUpdatePipelineIndirectBufferNV vkCmdUpdatePipelineIndirectBufferNV = 0; |
| 2816 |
PFN_vkGetPipelineIndirectDeviceAddressNV vkGetPipelineIndirectDeviceAddressNV = 0; |
| 2817 |
|
| 2818 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 2819 |
//=== VK_OHOS_external_memory === |
| 2820 |
PFN_vkGetNativeBufferPropertiesOHOS vkGetNativeBufferPropertiesOHOS = 0; |
| 2821 |
PFN_vkGetMemoryNativeBufferOHOS vkGetMemoryNativeBufferOHOS = 0; |
| 2822 |
# else |
| 2823 |
PFN_dummy vkGetNativeBufferPropertiesOHOS_placeholder = 0; |
| 2824 |
PFN_dummy vkGetMemoryNativeBufferOHOS_placeholder = 0; |
| 2825 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 2826 |
|
| 2827 |
//=== VK_EXT_extended_dynamic_state3 === |
| 2828 |
PFN_vkCmdSetDepthClampEnableEXT vkCmdSetDepthClampEnableEXT = 0; |
| 2829 |
PFN_vkCmdSetPolygonModeEXT vkCmdSetPolygonModeEXT = 0; |
| 2830 |
PFN_vkCmdSetRasterizationSamplesEXT vkCmdSetRasterizationSamplesEXT = 0; |
| 2831 |
PFN_vkCmdSetSampleMaskEXT vkCmdSetSampleMaskEXT = 0; |
| 2832 |
PFN_vkCmdSetAlphaToCoverageEnableEXT vkCmdSetAlphaToCoverageEnableEXT = 0; |
| 2833 |
PFN_vkCmdSetAlphaToOneEnableEXT vkCmdSetAlphaToOneEnableEXT = 0; |
| 2834 |
PFN_vkCmdSetLogicOpEnableEXT vkCmdSetLogicOpEnableEXT = 0; |
| 2835 |
PFN_vkCmdSetColorBlendEnableEXT vkCmdSetColorBlendEnableEXT = 0; |
| 2836 |
PFN_vkCmdSetColorBlendEquationEXT vkCmdSetColorBlendEquationEXT = 0; |
| 2837 |
PFN_vkCmdSetColorWriteMaskEXT vkCmdSetColorWriteMaskEXT = 0; |
| 2838 |
PFN_vkCmdSetTessellationDomainOriginEXT vkCmdSetTessellationDomainOriginEXT = 0; |
| 2839 |
PFN_vkCmdSetRasterizationStreamEXT vkCmdSetRasterizationStreamEXT = 0; |
| 2840 |
PFN_vkCmdSetConservativeRasterizationModeEXT vkCmdSetConservativeRasterizationModeEXT = 0; |
| 2841 |
PFN_vkCmdSetExtraPrimitiveOverestimationSizeEXT vkCmdSetExtraPrimitiveOverestimationSizeEXT = 0; |
| 2842 |
PFN_vkCmdSetDepthClipEnableEXT vkCmdSetDepthClipEnableEXT = 0; |
| 2843 |
PFN_vkCmdSetSampleLocationsEnableEXT vkCmdSetSampleLocationsEnableEXT = 0; |
| 2844 |
PFN_vkCmdSetColorBlendAdvancedEXT vkCmdSetColorBlendAdvancedEXT = 0; |
| 2845 |
PFN_vkCmdSetProvokingVertexModeEXT vkCmdSetProvokingVertexModeEXT = 0; |
| 2846 |
PFN_vkCmdSetLineRasterizationModeEXT vkCmdSetLineRasterizationModeEXT = 0; |
| 2847 |
PFN_vkCmdSetLineStippleEnableEXT vkCmdSetLineStippleEnableEXT = 0; |
| 2848 |
PFN_vkCmdSetDepthClipNegativeOneToOneEXT vkCmdSetDepthClipNegativeOneToOneEXT = 0; |
| 2849 |
PFN_vkCmdSetViewportWScalingEnableNV vkCmdSetViewportWScalingEnableNV = 0; |
| 2850 |
PFN_vkCmdSetViewportSwizzleNV vkCmdSetViewportSwizzleNV = 0; |
| 2851 |
PFN_vkCmdSetCoverageToColorEnableNV vkCmdSetCoverageToColorEnableNV = 0; |
| 2852 |
PFN_vkCmdSetCoverageToColorLocationNV vkCmdSetCoverageToColorLocationNV = 0; |
| 2853 |
PFN_vkCmdSetCoverageModulationModeNV vkCmdSetCoverageModulationModeNV = 0; |
| 2854 |
PFN_vkCmdSetCoverageModulationTableEnableNV vkCmdSetCoverageModulationTableEnableNV = 0; |
| 2855 |
PFN_vkCmdSetCoverageModulationTableNV vkCmdSetCoverageModulationTableNV = 0; |
| 2856 |
PFN_vkCmdSetShadingRateImageEnableNV vkCmdSetShadingRateImageEnableNV = 0; |
| 2857 |
PFN_vkCmdSetRepresentativeFragmentTestEnableNV vkCmdSetRepresentativeFragmentTestEnableNV = 0; |
| 2858 |
PFN_vkCmdSetCoverageReductionModeNV vkCmdSetCoverageReductionModeNV = 0; |
| 2859 |
|
| 2860 |
//=== VK_ARM_tensors === |
| 2861 |
PFN_vkCreateTensorARM vkCreateTensorARM = 0; |
| 2862 |
PFN_vkDestroyTensorARM vkDestroyTensorARM = 0; |
| 2863 |
PFN_vkCreateTensorViewARM vkCreateTensorViewARM = 0; |
| 2864 |
PFN_vkDestroyTensorViewARM vkDestroyTensorViewARM = 0; |
| 2865 |
PFN_vkGetTensorMemoryRequirementsARM vkGetTensorMemoryRequirementsARM = 0; |
| 2866 |
PFN_vkBindTensorMemoryARM vkBindTensorMemoryARM = 0; |
| 2867 |
PFN_vkGetDeviceTensorMemoryRequirementsARM vkGetDeviceTensorMemoryRequirementsARM = 0; |
| 2868 |
PFN_vkCmdCopyTensorARM vkCmdCopyTensorARM = 0; |
| 2869 |
PFN_vkGetTensorOpaqueCaptureDescriptorDataARM vkGetTensorOpaqueCaptureDescriptorDataARM = 0; |
| 2870 |
PFN_vkGetTensorViewOpaqueCaptureDescriptorDataARM vkGetTensorViewOpaqueCaptureDescriptorDataARM = 0; |
| 2871 |
|
| 2872 |
//=== VK_EXT_shader_module_identifier === |
| 2873 |
PFN_vkGetShaderModuleIdentifierEXT vkGetShaderModuleIdentifierEXT = 0; |
| 2874 |
PFN_vkGetShaderModuleCreateInfoIdentifierEXT vkGetShaderModuleCreateInfoIdentifierEXT = 0; |
| 2875 |
|
| 2876 |
//=== VK_NV_optical_flow === |
| 2877 |
PFN_vkCreateOpticalFlowSessionNV vkCreateOpticalFlowSessionNV = 0; |
| 2878 |
PFN_vkDestroyOpticalFlowSessionNV vkDestroyOpticalFlowSessionNV = 0; |
| 2879 |
PFN_vkBindOpticalFlowSessionImageNV vkBindOpticalFlowSessionImageNV = 0; |
| 2880 |
PFN_vkCmdOpticalFlowExecuteNV vkCmdOpticalFlowExecuteNV = 0; |
| 2881 |
|
| 2882 |
//=== VK_KHR_maintenance5 === |
| 2883 |
PFN_vkCmdBindIndexBuffer2KHR vkCmdBindIndexBuffer2KHR = 0; |
| 2884 |
PFN_vkGetRenderingAreaGranularityKHR vkGetRenderingAreaGranularityKHR = 0; |
| 2885 |
PFN_vkGetDeviceImageSubresourceLayoutKHR vkGetDeviceImageSubresourceLayoutKHR = 0; |
| 2886 |
PFN_vkGetImageSubresourceLayout2KHR vkGetImageSubresourceLayout2KHR = 0; |
| 2887 |
|
| 2888 |
//=== VK_AMD_anti_lag === |
| 2889 |
PFN_vkAntiLagUpdateAMD vkAntiLagUpdateAMD = 0; |
| 2890 |
|
| 2891 |
//=== VK_KHR_present_wait2 === |
| 2892 |
PFN_vkWaitForPresent2KHR vkWaitForPresent2KHR = 0; |
| 2893 |
|
| 2894 |
//=== VK_EXT_shader_object === |
| 2895 |
PFN_vkCreateShadersEXT vkCreateShadersEXT = 0; |
| 2896 |
PFN_vkDestroyShaderEXT vkDestroyShaderEXT = 0; |
| 2897 |
PFN_vkGetShaderBinaryDataEXT vkGetShaderBinaryDataEXT = 0; |
| 2898 |
PFN_vkCmdBindShadersEXT vkCmdBindShadersEXT = 0; |
| 2899 |
PFN_vkCmdSetDepthClampRangeEXT vkCmdSetDepthClampRangeEXT = 0; |
| 2900 |
|
| 2901 |
//=== VK_KHR_pipeline_binary === |
| 2902 |
PFN_vkCreatePipelineBinariesKHR vkCreatePipelineBinariesKHR = 0; |
| 2903 |
PFN_vkDestroyPipelineBinaryKHR vkDestroyPipelineBinaryKHR = 0; |
| 2904 |
PFN_vkGetPipelineKeyKHR vkGetPipelineKeyKHR = 0; |
| 2905 |
PFN_vkGetPipelineBinaryDataKHR vkGetPipelineBinaryDataKHR = 0; |
| 2906 |
PFN_vkReleaseCapturedPipelineDataKHR vkReleaseCapturedPipelineDataKHR = 0; |
| 2907 |
|
| 2908 |
//=== VK_QCOM_tile_properties === |
| 2909 |
PFN_vkGetFramebufferTilePropertiesQCOM vkGetFramebufferTilePropertiesQCOM = 0; |
| 2910 |
PFN_vkGetDynamicRenderingTilePropertiesQCOM vkGetDynamicRenderingTilePropertiesQCOM = 0; |
| 2911 |
|
| 2912 |
//=== VK_KHR_swapchain_maintenance1 === |
| 2913 |
PFN_vkReleaseSwapchainImagesKHR vkReleaseSwapchainImagesKHR = 0; |
| 2914 |
|
| 2915 |
//=== VK_NV_cooperative_vector === |
| 2916 |
PFN_vkConvertCooperativeVectorMatrixNV vkConvertCooperativeVectorMatrixNV = 0; |
| 2917 |
PFN_vkCmdConvertCooperativeVectorMatrixNV vkCmdConvertCooperativeVectorMatrixNV = 0; |
| 2918 |
|
| 2919 |
//=== VK_NV_low_latency2 === |
| 2920 |
PFN_vkSetLatencySleepModeNV vkSetLatencySleepModeNV = 0; |
| 2921 |
PFN_vkLatencySleepNV vkLatencySleepNV = 0; |
| 2922 |
PFN_vkSetLatencyMarkerNV vkSetLatencyMarkerNV = 0; |
| 2923 |
PFN_vkGetLatencyTimingsNV vkGetLatencyTimingsNV = 0; |
| 2924 |
PFN_vkQueueNotifyOutOfBandNV vkQueueNotifyOutOfBandNV = 0; |
| 2925 |
|
| 2926 |
//=== VK_ARM_data_graph === |
| 2927 |
PFN_vkCreateDataGraphPipelinesARM vkCreateDataGraphPipelinesARM = 0; |
| 2928 |
PFN_vkCreateDataGraphPipelineSessionARM vkCreateDataGraphPipelineSessionARM = 0; |
| 2929 |
PFN_vkGetDataGraphPipelineSessionBindPointRequirementsARM vkGetDataGraphPipelineSessionBindPointRequirementsARM = 0; |
| 2930 |
PFN_vkGetDataGraphPipelineSessionMemoryRequirementsARM vkGetDataGraphPipelineSessionMemoryRequirementsARM = 0; |
| 2931 |
PFN_vkBindDataGraphPipelineSessionMemoryARM vkBindDataGraphPipelineSessionMemoryARM = 0; |
| 2932 |
PFN_vkDestroyDataGraphPipelineSessionARM vkDestroyDataGraphPipelineSessionARM = 0; |
| 2933 |
PFN_vkCmdDispatchDataGraphARM vkCmdDispatchDataGraphARM = 0; |
| 2934 |
PFN_vkGetDataGraphPipelineAvailablePropertiesARM vkGetDataGraphPipelineAvailablePropertiesARM = 0; |
| 2935 |
PFN_vkGetDataGraphPipelinePropertiesARM vkGetDataGraphPipelinePropertiesARM = 0; |
| 2936 |
|
| 2937 |
//=== VK_EXT_attachment_feedback_loop_dynamic_state === |
| 2938 |
PFN_vkCmdSetAttachmentFeedbackLoopEnableEXT vkCmdSetAttachmentFeedbackLoopEnableEXT = 0; |
| 2939 |
|
| 2940 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 2941 |
//=== VK_QNX_external_memory_screen_buffer === |
| 2942 |
PFN_vkGetScreenBufferPropertiesQNX vkGetScreenBufferPropertiesQNX = 0; |
| 2943 |
# else |
| 2944 |
PFN_dummy vkGetScreenBufferPropertiesQNX_placeholder = 0; |
| 2945 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 2946 |
|
| 2947 |
//=== VK_KHR_line_rasterization === |
| 2948 |
PFN_vkCmdSetLineStippleKHR vkCmdSetLineStippleKHR = 0; |
| 2949 |
|
| 2950 |
//=== VK_KHR_calibrated_timestamps === |
| 2951 |
PFN_vkGetCalibratedTimestampsKHR vkGetCalibratedTimestampsKHR = 0; |
| 2952 |
|
| 2953 |
//=== VK_KHR_maintenance6 === |
| 2954 |
PFN_vkCmdBindDescriptorSets2KHR vkCmdBindDescriptorSets2KHR = 0; |
| 2955 |
PFN_vkCmdPushConstants2KHR vkCmdPushConstants2KHR = 0; |
| 2956 |
PFN_vkCmdPushDescriptorSet2KHR vkCmdPushDescriptorSet2KHR = 0; |
| 2957 |
PFN_vkCmdPushDescriptorSetWithTemplate2KHR vkCmdPushDescriptorSetWithTemplate2KHR = 0; |
| 2958 |
PFN_vkCmdSetDescriptorBufferOffsets2EXT vkCmdSetDescriptorBufferOffsets2EXT = 0; |
| 2959 |
PFN_vkCmdBindDescriptorBufferEmbeddedSamplers2EXT vkCmdBindDescriptorBufferEmbeddedSamplers2EXT = 0; |
| 2960 |
|
| 2961 |
//=== VK_QCOM_tile_memory_heap === |
| 2962 |
PFN_vkCmdBindTileMemoryQCOM vkCmdBindTileMemoryQCOM = 0; |
| 2963 |
|
| 2964 |
//=== VK_KHR_copy_memory_indirect === |
| 2965 |
PFN_vkCmdCopyMemoryIndirectKHR vkCmdCopyMemoryIndirectKHR = 0; |
| 2966 |
PFN_vkCmdCopyMemoryToImageIndirectKHR vkCmdCopyMemoryToImageIndirectKHR = 0; |
| 2967 |
|
| 2968 |
//=== VK_EXT_memory_decompression === |
| 2969 |
PFN_vkCmdDecompressMemoryEXT vkCmdDecompressMemoryEXT = 0; |
| 2970 |
PFN_vkCmdDecompressMemoryIndirectCountEXT vkCmdDecompressMemoryIndirectCountEXT = 0; |
| 2971 |
|
| 2972 |
//=== VK_NV_external_compute_queue === |
| 2973 |
PFN_vkCreateExternalComputeQueueNV vkCreateExternalComputeQueueNV = 0; |
| 2974 |
PFN_vkDestroyExternalComputeQueueNV vkDestroyExternalComputeQueueNV = 0; |
| 2975 |
PFN_vkGetExternalComputeQueueDataNV vkGetExternalComputeQueueDataNV = 0; |
| 2976 |
|
| 2977 |
//=== VK_NV_cluster_acceleration_structure === |
| 2978 |
PFN_vkGetClusterAccelerationStructureBuildSizesNV vkGetClusterAccelerationStructureBuildSizesNV = 0; |
| 2979 |
PFN_vkCmdBuildClusterAccelerationStructureIndirectNV vkCmdBuildClusterAccelerationStructureIndirectNV = 0; |
| 2980 |
|
| 2981 |
//=== VK_NV_partitioned_acceleration_structure === |
| 2982 |
PFN_vkGetPartitionedAccelerationStructuresBuildSizesNV vkGetPartitionedAccelerationStructuresBuildSizesNV = 0; |
| 2983 |
PFN_vkCmdBuildPartitionedAccelerationStructuresNV vkCmdBuildPartitionedAccelerationStructuresNV = 0; |
| 2984 |
|
| 2985 |
//=== VK_EXT_device_generated_commands === |
| 2986 |
PFN_vkGetGeneratedCommandsMemoryRequirementsEXT vkGetGeneratedCommandsMemoryRequirementsEXT = 0; |
| 2987 |
PFN_vkCmdPreprocessGeneratedCommandsEXT vkCmdPreprocessGeneratedCommandsEXT = 0; |
| 2988 |
PFN_vkCmdExecuteGeneratedCommandsEXT vkCmdExecuteGeneratedCommandsEXT = 0; |
| 2989 |
PFN_vkCreateIndirectCommandsLayoutEXT vkCreateIndirectCommandsLayoutEXT = 0; |
| 2990 |
PFN_vkDestroyIndirectCommandsLayoutEXT vkDestroyIndirectCommandsLayoutEXT = 0; |
| 2991 |
PFN_vkCreateIndirectExecutionSetEXT vkCreateIndirectExecutionSetEXT = 0; |
| 2992 |
PFN_vkDestroyIndirectExecutionSetEXT vkDestroyIndirectExecutionSetEXT = 0; |
| 2993 |
PFN_vkUpdateIndirectExecutionSetPipelineEXT vkUpdateIndirectExecutionSetPipelineEXT = 0; |
| 2994 |
PFN_vkUpdateIndirectExecutionSetShaderEXT vkUpdateIndirectExecutionSetShaderEXT = 0; |
| 2995 |
|
| 2996 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 2997 |
//=== VK_EXT_external_memory_metal === |
| 2998 |
PFN_vkGetMemoryMetalHandleEXT vkGetMemoryMetalHandleEXT = 0; |
| 2999 |
PFN_vkGetMemoryMetalHandlePropertiesEXT vkGetMemoryMetalHandlePropertiesEXT = 0; |
| 3000 |
# else |
| 3001 |
PFN_dummy vkGetMemoryMetalHandleEXT_placeholder = 0; |
| 3002 |
PFN_dummy vkGetMemoryMetalHandlePropertiesEXT_placeholder = 0; |
| 3003 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 3004 |
|
| 3005 |
//=== VK_EXT_fragment_density_map_offset === |
| 3006 |
PFN_vkCmdEndRendering2EXT vkCmdEndRendering2EXT = 0; |
| 3007 |
|
| 3008 |
//=== VK_EXT_custom_resolve === |
| 3009 |
PFN_vkCmdBeginCustomResolveEXT vkCmdBeginCustomResolveEXT = 0; |
| 3010 |
|
| 3011 |
//=== VK_KHR_maintenance10 === |
| 3012 |
PFN_vkCmdEndRendering2KHR vkCmdEndRendering2KHR = 0; |
| 3013 |
|
| 3014 |
//=== VK_NV_compute_occupancy_priority === |
| 3015 |
PFN_vkCmdSetComputeOccupancyPriorityNV vkCmdSetComputeOccupancyPriorityNV = 0; |
| 3016 |
}; |
| 3017 |
|
| 3018 |
} // namespace detail |
| 3019 |
|
| 3020 |
//======================================== |
| 3021 |
//=== RAII HANDLE forward declarations === |
| 3022 |
//======================================== |
| 3023 |
|
| 3024 |
//=== VK_VERSION_1_0 === |
| 3025 |
class Instance; |
| 3026 |
class PhysicalDevice; |
| 3027 |
class Device; |
| 3028 |
class Queue; |
| 3029 |
class DeviceMemory; |
| 3030 |
class Fence; |
| 3031 |
class Semaphore; |
| 3032 |
class QueryPool; |
| 3033 |
class Buffer; |
| 3034 |
class Image; |
| 3035 |
class ImageView; |
| 3036 |
class CommandPool; |
| 3037 |
class CommandBuffer; |
| 3038 |
class Event; |
| 3039 |
class BufferView; |
| 3040 |
class ShaderModule; |
| 3041 |
class PipelineCache; |
| 3042 |
class Pipeline; |
| 3043 |
class PipelineLayout; |
| 3044 |
class Sampler; |
| 3045 |
class DescriptorPool; |
| 3046 |
class DescriptorSet; |
| 3047 |
class DescriptorSetLayout; |
| 3048 |
class Framebuffer; |
| 3049 |
class RenderPass; |
| 3050 |
|
| 3051 |
//=== VK_VERSION_1_1 === |
| 3052 |
class DescriptorUpdateTemplate; |
| 3053 |
class SamplerYcbcrConversion; |
| 3054 |
|
| 3055 |
//=== VK_VERSION_1_3 === |
| 3056 |
class PrivateDataSlot; |
| 3057 |
|
| 3058 |
//=== VK_KHR_surface === |
| 3059 |
class SurfaceKHR; |
| 3060 |
|
| 3061 |
//=== VK_KHR_swapchain === |
| 3062 |
class SwapchainKHR; |
| 3063 |
|
| 3064 |
//=== VK_KHR_display === |
| 3065 |
class DisplayKHR; |
| 3066 |
class DisplayModeKHR; |
| 3067 |
|
| 3068 |
//=== VK_EXT_debug_report === |
| 3069 |
class DebugReportCallbackEXT; |
| 3070 |
|
| 3071 |
//=== VK_KHR_video_queue === |
| 3072 |
class VideoSessionKHR; |
| 3073 |
class VideoSessionParametersKHR; |
| 3074 |
|
| 3075 |
//=== VK_NVX_binary_import === |
| 3076 |
class CuModuleNVX; |
| 3077 |
class CuFunctionNVX; |
| 3078 |
|
| 3079 |
//=== VK_KHR_descriptor_update_template === |
| 3080 |
using DescriptorUpdateTemplateKHR = DescriptorUpdateTemplate; |
| 3081 |
|
| 3082 |
//=== VK_EXT_debug_utils === |
| 3083 |
class DebugUtilsMessengerEXT; |
| 3084 |
|
| 3085 |
//=== VK_EXT_descriptor_heap === |
| 3086 |
class TensorARM; |
| 3087 |
|
| 3088 |
//=== VK_KHR_acceleration_structure === |
| 3089 |
class AccelerationStructureKHR; |
| 3090 |
|
| 3091 |
//=== VK_KHR_sampler_ycbcr_conversion === |
| 3092 |
using SamplerYcbcrConversionKHR = SamplerYcbcrConversion; |
| 3093 |
|
| 3094 |
//=== VK_EXT_validation_cache === |
| 3095 |
class ValidationCacheEXT; |
| 3096 |
|
| 3097 |
//=== VK_NV_ray_tracing === |
| 3098 |
class AccelerationStructureNV; |
| 3099 |
|
| 3100 |
//=== VK_INTEL_performance_query === |
| 3101 |
class PerformanceConfigurationINTEL; |
| 3102 |
|
| 3103 |
//=== VK_KHR_deferred_host_operations === |
| 3104 |
class DeferredOperationKHR; |
| 3105 |
|
| 3106 |
//=== VK_NV_device_generated_commands === |
| 3107 |
class IndirectCommandsLayoutNV; |
| 3108 |
|
| 3109 |
//=== VK_EXT_private_data === |
| 3110 |
using PrivateDataSlotEXT = PrivateDataSlot; |
| 3111 |
|
| 3112 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 3113 |
//=== VK_NV_cuda_kernel_launch === |
| 3114 |
class CudaModuleNV; |
| 3115 |
class CudaFunctionNV; |
| 3116 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 3117 |
|
| 3118 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 3119 |
//=== VK_FUCHSIA_buffer_collection === |
| 3120 |
class BufferCollectionFUCHSIA; |
| 3121 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 3122 |
|
| 3123 |
//=== VK_EXT_opacity_micromap === |
| 3124 |
class MicromapEXT; |
| 3125 |
|
| 3126 |
//=== VK_ARM_tensors === |
| 3127 |
class TensorARM; |
| 3128 |
class TensorViewARM; |
| 3129 |
|
| 3130 |
//=== VK_NV_optical_flow === |
| 3131 |
class OpticalFlowSessionNV; |
| 3132 |
|
| 3133 |
//=== VK_EXT_shader_object === |
| 3134 |
class ShaderEXT; |
| 3135 |
|
| 3136 |
//=== VK_KHR_pipeline_binary === |
| 3137 |
class PipelineBinaryKHR; |
| 3138 |
|
| 3139 |
//=== VK_ARM_data_graph === |
| 3140 |
class DataGraphPipelineSessionARM; |
| 3141 |
|
| 3142 |
//=== VK_NV_external_compute_queue === |
| 3143 |
class ExternalComputeQueueNV; |
| 3144 |
|
| 3145 |
//=== VK_EXT_device_generated_commands === |
| 3146 |
class IndirectCommandsLayoutEXT; |
| 3147 |
class IndirectExecutionSetEXT; |
| 3148 |
|
| 3149 |
//==================== |
| 3150 |
//=== RAII HANDLES === |
| 3151 |
//==================== |
| 3152 |
|
| 3153 |
template <typename Type> |
| 3154 |
struct isVulkanRAIIHandleType |
| 3155 |
{ |
| 3156 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = false; |
| 3157 |
}; |
| 3158 |
|
| 3159 |
class Context |
| 3160 |
{ |
| 3161 |
public: |
| 3162 |
# if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL |
| 3163 |
Context() : m_dispatcher( new detail::ContextDispatcher( m_dynamicLoader.getProcAddress<PFN_vkGetInstanceProcAddr>( "vkGetInstanceProcAddr" ) ) ) |
| 3164 |
# else |
| 3165 |
Context( PFN_vkGetInstanceProcAddr getInstanceProcAddr ) : m_dispatcher( new detail::ContextDispatcher( getInstanceProcAddr ) ) |
| 3166 |
# endif |
| 3167 |
{ |
| 3168 |
} |
| 3169 |
|
| 3170 |
~Context() = default; |
| 3171 |
|
| 3172 |
Context( Context const & ) = delete; |
| 3173 |
Context( Context && rhs ) VULKAN_HPP_NOEXCEPT |
| 3174 |
# if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL |
| 3175 |
: m_dynamicLoader( std::move( rhs.m_dynamicLoader ) ) |
| 3176 |
, m_dispatcher( rhs.m_dispatcher.release() ) |
| 3177 |
# else |
| 3178 |
: m_dispatcher( rhs.m_dispatcher.release() ) |
| 3179 |
# endif |
| 3180 |
{ |
| 3181 |
} |
| 3182 |
Context & operator=( Context const & ) = delete; |
| 3183 |
|
| 3184 |
Context & operator=( Context && rhs ) VULKAN_HPP_NOEXCEPT |
| 3185 |
{ |
| 3186 |
if ( this != &rhs ) |
| 3187 |
{ |
| 3188 |
# if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL |
| 3189 |
m_dynamicLoader = std::move( rhs.m_dynamicLoader ); |
| 3190 |
# endif |
| 3191 |
m_dispatcher.reset( rhs.m_dispatcher.release() ); |
| 3192 |
} |
| 3193 |
return *this; |
| 3194 |
} |
| 3195 |
|
| 3196 |
detail::ContextDispatcher const * getDispatcher() const |
| 3197 |
{ |
| 3198 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 3199 |
return &*m_dispatcher; |
| 3200 |
} |
| 3201 |
|
| 3202 |
void swap( Context & rhs ) |
| 3203 |
{ |
| 3204 |
# if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL |
| 3205 |
std::swap( m_dynamicLoader, rhs.m_dynamicLoader ); |
| 3206 |
# endif |
| 3207 |
m_dispatcher.swap( rhs.m_dispatcher ); |
| 3208 |
} |
| 3209 |
|
| 3210 |
//=== VK_VERSION_1_0 === |
| 3211 |
|
| 3212 |
// wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html |
| 3213 |
VULKAN_HPP_NODISCARD typename ResultValueType<Instance>::type |
| 3214 |
createInstance( InstanceCreateInfo const & createInfo, |
| 3215 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3216 |
|
| 3217 |
// wrapper function for command vkEnumerateInstanceExtensionProperties, see |
| 3218 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html |
| 3219 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<ExtensionProperties>>::type |
| 3220 |
enumerateInstanceExtensionProperties( Optional<const std::string> layerName VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 3221 |
|
| 3222 |
// wrapper function for command vkEnumerateInstanceLayerProperties, see |
| 3223 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html |
| 3224 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<LayerProperties>>::type enumerateInstanceLayerProperties() const; |
| 3225 |
|
| 3226 |
//=== VK_VERSION_1_1 === |
| 3227 |
|
| 3228 |
// wrapper function for command vkEnumerateInstanceVersion, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceVersion.html |
| 3229 |
VULKAN_HPP_NODISCARD typename ResultValueType<uint32_t>::type enumerateInstanceVersion() const; |
| 3230 |
|
| 3231 |
private: |
| 3232 |
# if VULKAN_HPP_ENABLE_DYNAMIC_LOADER_TOOL |
| 3233 |
VULKAN_HPP_NAMESPACE::detail::DynamicLoader m_dynamicLoader; |
| 3234 |
# endif |
| 3235 |
std::unique_ptr<detail::ContextDispatcher> m_dispatcher; |
| 3236 |
}; |
| 3237 |
|
| 3238 |
// wrapper class for handle VkInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkInstance.html |
| 3239 |
class Instance |
| 3240 |
{ |
| 3241 |
public: |
| 3242 |
using CType = VkInstance; |
| 3243 |
using CppType = VULKAN_HPP_NAMESPACE::Instance; |
| 3244 |
|
| 3245 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eInstance; |
| 3246 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eInstance; |
| 3247 |
|
| 3248 |
public: |
| 3249 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 3250 |
Instance( Context const & context, InstanceCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 3251 |
{ |
| 3252 |
*this = context.createInstance( createInfo, allocator ); |
| 3253 |
} |
| 3254 |
# endif |
| 3255 |
|
| 3256 |
Instance( Context const & context, VkInstance instance, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 3257 |
: m_instance( instance ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 3258 |
{ |
| 3259 |
m_dispatcher.reset( new detail::InstanceDispatcher( context.getDispatcher()->vkGetInstanceProcAddr, static_cast<VkInstance>( m_instance ) ) ); |
| 3260 |
} |
| 3261 |
|
| 3262 |
Instance( std::nullptr_t ) {} |
| 3263 |
|
| 3264 |
~Instance() |
| 3265 |
{ |
| 3266 |
clear(); |
| 3267 |
} |
| 3268 |
|
| 3269 |
Instance() = delete; |
| 3270 |
Instance( Instance const & ) = delete; |
| 3271 |
|
| 3272 |
Instance( Instance && rhs ) VULKAN_HPP_NOEXCEPT |
| 3273 |
: m_instance( exchange( rhs.m_instance, {} ) ) |
| 3274 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 3275 |
, m_dispatcher( rhs.m_dispatcher.release() ) |
| 3276 |
{ |
| 3277 |
} |
| 3278 |
|
| 3279 |
Instance & operator=( Instance const & ) = delete; |
| 3280 |
|
| 3281 |
Instance & operator=( Instance && rhs ) VULKAN_HPP_NOEXCEPT |
| 3282 |
{ |
| 3283 |
if ( this != &rhs ) |
| 3284 |
{ |
| 3285 |
std::swap( m_instance, rhs.m_instance ); |
| 3286 |
std::swap( m_allocator, rhs.m_allocator ); |
| 3287 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 3288 |
} |
| 3289 |
return *this; |
| 3290 |
} |
| 3291 |
|
| 3292 |
VULKAN_HPP_NAMESPACE::Instance const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 3293 |
{ |
| 3294 |
return m_instance; |
| 3295 |
} |
| 3296 |
|
| 3297 |
VULKAN_HPP_NAMESPACE::Instance const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 3298 |
{ |
| 3299 |
return std::move( m_instance ); |
| 3300 |
} |
| 3301 |
|
| 3302 |
operator VULKAN_HPP_NAMESPACE::Instance() const VULKAN_HPP_NOEXCEPT |
| 3303 |
{ |
| 3304 |
return m_instance; |
| 3305 |
} |
| 3306 |
|
| 3307 |
void clear() VULKAN_HPP_NOEXCEPT |
| 3308 |
{ |
| 3309 |
if ( m_instance ) |
| 3310 |
{ |
| 3311 |
getDispatcher()->vkDestroyInstance( static_cast<VkInstance>( m_instance ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 3312 |
} |
| 3313 |
m_instance = nullptr; |
| 3314 |
m_allocator = nullptr; |
| 3315 |
m_dispatcher = nullptr; |
| 3316 |
} |
| 3317 |
|
| 3318 |
VULKAN_HPP_NAMESPACE::Instance release() |
| 3319 |
{ |
| 3320 |
m_allocator = nullptr; |
| 3321 |
m_dispatcher = nullptr; |
| 3322 |
return exchange( m_instance, nullptr ); |
| 3323 |
} |
| 3324 |
|
| 3325 |
detail::InstanceDispatcher const * getDispatcher() const |
| 3326 |
{ |
| 3327 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 3328 |
return &*m_dispatcher; |
| 3329 |
} |
| 3330 |
|
| 3331 |
void swap( Instance & rhs ) VULKAN_HPP_NOEXCEPT |
| 3332 |
{ |
| 3333 |
std::swap( m_instance, rhs.m_instance ); |
| 3334 |
std::swap( m_allocator, rhs.m_allocator ); |
| 3335 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 3336 |
} |
| 3337 |
|
| 3338 |
//=== VK_VERSION_1_0 === |
| 3339 |
|
| 3340 |
// wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html |
| 3341 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PhysicalDevice>>::type enumeratePhysicalDevices() const; |
| 3342 |
|
| 3343 |
// wrapper function for command vkGetInstanceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetInstanceProcAddr.html |
| 3344 |
VULKAN_HPP_NODISCARD PFN_VoidFunction getProcAddr( const std::string & name ) const VULKAN_HPP_NOEXCEPT; |
| 3345 |
|
| 3346 |
//=== VK_VERSION_1_1 === |
| 3347 |
|
| 3348 |
// wrapper function for command vkEnumeratePhysicalDeviceGroups, see |
| 3349 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html |
| 3350 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PhysicalDeviceGroupProperties>>::type enumeratePhysicalDeviceGroups() const; |
| 3351 |
|
| 3352 |
//=== VK_KHR_display === |
| 3353 |
|
| 3354 |
// wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see |
| 3355 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html |
| 3356 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3357 |
createDisplayPlaneSurfaceKHR( DisplaySurfaceCreateInfoKHR const & createInfo, |
| 3358 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3359 |
|
| 3360 |
# if defined( VK_USE_PLATFORM_XLIB_KHR ) |
| 3361 |
//=== VK_KHR_xlib_surface === |
| 3362 |
|
| 3363 |
// wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html |
| 3364 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3365 |
createXlibSurfaceKHR( XlibSurfaceCreateInfoKHR const & createInfo, |
| 3366 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3367 |
# endif /*VK_USE_PLATFORM_XLIB_KHR*/ |
| 3368 |
|
| 3369 |
# if defined( VK_USE_PLATFORM_XCB_KHR ) |
| 3370 |
//=== VK_KHR_xcb_surface === |
| 3371 |
|
| 3372 |
// wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html |
| 3373 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3374 |
createXcbSurfaceKHR( XcbSurfaceCreateInfoKHR const & createInfo, |
| 3375 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3376 |
# endif /*VK_USE_PLATFORM_XCB_KHR*/ |
| 3377 |
|
| 3378 |
# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) |
| 3379 |
//=== VK_KHR_wayland_surface === |
| 3380 |
|
| 3381 |
// wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html |
| 3382 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3383 |
createWaylandSurfaceKHR( WaylandSurfaceCreateInfoKHR const & createInfo, |
| 3384 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3385 |
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ |
| 3386 |
|
| 3387 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 3388 |
//=== VK_KHR_android_surface === |
| 3389 |
|
| 3390 |
// wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html |
| 3391 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3392 |
createAndroidSurfaceKHR( AndroidSurfaceCreateInfoKHR const & createInfo, |
| 3393 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3394 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 3395 |
|
| 3396 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 3397 |
//=== VK_KHR_win32_surface === |
| 3398 |
|
| 3399 |
// wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html |
| 3400 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3401 |
createWin32SurfaceKHR( Win32SurfaceCreateInfoKHR const & createInfo, |
| 3402 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3403 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 3404 |
|
| 3405 |
//=== VK_EXT_debug_report === |
| 3406 |
|
| 3407 |
// wrapper function for command vkCreateDebugReportCallbackEXT, see |
| 3408 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html |
| 3409 |
VULKAN_HPP_NODISCARD typename ResultValueType<DebugReportCallbackEXT>::type |
| 3410 |
createDebugReportCallbackEXT( DebugReportCallbackCreateInfoEXT const & createInfo, |
| 3411 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3412 |
|
| 3413 |
// wrapper function for command vkDebugReportMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugReportMessageEXT.html |
| 3414 |
void debugReportMessageEXT( DebugReportFlagsEXT flags, |
| 3415 |
DebugReportObjectTypeEXT objectType, |
| 3416 |
uint64_t object, |
| 3417 |
size_t location, |
| 3418 |
int32_t messageCode, |
| 3419 |
const std::string & layerPrefix, |
| 3420 |
const std::string & message ) const VULKAN_HPP_NOEXCEPT; |
| 3421 |
|
| 3422 |
# if defined( VK_USE_PLATFORM_GGP ) |
| 3423 |
//=== VK_GGP_stream_descriptor_surface === |
| 3424 |
|
| 3425 |
// wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see |
| 3426 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html |
| 3427 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3428 |
createStreamDescriptorSurfaceGGP( StreamDescriptorSurfaceCreateInfoGGP const & createInfo, |
| 3429 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3430 |
# endif /*VK_USE_PLATFORM_GGP*/ |
| 3431 |
|
| 3432 |
# if defined( VK_USE_PLATFORM_VI_NN ) |
| 3433 |
//=== VK_NN_vi_surface === |
| 3434 |
|
| 3435 |
// wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html |
| 3436 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3437 |
createViSurfaceNN( ViSurfaceCreateInfoNN const & createInfo, |
| 3438 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3439 |
# endif /*VK_USE_PLATFORM_VI_NN*/ |
| 3440 |
|
| 3441 |
//=== VK_KHR_device_group_creation === |
| 3442 |
|
| 3443 |
// wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see |
| 3444 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html |
| 3445 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PhysicalDeviceGroupProperties>>::type enumeratePhysicalDeviceGroupsKHR() const; |
| 3446 |
|
| 3447 |
# if defined( VK_USE_PLATFORM_IOS_MVK ) |
| 3448 |
//=== VK_MVK_ios_surface === |
| 3449 |
|
| 3450 |
// wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html |
| 3451 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3452 |
createIOSSurfaceMVK( IOSSurfaceCreateInfoMVK const & createInfo, |
| 3453 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3454 |
# endif /*VK_USE_PLATFORM_IOS_MVK*/ |
| 3455 |
|
| 3456 |
# if defined( VK_USE_PLATFORM_MACOS_MVK ) |
| 3457 |
//=== VK_MVK_macos_surface === |
| 3458 |
|
| 3459 |
// wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html |
| 3460 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3461 |
createMacOSSurfaceMVK( MacOSSurfaceCreateInfoMVK const & createInfo, |
| 3462 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3463 |
# endif /*VK_USE_PLATFORM_MACOS_MVK*/ |
| 3464 |
|
| 3465 |
//=== VK_EXT_debug_utils === |
| 3466 |
|
| 3467 |
// wrapper function for command vkCreateDebugUtilsMessengerEXT, see |
| 3468 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html |
| 3469 |
VULKAN_HPP_NODISCARD typename ResultValueType<DebugUtilsMessengerEXT>::type |
| 3470 |
createDebugUtilsMessengerEXT( DebugUtilsMessengerCreateInfoEXT const & createInfo, |
| 3471 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3472 |
|
| 3473 |
// wrapper function for command vkSubmitDebugUtilsMessageEXT, see |
| 3474 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSubmitDebugUtilsMessageEXT.html |
| 3475 |
void submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, |
| 3476 |
DebugUtilsMessageTypeFlagsEXT messageTypes, |
| 3477 |
const DebugUtilsMessengerCallbackDataEXT & callbackData ) const VULKAN_HPP_NOEXCEPT; |
| 3478 |
|
| 3479 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 3480 |
//=== VK_FUCHSIA_imagepipe_surface === |
| 3481 |
|
| 3482 |
// wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see |
| 3483 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html |
| 3484 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3485 |
createImagePipeSurfaceFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, |
| 3486 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3487 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 3488 |
|
| 3489 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 3490 |
//=== VK_EXT_metal_surface === |
| 3491 |
|
| 3492 |
// wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html |
| 3493 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3494 |
createMetalSurfaceEXT( MetalSurfaceCreateInfoEXT const & createInfo, |
| 3495 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3496 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 3497 |
|
| 3498 |
//=== VK_EXT_headless_surface === |
| 3499 |
|
| 3500 |
// wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html |
| 3501 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3502 |
createHeadlessSurfaceEXT( HeadlessSurfaceCreateInfoEXT const & createInfo, |
| 3503 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3504 |
|
| 3505 |
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) |
| 3506 |
//=== VK_EXT_directfb_surface === |
| 3507 |
|
| 3508 |
// wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html |
| 3509 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3510 |
createDirectFBSurfaceEXT( DirectFBSurfaceCreateInfoEXT const & createInfo, |
| 3511 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3512 |
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ |
| 3513 |
|
| 3514 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 3515 |
//=== VK_QNX_screen_surface === |
| 3516 |
|
| 3517 |
// wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html |
| 3518 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3519 |
createScreenSurfaceQNX( ScreenSurfaceCreateInfoQNX const & createInfo, |
| 3520 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3521 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 3522 |
|
| 3523 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 3524 |
//=== VK_OHOS_surface === |
| 3525 |
|
| 3526 |
// wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html |
| 3527 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceKHR>::type |
| 3528 |
createSurfaceOHOS( SurfaceCreateInfoOHOS const & createInfo, |
| 3529 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3530 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 3531 |
|
| 3532 |
private: |
| 3533 |
VULKAN_HPP_NAMESPACE::Instance m_instance = {}; |
| 3534 |
const AllocationCallbacks * m_allocator = {}; |
| 3535 |
std::unique_ptr<detail::InstanceDispatcher> m_dispatcher; |
| 3536 |
}; |
| 3537 |
|
| 3538 |
template <> |
| 3539 |
struct isVulkanRAIIHandleType<Instance> |
| 3540 |
{ |
| 3541 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 3542 |
}; |
| 3543 |
|
| 3544 |
// wrapper class for handle VkPhysicalDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPhysicalDevice.html |
| 3545 |
class PhysicalDevice |
| 3546 |
{ |
| 3547 |
public: |
| 3548 |
using CType = VkPhysicalDevice; |
| 3549 |
using CppType = VULKAN_HPP_NAMESPACE::PhysicalDevice; |
| 3550 |
|
| 3551 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePhysicalDevice; |
| 3552 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::ePhysicalDevice; |
| 3553 |
|
| 3554 |
public: |
| 3555 |
PhysicalDevice( Instance const & instance, VkPhysicalDevice physicalDevice ) |
| 3556 |
: m_physicalDevice( physicalDevice ), m_dispatcher( instance.getDispatcher() ) |
| 3557 |
{ |
| 3558 |
} |
| 3559 |
|
| 3560 |
PhysicalDevice( std::nullptr_t ) {} |
| 3561 |
|
| 3562 |
~PhysicalDevice() |
| 3563 |
{ |
| 3564 |
clear(); |
| 3565 |
} |
| 3566 |
|
| 3567 |
PhysicalDevice() = delete; |
| 3568 |
|
| 3569 |
PhysicalDevice( PhysicalDevice const & rhs ) : m_physicalDevice( rhs.m_physicalDevice ), m_dispatcher( rhs.m_dispatcher ) {} |
| 3570 |
|
| 3571 |
PhysicalDevice( PhysicalDevice && rhs ) VULKAN_HPP_NOEXCEPT |
| 3572 |
: m_physicalDevice( exchange( rhs.m_physicalDevice, {} ) ) |
| 3573 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 3574 |
{ |
| 3575 |
} |
| 3576 |
|
| 3577 |
PhysicalDevice & operator=( PhysicalDevice const & rhs ) |
| 3578 |
{ |
| 3579 |
m_physicalDevice = rhs.m_physicalDevice; |
| 3580 |
m_dispatcher = rhs.m_dispatcher; |
| 3581 |
return *this; |
| 3582 |
} |
| 3583 |
|
| 3584 |
PhysicalDevice & operator=( PhysicalDevice && rhs ) VULKAN_HPP_NOEXCEPT |
| 3585 |
{ |
| 3586 |
if ( this != &rhs ) |
| 3587 |
{ |
| 3588 |
std::swap( m_physicalDevice, rhs.m_physicalDevice ); |
| 3589 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 3590 |
} |
| 3591 |
return *this; |
| 3592 |
} |
| 3593 |
|
| 3594 |
VULKAN_HPP_NAMESPACE::PhysicalDevice const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 3595 |
{ |
| 3596 |
return m_physicalDevice; |
| 3597 |
} |
| 3598 |
|
| 3599 |
VULKAN_HPP_NAMESPACE::PhysicalDevice const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 3600 |
{ |
| 3601 |
return std::move( m_physicalDevice ); |
| 3602 |
} |
| 3603 |
|
| 3604 |
operator VULKAN_HPP_NAMESPACE::PhysicalDevice() const VULKAN_HPP_NOEXCEPT |
| 3605 |
{ |
| 3606 |
return m_physicalDevice; |
| 3607 |
} |
| 3608 |
|
| 3609 |
void clear() VULKAN_HPP_NOEXCEPT |
| 3610 |
{ |
| 3611 |
m_physicalDevice = nullptr; |
| 3612 |
m_dispatcher = nullptr; |
| 3613 |
} |
| 3614 |
|
| 3615 |
VULKAN_HPP_NAMESPACE::PhysicalDevice release() |
| 3616 |
{ |
| 3617 |
m_dispatcher = nullptr; |
| 3618 |
return exchange( m_physicalDevice, nullptr ); |
| 3619 |
} |
| 3620 |
|
| 3621 |
detail::InstanceDispatcher const * getDispatcher() const |
| 3622 |
{ |
| 3623 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 3624 |
return m_dispatcher; |
| 3625 |
} |
| 3626 |
|
| 3627 |
void swap( PhysicalDevice & rhs ) VULKAN_HPP_NOEXCEPT |
| 3628 |
{ |
| 3629 |
std::swap( m_physicalDevice, rhs.m_physicalDevice ); |
| 3630 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 3631 |
} |
| 3632 |
|
| 3633 |
//=== VK_VERSION_1_0 === |
| 3634 |
|
| 3635 |
// wrapper function for command vkGetPhysicalDeviceFeatures, see |
| 3636 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures.html |
| 3637 |
VULKAN_HPP_NODISCARD PhysicalDeviceFeatures getFeatures() const VULKAN_HPP_NOEXCEPT; |
| 3638 |
|
| 3639 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties, see |
| 3640 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties.html |
| 3641 |
VULKAN_HPP_NODISCARD FormatProperties getFormatProperties( Format format ) const VULKAN_HPP_NOEXCEPT; |
| 3642 |
|
| 3643 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties, see |
| 3644 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties.html |
| 3645 |
VULKAN_HPP_NODISCARD typename ResultValueType<ImageFormatProperties>::type getImageFormatProperties( |
| 3646 |
Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 3647 |
|
| 3648 |
// wrapper function for command vkGetPhysicalDeviceProperties, see |
| 3649 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties.html |
| 3650 |
VULKAN_HPP_NODISCARD PhysicalDeviceProperties getProperties() const VULKAN_HPP_NOEXCEPT; |
| 3651 |
|
| 3652 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see |
| 3653 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html |
| 3654 |
VULKAN_HPP_NODISCARD std::vector<QueueFamilyProperties> getQueueFamilyProperties() const; |
| 3655 |
|
| 3656 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties, see |
| 3657 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties.html |
| 3658 |
VULKAN_HPP_NODISCARD PhysicalDeviceMemoryProperties getMemoryProperties() const VULKAN_HPP_NOEXCEPT; |
| 3659 |
|
| 3660 |
// wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html |
| 3661 |
VULKAN_HPP_NODISCARD typename ResultValueType<Device>::type |
| 3662 |
createDevice( DeviceCreateInfo const & createInfo, |
| 3663 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3664 |
|
| 3665 |
// wrapper function for command vkEnumerateDeviceExtensionProperties, see |
| 3666 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html |
| 3667 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<ExtensionProperties>>::type |
| 3668 |
enumerateDeviceExtensionProperties( Optional<const std::string> layerName VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 3669 |
|
| 3670 |
// wrapper function for command vkEnumerateDeviceLayerProperties, see |
| 3671 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html |
| 3672 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<LayerProperties>>::type enumerateDeviceLayerProperties() const; |
| 3673 |
|
| 3674 |
// wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see |
| 3675 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html |
| 3676 |
VULKAN_HPP_NODISCARD std::vector<SparseImageFormatProperties> |
| 3677 |
getSparseImageFormatProperties( Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling ) const; |
| 3678 |
|
| 3679 |
//=== VK_VERSION_1_1 === |
| 3680 |
|
| 3681 |
// wrapper function for command vkGetPhysicalDeviceFeatures2, see |
| 3682 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html |
| 3683 |
VULKAN_HPP_NODISCARD PhysicalDeviceFeatures2 getFeatures2() const VULKAN_HPP_NOEXCEPT; |
| 3684 |
|
| 3685 |
// wrapper function for command vkGetPhysicalDeviceFeatures2, see |
| 3686 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html |
| 3687 |
template <typename X, typename Y, typename... Z> |
| 3688 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFeatures2() const VULKAN_HPP_NOEXCEPT; |
| 3689 |
|
| 3690 |
// wrapper function for command vkGetPhysicalDeviceProperties2, see |
| 3691 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html |
| 3692 |
VULKAN_HPP_NODISCARD PhysicalDeviceProperties2 getProperties2() const VULKAN_HPP_NOEXCEPT; |
| 3693 |
|
| 3694 |
// wrapper function for command vkGetPhysicalDeviceProperties2, see |
| 3695 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html |
| 3696 |
template <typename X, typename Y, typename... Z> |
| 3697 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getProperties2() const VULKAN_HPP_NOEXCEPT; |
| 3698 |
|
| 3699 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see |
| 3700 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html |
| 3701 |
VULKAN_HPP_NODISCARD FormatProperties2 getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT; |
| 3702 |
|
| 3703 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see |
| 3704 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html |
| 3705 |
template <typename X, typename Y, typename... Z> |
| 3706 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT; |
| 3707 |
|
| 3708 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see |
| 3709 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html |
| 3710 |
VULKAN_HPP_NODISCARD Result getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, |
| 3711 |
ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT; |
| 3712 |
|
| 3713 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see |
| 3714 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html |
| 3715 |
VULKAN_HPP_NODISCARD typename ResultValueType<ImageFormatProperties2>::type |
| 3716 |
getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const; |
| 3717 |
|
| 3718 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see |
| 3719 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html |
| 3720 |
template <typename X, typename Y, typename... Z> |
| 3721 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 3722 |
getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const; |
| 3723 |
|
| 3724 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see |
| 3725 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html |
| 3726 |
VULKAN_HPP_NODISCARD std::vector<QueueFamilyProperties2> getQueueFamilyProperties2() const; |
| 3727 |
|
| 3728 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see |
| 3729 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html |
| 3730 |
template <typename StructureChain> |
| 3731 |
VULKAN_HPP_NODISCARD std::vector<StructureChain> getQueueFamilyProperties2() const; |
| 3732 |
|
| 3733 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see |
| 3734 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html |
| 3735 |
VULKAN_HPP_NODISCARD PhysicalDeviceMemoryProperties2 getMemoryProperties2() const VULKAN_HPP_NOEXCEPT; |
| 3736 |
|
| 3737 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see |
| 3738 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html |
| 3739 |
template <typename X, typename Y, typename... Z> |
| 3740 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getMemoryProperties2() const VULKAN_HPP_NOEXCEPT; |
| 3741 |
|
| 3742 |
// wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see |
| 3743 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html |
| 3744 |
VULKAN_HPP_NODISCARD std::vector<SparseImageFormatProperties2> |
| 3745 |
getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo ) const; |
| 3746 |
|
| 3747 |
// wrapper function for command vkGetPhysicalDeviceExternalBufferProperties, see |
| 3748 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferProperties.html |
| 3749 |
VULKAN_HPP_NODISCARD ExternalBufferProperties |
| 3750 |
getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3751 |
|
| 3752 |
// wrapper function for command vkGetPhysicalDeviceExternalFenceProperties, see |
| 3753 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFenceProperties.html |
| 3754 |
VULKAN_HPP_NODISCARD ExternalFenceProperties |
| 3755 |
getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3756 |
|
| 3757 |
// wrapper function for command vkGetPhysicalDeviceExternalSemaphoreProperties, see |
| 3758 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html |
| 3759 |
VULKAN_HPP_NODISCARD ExternalSemaphoreProperties |
| 3760 |
getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3761 |
|
| 3762 |
//=== VK_VERSION_1_3 === |
| 3763 |
|
| 3764 |
// wrapper function for command vkGetPhysicalDeviceToolProperties, see |
| 3765 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html |
| 3766 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PhysicalDeviceToolProperties>>::type getToolProperties() const; |
| 3767 |
|
| 3768 |
//=== VK_KHR_surface === |
| 3769 |
|
| 3770 |
// wrapper function for command vkGetPhysicalDeviceSurfaceSupportKHR, see |
| 3771 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html |
| 3772 |
VULKAN_HPP_NODISCARD typename ResultValueType<Bool32>::type getSurfaceSupportKHR( uint32_t queueFamilyIndex, |
| 3773 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const; |
| 3774 |
|
| 3775 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilitiesKHR, see |
| 3776 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html |
| 3777 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceCapabilitiesKHR>::type getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const; |
| 3778 |
|
| 3779 |
// wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see |
| 3780 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html |
| 3781 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<SurfaceFormatKHR>>::type |
| 3782 |
getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 3783 |
|
| 3784 |
// wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see |
| 3785 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html |
| 3786 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PresentModeKHR>>::type |
| 3787 |
getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 3788 |
|
| 3789 |
//=== VK_KHR_swapchain === |
| 3790 |
|
| 3791 |
// wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see |
| 3792 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html |
| 3793 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Rect2D>>::type getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const; |
| 3794 |
|
| 3795 |
//=== VK_KHR_display === |
| 3796 |
|
| 3797 |
// wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see |
| 3798 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html |
| 3799 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayPropertiesKHR>>::type getDisplayPropertiesKHR() const; |
| 3800 |
|
| 3801 |
// wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see |
| 3802 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html |
| 3803 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayPlanePropertiesKHR>>::type getDisplayPlanePropertiesKHR() const; |
| 3804 |
|
| 3805 |
// wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see |
| 3806 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html |
| 3807 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayKHR>>::type getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex ) const; |
| 3808 |
|
| 3809 |
# if defined( VK_USE_PLATFORM_XLIB_KHR ) |
| 3810 |
//=== VK_KHR_xlib_surface === |
| 3811 |
|
| 3812 |
// wrapper function for command vkGetPhysicalDeviceXlibPresentationSupportKHR, see |
| 3813 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html |
| 3814 |
VULKAN_HPP_NODISCARD Bool32 getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, Display & dpy, VisualID visualID ) const VULKAN_HPP_NOEXCEPT; |
| 3815 |
# endif /*VK_USE_PLATFORM_XLIB_KHR*/ |
| 3816 |
|
| 3817 |
# if defined( VK_USE_PLATFORM_XCB_KHR ) |
| 3818 |
//=== VK_KHR_xcb_surface === |
| 3819 |
|
| 3820 |
// wrapper function for command vkGetPhysicalDeviceXcbPresentationSupportKHR, see |
| 3821 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html |
| 3822 |
VULKAN_HPP_NODISCARD Bool32 getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, |
| 3823 |
xcb_connection_t & connection, |
| 3824 |
xcb_visualid_t visual_id ) const VULKAN_HPP_NOEXCEPT; |
| 3825 |
# endif /*VK_USE_PLATFORM_XCB_KHR*/ |
| 3826 |
|
| 3827 |
# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) |
| 3828 |
//=== VK_KHR_wayland_surface === |
| 3829 |
|
| 3830 |
// wrapper function for command vkGetPhysicalDeviceWaylandPresentationSupportKHR, see |
| 3831 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html |
| 3832 |
VULKAN_HPP_NODISCARD Bool32 getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, struct wl_display & display ) const VULKAN_HPP_NOEXCEPT; |
| 3833 |
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ |
| 3834 |
|
| 3835 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 3836 |
//=== VK_KHR_win32_surface === |
| 3837 |
|
| 3838 |
// wrapper function for command vkGetPhysicalDeviceWin32PresentationSupportKHR, see |
| 3839 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html |
| 3840 |
VULKAN_HPP_NODISCARD Bool32 getWin32PresentationSupportKHR( uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT; |
| 3841 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 3842 |
|
| 3843 |
//=== VK_KHR_video_queue === |
| 3844 |
|
| 3845 |
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see |
| 3846 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html |
| 3847 |
VULKAN_HPP_NODISCARD Result getVideoCapabilitiesKHR( const VideoProfileInfoKHR * pVideoProfile, |
| 3848 |
VideoCapabilitiesKHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT; |
| 3849 |
|
| 3850 |
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see |
| 3851 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html |
| 3852 |
VULKAN_HPP_NODISCARD typename ResultValueType<VideoCapabilitiesKHR>::type getVideoCapabilitiesKHR( const VideoProfileInfoKHR & videoProfile ) const; |
| 3853 |
|
| 3854 |
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see |
| 3855 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html |
| 3856 |
template <typename X, typename Y, typename... Z> |
| 3857 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type getVideoCapabilitiesKHR( const VideoProfileInfoKHR & videoProfile ) const; |
| 3858 |
|
| 3859 |
// wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see |
| 3860 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html |
| 3861 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<VideoFormatPropertiesKHR>>::type |
| 3862 |
getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo ) const; |
| 3863 |
|
| 3864 |
// wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see |
| 3865 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html |
| 3866 |
template <typename StructureChain> |
| 3867 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<StructureChain>>::type |
| 3868 |
getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo ) const; |
| 3869 |
|
| 3870 |
//=== VK_NV_external_memory_capabilities === |
| 3871 |
|
| 3872 |
// wrapper function for command vkGetPhysicalDeviceExternalImageFormatPropertiesNV, see |
| 3873 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html |
| 3874 |
VULKAN_HPP_NODISCARD typename ResultValueType<ExternalImageFormatPropertiesNV>::type |
| 3875 |
getExternalImageFormatPropertiesNV( Format format, |
| 3876 |
ImageType type, |
| 3877 |
ImageTiling tiling, |
| 3878 |
ImageUsageFlags usage, |
| 3879 |
ImageCreateFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), |
| 3880 |
ExternalMemoryHandleTypeFlagsNV externalHandleType VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 3881 |
|
| 3882 |
//=== VK_KHR_get_physical_device_properties2 === |
| 3883 |
|
| 3884 |
// wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see |
| 3885 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html |
| 3886 |
VULKAN_HPP_NODISCARD PhysicalDeviceFeatures2 getFeatures2KHR() const VULKAN_HPP_NOEXCEPT; |
| 3887 |
|
| 3888 |
// wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see |
| 3889 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html |
| 3890 |
template <typename X, typename Y, typename... Z> |
| 3891 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFeatures2KHR() const VULKAN_HPP_NOEXCEPT; |
| 3892 |
|
| 3893 |
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see |
| 3894 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html |
| 3895 |
VULKAN_HPP_NODISCARD PhysicalDeviceProperties2 getProperties2KHR() const VULKAN_HPP_NOEXCEPT; |
| 3896 |
|
| 3897 |
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see |
| 3898 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html |
| 3899 |
template <typename X, typename Y, typename... Z> |
| 3900 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getProperties2KHR() const VULKAN_HPP_NOEXCEPT; |
| 3901 |
|
| 3902 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see |
| 3903 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html |
| 3904 |
VULKAN_HPP_NODISCARD FormatProperties2 getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT; |
| 3905 |
|
| 3906 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see |
| 3907 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html |
| 3908 |
template <typename X, typename Y, typename... Z> |
| 3909 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT; |
| 3910 |
|
| 3911 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see |
| 3912 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html |
| 3913 |
VULKAN_HPP_NODISCARD Result getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, |
| 3914 |
ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT; |
| 3915 |
|
| 3916 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see |
| 3917 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html |
| 3918 |
VULKAN_HPP_NODISCARD typename ResultValueType<ImageFormatProperties2>::type |
| 3919 |
getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const; |
| 3920 |
|
| 3921 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see |
| 3922 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html |
| 3923 |
template <typename X, typename Y, typename... Z> |
| 3924 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 3925 |
getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const; |
| 3926 |
|
| 3927 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see |
| 3928 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html |
| 3929 |
VULKAN_HPP_NODISCARD std::vector<QueueFamilyProperties2> getQueueFamilyProperties2KHR() const; |
| 3930 |
|
| 3931 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see |
| 3932 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html |
| 3933 |
template <typename StructureChain> |
| 3934 |
VULKAN_HPP_NODISCARD std::vector<StructureChain> getQueueFamilyProperties2KHR() const; |
| 3935 |
|
| 3936 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see |
| 3937 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html |
| 3938 |
VULKAN_HPP_NODISCARD PhysicalDeviceMemoryProperties2 getMemoryProperties2KHR() const VULKAN_HPP_NOEXCEPT; |
| 3939 |
|
| 3940 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see |
| 3941 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html |
| 3942 |
template <typename X, typename Y, typename... Z> |
| 3943 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getMemoryProperties2KHR() const VULKAN_HPP_NOEXCEPT; |
| 3944 |
|
| 3945 |
// wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see |
| 3946 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html |
| 3947 |
VULKAN_HPP_NODISCARD std::vector<SparseImageFormatProperties2> |
| 3948 |
getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo ) const; |
| 3949 |
|
| 3950 |
//=== VK_KHR_external_memory_capabilities === |
| 3951 |
|
| 3952 |
// wrapper function for command vkGetPhysicalDeviceExternalBufferPropertiesKHR, see |
| 3953 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html |
| 3954 |
VULKAN_HPP_NODISCARD ExternalBufferProperties |
| 3955 |
getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3956 |
|
| 3957 |
//=== VK_KHR_external_semaphore_capabilities === |
| 3958 |
|
| 3959 |
// wrapper function for command vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, see |
| 3960 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html |
| 3961 |
VULKAN_HPP_NODISCARD ExternalSemaphoreProperties |
| 3962 |
getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3963 |
|
| 3964 |
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) |
| 3965 |
//=== VK_EXT_acquire_xlib_display === |
| 3966 |
|
| 3967 |
// wrapper function for command vkAcquireXlibDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireXlibDisplayEXT.html |
| 3968 |
typename ResultValueType<void>::type acquireXlibDisplayEXT( Display & dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display ) const; |
| 3969 |
|
| 3970 |
// wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html |
| 3971 |
VULKAN_HPP_NODISCARD typename ResultValueType<DisplayKHR>::type |
| 3972 |
getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 3973 |
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ |
| 3974 |
|
| 3975 |
//=== VK_EXT_display_surface_counter === |
| 3976 |
|
| 3977 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2EXT, see |
| 3978 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html |
| 3979 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceCapabilities2EXT>::type getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const; |
| 3980 |
|
| 3981 |
//=== VK_KHR_external_fence_capabilities === |
| 3982 |
|
| 3983 |
// wrapper function for command vkGetPhysicalDeviceExternalFencePropertiesKHR, see |
| 3984 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html |
| 3985 |
VULKAN_HPP_NODISCARD ExternalFenceProperties |
| 3986 |
getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3987 |
|
| 3988 |
//=== VK_KHR_performance_query === |
| 3989 |
|
| 3990 |
// wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see |
| 3991 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html |
| 3992 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<std::vector<PerformanceCounterKHR>, std::vector<PerformanceCounterDescriptionKHR>>>::type |
| 3993 |
enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex ) const; |
| 3994 |
|
| 3995 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, see |
| 3996 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR.html |
| 3997 |
VULKAN_HPP_NODISCARD uint32_t |
| 3998 |
getQueueFamilyPerformanceQueryPassesKHR( const QueryPoolPerformanceCreateInfoKHR & performanceQueryCreateInfo ) const VULKAN_HPP_NOEXCEPT; |
| 3999 |
|
| 4000 |
//=== VK_KHR_get_surface_capabilities2 === |
| 4001 |
|
| 4002 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see |
| 4003 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html |
| 4004 |
VULKAN_HPP_NODISCARD Result getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, |
| 4005 |
SurfaceCapabilities2KHR * pSurfaceCapabilities ) const VULKAN_HPP_NOEXCEPT; |
| 4006 |
|
| 4007 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see |
| 4008 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html |
| 4009 |
VULKAN_HPP_NODISCARD typename ResultValueType<SurfaceCapabilities2KHR>::type |
| 4010 |
getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; |
| 4011 |
|
| 4012 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see |
| 4013 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html |
| 4014 |
template <typename X, typename Y, typename... Z> |
| 4015 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 4016 |
getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; |
| 4017 |
|
| 4018 |
// wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see |
| 4019 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html |
| 4020 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<SurfaceFormat2KHR>>::type |
| 4021 |
getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; |
| 4022 |
|
| 4023 |
// wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see |
| 4024 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html |
| 4025 |
template <typename StructureChain> |
| 4026 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<StructureChain>>::type |
| 4027 |
getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; |
| 4028 |
|
| 4029 |
//=== VK_KHR_get_display_properties2 === |
| 4030 |
|
| 4031 |
// wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see |
| 4032 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html |
| 4033 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayProperties2KHR>>::type getDisplayProperties2KHR() const; |
| 4034 |
|
| 4035 |
// wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see |
| 4036 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html |
| 4037 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayPlaneProperties2KHR>>::type getDisplayPlaneProperties2KHR() const; |
| 4038 |
|
| 4039 |
// wrapper function for command vkGetDisplayPlaneCapabilities2KHR, see |
| 4040 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilities2KHR.html |
| 4041 |
VULKAN_HPP_NODISCARD typename ResultValueType<DisplayPlaneCapabilities2KHR>::type |
| 4042 |
getDisplayPlaneCapabilities2KHR( const DisplayPlaneInfo2KHR & displayPlaneInfo ) const; |
| 4043 |
|
| 4044 |
//=== VK_EXT_descriptor_heap === |
| 4045 |
|
| 4046 |
// wrapper function for command vkGetPhysicalDeviceDescriptorSizeEXT, see |
| 4047 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDescriptorSizeEXT.html |
| 4048 |
VULKAN_HPP_NODISCARD DeviceSize getDescriptorSizeEXT( DescriptorType descriptorType ) const VULKAN_HPP_NOEXCEPT; |
| 4049 |
|
| 4050 |
//=== VK_EXT_sample_locations === |
| 4051 |
|
| 4052 |
// wrapper function for command vkGetPhysicalDeviceMultisamplePropertiesEXT, see |
| 4053 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html |
| 4054 |
VULKAN_HPP_NODISCARD MultisamplePropertiesEXT getMultisamplePropertiesEXT( SampleCountFlagBits samples ) const VULKAN_HPP_NOEXCEPT; |
| 4055 |
|
| 4056 |
//=== VK_EXT_calibrated_timestamps === |
| 4057 |
|
| 4058 |
// wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see |
| 4059 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html |
| 4060 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<TimeDomainKHR>>::type getCalibrateableTimeDomainsEXT() const; |
| 4061 |
|
| 4062 |
//=== VK_KHR_fragment_shading_rate === |
| 4063 |
|
| 4064 |
// wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see |
| 4065 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html |
| 4066 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PhysicalDeviceFragmentShadingRateKHR>>::type getFragmentShadingRatesKHR() const; |
| 4067 |
|
| 4068 |
//=== VK_EXT_tooling_info === |
| 4069 |
|
| 4070 |
// wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see |
| 4071 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html |
| 4072 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PhysicalDeviceToolProperties>>::type getToolPropertiesEXT() const; |
| 4073 |
|
| 4074 |
//=== VK_NV_cooperative_matrix === |
| 4075 |
|
| 4076 |
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see |
| 4077 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html |
| 4078 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<CooperativeMatrixPropertiesNV>>::type getCooperativeMatrixPropertiesNV() const; |
| 4079 |
|
| 4080 |
//=== VK_NV_coverage_reduction_mode === |
| 4081 |
|
| 4082 |
// wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see |
| 4083 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html |
| 4084 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<FramebufferMixedSamplesCombinationNV>>::type |
| 4085 |
getSupportedFramebufferMixedSamplesCombinationsNV() const; |
| 4086 |
|
| 4087 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 4088 |
//=== VK_EXT_full_screen_exclusive === |
| 4089 |
|
| 4090 |
// wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see |
| 4091 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html |
| 4092 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PresentModeKHR>>::type |
| 4093 |
getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; |
| 4094 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 4095 |
|
| 4096 |
//=== VK_EXT_acquire_drm_display === |
| 4097 |
|
| 4098 |
// wrapper function for command vkAcquireDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireDrmDisplayEXT.html |
| 4099 |
typename ResultValueType<void>::type acquireDrmDisplayEXT( int32_t drmFd, VULKAN_HPP_NAMESPACE::DisplayKHR display ) const; |
| 4100 |
|
| 4101 |
// wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html |
| 4102 |
VULKAN_HPP_NODISCARD typename ResultValueType<DisplayKHR>::type getDrmDisplayEXT( int32_t drmFd, |
| 4103 |
uint32_t connectorId ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4104 |
|
| 4105 |
//=== VK_KHR_video_encode_queue === |
| 4106 |
|
| 4107 |
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see |
| 4108 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html |
| 4109 |
VULKAN_HPP_NODISCARD Result |
| 4110 |
getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR * pQualityLevelInfo, |
| 4111 |
VideoEncodeQualityLevelPropertiesKHR * pQualityLevelProperties ) const VULKAN_HPP_NOEXCEPT; |
| 4112 |
|
| 4113 |
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see |
| 4114 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html |
| 4115 |
VULKAN_HPP_NODISCARD typename ResultValueType<VideoEncodeQualityLevelPropertiesKHR>::type |
| 4116 |
getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR & qualityLevelInfo ) const; |
| 4117 |
|
| 4118 |
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see |
| 4119 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html |
| 4120 |
template <typename X, typename Y, typename... Z> |
| 4121 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 4122 |
getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR & qualityLevelInfo ) const; |
| 4123 |
|
| 4124 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 4125 |
//=== VK_NV_acquire_winrt_display === |
| 4126 |
|
| 4127 |
// wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html |
| 4128 |
VULKAN_HPP_NODISCARD typename ResultValueType<DisplayKHR>::type |
| 4129 |
getWinrtDisplayNV( uint32_t deviceRelativeId ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4130 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 4131 |
|
| 4132 |
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) |
| 4133 |
//=== VK_EXT_directfb_surface === |
| 4134 |
|
| 4135 |
// wrapper function for command vkGetPhysicalDeviceDirectFBPresentationSupportEXT, see |
| 4136 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.html |
| 4137 |
VULKAN_HPP_NODISCARD Bool32 getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB & dfb ) const VULKAN_HPP_NOEXCEPT; |
| 4138 |
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ |
| 4139 |
|
| 4140 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 4141 |
//=== VK_QNX_screen_surface === |
| 4142 |
|
| 4143 |
// wrapper function for command vkGetPhysicalDeviceScreenPresentationSupportQNX, see |
| 4144 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceScreenPresentationSupportQNX.html |
| 4145 |
VULKAN_HPP_NODISCARD Bool32 getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, struct _screen_window & window ) const VULKAN_HPP_NOEXCEPT; |
| 4146 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 4147 |
|
| 4148 |
//=== VK_ARM_tensors === |
| 4149 |
|
| 4150 |
// wrapper function for command vkGetPhysicalDeviceExternalTensorPropertiesARM, see |
| 4151 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalTensorPropertiesARM.html |
| 4152 |
VULKAN_HPP_NODISCARD ExternalTensorPropertiesARM |
| 4153 |
getExternalTensorPropertiesARM( const PhysicalDeviceExternalTensorInfoARM & externalTensorInfo ) const VULKAN_HPP_NOEXCEPT; |
| 4154 |
|
| 4155 |
//=== VK_NV_optical_flow === |
| 4156 |
|
| 4157 |
// wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see |
| 4158 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html |
| 4159 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<OpticalFlowImageFormatPropertiesNV>>::type |
| 4160 |
getOpticalFlowImageFormatsNV( const OpticalFlowImageFormatInfoNV & opticalFlowImageFormatInfo ) const; |
| 4161 |
|
| 4162 |
//=== VK_NV_cooperative_vector === |
| 4163 |
|
| 4164 |
// wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see |
| 4165 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html |
| 4166 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<CooperativeVectorPropertiesNV>>::type getCooperativeVectorPropertiesNV() const; |
| 4167 |
|
| 4168 |
//=== VK_KHR_cooperative_matrix === |
| 4169 |
|
| 4170 |
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see |
| 4171 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html |
| 4172 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<CooperativeMatrixPropertiesKHR>>::type getCooperativeMatrixPropertiesKHR() const; |
| 4173 |
|
| 4174 |
//=== VK_ARM_data_graph === |
| 4175 |
|
| 4176 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see |
| 4177 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html |
| 4178 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<QueueFamilyDataGraphPropertiesARM>>::type |
| 4179 |
getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex ) const; |
| 4180 |
|
| 4181 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM, see |
| 4182 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM.html |
| 4183 |
VULKAN_HPP_NODISCARD QueueFamilyDataGraphProcessingEnginePropertiesARM getQueueFamilyDataGraphProcessingEnginePropertiesARM( |
| 4184 |
const PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM & queueFamilyDataGraphProcessingEngineInfo ) const VULKAN_HPP_NOEXCEPT; |
| 4185 |
|
| 4186 |
//=== VK_KHR_calibrated_timestamps === |
| 4187 |
|
| 4188 |
// wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see |
| 4189 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html |
| 4190 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<TimeDomainKHR>>::type getCalibrateableTimeDomainsKHR() const; |
| 4191 |
|
| 4192 |
//=== VK_NV_cooperative_matrix2 === |
| 4193 |
|
| 4194 |
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see |
| 4195 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html |
| 4196 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<CooperativeMatrixFlexibleDimensionsPropertiesNV>>::type |
| 4197 |
getCooperativeMatrixFlexibleDimensionsPropertiesNV() const; |
| 4198 |
|
| 4199 |
//=== VK_ARM_performance_counters_by_region === |
| 4200 |
|
| 4201 |
// wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see |
| 4202 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html |
| 4203 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<std::vector<PerformanceCounterARM>, std::vector<PerformanceCounterDescriptionARM>>>::type |
| 4204 |
enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex ) const; |
| 4205 |
|
| 4206 |
private: |
| 4207 |
VULKAN_HPP_NAMESPACE::PhysicalDevice m_physicalDevice = {}; |
| 4208 |
detail::InstanceDispatcher const * m_dispatcher = nullptr; |
| 4209 |
}; |
| 4210 |
|
| 4211 |
template <> |
| 4212 |
struct isVulkanRAIIHandleType<PhysicalDevice> |
| 4213 |
{ |
| 4214 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 4215 |
}; |
| 4216 |
|
| 4217 |
class PhysicalDevices : public std::vector<PhysicalDevice> |
| 4218 |
{ |
| 4219 |
public: |
| 4220 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 4221 |
PhysicalDevices( Instance const & instance ) |
| 4222 |
{ |
| 4223 |
*this = instance.enumeratePhysicalDevices(); |
| 4224 |
} |
| 4225 |
# endif |
| 4226 |
|
| 4227 |
PhysicalDevices( std::nullptr_t ) {} |
| 4228 |
|
| 4229 |
PhysicalDevices() = delete; |
| 4230 |
PhysicalDevices( PhysicalDevices const & ) = delete; |
| 4231 |
PhysicalDevices( PhysicalDevices && rhs ) = default; |
| 4232 |
PhysicalDevices & operator=( PhysicalDevices const & ) = delete; |
| 4233 |
PhysicalDevices & operator=( PhysicalDevices && rhs ) = default; |
| 4234 |
|
| 4235 |
PhysicalDevices( std::vector<PhysicalDevice> && rhs ) |
| 4236 |
{ |
| 4237 |
std::swap( *this, rhs ); |
| 4238 |
} |
| 4239 |
}; |
| 4240 |
|
| 4241 |
// wrapper class for handle VkDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDevice.html |
| 4242 |
class Device |
| 4243 |
{ |
| 4244 |
public: |
| 4245 |
using CType = VkDevice; |
| 4246 |
using CppType = VULKAN_HPP_NAMESPACE::Device; |
| 4247 |
|
| 4248 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDevice; |
| 4249 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDevice; |
| 4250 |
|
| 4251 |
public: |
| 4252 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 4253 |
Device( PhysicalDevice const & physicalDevice, DeviceCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 4254 |
{ |
| 4255 |
*this = physicalDevice.createDevice( createInfo, allocator ); |
| 4256 |
} |
| 4257 |
# endif |
| 4258 |
|
| 4259 |
Device( PhysicalDevice const & physicalDevice, VkDevice device, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 4260 |
: m_device( device ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 4261 |
{ |
| 4262 |
m_dispatcher.reset( new detail::DeviceDispatcher( physicalDevice.getDispatcher()->vkGetDeviceProcAddr, static_cast<VkDevice>( m_device ) ) ); |
| 4263 |
} |
| 4264 |
|
| 4265 |
Device( std::nullptr_t ) {} |
| 4266 |
|
| 4267 |
~Device() |
| 4268 |
{ |
| 4269 |
clear(); |
| 4270 |
} |
| 4271 |
|
| 4272 |
Device() = delete; |
| 4273 |
Device( Device const & ) = delete; |
| 4274 |
|
| 4275 |
Device( Device && rhs ) VULKAN_HPP_NOEXCEPT |
| 4276 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 4277 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 4278 |
, m_dispatcher( rhs.m_dispatcher.release() ) |
| 4279 |
{ |
| 4280 |
} |
| 4281 |
|
| 4282 |
Device & operator=( Device const & ) = delete; |
| 4283 |
|
| 4284 |
Device & operator=( Device && rhs ) VULKAN_HPP_NOEXCEPT |
| 4285 |
{ |
| 4286 |
if ( this != &rhs ) |
| 4287 |
{ |
| 4288 |
std::swap( m_device, rhs.m_device ); |
| 4289 |
std::swap( m_allocator, rhs.m_allocator ); |
| 4290 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 4291 |
} |
| 4292 |
return *this; |
| 4293 |
} |
| 4294 |
|
| 4295 |
VULKAN_HPP_NAMESPACE::Device const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 4296 |
{ |
| 4297 |
return m_device; |
| 4298 |
} |
| 4299 |
|
| 4300 |
VULKAN_HPP_NAMESPACE::Device const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 4301 |
{ |
| 4302 |
return std::move( m_device ); |
| 4303 |
} |
| 4304 |
|
| 4305 |
operator VULKAN_HPP_NAMESPACE::Device() const VULKAN_HPP_NOEXCEPT |
| 4306 |
{ |
| 4307 |
return m_device; |
| 4308 |
} |
| 4309 |
|
| 4310 |
void clear() VULKAN_HPP_NOEXCEPT |
| 4311 |
{ |
| 4312 |
if ( m_device ) |
| 4313 |
{ |
| 4314 |
getDispatcher()->vkDestroyDevice( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 4315 |
} |
| 4316 |
m_device = nullptr; |
| 4317 |
m_allocator = nullptr; |
| 4318 |
m_dispatcher = nullptr; |
| 4319 |
} |
| 4320 |
|
| 4321 |
VULKAN_HPP_NAMESPACE::Device release() |
| 4322 |
{ |
| 4323 |
m_allocator = nullptr; |
| 4324 |
m_dispatcher = nullptr; |
| 4325 |
return exchange( m_device, nullptr ); |
| 4326 |
} |
| 4327 |
|
| 4328 |
detail::DeviceDispatcher const * getDispatcher() const |
| 4329 |
{ |
| 4330 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 4331 |
return &*m_dispatcher; |
| 4332 |
} |
| 4333 |
|
| 4334 |
void swap( Device & rhs ) VULKAN_HPP_NOEXCEPT |
| 4335 |
{ |
| 4336 |
std::swap( m_device, rhs.m_device ); |
| 4337 |
std::swap( m_allocator, rhs.m_allocator ); |
| 4338 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 4339 |
} |
| 4340 |
|
| 4341 |
//=== VK_VERSION_1_0 === |
| 4342 |
|
| 4343 |
// wrapper function for command vkGetDeviceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceProcAddr.html |
| 4344 |
VULKAN_HPP_NODISCARD PFN_VoidFunction getProcAddr( const std::string & name ) const VULKAN_HPP_NOEXCEPT; |
| 4345 |
|
| 4346 |
// wrapper function for command vkGetDeviceQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue.html |
| 4347 |
VULKAN_HPP_NODISCARD Queue getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4348 |
|
| 4349 |
// wrapper function for command vkDeviceWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeviceWaitIdle.html |
| 4350 |
typename ResultValueType<void>::type waitIdle() const; |
| 4351 |
|
| 4352 |
// wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html |
| 4353 |
VULKAN_HPP_NODISCARD typename ResultValueType<DeviceMemory>::type |
| 4354 |
allocateMemory( MemoryAllocateInfo const & allocateInfo, |
| 4355 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4356 |
|
| 4357 |
// wrapper function for command vkFlushMappedMemoryRanges, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFlushMappedMemoryRanges.html |
| 4358 |
typename ResultValueType<void>::type flushMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> const & memoryRanges ) const; |
| 4359 |
|
| 4360 |
// wrapper function for command vkInvalidateMappedMemoryRanges, see |
| 4361 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkInvalidateMappedMemoryRanges.html |
| 4362 |
typename ResultValueType<void>::type invalidateMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> const & memoryRanges ) const; |
| 4363 |
|
| 4364 |
// wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html |
| 4365 |
VULKAN_HPP_NODISCARD typename ResultValueType<Fence>::type |
| 4366 |
createFence( FenceCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4367 |
|
| 4368 |
// wrapper function for command vkResetFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetFences.html |
| 4369 |
typename ResultValueType<void>::type resetFences( ArrayProxy<const VULKAN_HPP_NAMESPACE::Fence> const & fences ) const; |
| 4370 |
|
| 4371 |
// wrapper function for command vkWaitForFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForFences.html |
| 4372 |
VULKAN_HPP_NODISCARD Result waitForFences( ArrayProxy<const VULKAN_HPP_NAMESPACE::Fence> const & fences, Bool32 waitAll, uint64_t timeout ) const; |
| 4373 |
|
| 4374 |
// wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html |
| 4375 |
VULKAN_HPP_NODISCARD typename ResultValueType<Semaphore>::type |
| 4376 |
createSemaphore( SemaphoreCreateInfo const & createInfo, |
| 4377 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4378 |
|
| 4379 |
// wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html |
| 4380 |
VULKAN_HPP_NODISCARD typename ResultValueType<QueryPool>::type |
| 4381 |
createQueryPool( QueryPoolCreateInfo const & createInfo, |
| 4382 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4383 |
|
| 4384 |
// wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html |
| 4385 |
VULKAN_HPP_NODISCARD typename ResultValueType<Buffer>::type |
| 4386 |
createBuffer( BufferCreateInfo const & createInfo, |
| 4387 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4388 |
|
| 4389 |
// wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html |
| 4390 |
VULKAN_HPP_NODISCARD typename ResultValueType<Image>::type |
| 4391 |
createImage( ImageCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4392 |
|
| 4393 |
// wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html |
| 4394 |
VULKAN_HPP_NODISCARD typename ResultValueType<ImageView>::type |
| 4395 |
createImageView( ImageViewCreateInfo const & createInfo, |
| 4396 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4397 |
|
| 4398 |
// wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html |
| 4399 |
VULKAN_HPP_NODISCARD typename ResultValueType<CommandPool>::type |
| 4400 |
createCommandPool( CommandPoolCreateInfo const & createInfo, |
| 4401 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4402 |
|
| 4403 |
// wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html |
| 4404 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<CommandBuffer>>::type |
| 4405 |
allocateCommandBuffers( CommandBufferAllocateInfo const & allocateInfo ) const; |
| 4406 |
|
| 4407 |
// wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html |
| 4408 |
VULKAN_HPP_NODISCARD typename ResultValueType<Event>::type |
| 4409 |
createEvent( EventCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4410 |
|
| 4411 |
// wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html |
| 4412 |
VULKAN_HPP_NODISCARD typename ResultValueType<BufferView>::type |
| 4413 |
createBufferView( BufferViewCreateInfo const & createInfo, |
| 4414 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4415 |
|
| 4416 |
// wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html |
| 4417 |
VULKAN_HPP_NODISCARD typename ResultValueType<ShaderModule>::type |
| 4418 |
createShaderModule( ShaderModuleCreateInfo const & createInfo, |
| 4419 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4420 |
|
| 4421 |
// wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html |
| 4422 |
VULKAN_HPP_NODISCARD typename ResultValueType<PipelineCache>::type |
| 4423 |
createPipelineCache( PipelineCacheCreateInfo const & createInfo, |
| 4424 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4425 |
|
| 4426 |
// wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html |
| 4427 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Pipeline>>::type |
| 4428 |
createComputePipelines( Optional<const PipelineCache> const & pipelineCache, |
| 4429 |
ArrayProxy<ComputePipelineCreateInfo> const & createInfos, |
| 4430 |
Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 4431 |
|
| 4432 |
// wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html |
| 4433 |
VULKAN_HPP_NODISCARD typename ResultValueType<Pipeline>::type |
| 4434 |
createComputePipeline( Optional<const PipelineCache> const & pipelineCache, |
| 4435 |
ComputePipelineCreateInfo const & createInfo, |
| 4436 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4437 |
|
| 4438 |
// wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html |
| 4439 |
VULKAN_HPP_NODISCARD typename ResultValueType<PipelineLayout>::type |
| 4440 |
createPipelineLayout( PipelineLayoutCreateInfo const & createInfo, |
| 4441 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4442 |
|
| 4443 |
// wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html |
| 4444 |
VULKAN_HPP_NODISCARD typename ResultValueType<Sampler>::type |
| 4445 |
createSampler( SamplerCreateInfo const & createInfo, |
| 4446 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4447 |
|
| 4448 |
// wrapper function for command vkCreateDescriptorSetLayout, see |
| 4449 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html |
| 4450 |
VULKAN_HPP_NODISCARD typename ResultValueType<DescriptorSetLayout>::type |
| 4451 |
createDescriptorSetLayout( DescriptorSetLayoutCreateInfo const & createInfo, |
| 4452 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4453 |
|
| 4454 |
// wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html |
| 4455 |
VULKAN_HPP_NODISCARD typename ResultValueType<DescriptorPool>::type |
| 4456 |
createDescriptorPool( DescriptorPoolCreateInfo const & createInfo, |
| 4457 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4458 |
|
| 4459 |
// wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html |
| 4460 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DescriptorSet>>::type |
| 4461 |
allocateDescriptorSets( DescriptorSetAllocateInfo const & allocateInfo ) const; |
| 4462 |
|
| 4463 |
// wrapper function for command vkUpdateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSets.html |
| 4464 |
void updateDescriptorSets( ArrayProxy<const WriteDescriptorSet> const & descriptorWrites, |
| 4465 |
ArrayProxy<const CopyDescriptorSet> const & descriptorCopies ) const VULKAN_HPP_NOEXCEPT; |
| 4466 |
|
| 4467 |
// wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html |
| 4468 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Pipeline>>::type |
| 4469 |
createGraphicsPipelines( Optional<const PipelineCache> const & pipelineCache, |
| 4470 |
ArrayProxy<GraphicsPipelineCreateInfo> const & createInfos, |
| 4471 |
Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 4472 |
|
| 4473 |
// wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html |
| 4474 |
VULKAN_HPP_NODISCARD typename ResultValueType<Pipeline>::type |
| 4475 |
createGraphicsPipeline( Optional<const PipelineCache> const & pipelineCache, |
| 4476 |
GraphicsPipelineCreateInfo const & createInfo, |
| 4477 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4478 |
|
| 4479 |
// wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html |
| 4480 |
VULKAN_HPP_NODISCARD typename ResultValueType<Framebuffer>::type |
| 4481 |
createFramebuffer( FramebufferCreateInfo const & createInfo, |
| 4482 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4483 |
|
| 4484 |
// wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html |
| 4485 |
VULKAN_HPP_NODISCARD typename ResultValueType<RenderPass>::type |
| 4486 |
createRenderPass( RenderPassCreateInfo const & createInfo, |
| 4487 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4488 |
|
| 4489 |
//=== VK_VERSION_1_1 === |
| 4490 |
|
| 4491 |
// wrapper function for command vkBindBufferMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2.html |
| 4492 |
typename ResultValueType<void>::type bindBufferMemory2( ArrayProxy<const BindBufferMemoryInfo> const & bindInfos ) const; |
| 4493 |
|
| 4494 |
// wrapper function for command vkBindImageMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2.html |
| 4495 |
typename ResultValueType<void>::type bindImageMemory2( ArrayProxy<const BindImageMemoryInfo> const & bindInfos ) const; |
| 4496 |
|
| 4497 |
// wrapper function for command vkGetDeviceGroupPeerMemoryFeatures, see |
| 4498 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeatures.html |
| 4499 |
VULKAN_HPP_NODISCARD PeerMemoryFeatureFlags getGroupPeerMemoryFeatures( uint32_t heapIndex, |
| 4500 |
uint32_t localDeviceIndex, |
| 4501 |
uint32_t remoteDeviceIndex ) const VULKAN_HPP_NOEXCEPT; |
| 4502 |
|
| 4503 |
// wrapper function for command vkGetImageMemoryRequirements2, see |
| 4504 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html |
| 4505 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4506 |
|
| 4507 |
// wrapper function for command vkGetImageMemoryRequirements2, see |
| 4508 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html |
| 4509 |
template <typename X, typename Y, typename... Z> |
| 4510 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4511 |
|
| 4512 |
// wrapper function for command vkGetBufferMemoryRequirements2, see |
| 4513 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html |
| 4514 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4515 |
|
| 4516 |
// wrapper function for command vkGetBufferMemoryRequirements2, see |
| 4517 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html |
| 4518 |
template <typename X, typename Y, typename... Z> |
| 4519 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4520 |
|
| 4521 |
// wrapper function for command vkGetImageSparseMemoryRequirements2, see |
| 4522 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html |
| 4523 |
VULKAN_HPP_NODISCARD std::vector<SparseImageMemoryRequirements2> |
| 4524 |
getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info ) const; |
| 4525 |
|
| 4526 |
// wrapper function for command vkGetDeviceQueue2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue2.html |
| 4527 |
VULKAN_HPP_NODISCARD Queue getQueue2( DeviceQueueInfo2 const & queueInfo ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4528 |
|
| 4529 |
// wrapper function for command vkCreateDescriptorUpdateTemplate, see |
| 4530 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html |
| 4531 |
VULKAN_HPP_NODISCARD typename ResultValueType<DescriptorUpdateTemplate>::type |
| 4532 |
createDescriptorUpdateTemplate( DescriptorUpdateTemplateCreateInfo const & createInfo, |
| 4533 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4534 |
|
| 4535 |
// wrapper function for command vkGetDescriptorSetLayoutSupport, see |
| 4536 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html |
| 4537 |
VULKAN_HPP_NODISCARD DescriptorSetLayoutSupport |
| 4538 |
getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 4539 |
|
| 4540 |
// wrapper function for command vkGetDescriptorSetLayoutSupport, see |
| 4541 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html |
| 4542 |
template <typename X, typename Y, typename... Z> |
| 4543 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 4544 |
getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 4545 |
|
| 4546 |
// wrapper function for command vkCreateSamplerYcbcrConversion, see |
| 4547 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html |
| 4548 |
VULKAN_HPP_NODISCARD typename ResultValueType<SamplerYcbcrConversion>::type |
| 4549 |
createSamplerYcbcrConversion( SamplerYcbcrConversionCreateInfo const & createInfo, |
| 4550 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4551 |
|
| 4552 |
//=== VK_VERSION_1_2 === |
| 4553 |
|
| 4554 |
// wrapper function for command vkWaitSemaphores, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphores.html |
| 4555 |
VULKAN_HPP_NODISCARD Result waitSemaphores( const SemaphoreWaitInfo & waitInfo, uint64_t timeout ) const; |
| 4556 |
|
| 4557 |
// wrapper function for command vkSignalSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphore.html |
| 4558 |
typename ResultValueType<void>::type signalSemaphore( const SemaphoreSignalInfo & signalInfo ) const; |
| 4559 |
|
| 4560 |
// wrapper function for command vkGetBufferDeviceAddress, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddress.html |
| 4561 |
VULKAN_HPP_NODISCARD DeviceAddress getBufferAddress( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 4562 |
|
| 4563 |
// wrapper function for command vkGetBufferOpaqueCaptureAddress, see |
| 4564 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddress.html |
| 4565 |
VULKAN_HPP_NODISCARD uint64_t getBufferOpaqueCaptureAddress( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 4566 |
|
| 4567 |
// wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddress, see |
| 4568 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html |
| 4569 |
VULKAN_HPP_NODISCARD uint64_t getMemoryOpaqueCaptureAddress( const DeviceMemoryOpaqueCaptureAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 4570 |
|
| 4571 |
// wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html |
| 4572 |
VULKAN_HPP_NODISCARD typename ResultValueType<RenderPass>::type |
| 4573 |
createRenderPass2( RenderPassCreateInfo2 const & createInfo, |
| 4574 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4575 |
|
| 4576 |
//=== VK_VERSION_1_3 === |
| 4577 |
|
| 4578 |
// wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html |
| 4579 |
VULKAN_HPP_NODISCARD typename ResultValueType<PrivateDataSlot>::type |
| 4580 |
createPrivateDataSlot( PrivateDataSlotCreateInfo const & createInfo, |
| 4581 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4582 |
|
| 4583 |
// wrapper function for command vkSetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateData.html |
| 4584 |
typename ResultValueType<void>::type |
| 4585 |
setPrivateData( ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot, uint64_t data ) const; |
| 4586 |
|
| 4587 |
// wrapper function for command vkGetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateData.html |
| 4588 |
VULKAN_HPP_NODISCARD uint64_t getPrivateData( ObjectType objectType, |
| 4589 |
uint64_t objectHandle, |
| 4590 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot ) const VULKAN_HPP_NOEXCEPT; |
| 4591 |
|
| 4592 |
// wrapper function for command vkGetDeviceBufferMemoryRequirements, see |
| 4593 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html |
| 4594 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirements( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 4595 |
|
| 4596 |
// wrapper function for command vkGetDeviceBufferMemoryRequirements, see |
| 4597 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html |
| 4598 |
template <typename X, typename Y, typename... Z> |
| 4599 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getBufferMemoryRequirements( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 4600 |
|
| 4601 |
// wrapper function for command vkGetDeviceImageMemoryRequirements, see |
| 4602 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html |
| 4603 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirements( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 4604 |
|
| 4605 |
// wrapper function for command vkGetDeviceImageMemoryRequirements, see |
| 4606 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html |
| 4607 |
template <typename X, typename Y, typename... Z> |
| 4608 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getImageMemoryRequirements( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 4609 |
|
| 4610 |
// wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see |
| 4611 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html |
| 4612 |
VULKAN_HPP_NODISCARD std::vector<SparseImageMemoryRequirements2> getImageSparseMemoryRequirements( const DeviceImageMemoryRequirements & info ) const; |
| 4613 |
|
| 4614 |
//=== VK_VERSION_1_4 === |
| 4615 |
|
| 4616 |
// wrapper function for command vkMapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2.html |
| 4617 |
VULKAN_HPP_NODISCARD typename ResultValueType<void *>::type mapMemory2( const MemoryMapInfo & memoryMapInfo ) const; |
| 4618 |
|
| 4619 |
// wrapper function for command vkUnmapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2.html |
| 4620 |
typename ResultValueType<void>::type unmapMemory2( const MemoryUnmapInfo & memoryUnmapInfo ) const; |
| 4621 |
|
| 4622 |
// wrapper function for command vkGetDeviceImageSubresourceLayout, see |
| 4623 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html |
| 4624 |
VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayout( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 4625 |
|
| 4626 |
// wrapper function for command vkGetDeviceImageSubresourceLayout, see |
| 4627 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html |
| 4628 |
template <typename X, typename Y, typename... Z> |
| 4629 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getImageSubresourceLayout( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 4630 |
|
| 4631 |
// wrapper function for command vkCopyMemoryToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImage.html |
| 4632 |
typename ResultValueType<void>::type copyMemoryToImage( const CopyMemoryToImageInfo & copyMemoryToImageInfo ) const; |
| 4633 |
|
| 4634 |
// wrapper function for command vkCopyImageToMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemory.html |
| 4635 |
typename ResultValueType<void>::type copyImageToMemory( const CopyImageToMemoryInfo & copyImageToMemoryInfo ) const; |
| 4636 |
|
| 4637 |
// wrapper function for command vkCopyImageToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImage.html |
| 4638 |
typename ResultValueType<void>::type copyImageToImage( const CopyImageToImageInfo & copyImageToImageInfo ) const; |
| 4639 |
|
| 4640 |
// wrapper function for command vkTransitionImageLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayout.html |
| 4641 |
typename ResultValueType<void>::type transitionImageLayout( ArrayProxy<const HostImageLayoutTransitionInfo> const & transitions ) const; |
| 4642 |
|
| 4643 |
// wrapper function for command vkGetRenderingAreaGranularity, see |
| 4644 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularity.html |
| 4645 |
VULKAN_HPP_NODISCARD Extent2D getRenderingAreaGranularity( const RenderingAreaInfo & renderingAreaInfo ) const VULKAN_HPP_NOEXCEPT; |
| 4646 |
|
| 4647 |
//=== VK_KHR_swapchain === |
| 4648 |
|
| 4649 |
// wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html |
| 4650 |
VULKAN_HPP_NODISCARD typename ResultValueType<SwapchainKHR>::type |
| 4651 |
createSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, |
| 4652 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4653 |
|
| 4654 |
// wrapper function for command vkGetDeviceGroupPresentCapabilitiesKHR, see |
| 4655 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html |
| 4656 |
VULKAN_HPP_NODISCARD typename ResultValueType<DeviceGroupPresentCapabilitiesKHR>::type getGroupPresentCapabilitiesKHR() const; |
| 4657 |
|
| 4658 |
// wrapper function for command vkGetDeviceGroupSurfacePresentModesKHR, see |
| 4659 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html |
| 4660 |
VULKAN_HPP_NODISCARD typename ResultValueType<DeviceGroupPresentModeFlagsKHR>::type |
| 4661 |
getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const; |
| 4662 |
|
| 4663 |
// wrapper function for command vkAcquireNextImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImage2KHR.html |
| 4664 |
VULKAN_HPP_NODISCARD ResultValue<uint32_t> acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo ) const; |
| 4665 |
|
| 4666 |
//=== VK_KHR_display_swapchain === |
| 4667 |
|
| 4668 |
// wrapper function for command vkCreateSharedSwapchainsKHR, see |
| 4669 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html |
| 4670 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<SwapchainKHR>>::type |
| 4671 |
createSharedSwapchainsKHR( ArrayProxy<SwapchainCreateInfoKHR> const & createInfos, Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 4672 |
|
| 4673 |
// wrapper function for command vkCreateSharedSwapchainsKHR, see |
| 4674 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html |
| 4675 |
VULKAN_HPP_NODISCARD typename ResultValueType<SwapchainKHR>::type |
| 4676 |
createSharedSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, |
| 4677 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4678 |
|
| 4679 |
//=== VK_EXT_debug_marker === |
| 4680 |
|
| 4681 |
// wrapper function for command vkDebugMarkerSetObjectTagEXT, see |
| 4682 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectTagEXT.html |
| 4683 |
typename ResultValueType<void>::type debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo ) const; |
| 4684 |
|
| 4685 |
// wrapper function for command vkDebugMarkerSetObjectNameEXT, see |
| 4686 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectNameEXT.html |
| 4687 |
typename ResultValueType<void>::type debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo ) const; |
| 4688 |
|
| 4689 |
//=== VK_KHR_video_queue === |
| 4690 |
|
| 4691 |
// wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html |
| 4692 |
VULKAN_HPP_NODISCARD typename ResultValueType<VideoSessionKHR>::type |
| 4693 |
createVideoSessionKHR( VideoSessionCreateInfoKHR const & createInfo, |
| 4694 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4695 |
|
| 4696 |
// wrapper function for command vkCreateVideoSessionParametersKHR, see |
| 4697 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html |
| 4698 |
VULKAN_HPP_NODISCARD typename ResultValueType<VideoSessionParametersKHR>::type |
| 4699 |
createVideoSessionParametersKHR( VideoSessionParametersCreateInfoKHR const & createInfo, |
| 4700 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4701 |
|
| 4702 |
//=== VK_NVX_binary_import === |
| 4703 |
|
| 4704 |
// wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html |
| 4705 |
VULKAN_HPP_NODISCARD typename ResultValueType<CuModuleNVX>::type |
| 4706 |
createCuModuleNVX( CuModuleCreateInfoNVX const & createInfo, |
| 4707 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4708 |
|
| 4709 |
// wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html |
| 4710 |
VULKAN_HPP_NODISCARD typename ResultValueType<CuFunctionNVX>::type |
| 4711 |
createCuFunctionNVX( CuFunctionCreateInfoNVX const & createInfo, |
| 4712 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4713 |
|
| 4714 |
//=== VK_NVX_image_view_handle === |
| 4715 |
|
| 4716 |
// wrapper function for command vkGetImageViewHandleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandleNVX.html |
| 4717 |
VULKAN_HPP_NODISCARD uint32_t getImageViewHandleNVX( const ImageViewHandleInfoNVX & info ) const VULKAN_HPP_NOEXCEPT; |
| 4718 |
|
| 4719 |
// wrapper function for command vkGetImageViewHandle64NVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandle64NVX.html |
| 4720 |
VULKAN_HPP_NODISCARD uint64_t getImageViewHandle64NVX( const ImageViewHandleInfoNVX & info ) const VULKAN_HPP_NOEXCEPT; |
| 4721 |
|
| 4722 |
// wrapper function for command vkGetDeviceCombinedImageSamplerIndexNVX, see |
| 4723 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceCombinedImageSamplerIndexNVX.html |
| 4724 |
VULKAN_HPP_NODISCARD uint64_t getCombinedImageSamplerIndexNVX( uint64_t imageViewIndex, uint64_t samplerIndex ) const VULKAN_HPP_NOEXCEPT; |
| 4725 |
|
| 4726 |
//=== VK_KHR_device_group === |
| 4727 |
|
| 4728 |
// wrapper function for command vkGetDeviceGroupPeerMemoryFeaturesKHR, see |
| 4729 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html |
| 4730 |
VULKAN_HPP_NODISCARD PeerMemoryFeatureFlags getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, |
| 4731 |
uint32_t localDeviceIndex, |
| 4732 |
uint32_t remoteDeviceIndex ) const VULKAN_HPP_NOEXCEPT; |
| 4733 |
|
| 4734 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 4735 |
//=== VK_KHR_external_memory_win32 === |
| 4736 |
|
| 4737 |
// wrapper function for command vkGetMemoryWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleKHR.html |
| 4738 |
VULKAN_HPP_NODISCARD typename ResultValueType<HANDLE>::type getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo ) const; |
| 4739 |
|
| 4740 |
// wrapper function for command vkGetMemoryWin32HandlePropertiesKHR, see |
| 4741 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandlePropertiesKHR.html |
| 4742 |
VULKAN_HPP_NODISCARD typename ResultValueType<MemoryWin32HandlePropertiesKHR>::type |
| 4743 |
getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle ) const; |
| 4744 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 4745 |
|
| 4746 |
//=== VK_KHR_external_memory_fd === |
| 4747 |
|
| 4748 |
// wrapper function for command vkGetMemoryFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdKHR.html |
| 4749 |
VULKAN_HPP_NODISCARD typename ResultValueType<int>::type getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo ) const; |
| 4750 |
|
| 4751 |
// wrapper function for command vkGetMemoryFdPropertiesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdPropertiesKHR.html |
| 4752 |
VULKAN_HPP_NODISCARD typename ResultValueType<MemoryFdPropertiesKHR>::type getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, |
| 4753 |
int fd ) const; |
| 4754 |
|
| 4755 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 4756 |
//=== VK_KHR_external_semaphore_win32 === |
| 4757 |
|
| 4758 |
// wrapper function for command vkImportSemaphoreWin32HandleKHR, see |
| 4759 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreWin32HandleKHR.html |
| 4760 |
typename ResultValueType<void>::type importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo ) const; |
| 4761 |
|
| 4762 |
// wrapper function for command vkGetSemaphoreWin32HandleKHR, see |
| 4763 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreWin32HandleKHR.html |
| 4764 |
VULKAN_HPP_NODISCARD typename ResultValueType<HANDLE>::type getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo ) const; |
| 4765 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 4766 |
|
| 4767 |
//=== VK_KHR_external_semaphore_fd === |
| 4768 |
|
| 4769 |
// wrapper function for command vkImportSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreFdKHR.html |
| 4770 |
typename ResultValueType<void>::type importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo ) const; |
| 4771 |
|
| 4772 |
// wrapper function for command vkGetSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreFdKHR.html |
| 4773 |
VULKAN_HPP_NODISCARD typename ResultValueType<int>::type getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo ) const; |
| 4774 |
|
| 4775 |
//=== VK_KHR_descriptor_update_template === |
| 4776 |
|
| 4777 |
// wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see |
| 4778 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html |
| 4779 |
VULKAN_HPP_NODISCARD typename ResultValueType<DescriptorUpdateTemplate>::type |
| 4780 |
createDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateCreateInfo const & createInfo, |
| 4781 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4782 |
|
| 4783 |
// wrapper function for command vkDestroyDescriptorUpdateTemplateKHR, see |
| 4784 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplateKHR.html |
| 4785 |
void |
| 4786 |
destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), |
| 4787 |
Optional<const AllocationCallbacks> allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 4788 |
|
| 4789 |
//=== VK_EXT_display_control === |
| 4790 |
|
| 4791 |
// wrapper function for command vkDisplayPowerControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDisplayPowerControlEXT.html |
| 4792 |
typename ResultValueType<void>::type displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, |
| 4793 |
const DisplayPowerInfoEXT & displayPowerInfo ) const; |
| 4794 |
|
| 4795 |
// wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html |
| 4796 |
VULKAN_HPP_NODISCARD typename ResultValueType<Fence>::type |
| 4797 |
registerEventEXT( DeviceEventInfoEXT const & deviceEventInfo, |
| 4798 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4799 |
|
| 4800 |
// wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html |
| 4801 |
VULKAN_HPP_NODISCARD typename ResultValueType<Fence>::type |
| 4802 |
registerDisplayEventEXT( DisplayKHR const & display, |
| 4803 |
DisplayEventInfoEXT const & displayEventInfo, |
| 4804 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4805 |
|
| 4806 |
//=== VK_EXT_hdr_metadata === |
| 4807 |
|
| 4808 |
// wrapper function for command vkSetHdrMetadataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetHdrMetadataEXT.html |
| 4809 |
void setHdrMetadataEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::SwapchainKHR> const & swapchains, |
| 4810 |
ArrayProxy<const HdrMetadataEXT> const & metadata ) const; |
| 4811 |
|
| 4812 |
//=== VK_KHR_create_renderpass2 === |
| 4813 |
|
| 4814 |
// wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html |
| 4815 |
VULKAN_HPP_NODISCARD typename ResultValueType<RenderPass>::type |
| 4816 |
createRenderPass2KHR( RenderPassCreateInfo2 const & createInfo, |
| 4817 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4818 |
|
| 4819 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 4820 |
//=== VK_KHR_external_fence_win32 === |
| 4821 |
|
| 4822 |
// wrapper function for command vkImportFenceWin32HandleKHR, see |
| 4823 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceWin32HandleKHR.html |
| 4824 |
typename ResultValueType<void>::type importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo ) const; |
| 4825 |
|
| 4826 |
// wrapper function for command vkGetFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceWin32HandleKHR.html |
| 4827 |
VULKAN_HPP_NODISCARD typename ResultValueType<HANDLE>::type getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo ) const; |
| 4828 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 4829 |
|
| 4830 |
//=== VK_KHR_external_fence_fd === |
| 4831 |
|
| 4832 |
// wrapper function for command vkImportFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceFdKHR.html |
| 4833 |
typename ResultValueType<void>::type importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo ) const; |
| 4834 |
|
| 4835 |
// wrapper function for command vkGetFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceFdKHR.html |
| 4836 |
VULKAN_HPP_NODISCARD typename ResultValueType<int>::type getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo ) const; |
| 4837 |
|
| 4838 |
//=== VK_KHR_performance_query === |
| 4839 |
|
| 4840 |
// wrapper function for command vkAcquireProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireProfilingLockKHR.html |
| 4841 |
typename ResultValueType<void>::type acquireProfilingLockKHR( const AcquireProfilingLockInfoKHR & info ) const; |
| 4842 |
|
| 4843 |
// wrapper function for command vkReleaseProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseProfilingLockKHR.html |
| 4844 |
void releaseProfilingLockKHR() const VULKAN_HPP_NOEXCEPT; |
| 4845 |
|
| 4846 |
//=== VK_EXT_debug_utils === |
| 4847 |
|
| 4848 |
// wrapper function for command vkSetDebugUtilsObjectNameEXT, see |
| 4849 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html |
| 4850 |
typename ResultValueType<void>::type setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo ) const; |
| 4851 |
|
| 4852 |
// wrapper function for command vkSetDebugUtilsObjectNameEXT, see |
| 4853 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html |
| 4854 |
template <typename HandleType> |
| 4855 |
typename ResultValueType<void>::type setDebugUtilsObjectNameEXT( HandleType const & handle, std::string const & name ) const; |
| 4856 |
|
| 4857 |
// wrapper function for command vkSetDebugUtilsObjectTagEXT, see |
| 4858 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html |
| 4859 |
typename ResultValueType<void>::type setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo ) const; |
| 4860 |
|
| 4861 |
// wrapper function for command vkSetDebugUtilsObjectTagEXT, see |
| 4862 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html |
| 4863 |
template <typename HandleType, typename TagType> |
| 4864 |
typename ResultValueType<void>::type setDebugUtilsObjectTagEXT( HandleType const & handle, uint64_t name, TagType const & tag ) const; |
| 4865 |
|
| 4866 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 4867 |
//=== VK_ANDROID_external_memory_android_hardware_buffer === |
| 4868 |
|
| 4869 |
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see |
| 4870 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html |
| 4871 |
VULKAN_HPP_NODISCARD Result getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer * buffer, |
| 4872 |
AndroidHardwareBufferPropertiesANDROID * pProperties ) const VULKAN_HPP_NOEXCEPT; |
| 4873 |
|
| 4874 |
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see |
| 4875 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html |
| 4876 |
VULKAN_HPP_NODISCARD typename ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type |
| 4877 |
getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const; |
| 4878 |
|
| 4879 |
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see |
| 4880 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html |
| 4881 |
template <typename X, typename Y, typename... Z> |
| 4882 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 4883 |
getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const; |
| 4884 |
|
| 4885 |
// wrapper function for command vkGetMemoryAndroidHardwareBufferANDROID, see |
| 4886 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryAndroidHardwareBufferANDROID.html |
| 4887 |
VULKAN_HPP_NODISCARD typename ResultValueType<struct AHardwareBuffer *>::type |
| 4888 |
getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info ) const; |
| 4889 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 4890 |
|
| 4891 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 4892 |
//=== VK_AMDX_shader_enqueue === |
| 4893 |
|
| 4894 |
// wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see |
| 4895 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html |
| 4896 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Pipeline>>::type |
| 4897 |
createExecutionGraphPipelinesAMDX( Optional<const PipelineCache> const & pipelineCache, |
| 4898 |
ArrayProxy<ExecutionGraphPipelineCreateInfoAMDX> const & createInfos, |
| 4899 |
Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 4900 |
|
| 4901 |
// wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see |
| 4902 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html |
| 4903 |
VULKAN_HPP_NODISCARD typename ResultValueType<Pipeline>::type |
| 4904 |
createExecutionGraphPipelineAMDX( Optional<const PipelineCache> const & pipelineCache, |
| 4905 |
ExecutionGraphPipelineCreateInfoAMDX const & createInfo, |
| 4906 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4907 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 4908 |
|
| 4909 |
//=== VK_EXT_descriptor_heap === |
| 4910 |
|
| 4911 |
// wrapper function for command vkWriteSamplerDescriptorsEXT, see |
| 4912 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteSamplerDescriptorsEXT.html |
| 4913 |
typename ResultValueType<void>::type writeSamplerDescriptorsEXT( ArrayProxy<const SamplerCreateInfo> const & samplers, |
| 4914 |
ArrayProxy<const HostAddressRangeEXT> const & descriptors ) const; |
| 4915 |
|
| 4916 |
// wrapper function for command vkWriteResourceDescriptorsEXT, see |
| 4917 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteResourceDescriptorsEXT.html |
| 4918 |
typename ResultValueType<void>::type writeResourceDescriptorsEXT( ArrayProxy<const ResourceDescriptorInfoEXT> const & resources, |
| 4919 |
ArrayProxy<const HostAddressRangeEXT> const & descriptors ) const; |
| 4920 |
|
| 4921 |
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see |
| 4922 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html |
| 4923 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT>>::type |
| 4924 |
getImageOpaqueCaptureDataEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::Image> const & images ) const; |
| 4925 |
|
| 4926 |
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see |
| 4927 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html |
| 4928 |
VULKAN_HPP_NODISCARD typename ResultValueType<HostAddressRangeEXT>::type getImageOpaqueCaptureDataEXT( const VULKAN_HPP_NAMESPACE::Image & image ) const; |
| 4929 |
|
| 4930 |
// wrapper function for command vkRegisterCustomBorderColorEXT, see |
| 4931 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html |
| 4932 |
VULKAN_HPP_NODISCARD typename ResultValueType<uint32_t>::type registerCustomBorderColorEXT( const SamplerCustomBorderColorCreateInfoEXT & borderColor, |
| 4933 |
Bool32 requestIndex ) const; |
| 4934 |
|
| 4935 |
// wrapper function for command vkUnregisterCustomBorderColorEXT, see |
| 4936 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnregisterCustomBorderColorEXT.html |
| 4937 |
void unregisterCustomBorderColorEXT( uint32_t index ) const VULKAN_HPP_NOEXCEPT; |
| 4938 |
|
| 4939 |
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see |
| 4940 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html |
| 4941 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<HostAddressRangeEXT>>::type |
| 4942 |
getTensorOpaqueCaptureDataARM( ArrayProxy<const VULKAN_HPP_NAMESPACE::TensorARM> const & tensors ) const; |
| 4943 |
|
| 4944 |
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see |
| 4945 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html |
| 4946 |
VULKAN_HPP_NODISCARD typename ResultValueType<HostAddressRangeEXT>::type |
| 4947 |
getTensorOpaqueCaptureDataARM( const VULKAN_HPP_NAMESPACE::TensorARM & tensor ) const; |
| 4948 |
|
| 4949 |
//=== VK_KHR_get_memory_requirements2 === |
| 4950 |
|
| 4951 |
// wrapper function for command vkGetImageMemoryRequirements2KHR, see |
| 4952 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html |
| 4953 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4954 |
|
| 4955 |
// wrapper function for command vkGetImageMemoryRequirements2KHR, see |
| 4956 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html |
| 4957 |
template <typename X, typename Y, typename... Z> |
| 4958 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4959 |
|
| 4960 |
// wrapper function for command vkGetBufferMemoryRequirements2KHR, see |
| 4961 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html |
| 4962 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4963 |
|
| 4964 |
// wrapper function for command vkGetBufferMemoryRequirements2KHR, see |
| 4965 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html |
| 4966 |
template <typename X, typename Y, typename... Z> |
| 4967 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT; |
| 4968 |
|
| 4969 |
// wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see |
| 4970 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html |
| 4971 |
VULKAN_HPP_NODISCARD std::vector<SparseImageMemoryRequirements2> |
| 4972 |
getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info ) const; |
| 4973 |
|
| 4974 |
//=== VK_KHR_acceleration_structure === |
| 4975 |
|
| 4976 |
// wrapper function for command vkCreateAccelerationStructureKHR, see |
| 4977 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html |
| 4978 |
VULKAN_HPP_NODISCARD typename ResultValueType<AccelerationStructureKHR>::type |
| 4979 |
createAccelerationStructureKHR( AccelerationStructureCreateInfoKHR const & createInfo, |
| 4980 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 4981 |
|
| 4982 |
// wrapper function for command vkBuildAccelerationStructuresKHR, see |
| 4983 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildAccelerationStructuresKHR.html |
| 4984 |
VULKAN_HPP_NODISCARD Result |
| 4985 |
buildAccelerationStructuresKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 4986 |
ArrayProxy<const AccelerationStructureBuildGeometryInfoKHR> const & infos, |
| 4987 |
ArrayProxy<const AccelerationStructureBuildRangeInfoKHR * const> const & pBuildRangeInfos ) const; |
| 4988 |
|
| 4989 |
// wrapper function for command vkCopyAccelerationStructureKHR, see |
| 4990 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureKHR.html |
| 4991 |
VULKAN_HPP_NODISCARD Result copyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 4992 |
const CopyAccelerationStructureInfoKHR & info ) const; |
| 4993 |
|
| 4994 |
// wrapper function for command vkCopyAccelerationStructureToMemoryKHR, see |
| 4995 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureToMemoryKHR.html |
| 4996 |
VULKAN_HPP_NODISCARD Result copyAccelerationStructureToMemoryKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 4997 |
const CopyAccelerationStructureToMemoryInfoKHR & info ) const; |
| 4998 |
|
| 4999 |
// wrapper function for command vkCopyMemoryToAccelerationStructureKHR, see |
| 5000 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToAccelerationStructureKHR.html |
| 5001 |
VULKAN_HPP_NODISCARD Result copyMemoryToAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 5002 |
const CopyMemoryToAccelerationStructureInfoKHR & info ) const; |
| 5003 |
|
| 5004 |
// wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see |
| 5005 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html |
| 5006 |
template <typename DataType> |
| 5007 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataType>>::type |
| 5008 |
writeAccelerationStructuresPropertiesKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, |
| 5009 |
QueryType queryType, |
| 5010 |
size_t dataSize, |
| 5011 |
size_t stride ) const; |
| 5012 |
|
| 5013 |
// wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see |
| 5014 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html |
| 5015 |
template <typename DataType> |
| 5016 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type writeAccelerationStructuresPropertyKHR( |
| 5017 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, QueryType queryType, size_t stride ) const; |
| 5018 |
|
| 5019 |
// wrapper function for command vkGetAccelerationStructureDeviceAddressKHR, see |
| 5020 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureDeviceAddressKHR.html |
| 5021 |
VULKAN_HPP_NODISCARD DeviceAddress getAccelerationStructureAddressKHR( const AccelerationStructureDeviceAddressInfoKHR & info ) const VULKAN_HPP_NOEXCEPT; |
| 5022 |
|
| 5023 |
// wrapper function for command vkGetDeviceAccelerationStructureCompatibilityKHR, see |
| 5024 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html |
| 5025 |
VULKAN_HPP_NODISCARD AccelerationStructureCompatibilityKHR |
| 5026 |
getAccelerationStructureCompatibilityKHR( const AccelerationStructureVersionInfoKHR & versionInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5027 |
|
| 5028 |
// wrapper function for command vkGetAccelerationStructureBuildSizesKHR, see |
| 5029 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html |
| 5030 |
VULKAN_HPP_NODISCARD AccelerationStructureBuildSizesInfoKHR |
| 5031 |
getAccelerationStructureBuildSizesKHR( AccelerationStructureBuildTypeKHR buildType, |
| 5032 |
const AccelerationStructureBuildGeometryInfoKHR & buildInfo, |
| 5033 |
ArrayProxy<const uint32_t> const & maxPrimitiveCounts VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 5034 |
|
| 5035 |
//=== VK_KHR_ray_tracing_pipeline === |
| 5036 |
|
| 5037 |
// wrapper function for command vkCreateRayTracingPipelinesKHR, see |
| 5038 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html |
| 5039 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Pipeline>>::type |
| 5040 |
createRayTracingPipelinesKHR( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 5041 |
Optional<const PipelineCache> const & pipelineCache, |
| 5042 |
ArrayProxy<RayTracingPipelineCreateInfoKHR> const & createInfos, |
| 5043 |
Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 5044 |
|
| 5045 |
// wrapper function for command vkCreateRayTracingPipelinesKHR, see |
| 5046 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html |
| 5047 |
VULKAN_HPP_NODISCARD typename ResultValueType<Pipeline>::type |
| 5048 |
createRayTracingPipelineKHR( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 5049 |
Optional<const PipelineCache> const & pipelineCache, |
| 5050 |
RayTracingPipelineCreateInfoKHR const & createInfo, |
| 5051 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5052 |
|
| 5053 |
//=== VK_KHR_sampler_ycbcr_conversion === |
| 5054 |
|
| 5055 |
// wrapper function for command vkCreateSamplerYcbcrConversionKHR, see |
| 5056 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html |
| 5057 |
VULKAN_HPP_NODISCARD typename ResultValueType<SamplerYcbcrConversion>::type |
| 5058 |
createSamplerYcbcrConversionKHR( SamplerYcbcrConversionCreateInfo const & createInfo, |
| 5059 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5060 |
|
| 5061 |
// wrapper function for command vkDestroySamplerYcbcrConversionKHR, see |
| 5062 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversionKHR.html |
| 5063 |
void destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), |
| 5064 |
Optional<const AllocationCallbacks> allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 5065 |
|
| 5066 |
//=== VK_KHR_bind_memory2 === |
| 5067 |
|
| 5068 |
// wrapper function for command vkBindBufferMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2KHR.html |
| 5069 |
typename ResultValueType<void>::type bindBufferMemory2KHR( ArrayProxy<const BindBufferMemoryInfo> const & bindInfos ) const; |
| 5070 |
|
| 5071 |
// wrapper function for command vkBindImageMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2KHR.html |
| 5072 |
typename ResultValueType<void>::type bindImageMemory2KHR( ArrayProxy<const BindImageMemoryInfo> const & bindInfos ) const; |
| 5073 |
|
| 5074 |
//=== VK_EXT_validation_cache === |
| 5075 |
|
| 5076 |
// wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html |
| 5077 |
VULKAN_HPP_NODISCARD typename ResultValueType<ValidationCacheEXT>::type |
| 5078 |
createValidationCacheEXT( ValidationCacheCreateInfoEXT const & createInfo, |
| 5079 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5080 |
|
| 5081 |
//=== VK_NV_ray_tracing === |
| 5082 |
|
| 5083 |
// wrapper function for command vkCreateAccelerationStructureNV, see |
| 5084 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html |
| 5085 |
VULKAN_HPP_NODISCARD typename ResultValueType<AccelerationStructureNV>::type |
| 5086 |
createAccelerationStructureNV( AccelerationStructureCreateInfoNV const & createInfo, |
| 5087 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5088 |
|
| 5089 |
// wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see |
| 5090 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html |
| 5091 |
VULKAN_HPP_NODISCARD MemoryRequirements2KHR |
| 5092 |
getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5093 |
|
| 5094 |
// wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see |
| 5095 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html |
| 5096 |
template <typename X, typename Y, typename... Z> |
| 5097 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5098 |
getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5099 |
|
| 5100 |
// wrapper function for command vkBindAccelerationStructureMemoryNV, see |
| 5101 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindAccelerationStructureMemoryNV.html |
| 5102 |
typename ResultValueType<void>::type bindAccelerationStructureMemoryNV( ArrayProxy<const BindAccelerationStructureMemoryInfoNV> const & bindInfos ) const; |
| 5103 |
|
| 5104 |
// wrapper function for command vkCreateRayTracingPipelinesNV, see |
| 5105 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html |
| 5106 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Pipeline>>::type |
| 5107 |
createRayTracingPipelinesNV( Optional<const PipelineCache> const & pipelineCache, |
| 5108 |
ArrayProxy<RayTracingPipelineCreateInfoNV> const & createInfos, |
| 5109 |
Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 5110 |
|
| 5111 |
// wrapper function for command vkCreateRayTracingPipelinesNV, see |
| 5112 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html |
| 5113 |
VULKAN_HPP_NODISCARD typename ResultValueType<Pipeline>::type |
| 5114 |
createRayTracingPipelineNV( Optional<const PipelineCache> const & pipelineCache, |
| 5115 |
RayTracingPipelineCreateInfoNV const & createInfo, |
| 5116 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5117 |
|
| 5118 |
//=== VK_KHR_maintenance3 === |
| 5119 |
|
| 5120 |
// wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see |
| 5121 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html |
| 5122 |
VULKAN_HPP_NODISCARD DescriptorSetLayoutSupport |
| 5123 |
getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5124 |
|
| 5125 |
// wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see |
| 5126 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html |
| 5127 |
template <typename X, typename Y, typename... Z> |
| 5128 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5129 |
getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5130 |
|
| 5131 |
//=== VK_EXT_external_memory_host === |
| 5132 |
|
| 5133 |
// wrapper function for command vkGetMemoryHostPointerPropertiesEXT, see |
| 5134 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryHostPointerPropertiesEXT.html |
| 5135 |
VULKAN_HPP_NODISCARD typename ResultValueType<MemoryHostPointerPropertiesEXT>::type |
| 5136 |
getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void * pHostPointer ) const; |
| 5137 |
|
| 5138 |
//=== VK_EXT_calibrated_timestamps === |
| 5139 |
|
| 5140 |
// wrapper function for command vkGetCalibratedTimestampsEXT, see |
| 5141 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html |
| 5142 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<std::vector<uint64_t>, uint64_t>>::type |
| 5143 |
getCalibratedTimestampsEXT( ArrayProxy<const CalibratedTimestampInfoKHR> const & timestampInfos ) const; |
| 5144 |
|
| 5145 |
// wrapper function for command vkGetCalibratedTimestampsEXT, see |
| 5146 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html |
| 5147 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<uint64_t, uint64_t>>::type |
| 5148 |
getCalibratedTimestampEXT( const CalibratedTimestampInfoKHR & timestampInfo ) const; |
| 5149 |
|
| 5150 |
//=== VK_KHR_timeline_semaphore === |
| 5151 |
|
| 5152 |
// wrapper function for command vkWaitSemaphoresKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphoresKHR.html |
| 5153 |
VULKAN_HPP_NODISCARD Result waitSemaphoresKHR( const SemaphoreWaitInfo & waitInfo, uint64_t timeout ) const; |
| 5154 |
|
| 5155 |
// wrapper function for command vkSignalSemaphoreKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphoreKHR.html |
| 5156 |
typename ResultValueType<void>::type signalSemaphoreKHR( const SemaphoreSignalInfo & signalInfo ) const; |
| 5157 |
|
| 5158 |
//=== VK_EXT_present_timing === |
| 5159 |
|
| 5160 |
// wrapper function for command vkGetPastPresentationTimingEXT, see |
| 5161 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingEXT.html |
| 5162 |
VULKAN_HPP_NODISCARD Result |
| 5163 |
getPastPresentationTimingEXT( const PastPresentationTimingInfoEXT * pPastPresentationTimingInfo, |
| 5164 |
PastPresentationTimingPropertiesEXT * pPastPresentationTimingProperties ) const VULKAN_HPP_NOEXCEPT; |
| 5165 |
|
| 5166 |
//=== VK_INTEL_performance_query === |
| 5167 |
|
| 5168 |
// wrapper function for command vkInitializePerformanceApiINTEL, see |
| 5169 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkInitializePerformanceApiINTEL.html |
| 5170 |
typename ResultValueType<void>::type initializePerformanceApiINTEL( const InitializePerformanceApiInfoINTEL & initializeInfo ) const; |
| 5171 |
|
| 5172 |
// wrapper function for command vkUninitializePerformanceApiINTEL, see |
| 5173 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUninitializePerformanceApiINTEL.html |
| 5174 |
void uninitializePerformanceApiINTEL() const VULKAN_HPP_NOEXCEPT; |
| 5175 |
|
| 5176 |
// wrapper function for command vkAcquirePerformanceConfigurationINTEL, see |
| 5177 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html |
| 5178 |
VULKAN_HPP_NODISCARD typename ResultValueType<PerformanceConfigurationINTEL>::type |
| 5179 |
acquirePerformanceConfigurationINTEL( PerformanceConfigurationAcquireInfoINTEL const & acquireInfo ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5180 |
|
| 5181 |
// wrapper function for command vkGetPerformanceParameterINTEL, see |
| 5182 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPerformanceParameterINTEL.html |
| 5183 |
VULKAN_HPP_NODISCARD typename ResultValueType<PerformanceValueINTEL>::type getPerformanceParameterINTEL( PerformanceParameterTypeINTEL parameter ) const; |
| 5184 |
|
| 5185 |
//=== VK_EXT_buffer_device_address === |
| 5186 |
|
| 5187 |
// wrapper function for command vkGetBufferDeviceAddressEXT, see |
| 5188 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressEXT.html |
| 5189 |
VULKAN_HPP_NODISCARD DeviceAddress getBufferAddressEXT( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 5190 |
|
| 5191 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 5192 |
//=== VK_EXT_full_screen_exclusive === |
| 5193 |
|
| 5194 |
// wrapper function for command vkGetDeviceGroupSurfacePresentModes2EXT, see |
| 5195 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html |
| 5196 |
VULKAN_HPP_NODISCARD typename ResultValueType<DeviceGroupPresentModeFlagsKHR>::type |
| 5197 |
getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const; |
| 5198 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 5199 |
|
| 5200 |
//=== VK_KHR_buffer_device_address === |
| 5201 |
|
| 5202 |
// wrapper function for command vkGetBufferDeviceAddressKHR, see |
| 5203 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressKHR.html |
| 5204 |
VULKAN_HPP_NODISCARD DeviceAddress getBufferAddressKHR( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 5205 |
|
| 5206 |
// wrapper function for command vkGetBufferOpaqueCaptureAddressKHR, see |
| 5207 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddressKHR.html |
| 5208 |
VULKAN_HPP_NODISCARD uint64_t getBufferOpaqueCaptureAddressKHR( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 5209 |
|
| 5210 |
// wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddressKHR, see |
| 5211 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html |
| 5212 |
VULKAN_HPP_NODISCARD uint64_t getMemoryOpaqueCaptureAddressKHR( const DeviceMemoryOpaqueCaptureAddressInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 5213 |
|
| 5214 |
//=== VK_KHR_deferred_host_operations === |
| 5215 |
|
| 5216 |
// wrapper function for command vkCreateDeferredOperationKHR, see |
| 5217 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html |
| 5218 |
VULKAN_HPP_NODISCARD typename ResultValueType<DeferredOperationKHR>::type |
| 5219 |
createDeferredOperationKHR( Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5220 |
|
| 5221 |
//=== VK_KHR_pipeline_executable_properties === |
| 5222 |
|
| 5223 |
// wrapper function for command vkGetPipelineExecutablePropertiesKHR, see |
| 5224 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html |
| 5225 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PipelineExecutablePropertiesKHR>>::type |
| 5226 |
getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo ) const; |
| 5227 |
|
| 5228 |
// wrapper function for command vkGetPipelineExecutableStatisticsKHR, see |
| 5229 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html |
| 5230 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PipelineExecutableStatisticKHR>>::type |
| 5231 |
getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo ) const; |
| 5232 |
|
| 5233 |
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see |
| 5234 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html |
| 5235 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR>>::type |
| 5236 |
getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo ) const; |
| 5237 |
|
| 5238 |
//=== VK_EXT_host_image_copy === |
| 5239 |
|
| 5240 |
// wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html |
| 5241 |
typename ResultValueType<void>::type copyMemoryToImageEXT( const CopyMemoryToImageInfo & copyMemoryToImageInfo ) const; |
| 5242 |
|
| 5243 |
// wrapper function for command vkCopyImageToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemoryEXT.html |
| 5244 |
typename ResultValueType<void>::type copyImageToMemoryEXT( const CopyImageToMemoryInfo & copyImageToMemoryInfo ) const; |
| 5245 |
|
| 5246 |
// wrapper function for command vkCopyImageToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImageEXT.html |
| 5247 |
typename ResultValueType<void>::type copyImageToImageEXT( const CopyImageToImageInfo & copyImageToImageInfo ) const; |
| 5248 |
|
| 5249 |
// wrapper function for command vkTransitionImageLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayoutEXT.html |
| 5250 |
typename ResultValueType<void>::type transitionImageLayoutEXT( ArrayProxy<const HostImageLayoutTransitionInfo> const & transitions ) const; |
| 5251 |
|
| 5252 |
//=== VK_KHR_map_memory2 === |
| 5253 |
|
| 5254 |
// wrapper function for command vkMapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2KHR.html |
| 5255 |
VULKAN_HPP_NODISCARD typename ResultValueType<void *>::type mapMemory2KHR( const MemoryMapInfo & memoryMapInfo ) const; |
| 5256 |
|
| 5257 |
// wrapper function for command vkUnmapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2KHR.html |
| 5258 |
typename ResultValueType<void>::type unmapMemory2KHR( const MemoryUnmapInfo & memoryUnmapInfo ) const; |
| 5259 |
|
| 5260 |
//=== VK_EXT_swapchain_maintenance1 === |
| 5261 |
|
| 5262 |
// wrapper function for command vkReleaseSwapchainImagesEXT, see |
| 5263 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesEXT.html |
| 5264 |
typename ResultValueType<void>::type releaseSwapchainImagesEXT( const ReleaseSwapchainImagesInfoKHR & releaseInfo ) const; |
| 5265 |
|
| 5266 |
//=== VK_NV_device_generated_commands === |
| 5267 |
|
| 5268 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see |
| 5269 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html |
| 5270 |
VULKAN_HPP_NODISCARD MemoryRequirements2 |
| 5271 |
getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5272 |
|
| 5273 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see |
| 5274 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html |
| 5275 |
template <typename X, typename Y, typename... Z> |
| 5276 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5277 |
getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5278 |
|
| 5279 |
// wrapper function for command vkCreateIndirectCommandsLayoutNV, see |
| 5280 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html |
| 5281 |
VULKAN_HPP_NODISCARD typename ResultValueType<IndirectCommandsLayoutNV>::type |
| 5282 |
createIndirectCommandsLayoutNV( IndirectCommandsLayoutCreateInfoNV const & createInfo, |
| 5283 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5284 |
|
| 5285 |
//=== VK_EXT_private_data === |
| 5286 |
|
| 5287 |
// wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html |
| 5288 |
VULKAN_HPP_NODISCARD typename ResultValueType<PrivateDataSlot>::type |
| 5289 |
createPrivateDataSlotEXT( PrivateDataSlotCreateInfo const & createInfo, |
| 5290 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5291 |
|
| 5292 |
// wrapper function for command vkDestroyPrivateDataSlotEXT, see |
| 5293 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlotEXT.html |
| 5294 |
void destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), |
| 5295 |
Optional<const AllocationCallbacks> allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 5296 |
|
| 5297 |
// wrapper function for command vkSetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateDataEXT.html |
| 5298 |
typename ResultValueType<void>::type |
| 5299 |
setPrivateDataEXT( ObjectType objectType, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot, uint64_t data ) const; |
| 5300 |
|
| 5301 |
// wrapper function for command vkGetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateDataEXT.html |
| 5302 |
VULKAN_HPP_NODISCARD uint64_t getPrivateDataEXT( ObjectType objectType, |
| 5303 |
uint64_t objectHandle, |
| 5304 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot ) const VULKAN_HPP_NOEXCEPT; |
| 5305 |
|
| 5306 |
//=== VK_KHR_video_encode_queue === |
| 5307 |
|
| 5308 |
// wrapper function for command vkGetEncodedVideoSessionParametersKHR, see |
| 5309 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html |
| 5310 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<VideoEncodeSessionParametersFeedbackInfoKHR, std::vector<uint8_t>>>::type |
| 5311 |
getEncodedVideoSessionParametersKHR( const VideoEncodeSessionParametersGetInfoKHR & videoSessionParametersInfo ) const; |
| 5312 |
|
| 5313 |
// wrapper function for command vkGetEncodedVideoSessionParametersKHR, see |
| 5314 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html |
| 5315 |
template <typename X, typename Y, typename... Z> |
| 5316 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<StructureChain<X, Y, Z...>, std::vector<uint8_t>>>::type |
| 5317 |
getEncodedVideoSessionParametersKHR( const VideoEncodeSessionParametersGetInfoKHR & videoSessionParametersInfo ) const; |
| 5318 |
|
| 5319 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 5320 |
//=== VK_NV_cuda_kernel_launch === |
| 5321 |
|
| 5322 |
// wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html |
| 5323 |
VULKAN_HPP_NODISCARD typename ResultValueType<CudaModuleNV>::type |
| 5324 |
createCudaModuleNV( CudaModuleCreateInfoNV const & createInfo, |
| 5325 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5326 |
|
| 5327 |
// wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html |
| 5328 |
VULKAN_HPP_NODISCARD typename ResultValueType<CudaFunctionNV>::type |
| 5329 |
createCudaFunctionNV( CudaFunctionCreateInfoNV const & createInfo, |
| 5330 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5331 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 5332 |
|
| 5333 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 5334 |
//=== VK_EXT_metal_objects === |
| 5335 |
|
| 5336 |
// wrapper function for command vkExportMetalObjectsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkExportMetalObjectsEXT.html |
| 5337 |
void exportMetalObjectsEXT( ExportMetalObjectsInfoEXT & metalObjectsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5338 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 5339 |
|
| 5340 |
//=== VK_EXT_descriptor_buffer === |
| 5341 |
|
| 5342 |
// wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html |
| 5343 |
void getDescriptorEXT( const DescriptorGetInfoEXT & descriptorInfo, size_t dataSize, void * pDescriptor ) const VULKAN_HPP_NOEXCEPT; |
| 5344 |
|
| 5345 |
// wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html |
| 5346 |
template <typename DescriptorType> |
| 5347 |
VULKAN_HPP_NODISCARD DescriptorType getDescriptorEXT( const DescriptorGetInfoEXT & descriptorInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5348 |
|
| 5349 |
// wrapper function for command vkGetBufferOpaqueCaptureDescriptorDataEXT, see |
| 5350 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureDescriptorDataEXT.html |
| 5351 |
template <typename DataType> |
| 5352 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5353 |
getBufferOpaqueCaptureDescriptorDataEXT( const BufferCaptureDescriptorDataInfoEXT & info ) const; |
| 5354 |
|
| 5355 |
// wrapper function for command vkGetImageOpaqueCaptureDescriptorDataEXT, see |
| 5356 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDescriptorDataEXT.html |
| 5357 |
template <typename DataType> |
| 5358 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5359 |
getImageOpaqueCaptureDescriptorDataEXT( const ImageCaptureDescriptorDataInfoEXT & info ) const; |
| 5360 |
|
| 5361 |
// wrapper function for command vkGetImageViewOpaqueCaptureDescriptorDataEXT, see |
| 5362 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewOpaqueCaptureDescriptorDataEXT.html |
| 5363 |
template <typename DataType> |
| 5364 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5365 |
getImageViewOpaqueCaptureDescriptorDataEXT( const ImageViewCaptureDescriptorDataInfoEXT & info ) const; |
| 5366 |
|
| 5367 |
// wrapper function for command vkGetSamplerOpaqueCaptureDescriptorDataEXT, see |
| 5368 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSamplerOpaqueCaptureDescriptorDataEXT.html |
| 5369 |
template <typename DataType> |
| 5370 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5371 |
getSamplerOpaqueCaptureDescriptorDataEXT( const SamplerCaptureDescriptorDataInfoEXT & info ) const; |
| 5372 |
|
| 5373 |
// wrapper function for command vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, see |
| 5374 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT.html |
| 5375 |
template <typename DataType> |
| 5376 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5377 |
getAccelerationStructureOpaqueCaptureDescriptorDataEXT( const AccelerationStructureCaptureDescriptorDataInfoEXT & info ) const; |
| 5378 |
|
| 5379 |
//=== VK_EXT_device_fault === |
| 5380 |
|
| 5381 |
// wrapper function for command vkGetDeviceFaultInfoEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultInfoEXT.html |
| 5382 |
VULKAN_HPP_NODISCARD Result getFaultInfoEXT( DeviceFaultCountsEXT * pFaultCounts, DeviceFaultInfoEXT * pFaultInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5383 |
|
| 5384 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 5385 |
//=== VK_FUCHSIA_external_memory === |
| 5386 |
|
| 5387 |
// wrapper function for command vkGetMemoryZirconHandleFUCHSIA, see |
| 5388 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandleFUCHSIA.html |
| 5389 |
VULKAN_HPP_NODISCARD typename ResultValueType<zx_handle_t>::type |
| 5390 |
getMemoryZirconHandleFUCHSIA( const MemoryGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const; |
| 5391 |
|
| 5392 |
// wrapper function for command vkGetMemoryZirconHandlePropertiesFUCHSIA, see |
| 5393 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandlePropertiesFUCHSIA.html |
| 5394 |
VULKAN_HPP_NODISCARD typename ResultValueType<MemoryZirconHandlePropertiesFUCHSIA>::type |
| 5395 |
getMemoryZirconHandlePropertiesFUCHSIA( ExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle ) const; |
| 5396 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 5397 |
|
| 5398 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 5399 |
//=== VK_FUCHSIA_external_semaphore === |
| 5400 |
|
| 5401 |
// wrapper function for command vkImportSemaphoreZirconHandleFUCHSIA, see |
| 5402 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreZirconHandleFUCHSIA.html |
| 5403 |
typename ResultValueType<void>::type |
| 5404 |
importSemaphoreZirconHandleFUCHSIA( const ImportSemaphoreZirconHandleInfoFUCHSIA & importSemaphoreZirconHandleInfo ) const; |
| 5405 |
|
| 5406 |
// wrapper function for command vkGetSemaphoreZirconHandleFUCHSIA, see |
| 5407 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreZirconHandleFUCHSIA.html |
| 5408 |
VULKAN_HPP_NODISCARD typename ResultValueType<zx_handle_t>::type |
| 5409 |
getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const; |
| 5410 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 5411 |
|
| 5412 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 5413 |
//=== VK_FUCHSIA_buffer_collection === |
| 5414 |
|
| 5415 |
// wrapper function for command vkCreateBufferCollectionFUCHSIA, see |
| 5416 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html |
| 5417 |
VULKAN_HPP_NODISCARD typename ResultValueType<BufferCollectionFUCHSIA>::type |
| 5418 |
createBufferCollectionFUCHSIA( BufferCollectionCreateInfoFUCHSIA const & createInfo, |
| 5419 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5420 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 5421 |
|
| 5422 |
//=== VK_NV_external_memory_rdma === |
| 5423 |
|
| 5424 |
// wrapper function for command vkGetMemoryRemoteAddressNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryRemoteAddressNV.html |
| 5425 |
VULKAN_HPP_NODISCARD typename ResultValueType<RemoteAddressNV>::type |
| 5426 |
getMemoryRemoteAddressNV( const MemoryGetRemoteAddressInfoNV & memoryGetRemoteAddressInfo ) const; |
| 5427 |
|
| 5428 |
//=== VK_EXT_pipeline_properties === |
| 5429 |
|
| 5430 |
// wrapper function for command vkGetPipelinePropertiesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelinePropertiesEXT.html |
| 5431 |
VULKAN_HPP_NODISCARD typename ResultValueType<BaseOutStructure>::type getPipelinePropertiesEXT( const PipelineInfoEXT & pipelineInfo ) const; |
| 5432 |
|
| 5433 |
//=== VK_EXT_opacity_micromap === |
| 5434 |
|
| 5435 |
// wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html |
| 5436 |
VULKAN_HPP_NODISCARD typename ResultValueType<MicromapEXT>::type |
| 5437 |
createMicromapEXT( MicromapCreateInfoEXT const & createInfo, |
| 5438 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5439 |
|
| 5440 |
// wrapper function for command vkBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildMicromapsEXT.html |
| 5441 |
VULKAN_HPP_NODISCARD Result buildMicromapsEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 5442 |
ArrayProxy<const MicromapBuildInfoEXT> const & infos ) const; |
| 5443 |
|
| 5444 |
// wrapper function for command vkCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapEXT.html |
| 5445 |
VULKAN_HPP_NODISCARD Result copyMicromapEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, const CopyMicromapInfoEXT & info ) const; |
| 5446 |
|
| 5447 |
// wrapper function for command vkCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapToMemoryEXT.html |
| 5448 |
VULKAN_HPP_NODISCARD Result copyMicromapToMemoryEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 5449 |
const CopyMicromapToMemoryInfoEXT & info ) const; |
| 5450 |
|
| 5451 |
// wrapper function for command vkCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToMicromapEXT.html |
| 5452 |
VULKAN_HPP_NODISCARD Result copyMemoryToMicromapEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 5453 |
const CopyMemoryToMicromapInfoEXT & info ) const; |
| 5454 |
|
| 5455 |
// wrapper function for command vkWriteMicromapsPropertiesEXT, see |
| 5456 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html |
| 5457 |
template <typename DataType> |
| 5458 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataType>>::type writeMicromapsPropertiesEXT( |
| 5459 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::MicromapEXT> const & micromaps, QueryType queryType, size_t dataSize, size_t stride ) const; |
| 5460 |
|
| 5461 |
// wrapper function for command vkWriteMicromapsPropertiesEXT, see |
| 5462 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html |
| 5463 |
template <typename DataType> |
| 5464 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5465 |
writeMicromapsPropertyEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::MicromapEXT> const & micromaps, QueryType queryType, size_t stride ) const; |
| 5466 |
|
| 5467 |
// wrapper function for command vkGetDeviceMicromapCompatibilityEXT, see |
| 5468 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMicromapCompatibilityEXT.html |
| 5469 |
VULKAN_HPP_NODISCARD AccelerationStructureCompatibilityKHR |
| 5470 |
getMicromapCompatibilityEXT( const MicromapVersionInfoEXT & versionInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5471 |
|
| 5472 |
// wrapper function for command vkGetMicromapBuildSizesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMicromapBuildSizesEXT.html |
| 5473 |
VULKAN_HPP_NODISCARD MicromapBuildSizesInfoEXT getMicromapBuildSizesEXT( AccelerationStructureBuildTypeKHR buildType, |
| 5474 |
const MicromapBuildInfoEXT & buildInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5475 |
|
| 5476 |
//=== VK_KHR_maintenance4 === |
| 5477 |
|
| 5478 |
// wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see |
| 5479 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html |
| 5480 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getBufferMemoryRequirementsKHR( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 5481 |
|
| 5482 |
// wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see |
| 5483 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html |
| 5484 |
template <typename X, typename Y, typename... Z> |
| 5485 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getBufferMemoryRequirementsKHR( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 5486 |
|
| 5487 |
// wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see |
| 5488 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html |
| 5489 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getImageMemoryRequirementsKHR( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 5490 |
|
| 5491 |
// wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see |
| 5492 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html |
| 5493 |
template <typename X, typename Y, typename... Z> |
| 5494 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getImageMemoryRequirementsKHR( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT; |
| 5495 |
|
| 5496 |
// wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see |
| 5497 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html |
| 5498 |
VULKAN_HPP_NODISCARD std::vector<SparseImageMemoryRequirements2> getImageSparseMemoryRequirementsKHR( const DeviceImageMemoryRequirements & info ) const; |
| 5499 |
|
| 5500 |
//=== VK_VALVE_descriptor_set_host_mapping === |
| 5501 |
|
| 5502 |
// wrapper function for command vkGetDescriptorSetLayoutHostMappingInfoVALVE, see |
| 5503 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutHostMappingInfoVALVE.html |
| 5504 |
VULKAN_HPP_NODISCARD DescriptorSetLayoutHostMappingInfoVALVE |
| 5505 |
getDescriptorSetLayoutHostMappingInfoVALVE( const DescriptorSetBindingReferenceVALVE & bindingReference ) const VULKAN_HPP_NOEXCEPT; |
| 5506 |
|
| 5507 |
//=== VK_NV_device_generated_commands_compute === |
| 5508 |
|
| 5509 |
// wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see |
| 5510 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html |
| 5511 |
VULKAN_HPP_NODISCARD MemoryRequirements2 |
| 5512 |
getPipelineIndirectMemoryRequirementsNV( const ComputePipelineCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5513 |
|
| 5514 |
// wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see |
| 5515 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html |
| 5516 |
template <typename X, typename Y, typename... Z> |
| 5517 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5518 |
getPipelineIndirectMemoryRequirementsNV( const ComputePipelineCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5519 |
|
| 5520 |
// wrapper function for command vkGetPipelineIndirectDeviceAddressNV, see |
| 5521 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectDeviceAddressNV.html |
| 5522 |
VULKAN_HPP_NODISCARD DeviceAddress getPipelineIndirectAddressNV( const PipelineIndirectDeviceAddressInfoNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5523 |
|
| 5524 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 5525 |
//=== VK_OHOS_external_memory === |
| 5526 |
|
| 5527 |
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see |
| 5528 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html |
| 5529 |
VULKAN_HPP_NODISCARD Result getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer * buffer, |
| 5530 |
NativeBufferPropertiesOHOS * pProperties ) const VULKAN_HPP_NOEXCEPT; |
| 5531 |
|
| 5532 |
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see |
| 5533 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html |
| 5534 |
VULKAN_HPP_NODISCARD typename ResultValueType<NativeBufferPropertiesOHOS>::type |
| 5535 |
getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer & buffer ) const; |
| 5536 |
|
| 5537 |
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see |
| 5538 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html |
| 5539 |
template <typename X, typename Y, typename... Z> |
| 5540 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 5541 |
getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer & buffer ) const; |
| 5542 |
|
| 5543 |
// wrapper function for command vkGetMemoryNativeBufferOHOS, see |
| 5544 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryNativeBufferOHOS.html |
| 5545 |
VULKAN_HPP_NODISCARD typename ResultValueType<struct OH_NativeBuffer *>::type |
| 5546 |
getMemoryNativeBufferOHOS( const MemoryGetNativeBufferInfoOHOS & info ) const; |
| 5547 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 5548 |
|
| 5549 |
//=== VK_ARM_tensors === |
| 5550 |
|
| 5551 |
// wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html |
| 5552 |
VULKAN_HPP_NODISCARD typename ResultValueType<TensorARM>::type |
| 5553 |
createTensorARM( TensorCreateInfoARM const & createInfo, |
| 5554 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5555 |
|
| 5556 |
// wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html |
| 5557 |
VULKAN_HPP_NODISCARD typename ResultValueType<TensorViewARM>::type |
| 5558 |
createTensorViewARM( TensorViewCreateInfoARM const & createInfo, |
| 5559 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5560 |
|
| 5561 |
// wrapper function for command vkGetTensorMemoryRequirementsARM, see |
| 5562 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html |
| 5563 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getTensorMemoryRequirementsARM( const TensorMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT; |
| 5564 |
|
| 5565 |
// wrapper function for command vkGetTensorMemoryRequirementsARM, see |
| 5566 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html |
| 5567 |
template <typename X, typename Y, typename... Z> |
| 5568 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getTensorMemoryRequirementsARM( const TensorMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT; |
| 5569 |
|
| 5570 |
// wrapper function for command vkBindTensorMemoryARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindTensorMemoryARM.html |
| 5571 |
typename ResultValueType<void>::type bindTensorMemoryARM( ArrayProxy<const BindTensorMemoryInfoARM> const & bindInfos ) const; |
| 5572 |
|
| 5573 |
// wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see |
| 5574 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html |
| 5575 |
VULKAN_HPP_NODISCARD MemoryRequirements2 getTensorMemoryRequirementsARM( const DeviceTensorMemoryRequirementsARM & info ) const VULKAN_HPP_NOEXCEPT; |
| 5576 |
|
| 5577 |
// wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see |
| 5578 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html |
| 5579 |
template <typename X, typename Y, typename... Z> |
| 5580 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5581 |
getTensorMemoryRequirementsARM( const DeviceTensorMemoryRequirementsARM & info ) const VULKAN_HPP_NOEXCEPT; |
| 5582 |
|
| 5583 |
// wrapper function for command vkGetTensorOpaqueCaptureDescriptorDataARM, see |
| 5584 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDescriptorDataARM.html |
| 5585 |
template <typename DataType> |
| 5586 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5587 |
getTensorOpaqueCaptureDescriptorDataARM( const TensorCaptureDescriptorDataInfoARM & info ) const; |
| 5588 |
|
| 5589 |
// wrapper function for command vkGetTensorViewOpaqueCaptureDescriptorDataARM, see |
| 5590 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorViewOpaqueCaptureDescriptorDataARM.html |
| 5591 |
template <typename DataType> |
| 5592 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type |
| 5593 |
getTensorViewOpaqueCaptureDescriptorDataARM( const TensorViewCaptureDescriptorDataInfoARM & info ) const; |
| 5594 |
|
| 5595 |
//=== VK_EXT_shader_module_identifier === |
| 5596 |
|
| 5597 |
// wrapper function for command vkGetShaderModuleCreateInfoIdentifierEXT, see |
| 5598 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleCreateInfoIdentifierEXT.html |
| 5599 |
VULKAN_HPP_NODISCARD ShaderModuleIdentifierEXT |
| 5600 |
getShaderModuleCreateInfoIdentifierEXT( const ShaderModuleCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5601 |
|
| 5602 |
//=== VK_NV_optical_flow === |
| 5603 |
|
| 5604 |
// wrapper function for command vkCreateOpticalFlowSessionNV, see |
| 5605 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html |
| 5606 |
VULKAN_HPP_NODISCARD typename ResultValueType<OpticalFlowSessionNV>::type |
| 5607 |
createOpticalFlowSessionNV( OpticalFlowSessionCreateInfoNV const & createInfo, |
| 5608 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5609 |
|
| 5610 |
//=== VK_KHR_maintenance5 === |
| 5611 |
|
| 5612 |
// wrapper function for command vkGetRenderingAreaGranularityKHR, see |
| 5613 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularityKHR.html |
| 5614 |
VULKAN_HPP_NODISCARD Extent2D getRenderingAreaGranularityKHR( const RenderingAreaInfo & renderingAreaInfo ) const VULKAN_HPP_NOEXCEPT; |
| 5615 |
|
| 5616 |
// wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see |
| 5617 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html |
| 5618 |
VULKAN_HPP_NODISCARD SubresourceLayout2 getImageSubresourceLayoutKHR( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 5619 |
|
| 5620 |
// wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see |
| 5621 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html |
| 5622 |
template <typename X, typename Y, typename... Z> |
| 5623 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getImageSubresourceLayoutKHR( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT; |
| 5624 |
|
| 5625 |
//=== VK_AMD_anti_lag === |
| 5626 |
|
| 5627 |
// wrapper function for command vkAntiLagUpdateAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAntiLagUpdateAMD.html |
| 5628 |
void antiLagUpdateAMD( const AntiLagDataAMD & data ) const VULKAN_HPP_NOEXCEPT; |
| 5629 |
|
| 5630 |
//=== VK_EXT_shader_object === |
| 5631 |
|
| 5632 |
// wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html |
| 5633 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<ShaderEXT>>::type |
| 5634 |
createShadersEXT( ArrayProxy<ShaderCreateInfoEXT> const & createInfos, Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 5635 |
|
| 5636 |
// wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html |
| 5637 |
VULKAN_HPP_NODISCARD typename ResultValueType<ShaderEXT>::type |
| 5638 |
createShaderEXT( ShaderCreateInfoEXT const & createInfo, |
| 5639 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5640 |
|
| 5641 |
//=== VK_KHR_pipeline_binary === |
| 5642 |
|
| 5643 |
// wrapper function for command vkCreatePipelineBinariesKHR, see |
| 5644 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html |
| 5645 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<PipelineBinaryKHR>>::type |
| 5646 |
createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 5647 |
|
| 5648 |
// wrapper function for command vkGetPipelineKeyKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineKeyKHR.html |
| 5649 |
VULKAN_HPP_NODISCARD typename ResultValueType<PipelineBinaryKeyKHR>::type |
| 5650 |
getPipelineKeyKHR( Optional<const PipelineCreateInfoKHR> pipelineCreateInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 5651 |
|
| 5652 |
// wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html |
| 5653 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<PipelineBinaryKeyKHR, std::vector<uint8_t>>>::type |
| 5654 |
getPipelineBinaryDataKHR( const PipelineBinaryDataInfoKHR & info ) const; |
| 5655 |
|
| 5656 |
// wrapper function for command vkReleaseCapturedPipelineDataKHR, see |
| 5657 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseCapturedPipelineDataKHR.html |
| 5658 |
typename ResultValueType<void>::type |
| 5659 |
releaseCapturedPipelineDataKHR( const ReleaseCapturedPipelineDataInfoKHR & info, |
| 5660 |
Optional<const AllocationCallbacks> allocator VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 5661 |
|
| 5662 |
//=== VK_QCOM_tile_properties === |
| 5663 |
|
| 5664 |
// wrapper function for command vkGetDynamicRenderingTilePropertiesQCOM, see |
| 5665 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDynamicRenderingTilePropertiesQCOM.html |
| 5666 |
VULKAN_HPP_NODISCARD typename ResultValueType<TilePropertiesQCOM>::type |
| 5667 |
getDynamicRenderingTilePropertiesQCOM( const RenderingInfo & renderingInfo ) const; |
| 5668 |
|
| 5669 |
//=== VK_KHR_swapchain_maintenance1 === |
| 5670 |
|
| 5671 |
// wrapper function for command vkReleaseSwapchainImagesKHR, see |
| 5672 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesKHR.html |
| 5673 |
typename ResultValueType<void>::type releaseSwapchainImagesKHR( const ReleaseSwapchainImagesInfoKHR & releaseInfo ) const; |
| 5674 |
|
| 5675 |
//=== VK_NV_cooperative_vector === |
| 5676 |
|
| 5677 |
// wrapper function for command vkConvertCooperativeVectorMatrixNV, see |
| 5678 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkConvertCooperativeVectorMatrixNV.html |
| 5679 |
VULKAN_HPP_NODISCARD Result convertCooperativeVectorMatrixNV( const ConvertCooperativeVectorMatrixInfoNV & info ) const; |
| 5680 |
|
| 5681 |
//=== VK_ARM_data_graph === |
| 5682 |
|
| 5683 |
// wrapper function for command vkCreateDataGraphPipelinesARM, see |
| 5684 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html |
| 5685 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<Pipeline>>::type |
| 5686 |
createDataGraphPipelinesARM( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 5687 |
Optional<const PipelineCache> const & pipelineCache, |
| 5688 |
ArrayProxy<DataGraphPipelineCreateInfoARM> const & createInfos, |
| 5689 |
Optional<const AllocationCallbacks> allocator = nullptr ) const; |
| 5690 |
|
| 5691 |
// wrapper function for command vkCreateDataGraphPipelinesARM, see |
| 5692 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html |
| 5693 |
VULKAN_HPP_NODISCARD typename ResultValueType<Pipeline>::type |
| 5694 |
createDataGraphPipelineARM( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 5695 |
Optional<const PipelineCache> const & pipelineCache, |
| 5696 |
DataGraphPipelineCreateInfoARM const & createInfo, |
| 5697 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5698 |
|
| 5699 |
// wrapper function for command vkCreateDataGraphPipelineSessionARM, see |
| 5700 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html |
| 5701 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataGraphPipelineSessionARM>::type |
| 5702 |
createDataGraphPipelineSessionARM( DataGraphPipelineSessionCreateInfoARM const & createInfo, |
| 5703 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5704 |
|
| 5705 |
// wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see |
| 5706 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html |
| 5707 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataGraphPipelineSessionBindPointRequirementARM>>::type |
| 5708 |
getDataGraphPipelineSessionBindPointRequirementsARM( const DataGraphPipelineSessionBindPointRequirementsInfoARM & info ) const; |
| 5709 |
|
| 5710 |
// wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see |
| 5711 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html |
| 5712 |
VULKAN_HPP_NODISCARD MemoryRequirements2 |
| 5713 |
getDataGraphPipelineSessionMemoryRequirementsARM( const DataGraphPipelineSessionMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT; |
| 5714 |
|
| 5715 |
// wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see |
| 5716 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html |
| 5717 |
template <typename X, typename Y, typename... Z> |
| 5718 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5719 |
getDataGraphPipelineSessionMemoryRequirementsARM( const DataGraphPipelineSessionMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT; |
| 5720 |
|
| 5721 |
// wrapper function for command vkBindDataGraphPipelineSessionMemoryARM, see |
| 5722 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindDataGraphPipelineSessionMemoryARM.html |
| 5723 |
typename ResultValueType<void>::type |
| 5724 |
bindDataGraphPipelineSessionMemoryARM( ArrayProxy<const BindDataGraphPipelineSessionMemoryInfoARM> const & bindInfos ) const; |
| 5725 |
|
| 5726 |
// wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see |
| 5727 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html |
| 5728 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataGraphPipelinePropertyARM>>::type |
| 5729 |
getDataGraphPipelineAvailablePropertiesARM( const DataGraphPipelineInfoARM & pipelineInfo ) const; |
| 5730 |
|
| 5731 |
// wrapper function for command vkGetDataGraphPipelinePropertiesARM, see |
| 5732 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelinePropertiesARM.html |
| 5733 |
VULKAN_HPP_NODISCARD Result getDataGraphPipelinePropertiesARM( const DataGraphPipelineInfoARM * pPipelineInfo, |
| 5734 |
uint32_t propertiesCount, |
| 5735 |
DataGraphPipelinePropertyQueryResultARM * pProperties ) const VULKAN_HPP_NOEXCEPT; |
| 5736 |
|
| 5737 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 5738 |
//=== VK_QNX_external_memory_screen_buffer === |
| 5739 |
|
| 5740 |
// wrapper function for command vkGetScreenBufferPropertiesQNX, see |
| 5741 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html |
| 5742 |
VULKAN_HPP_NODISCARD Result getScreenBufferPropertiesQNX( const struct _screen_buffer * buffer, |
| 5743 |
ScreenBufferPropertiesQNX * pProperties ) const VULKAN_HPP_NOEXCEPT; |
| 5744 |
|
| 5745 |
// wrapper function for command vkGetScreenBufferPropertiesQNX, see |
| 5746 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html |
| 5747 |
VULKAN_HPP_NODISCARD typename ResultValueType<ScreenBufferPropertiesQNX>::type getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const; |
| 5748 |
|
| 5749 |
// wrapper function for command vkGetScreenBufferPropertiesQNX, see |
| 5750 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html |
| 5751 |
template <typename X, typename Y, typename... Z> |
| 5752 |
VULKAN_HPP_NODISCARD typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 5753 |
getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const; |
| 5754 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 5755 |
|
| 5756 |
//=== VK_KHR_calibrated_timestamps === |
| 5757 |
|
| 5758 |
// wrapper function for command vkGetCalibratedTimestampsKHR, see |
| 5759 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html |
| 5760 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<std::vector<uint64_t>, uint64_t>>::type |
| 5761 |
getCalibratedTimestampsKHR( ArrayProxy<const CalibratedTimestampInfoKHR> const & timestampInfos ) const; |
| 5762 |
|
| 5763 |
// wrapper function for command vkGetCalibratedTimestampsKHR, see |
| 5764 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html |
| 5765 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::pair<uint64_t, uint64_t>>::type |
| 5766 |
getCalibratedTimestampKHR( const CalibratedTimestampInfoKHR & timestampInfo ) const; |
| 5767 |
|
| 5768 |
//=== VK_NV_external_compute_queue === |
| 5769 |
|
| 5770 |
// wrapper function for command vkCreateExternalComputeQueueNV, see |
| 5771 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html |
| 5772 |
VULKAN_HPP_NODISCARD typename ResultValueType<ExternalComputeQueueNV>::type |
| 5773 |
createExternalComputeQueueNV( ExternalComputeQueueCreateInfoNV const & createInfo, |
| 5774 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5775 |
|
| 5776 |
//=== VK_NV_cluster_acceleration_structure === |
| 5777 |
|
| 5778 |
// wrapper function for command vkGetClusterAccelerationStructureBuildSizesNV, see |
| 5779 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetClusterAccelerationStructureBuildSizesNV.html |
| 5780 |
VULKAN_HPP_NODISCARD AccelerationStructureBuildSizesInfoKHR |
| 5781 |
getClusterAccelerationStructureBuildSizesNV( const ClusterAccelerationStructureInputInfoNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5782 |
|
| 5783 |
//=== VK_NV_partitioned_acceleration_structure === |
| 5784 |
|
| 5785 |
// wrapper function for command vkGetPartitionedAccelerationStructuresBuildSizesNV, see |
| 5786 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPartitionedAccelerationStructuresBuildSizesNV.html |
| 5787 |
VULKAN_HPP_NODISCARD AccelerationStructureBuildSizesInfoKHR |
| 5788 |
getPartitionedAccelerationStructuresBuildSizesNV( const PartitionedAccelerationStructureInstancesInputNV & info ) const VULKAN_HPP_NOEXCEPT; |
| 5789 |
|
| 5790 |
//=== VK_EXT_device_generated_commands === |
| 5791 |
|
| 5792 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see |
| 5793 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html |
| 5794 |
VULKAN_HPP_NODISCARD MemoryRequirements2 |
| 5795 |
getGeneratedCommandsMemoryRequirementsEXT( const GeneratedCommandsMemoryRequirementsInfoEXT & info ) const VULKAN_HPP_NOEXCEPT; |
| 5796 |
|
| 5797 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see |
| 5798 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html |
| 5799 |
template <typename X, typename Y, typename... Z> |
| 5800 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> |
| 5801 |
getGeneratedCommandsMemoryRequirementsEXT( const GeneratedCommandsMemoryRequirementsInfoEXT & info ) const VULKAN_HPP_NOEXCEPT; |
| 5802 |
|
| 5803 |
// wrapper function for command vkCreateIndirectCommandsLayoutEXT, see |
| 5804 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html |
| 5805 |
VULKAN_HPP_NODISCARD typename ResultValueType<IndirectCommandsLayoutEXT>::type |
| 5806 |
createIndirectCommandsLayoutEXT( IndirectCommandsLayoutCreateInfoEXT const & createInfo, |
| 5807 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5808 |
|
| 5809 |
// wrapper function for command vkCreateIndirectExecutionSetEXT, see |
| 5810 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html |
| 5811 |
VULKAN_HPP_NODISCARD typename ResultValueType<IndirectExecutionSetEXT>::type |
| 5812 |
createIndirectExecutionSetEXT( IndirectExecutionSetCreateInfoEXT const & createInfo, |
| 5813 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 5814 |
|
| 5815 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 5816 |
//=== VK_EXT_external_memory_metal === |
| 5817 |
|
| 5818 |
// wrapper function for command vkGetMemoryMetalHandleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandleEXT.html |
| 5819 |
VULKAN_HPP_NODISCARD typename ResultValueType<void *>::type getMemoryMetalHandleEXT( const MemoryGetMetalHandleInfoEXT & getMetalHandleInfo ) const; |
| 5820 |
|
| 5821 |
// wrapper function for command vkGetMemoryMetalHandlePropertiesEXT, see |
| 5822 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandlePropertiesEXT.html |
| 5823 |
template <typename HandleType> |
| 5824 |
VULKAN_HPP_NODISCARD typename ResultValueType<MemoryMetalHandlePropertiesEXT>::type |
| 5825 |
getMemoryMetalHandlePropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, HandleType const & handle ) const; |
| 5826 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 5827 |
|
| 5828 |
private: |
| 5829 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 5830 |
const AllocationCallbacks * m_allocator = {}; |
| 5831 |
std::unique_ptr<detail::DeviceDispatcher> m_dispatcher; |
| 5832 |
}; |
| 5833 |
|
| 5834 |
template <> |
| 5835 |
struct isVulkanRAIIHandleType<Device> |
| 5836 |
{ |
| 5837 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 5838 |
}; |
| 5839 |
|
| 5840 |
// wrapper class for handle VkAccelerationStructureKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkAccelerationStructureKHR.html |
| 5841 |
class AccelerationStructureKHR |
| 5842 |
{ |
| 5843 |
public: |
| 5844 |
using CType = VkAccelerationStructureKHR; |
| 5845 |
using CppType = VULKAN_HPP_NAMESPACE::AccelerationStructureKHR; |
| 5846 |
|
| 5847 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eAccelerationStructureKHR; |
| 5848 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eAccelerationStructureKHR; |
| 5849 |
|
| 5850 |
public: |
| 5851 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 5852 |
AccelerationStructureKHR( Device const & device, |
| 5853 |
AccelerationStructureCreateInfoKHR const & createInfo, |
| 5854 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 5855 |
{ |
| 5856 |
*this = device.createAccelerationStructureKHR( createInfo, allocator ); |
| 5857 |
} |
| 5858 |
# endif |
| 5859 |
|
| 5860 |
AccelerationStructureKHR( Device const & device, |
| 5861 |
VkAccelerationStructureKHR accelerationStructure, |
| 5862 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 5863 |
: m_device( device ) |
| 5864 |
, m_accelerationStructureKHR( accelerationStructure ) |
| 5865 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 5866 |
, m_dispatcher( device.getDispatcher() ) |
| 5867 |
{ |
| 5868 |
} |
| 5869 |
|
| 5870 |
AccelerationStructureKHR( std::nullptr_t ) {} |
| 5871 |
|
| 5872 |
~AccelerationStructureKHR() |
| 5873 |
{ |
| 5874 |
clear(); |
| 5875 |
} |
| 5876 |
|
| 5877 |
AccelerationStructureKHR() = delete; |
| 5878 |
AccelerationStructureKHR( AccelerationStructureKHR const & ) = delete; |
| 5879 |
|
| 5880 |
AccelerationStructureKHR( AccelerationStructureKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 5881 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 5882 |
, m_accelerationStructureKHR( exchange( rhs.m_accelerationStructureKHR, {} ) ) |
| 5883 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 5884 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 5885 |
{ |
| 5886 |
} |
| 5887 |
|
| 5888 |
AccelerationStructureKHR & operator=( AccelerationStructureKHR const & ) = delete; |
| 5889 |
|
| 5890 |
AccelerationStructureKHR & operator=( AccelerationStructureKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 5891 |
{ |
| 5892 |
if ( this != &rhs ) |
| 5893 |
{ |
| 5894 |
std::swap( m_device, rhs.m_device ); |
| 5895 |
std::swap( m_accelerationStructureKHR, rhs.m_accelerationStructureKHR ); |
| 5896 |
std::swap( m_allocator, rhs.m_allocator ); |
| 5897 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 5898 |
} |
| 5899 |
return *this; |
| 5900 |
} |
| 5901 |
|
| 5902 |
VULKAN_HPP_NAMESPACE::AccelerationStructureKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 5903 |
{ |
| 5904 |
return m_accelerationStructureKHR; |
| 5905 |
} |
| 5906 |
|
| 5907 |
VULKAN_HPP_NAMESPACE::AccelerationStructureKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 5908 |
{ |
| 5909 |
return std::move( m_accelerationStructureKHR ); |
| 5910 |
} |
| 5911 |
|
| 5912 |
operator VULKAN_HPP_NAMESPACE::AccelerationStructureKHR() const VULKAN_HPP_NOEXCEPT |
| 5913 |
{ |
| 5914 |
return m_accelerationStructureKHR; |
| 5915 |
} |
| 5916 |
|
| 5917 |
void clear() VULKAN_HPP_NOEXCEPT |
| 5918 |
{ |
| 5919 |
if ( m_accelerationStructureKHR ) |
| 5920 |
{ |
| 5921 |
getDispatcher()->vkDestroyAccelerationStructureKHR( static_cast<VkDevice>( m_device ), |
| 5922 |
static_cast<VkAccelerationStructureKHR>( m_accelerationStructureKHR ), |
| 5923 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 5924 |
} |
| 5925 |
m_device = nullptr; |
| 5926 |
m_accelerationStructureKHR = nullptr; |
| 5927 |
m_allocator = nullptr; |
| 5928 |
m_dispatcher = nullptr; |
| 5929 |
} |
| 5930 |
|
| 5931 |
VULKAN_HPP_NAMESPACE::AccelerationStructureKHR release() |
| 5932 |
{ |
| 5933 |
m_device = nullptr; |
| 5934 |
m_allocator = nullptr; |
| 5935 |
m_dispatcher = nullptr; |
| 5936 |
return exchange( m_accelerationStructureKHR, nullptr ); |
| 5937 |
} |
| 5938 |
|
| 5939 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 5940 |
{ |
| 5941 |
return m_device; |
| 5942 |
} |
| 5943 |
|
| 5944 |
detail::DeviceDispatcher const * getDispatcher() const |
| 5945 |
{ |
| 5946 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 5947 |
return m_dispatcher; |
| 5948 |
} |
| 5949 |
|
| 5950 |
void swap( AccelerationStructureKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 5951 |
{ |
| 5952 |
std::swap( m_device, rhs.m_device ); |
| 5953 |
std::swap( m_accelerationStructureKHR, rhs.m_accelerationStructureKHR ); |
| 5954 |
std::swap( m_allocator, rhs.m_allocator ); |
| 5955 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 5956 |
} |
| 5957 |
|
| 5958 |
private: |
| 5959 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 5960 |
VULKAN_HPP_NAMESPACE::AccelerationStructureKHR m_accelerationStructureKHR = {}; |
| 5961 |
const AllocationCallbacks * m_allocator = {}; |
| 5962 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 5963 |
}; |
| 5964 |
|
| 5965 |
template <> |
| 5966 |
struct isVulkanRAIIHandleType<AccelerationStructureKHR> |
| 5967 |
{ |
| 5968 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 5969 |
}; |
| 5970 |
|
| 5971 |
// wrapper class for handle VkAccelerationStructureNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkAccelerationStructureNV.html |
| 5972 |
class AccelerationStructureNV |
| 5973 |
{ |
| 5974 |
public: |
| 5975 |
using CType = VkAccelerationStructureNV; |
| 5976 |
using CppType = VULKAN_HPP_NAMESPACE::AccelerationStructureNV; |
| 5977 |
|
| 5978 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eAccelerationStructureNV; |
| 5979 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eAccelerationStructureNV; |
| 5980 |
|
| 5981 |
public: |
| 5982 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 5983 |
AccelerationStructureNV( Device const & device, |
| 5984 |
AccelerationStructureCreateInfoNV const & createInfo, |
| 5985 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 5986 |
{ |
| 5987 |
*this = device.createAccelerationStructureNV( createInfo, allocator ); |
| 5988 |
} |
| 5989 |
# endif |
| 5990 |
|
| 5991 |
AccelerationStructureNV( Device const & device, VkAccelerationStructureNV accelerationStructure, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 5992 |
: m_device( device ) |
| 5993 |
, m_accelerationStructureNV( accelerationStructure ) |
| 5994 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 5995 |
, m_dispatcher( device.getDispatcher() ) |
| 5996 |
{ |
| 5997 |
} |
| 5998 |
|
| 5999 |
AccelerationStructureNV( std::nullptr_t ) {} |
| 6000 |
|
| 6001 |
~AccelerationStructureNV() |
| 6002 |
{ |
| 6003 |
clear(); |
| 6004 |
} |
| 6005 |
|
| 6006 |
AccelerationStructureNV() = delete; |
| 6007 |
AccelerationStructureNV( AccelerationStructureNV const & ) = delete; |
| 6008 |
|
| 6009 |
AccelerationStructureNV( AccelerationStructureNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 6010 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 6011 |
, m_accelerationStructureNV( exchange( rhs.m_accelerationStructureNV, {} ) ) |
| 6012 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 6013 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 6014 |
{ |
| 6015 |
} |
| 6016 |
|
| 6017 |
AccelerationStructureNV & operator=( AccelerationStructureNV const & ) = delete; |
| 6018 |
|
| 6019 |
AccelerationStructureNV & operator=( AccelerationStructureNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 6020 |
{ |
| 6021 |
if ( this != &rhs ) |
| 6022 |
{ |
| 6023 |
std::swap( m_device, rhs.m_device ); |
| 6024 |
std::swap( m_accelerationStructureNV, rhs.m_accelerationStructureNV ); |
| 6025 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6026 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6027 |
} |
| 6028 |
return *this; |
| 6029 |
} |
| 6030 |
|
| 6031 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 6032 |
{ |
| 6033 |
return m_accelerationStructureNV; |
| 6034 |
} |
| 6035 |
|
| 6036 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 6037 |
{ |
| 6038 |
return std::move( m_accelerationStructureNV ); |
| 6039 |
} |
| 6040 |
|
| 6041 |
operator VULKAN_HPP_NAMESPACE::AccelerationStructureNV() const VULKAN_HPP_NOEXCEPT |
| 6042 |
{ |
| 6043 |
return m_accelerationStructureNV; |
| 6044 |
} |
| 6045 |
|
| 6046 |
void clear() VULKAN_HPP_NOEXCEPT |
| 6047 |
{ |
| 6048 |
if ( m_accelerationStructureNV ) |
| 6049 |
{ |
| 6050 |
getDispatcher()->vkDestroyAccelerationStructureNV( static_cast<VkDevice>( m_device ), |
| 6051 |
static_cast<VkAccelerationStructureNV>( m_accelerationStructureNV ), |
| 6052 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 6053 |
} |
| 6054 |
m_device = nullptr; |
| 6055 |
m_accelerationStructureNV = nullptr; |
| 6056 |
m_allocator = nullptr; |
| 6057 |
m_dispatcher = nullptr; |
| 6058 |
} |
| 6059 |
|
| 6060 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV release() |
| 6061 |
{ |
| 6062 |
m_device = nullptr; |
| 6063 |
m_allocator = nullptr; |
| 6064 |
m_dispatcher = nullptr; |
| 6065 |
return exchange( m_accelerationStructureNV, nullptr ); |
| 6066 |
} |
| 6067 |
|
| 6068 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 6069 |
{ |
| 6070 |
return m_device; |
| 6071 |
} |
| 6072 |
|
| 6073 |
detail::DeviceDispatcher const * getDispatcher() const |
| 6074 |
{ |
| 6075 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 6076 |
return m_dispatcher; |
| 6077 |
} |
| 6078 |
|
| 6079 |
void swap( AccelerationStructureNV & rhs ) VULKAN_HPP_NOEXCEPT |
| 6080 |
{ |
| 6081 |
std::swap( m_device, rhs.m_device ); |
| 6082 |
std::swap( m_accelerationStructureNV, rhs.m_accelerationStructureNV ); |
| 6083 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6084 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6085 |
} |
| 6086 |
|
| 6087 |
//=== VK_NV_ray_tracing === |
| 6088 |
|
| 6089 |
// wrapper function for command vkGetAccelerationStructureHandleNV, see |
| 6090 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html |
| 6091 |
template <typename DataType> |
| 6092 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataType>>::type getHandle( size_t dataSize ) const; |
| 6093 |
|
| 6094 |
// wrapper function for command vkGetAccelerationStructureHandleNV, see |
| 6095 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html |
| 6096 |
template <typename DataType> |
| 6097 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type getHandle() const; |
| 6098 |
|
| 6099 |
private: |
| 6100 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 6101 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV m_accelerationStructureNV = {}; |
| 6102 |
const AllocationCallbacks * m_allocator = {}; |
| 6103 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 6104 |
}; |
| 6105 |
|
| 6106 |
template <> |
| 6107 |
struct isVulkanRAIIHandleType<AccelerationStructureNV> |
| 6108 |
{ |
| 6109 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 6110 |
}; |
| 6111 |
|
| 6112 |
// wrapper class for handle VkBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkBuffer.html |
| 6113 |
class Buffer |
| 6114 |
{ |
| 6115 |
public: |
| 6116 |
using CType = VkBuffer; |
| 6117 |
using CppType = VULKAN_HPP_NAMESPACE::Buffer; |
| 6118 |
|
| 6119 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eBuffer; |
| 6120 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eBuffer; |
| 6121 |
|
| 6122 |
public: |
| 6123 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 6124 |
Buffer( Device const & device, BufferCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6125 |
{ |
| 6126 |
*this = device.createBuffer( createInfo, allocator ); |
| 6127 |
} |
| 6128 |
# endif |
| 6129 |
|
| 6130 |
Buffer( Device const & device, VkBuffer buffer, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6131 |
: m_device( device ), m_buffer( buffer ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ), m_dispatcher( device.getDispatcher() ) |
| 6132 |
{ |
| 6133 |
} |
| 6134 |
|
| 6135 |
Buffer( std::nullptr_t ) {} |
| 6136 |
|
| 6137 |
~Buffer() |
| 6138 |
{ |
| 6139 |
clear(); |
| 6140 |
} |
| 6141 |
|
| 6142 |
Buffer() = delete; |
| 6143 |
Buffer( Buffer const & ) = delete; |
| 6144 |
|
| 6145 |
Buffer( Buffer && rhs ) VULKAN_HPP_NOEXCEPT |
| 6146 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 6147 |
, m_buffer( exchange( rhs.m_buffer, {} ) ) |
| 6148 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 6149 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 6150 |
{ |
| 6151 |
} |
| 6152 |
|
| 6153 |
Buffer & operator=( Buffer const & ) = delete; |
| 6154 |
|
| 6155 |
Buffer & operator=( Buffer && rhs ) VULKAN_HPP_NOEXCEPT |
| 6156 |
{ |
| 6157 |
if ( this != &rhs ) |
| 6158 |
{ |
| 6159 |
std::swap( m_device, rhs.m_device ); |
| 6160 |
std::swap( m_buffer, rhs.m_buffer ); |
| 6161 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6162 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6163 |
} |
| 6164 |
return *this; |
| 6165 |
} |
| 6166 |
|
| 6167 |
VULKAN_HPP_NAMESPACE::Buffer const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 6168 |
{ |
| 6169 |
return m_buffer; |
| 6170 |
} |
| 6171 |
|
| 6172 |
VULKAN_HPP_NAMESPACE::Buffer const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 6173 |
{ |
| 6174 |
return std::move( m_buffer ); |
| 6175 |
} |
| 6176 |
|
| 6177 |
operator VULKAN_HPP_NAMESPACE::Buffer() const VULKAN_HPP_NOEXCEPT |
| 6178 |
{ |
| 6179 |
return m_buffer; |
| 6180 |
} |
| 6181 |
|
| 6182 |
void clear() VULKAN_HPP_NOEXCEPT |
| 6183 |
{ |
| 6184 |
if ( m_buffer ) |
| 6185 |
{ |
| 6186 |
getDispatcher()->vkDestroyBuffer( |
| 6187 |
static_cast<VkDevice>( m_device ), static_cast<VkBuffer>( m_buffer ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 6188 |
} |
| 6189 |
m_device = nullptr; |
| 6190 |
m_buffer = nullptr; |
| 6191 |
m_allocator = nullptr; |
| 6192 |
m_dispatcher = nullptr; |
| 6193 |
} |
| 6194 |
|
| 6195 |
VULKAN_HPP_NAMESPACE::Buffer release() |
| 6196 |
{ |
| 6197 |
m_device = nullptr; |
| 6198 |
m_allocator = nullptr; |
| 6199 |
m_dispatcher = nullptr; |
| 6200 |
return exchange( m_buffer, nullptr ); |
| 6201 |
} |
| 6202 |
|
| 6203 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 6204 |
{ |
| 6205 |
return m_device; |
| 6206 |
} |
| 6207 |
|
| 6208 |
detail::DeviceDispatcher const * getDispatcher() const |
| 6209 |
{ |
| 6210 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 6211 |
return m_dispatcher; |
| 6212 |
} |
| 6213 |
|
| 6214 |
void swap( Buffer & rhs ) VULKAN_HPP_NOEXCEPT |
| 6215 |
{ |
| 6216 |
std::swap( m_device, rhs.m_device ); |
| 6217 |
std::swap( m_buffer, rhs.m_buffer ); |
| 6218 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6219 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6220 |
} |
| 6221 |
|
| 6222 |
//=== VK_VERSION_1_0 === |
| 6223 |
|
| 6224 |
// wrapper function for command vkBindBufferMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory.html |
| 6225 |
typename ResultValueType<void>::type bindMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, DeviceSize memoryOffset ) const; |
| 6226 |
|
| 6227 |
// wrapper function for command vkGetBufferMemoryRequirements, see |
| 6228 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements.html |
| 6229 |
VULKAN_HPP_NODISCARD MemoryRequirements getMemoryRequirements() const VULKAN_HPP_NOEXCEPT; |
| 6230 |
|
| 6231 |
protected: |
| 6232 |
Buffer( VULKAN_HPP_NAMESPACE::Device device, |
| 6233 |
VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 6234 |
const AllocationCallbacks * allocator, |
| 6235 |
detail::DeviceDispatcher const * dispatcher ) VULKAN_HPP_NOEXCEPT |
| 6236 |
: m_device( exchange( device, {} ) ) |
| 6237 |
, m_buffer( exchange( buffer, {} ) ) |
| 6238 |
, m_allocator( exchange( allocator, {} ) ) |
| 6239 |
, m_dispatcher( exchange( dispatcher, nullptr ) ) |
| 6240 |
{ |
| 6241 |
} |
| 6242 |
|
| 6243 |
private: |
| 6244 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 6245 |
VULKAN_HPP_NAMESPACE::Buffer m_buffer = {}; |
| 6246 |
const AllocationCallbacks * m_allocator = {}; |
| 6247 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 6248 |
}; |
| 6249 |
|
| 6250 |
template <> |
| 6251 |
struct isVulkanRAIIHandleType<Buffer> |
| 6252 |
{ |
| 6253 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 6254 |
}; |
| 6255 |
|
| 6256 |
// wrapper class for handle VkBufferCollectionFUCHSIA, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkBufferCollectionFUCHSIA.html |
| 6257 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 6258 |
class BufferCollectionFUCHSIA |
| 6259 |
{ |
| 6260 |
public: |
| 6261 |
using CType = VkBufferCollectionFUCHSIA; |
| 6262 |
using CppType = VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA; |
| 6263 |
|
| 6264 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eBufferCollectionFUCHSIA; |
| 6265 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eBufferCollectionFUCHSIA; |
| 6266 |
|
| 6267 |
public: |
| 6268 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 6269 |
BufferCollectionFUCHSIA( Device const & device, |
| 6270 |
BufferCollectionCreateInfoFUCHSIA const & createInfo, |
| 6271 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6272 |
{ |
| 6273 |
*this = device.createBufferCollectionFUCHSIA( createInfo, allocator ); |
| 6274 |
} |
| 6275 |
# endif |
| 6276 |
|
| 6277 |
BufferCollectionFUCHSIA( Device const & device, VkBufferCollectionFUCHSIA collection, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6278 |
: m_device( device ) |
| 6279 |
, m_bufferCollectionFUCHSIA( collection ) |
| 6280 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 6281 |
, m_dispatcher( device.getDispatcher() ) |
| 6282 |
{ |
| 6283 |
} |
| 6284 |
|
| 6285 |
BufferCollectionFUCHSIA( std::nullptr_t ) {} |
| 6286 |
|
| 6287 |
~BufferCollectionFUCHSIA() |
| 6288 |
{ |
| 6289 |
clear(); |
| 6290 |
} |
| 6291 |
|
| 6292 |
BufferCollectionFUCHSIA() = delete; |
| 6293 |
BufferCollectionFUCHSIA( BufferCollectionFUCHSIA const & ) = delete; |
| 6294 |
|
| 6295 |
BufferCollectionFUCHSIA( BufferCollectionFUCHSIA && rhs ) VULKAN_HPP_NOEXCEPT |
| 6296 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 6297 |
, m_bufferCollectionFUCHSIA( exchange( rhs.m_bufferCollectionFUCHSIA, {} ) ) |
| 6298 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 6299 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 6300 |
{ |
| 6301 |
} |
| 6302 |
|
| 6303 |
BufferCollectionFUCHSIA & operator=( BufferCollectionFUCHSIA const & ) = delete; |
| 6304 |
|
| 6305 |
BufferCollectionFUCHSIA & operator=( BufferCollectionFUCHSIA && rhs ) VULKAN_HPP_NOEXCEPT |
| 6306 |
{ |
| 6307 |
if ( this != &rhs ) |
| 6308 |
{ |
| 6309 |
std::swap( m_device, rhs.m_device ); |
| 6310 |
std::swap( m_bufferCollectionFUCHSIA, rhs.m_bufferCollectionFUCHSIA ); |
| 6311 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6312 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6313 |
} |
| 6314 |
return *this; |
| 6315 |
} |
| 6316 |
|
| 6317 |
VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 6318 |
{ |
| 6319 |
return m_bufferCollectionFUCHSIA; |
| 6320 |
} |
| 6321 |
|
| 6322 |
VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 6323 |
{ |
| 6324 |
return std::move( m_bufferCollectionFUCHSIA ); |
| 6325 |
} |
| 6326 |
|
| 6327 |
operator VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA() const VULKAN_HPP_NOEXCEPT |
| 6328 |
{ |
| 6329 |
return m_bufferCollectionFUCHSIA; |
| 6330 |
} |
| 6331 |
|
| 6332 |
void clear() VULKAN_HPP_NOEXCEPT |
| 6333 |
{ |
| 6334 |
if ( m_bufferCollectionFUCHSIA ) |
| 6335 |
{ |
| 6336 |
getDispatcher()->vkDestroyBufferCollectionFUCHSIA( static_cast<VkDevice>( m_device ), |
| 6337 |
static_cast<VkBufferCollectionFUCHSIA>( m_bufferCollectionFUCHSIA ), |
| 6338 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 6339 |
} |
| 6340 |
m_device = nullptr; |
| 6341 |
m_bufferCollectionFUCHSIA = nullptr; |
| 6342 |
m_allocator = nullptr; |
| 6343 |
m_dispatcher = nullptr; |
| 6344 |
} |
| 6345 |
|
| 6346 |
VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA release() |
| 6347 |
{ |
| 6348 |
m_device = nullptr; |
| 6349 |
m_allocator = nullptr; |
| 6350 |
m_dispatcher = nullptr; |
| 6351 |
return exchange( m_bufferCollectionFUCHSIA, nullptr ); |
| 6352 |
} |
| 6353 |
|
| 6354 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 6355 |
{ |
| 6356 |
return m_device; |
| 6357 |
} |
| 6358 |
|
| 6359 |
detail::DeviceDispatcher const * getDispatcher() const |
| 6360 |
{ |
| 6361 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 6362 |
return m_dispatcher; |
| 6363 |
} |
| 6364 |
|
| 6365 |
void swap( BufferCollectionFUCHSIA & rhs ) VULKAN_HPP_NOEXCEPT |
| 6366 |
{ |
| 6367 |
std::swap( m_device, rhs.m_device ); |
| 6368 |
std::swap( m_bufferCollectionFUCHSIA, rhs.m_bufferCollectionFUCHSIA ); |
| 6369 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6370 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6371 |
} |
| 6372 |
|
| 6373 |
//=== VK_FUCHSIA_buffer_collection === |
| 6374 |
|
| 6375 |
// wrapper function for command vkSetBufferCollectionImageConstraintsFUCHSIA, see |
| 6376 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionImageConstraintsFUCHSIA.html |
| 6377 |
typename ResultValueType<void>::type setImageConstraints( const ImageConstraintsInfoFUCHSIA & imageConstraintsInfo ) const; |
| 6378 |
|
| 6379 |
// wrapper function for command vkSetBufferCollectionBufferConstraintsFUCHSIA, see |
| 6380 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionBufferConstraintsFUCHSIA.html |
| 6381 |
typename ResultValueType<void>::type setBufferConstraints( const BufferConstraintsInfoFUCHSIA & bufferConstraintsInfo ) const; |
| 6382 |
|
| 6383 |
// wrapper function for command vkGetBufferCollectionPropertiesFUCHSIA, see |
| 6384 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferCollectionPropertiesFUCHSIA.html |
| 6385 |
VULKAN_HPP_NODISCARD typename ResultValueType<BufferCollectionPropertiesFUCHSIA>::type getProperties() const; |
| 6386 |
|
| 6387 |
private: |
| 6388 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 6389 |
VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA m_bufferCollectionFUCHSIA = {}; |
| 6390 |
const AllocationCallbacks * m_allocator = {}; |
| 6391 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 6392 |
}; |
| 6393 |
|
| 6394 |
template <> |
| 6395 |
struct isVulkanRAIIHandleType<BufferCollectionFUCHSIA> |
| 6396 |
{ |
| 6397 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 6398 |
}; |
| 6399 |
|
| 6400 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 6401 |
|
| 6402 |
// wrapper class for handle VkBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkBufferView.html |
| 6403 |
class BufferView |
| 6404 |
{ |
| 6405 |
public: |
| 6406 |
using CType = VkBufferView; |
| 6407 |
using CppType = VULKAN_HPP_NAMESPACE::BufferView; |
| 6408 |
|
| 6409 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eBufferView; |
| 6410 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eBufferView; |
| 6411 |
|
| 6412 |
public: |
| 6413 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 6414 |
BufferView( Device const & device, BufferViewCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6415 |
{ |
| 6416 |
*this = device.createBufferView( createInfo, allocator ); |
| 6417 |
} |
| 6418 |
# endif |
| 6419 |
|
| 6420 |
BufferView( Device const & device, VkBufferView bufferView, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6421 |
: m_device( device ) |
| 6422 |
, m_bufferView( bufferView ) |
| 6423 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 6424 |
, m_dispatcher( device.getDispatcher() ) |
| 6425 |
{ |
| 6426 |
} |
| 6427 |
|
| 6428 |
BufferView( std::nullptr_t ) {} |
| 6429 |
|
| 6430 |
~BufferView() |
| 6431 |
{ |
| 6432 |
clear(); |
| 6433 |
} |
| 6434 |
|
| 6435 |
BufferView() = delete; |
| 6436 |
BufferView( BufferView const & ) = delete; |
| 6437 |
|
| 6438 |
BufferView( BufferView && rhs ) VULKAN_HPP_NOEXCEPT |
| 6439 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 6440 |
, m_bufferView( exchange( rhs.m_bufferView, {} ) ) |
| 6441 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 6442 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 6443 |
{ |
| 6444 |
} |
| 6445 |
|
| 6446 |
BufferView & operator=( BufferView const & ) = delete; |
| 6447 |
|
| 6448 |
BufferView & operator=( BufferView && rhs ) VULKAN_HPP_NOEXCEPT |
| 6449 |
{ |
| 6450 |
if ( this != &rhs ) |
| 6451 |
{ |
| 6452 |
std::swap( m_device, rhs.m_device ); |
| 6453 |
std::swap( m_bufferView, rhs.m_bufferView ); |
| 6454 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6455 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6456 |
} |
| 6457 |
return *this; |
| 6458 |
} |
| 6459 |
|
| 6460 |
VULKAN_HPP_NAMESPACE::BufferView const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 6461 |
{ |
| 6462 |
return m_bufferView; |
| 6463 |
} |
| 6464 |
|
| 6465 |
VULKAN_HPP_NAMESPACE::BufferView const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 6466 |
{ |
| 6467 |
return std::move( m_bufferView ); |
| 6468 |
} |
| 6469 |
|
| 6470 |
operator VULKAN_HPP_NAMESPACE::BufferView() const VULKAN_HPP_NOEXCEPT |
| 6471 |
{ |
| 6472 |
return m_bufferView; |
| 6473 |
} |
| 6474 |
|
| 6475 |
void clear() VULKAN_HPP_NOEXCEPT |
| 6476 |
{ |
| 6477 |
if ( m_bufferView ) |
| 6478 |
{ |
| 6479 |
getDispatcher()->vkDestroyBufferView( |
| 6480 |
static_cast<VkDevice>( m_device ), static_cast<VkBufferView>( m_bufferView ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 6481 |
} |
| 6482 |
m_device = nullptr; |
| 6483 |
m_bufferView = nullptr; |
| 6484 |
m_allocator = nullptr; |
| 6485 |
m_dispatcher = nullptr; |
| 6486 |
} |
| 6487 |
|
| 6488 |
VULKAN_HPP_NAMESPACE::BufferView release() |
| 6489 |
{ |
| 6490 |
m_device = nullptr; |
| 6491 |
m_allocator = nullptr; |
| 6492 |
m_dispatcher = nullptr; |
| 6493 |
return exchange( m_bufferView, nullptr ); |
| 6494 |
} |
| 6495 |
|
| 6496 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 6497 |
{ |
| 6498 |
return m_device; |
| 6499 |
} |
| 6500 |
|
| 6501 |
detail::DeviceDispatcher const * getDispatcher() const |
| 6502 |
{ |
| 6503 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 6504 |
return m_dispatcher; |
| 6505 |
} |
| 6506 |
|
| 6507 |
void swap( BufferView & rhs ) VULKAN_HPP_NOEXCEPT |
| 6508 |
{ |
| 6509 |
std::swap( m_device, rhs.m_device ); |
| 6510 |
std::swap( m_bufferView, rhs.m_bufferView ); |
| 6511 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6512 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6513 |
} |
| 6514 |
|
| 6515 |
private: |
| 6516 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 6517 |
VULKAN_HPP_NAMESPACE::BufferView m_bufferView = {}; |
| 6518 |
const AllocationCallbacks * m_allocator = {}; |
| 6519 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 6520 |
}; |
| 6521 |
|
| 6522 |
template <> |
| 6523 |
struct isVulkanRAIIHandleType<BufferView> |
| 6524 |
{ |
| 6525 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 6526 |
}; |
| 6527 |
|
| 6528 |
// wrapper class for handle VkCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCommandPool.html |
| 6529 |
class CommandPool |
| 6530 |
{ |
| 6531 |
public: |
| 6532 |
using CType = VkCommandPool; |
| 6533 |
using CppType = VULKAN_HPP_NAMESPACE::CommandPool; |
| 6534 |
|
| 6535 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eCommandPool; |
| 6536 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eCommandPool; |
| 6537 |
|
| 6538 |
public: |
| 6539 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 6540 |
CommandPool( Device const & device, CommandPoolCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6541 |
{ |
| 6542 |
*this = device.createCommandPool( createInfo, allocator ); |
| 6543 |
} |
| 6544 |
# endif |
| 6545 |
|
| 6546 |
CommandPool( Device const & device, VkCommandPool commandPool, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 6547 |
: m_device( device ) |
| 6548 |
, m_commandPool( commandPool ) |
| 6549 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 6550 |
, m_dispatcher( device.getDispatcher() ) |
| 6551 |
{ |
| 6552 |
} |
| 6553 |
|
| 6554 |
CommandPool( std::nullptr_t ) {} |
| 6555 |
|
| 6556 |
~CommandPool() |
| 6557 |
{ |
| 6558 |
clear(); |
| 6559 |
} |
| 6560 |
|
| 6561 |
CommandPool() = delete; |
| 6562 |
CommandPool( CommandPool const & ) = delete; |
| 6563 |
|
| 6564 |
CommandPool( CommandPool && rhs ) VULKAN_HPP_NOEXCEPT |
| 6565 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 6566 |
, m_commandPool( exchange( rhs.m_commandPool, {} ) ) |
| 6567 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 6568 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 6569 |
{ |
| 6570 |
} |
| 6571 |
|
| 6572 |
CommandPool & operator=( CommandPool const & ) = delete; |
| 6573 |
|
| 6574 |
CommandPool & operator=( CommandPool && rhs ) VULKAN_HPP_NOEXCEPT |
| 6575 |
{ |
| 6576 |
if ( this != &rhs ) |
| 6577 |
{ |
| 6578 |
std::swap( m_device, rhs.m_device ); |
| 6579 |
std::swap( m_commandPool, rhs.m_commandPool ); |
| 6580 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6581 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6582 |
} |
| 6583 |
return *this; |
| 6584 |
} |
| 6585 |
|
| 6586 |
VULKAN_HPP_NAMESPACE::CommandPool const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 6587 |
{ |
| 6588 |
return m_commandPool; |
| 6589 |
} |
| 6590 |
|
| 6591 |
VULKAN_HPP_NAMESPACE::CommandPool const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 6592 |
{ |
| 6593 |
return std::move( m_commandPool ); |
| 6594 |
} |
| 6595 |
|
| 6596 |
operator VULKAN_HPP_NAMESPACE::CommandPool() const VULKAN_HPP_NOEXCEPT |
| 6597 |
{ |
| 6598 |
return m_commandPool; |
| 6599 |
} |
| 6600 |
|
| 6601 |
void clear() VULKAN_HPP_NOEXCEPT |
| 6602 |
{ |
| 6603 |
if ( m_commandPool ) |
| 6604 |
{ |
| 6605 |
getDispatcher()->vkDestroyCommandPool( |
| 6606 |
static_cast<VkDevice>( m_device ), static_cast<VkCommandPool>( m_commandPool ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 6607 |
} |
| 6608 |
m_device = nullptr; |
| 6609 |
m_commandPool = nullptr; |
| 6610 |
m_allocator = nullptr; |
| 6611 |
m_dispatcher = nullptr; |
| 6612 |
} |
| 6613 |
|
| 6614 |
VULKAN_HPP_NAMESPACE::CommandPool release() |
| 6615 |
{ |
| 6616 |
m_device = nullptr; |
| 6617 |
m_allocator = nullptr; |
| 6618 |
m_dispatcher = nullptr; |
| 6619 |
return exchange( m_commandPool, nullptr ); |
| 6620 |
} |
| 6621 |
|
| 6622 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 6623 |
{ |
| 6624 |
return m_device; |
| 6625 |
} |
| 6626 |
|
| 6627 |
detail::DeviceDispatcher const * getDispatcher() const |
| 6628 |
{ |
| 6629 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 6630 |
return m_dispatcher; |
| 6631 |
} |
| 6632 |
|
| 6633 |
void swap( CommandPool & rhs ) VULKAN_HPP_NOEXCEPT |
| 6634 |
{ |
| 6635 |
std::swap( m_device, rhs.m_device ); |
| 6636 |
std::swap( m_commandPool, rhs.m_commandPool ); |
| 6637 |
std::swap( m_allocator, rhs.m_allocator ); |
| 6638 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6639 |
} |
| 6640 |
|
| 6641 |
//=== VK_VERSION_1_0 === |
| 6642 |
|
| 6643 |
// wrapper function for command vkResetCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandPool.html |
| 6644 |
typename ResultValueType<void>::type reset( CommandPoolResetFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 6645 |
|
| 6646 |
//=== VK_VERSION_1_1 === |
| 6647 |
|
| 6648 |
// wrapper function for command vkTrimCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPool.html |
| 6649 |
void trim( CommandPoolTrimFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 6650 |
|
| 6651 |
//=== VK_KHR_maintenance1 === |
| 6652 |
|
| 6653 |
// wrapper function for command vkTrimCommandPoolKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPoolKHR.html |
| 6654 |
void trimKHR( CommandPoolTrimFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 6655 |
|
| 6656 |
private: |
| 6657 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 6658 |
VULKAN_HPP_NAMESPACE::CommandPool m_commandPool = {}; |
| 6659 |
const AllocationCallbacks * m_allocator = {}; |
| 6660 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 6661 |
}; |
| 6662 |
|
| 6663 |
template <> |
| 6664 |
struct isVulkanRAIIHandleType<CommandPool> |
| 6665 |
{ |
| 6666 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 6667 |
}; |
| 6668 |
|
| 6669 |
// wrapper class for handle VkCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCommandBuffer.html |
| 6670 |
class CommandBuffer |
| 6671 |
{ |
| 6672 |
public: |
| 6673 |
using CType = VkCommandBuffer; |
| 6674 |
using CppType = VULKAN_HPP_NAMESPACE::CommandBuffer; |
| 6675 |
|
| 6676 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eCommandBuffer; |
| 6677 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eCommandBuffer; |
| 6678 |
|
| 6679 |
public: |
| 6680 |
CommandBuffer( Device const & device, VkCommandBuffer commandBuffer, VkCommandPool commandPool ) |
| 6681 |
: m_device( device ), m_commandPool( commandPool ), m_commandBuffer( commandBuffer ), m_dispatcher( device.getDispatcher() ) |
| 6682 |
{ |
| 6683 |
} |
| 6684 |
|
| 6685 |
CommandBuffer( std::nullptr_t ) {} |
| 6686 |
|
| 6687 |
~CommandBuffer() |
| 6688 |
{ |
| 6689 |
clear(); |
| 6690 |
} |
| 6691 |
|
| 6692 |
CommandBuffer() = delete; |
| 6693 |
CommandBuffer( CommandBuffer const & ) = delete; |
| 6694 |
|
| 6695 |
CommandBuffer( CommandBuffer && rhs ) VULKAN_HPP_NOEXCEPT |
| 6696 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 6697 |
, m_commandPool( exchange( rhs.m_commandPool, {} ) ) |
| 6698 |
, m_commandBuffer( exchange( rhs.m_commandBuffer, {} ) ) |
| 6699 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 6700 |
{ |
| 6701 |
} |
| 6702 |
|
| 6703 |
CommandBuffer & operator=( CommandBuffer const & ) = delete; |
| 6704 |
|
| 6705 |
CommandBuffer & operator=( CommandBuffer && rhs ) VULKAN_HPP_NOEXCEPT |
| 6706 |
{ |
| 6707 |
if ( this != &rhs ) |
| 6708 |
{ |
| 6709 |
std::swap( m_device, rhs.m_device ); |
| 6710 |
std::swap( m_commandPool, rhs.m_commandPool ); |
| 6711 |
std::swap( m_commandBuffer, rhs.m_commandBuffer ); |
| 6712 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6713 |
} |
| 6714 |
return *this; |
| 6715 |
} |
| 6716 |
|
| 6717 |
VULKAN_HPP_NAMESPACE::CommandBuffer const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 6718 |
{ |
| 6719 |
return m_commandBuffer; |
| 6720 |
} |
| 6721 |
|
| 6722 |
VULKAN_HPP_NAMESPACE::CommandBuffer const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 6723 |
{ |
| 6724 |
return std::move( m_commandBuffer ); |
| 6725 |
} |
| 6726 |
|
| 6727 |
operator VULKAN_HPP_NAMESPACE::CommandBuffer() const VULKAN_HPP_NOEXCEPT |
| 6728 |
{ |
| 6729 |
return m_commandBuffer; |
| 6730 |
} |
| 6731 |
|
| 6732 |
void clear() VULKAN_HPP_NOEXCEPT |
| 6733 |
{ |
| 6734 |
if ( m_commandBuffer ) |
| 6735 |
{ |
| 6736 |
getDispatcher()->vkFreeCommandBuffers( |
| 6737 |
static_cast<VkDevice>( m_device ), static_cast<VkCommandPool>( m_commandPool ), 1, reinterpret_cast<VkCommandBuffer const *>( &m_commandBuffer ) ); |
| 6738 |
} |
| 6739 |
m_device = nullptr; |
| 6740 |
m_commandPool = nullptr; |
| 6741 |
m_commandBuffer = nullptr; |
| 6742 |
m_dispatcher = nullptr; |
| 6743 |
} |
| 6744 |
|
| 6745 |
VULKAN_HPP_NAMESPACE::CommandBuffer release() |
| 6746 |
{ |
| 6747 |
m_device = nullptr; |
| 6748 |
m_commandPool = nullptr; |
| 6749 |
m_dispatcher = nullptr; |
| 6750 |
return exchange( m_commandBuffer, nullptr ); |
| 6751 |
} |
| 6752 |
|
| 6753 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 6754 |
{ |
| 6755 |
return m_device; |
| 6756 |
} |
| 6757 |
|
| 6758 |
detail::DeviceDispatcher const * getDispatcher() const |
| 6759 |
{ |
| 6760 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 6761 |
return m_dispatcher; |
| 6762 |
} |
| 6763 |
|
| 6764 |
void swap( CommandBuffer & rhs ) VULKAN_HPP_NOEXCEPT |
| 6765 |
{ |
| 6766 |
std::swap( m_device, rhs.m_device ); |
| 6767 |
std::swap( m_commandPool, rhs.m_commandPool ); |
| 6768 |
std::swap( m_commandBuffer, rhs.m_commandBuffer ); |
| 6769 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 6770 |
} |
| 6771 |
|
| 6772 |
//=== VK_VERSION_1_0 === |
| 6773 |
|
| 6774 |
// wrapper function for command vkBeginCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBeginCommandBuffer.html |
| 6775 |
typename ResultValueType<void>::type begin( const CommandBufferBeginInfo & beginInfo ) const; |
| 6776 |
|
| 6777 |
// wrapper function for command vkEndCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEndCommandBuffer.html |
| 6778 |
typename ResultValueType<void>::type end() const; |
| 6779 |
|
| 6780 |
// wrapper function for command vkResetCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandBuffer.html |
| 6781 |
typename ResultValueType<void>::type reset( CommandBufferResetFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 6782 |
|
| 6783 |
// wrapper function for command vkCmdCopyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer.html |
| 6784 |
void copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, |
| 6785 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 6786 |
ArrayProxy<const BufferCopy> const & regions ) const VULKAN_HPP_NOEXCEPT; |
| 6787 |
|
| 6788 |
// wrapper function for command vkCmdCopyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage.html |
| 6789 |
void copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 6790 |
ImageLayout srcImageLayout, |
| 6791 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 6792 |
ImageLayout dstImageLayout, |
| 6793 |
ArrayProxy<const ImageCopy> const & regions ) const VULKAN_HPP_NOEXCEPT; |
| 6794 |
|
| 6795 |
// wrapper function for command vkCmdCopyBufferToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage.html |
| 6796 |
void copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, |
| 6797 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 6798 |
ImageLayout dstImageLayout, |
| 6799 |
ArrayProxy<const BufferImageCopy> const & regions ) const VULKAN_HPP_NOEXCEPT; |
| 6800 |
|
| 6801 |
// wrapper function for command vkCmdCopyImageToBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer.html |
| 6802 |
void copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 6803 |
ImageLayout srcImageLayout, |
| 6804 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 6805 |
ArrayProxy<const BufferImageCopy> const & regions ) const VULKAN_HPP_NOEXCEPT; |
| 6806 |
|
| 6807 |
// wrapper function for command vkCmdUpdateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateBuffer.html |
| 6808 |
template <typename DataType> |
| 6809 |
void updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, DeviceSize dstOffset, ArrayProxy<const DataType> const & data ) const VULKAN_HPP_NOEXCEPT; |
| 6810 |
|
| 6811 |
// wrapper function for command vkCmdFillBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillBuffer.html |
| 6812 |
void fillBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data ) const VULKAN_HPP_NOEXCEPT; |
| 6813 |
|
| 6814 |
// wrapper function for command vkCmdPipelineBarrier, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier.html |
| 6815 |
void pipelineBarrier( PipelineStageFlags srcStageMask, |
| 6816 |
PipelineStageFlags dstStageMask, |
| 6817 |
DependencyFlags dependencyFlags, |
| 6818 |
ArrayProxy<const MemoryBarrier> const & memoryBarriers, |
| 6819 |
ArrayProxy<const BufferMemoryBarrier> const & bufferMemoryBarriers, |
| 6820 |
ArrayProxy<const ImageMemoryBarrier> const & imageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT; |
| 6821 |
|
| 6822 |
// wrapper function for command vkCmdBeginQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQuery.html |
| 6823 |
void beginQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 6824 |
uint32_t query, |
| 6825 |
QueryControlFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 6826 |
|
| 6827 |
// wrapper function for command vkCmdEndQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQuery.html |
| 6828 |
void endQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT; |
| 6829 |
|
| 6830 |
// wrapper function for command vkCmdResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetQueryPool.html |
| 6831 |
void resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT; |
| 6832 |
|
| 6833 |
// wrapper function for command vkCmdWriteTimestamp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp.html |
| 6834 |
void writeTimestamp( PipelineStageFlagBits pipelineStage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT; |
| 6835 |
|
| 6836 |
// wrapper function for command vkCmdCopyQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResults.html |
| 6837 |
void copyQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 6838 |
uint32_t firstQuery, |
| 6839 |
uint32_t queryCount, |
| 6840 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 6841 |
DeviceSize dstOffset, |
| 6842 |
DeviceSize stride, |
| 6843 |
QueryResultFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 6844 |
|
| 6845 |
// wrapper function for command vkCmdExecuteCommands, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteCommands.html |
| 6846 |
void executeCommands( ArrayProxy<const VULKAN_HPP_NAMESPACE::CommandBuffer> const & commandBuffers ) const VULKAN_HPP_NOEXCEPT; |
| 6847 |
|
| 6848 |
// wrapper function for command vkCmdBindPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipeline.html |
| 6849 |
void bindPipeline( PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline ) const VULKAN_HPP_NOEXCEPT; |
| 6850 |
|
| 6851 |
// wrapper function for command vkCmdBindDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets.html |
| 6852 |
void bindDescriptorSets( PipelineBindPoint pipelineBindPoint, |
| 6853 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 6854 |
uint32_t firstSet, |
| 6855 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::DescriptorSet> const & descriptorSets, |
| 6856 |
ArrayProxy<const uint32_t> const & dynamicOffsets ) const VULKAN_HPP_NOEXCEPT; |
| 6857 |
|
| 6858 |
// wrapper function for command vkCmdClearColorImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearColorImage.html |
| 6859 |
void clearColorImage( VULKAN_HPP_NAMESPACE::Image image, |
| 6860 |
ImageLayout imageLayout, |
| 6861 |
const ClearColorValue & color, |
| 6862 |
ArrayProxy<const ImageSubresourceRange> const & ranges ) const VULKAN_HPP_NOEXCEPT; |
| 6863 |
|
| 6864 |
// wrapper function for command vkCmdDispatch, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatch.html |
| 6865 |
void dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT; |
| 6866 |
|
| 6867 |
// wrapper function for command vkCmdDispatchIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect.html |
| 6868 |
void dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset ) const VULKAN_HPP_NOEXCEPT; |
| 6869 |
|
| 6870 |
// wrapper function for command vkCmdSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent.html |
| 6871 |
void setEvent( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags stageMask VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 6872 |
|
| 6873 |
// wrapper function for command vkCmdResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent.html |
| 6874 |
void resetEvent( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags stageMask VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 6875 |
|
| 6876 |
// wrapper function for command vkCmdWaitEvents, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents.html |
| 6877 |
void waitEvents( ArrayProxy<const VULKAN_HPP_NAMESPACE::Event> const & events, |
| 6878 |
PipelineStageFlags srcStageMask, |
| 6879 |
PipelineStageFlags dstStageMask, |
| 6880 |
ArrayProxy<const MemoryBarrier> const & memoryBarriers, |
| 6881 |
ArrayProxy<const BufferMemoryBarrier> const & bufferMemoryBarriers, |
| 6882 |
ArrayProxy<const ImageMemoryBarrier> const & imageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT; |
| 6883 |
|
| 6884 |
// wrapper function for command vkCmdPushConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants.html |
| 6885 |
template <typename ValuesType> |
| 6886 |
void pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 6887 |
ShaderStageFlags stageFlags, |
| 6888 |
uint32_t offset, |
| 6889 |
ArrayProxy<const ValuesType> const & values ) const VULKAN_HPP_NOEXCEPT; |
| 6890 |
|
| 6891 |
// wrapper function for command vkCmdSetViewport, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewport.html |
| 6892 |
void setViewport( uint32_t firstViewport, ArrayProxy<const Viewport> const & viewports ) const VULKAN_HPP_NOEXCEPT; |
| 6893 |
|
| 6894 |
// wrapper function for command vkCmdSetScissor, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissor.html |
| 6895 |
void setScissor( uint32_t firstScissor, ArrayProxy<const Rect2D> const & scissors ) const VULKAN_HPP_NOEXCEPT; |
| 6896 |
|
| 6897 |
// wrapper function for command vkCmdSetLineWidth, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineWidth.html |
| 6898 |
void setLineWidth( float lineWidth ) const VULKAN_HPP_NOEXCEPT; |
| 6899 |
|
| 6900 |
// wrapper function for command vkCmdSetDepthBias, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias.html |
| 6901 |
void setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) const VULKAN_HPP_NOEXCEPT; |
| 6902 |
|
| 6903 |
// wrapper function for command vkCmdSetBlendConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetBlendConstants.html |
| 6904 |
void setBlendConstants( const float blendConstants[4] ) const VULKAN_HPP_NOEXCEPT; |
| 6905 |
|
| 6906 |
// wrapper function for command vkCmdSetDepthBounds, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBounds.html |
| 6907 |
void setDepthBounds( float minDepthBounds, float maxDepthBounds ) const VULKAN_HPP_NOEXCEPT; |
| 6908 |
|
| 6909 |
// wrapper function for command vkCmdSetStencilCompareMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilCompareMask.html |
| 6910 |
void setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask ) const VULKAN_HPP_NOEXCEPT; |
| 6911 |
|
| 6912 |
// wrapper function for command vkCmdSetStencilWriteMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilWriteMask.html |
| 6913 |
void setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask ) const VULKAN_HPP_NOEXCEPT; |
| 6914 |
|
| 6915 |
// wrapper function for command vkCmdSetStencilReference, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilReference.html |
| 6916 |
void setStencilReference( StencilFaceFlags faceMask, uint32_t reference ) const VULKAN_HPP_NOEXCEPT; |
| 6917 |
|
| 6918 |
// wrapper function for command vkCmdBindIndexBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer.html |
| 6919 |
void bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, IndexType indexType ) const VULKAN_HPP_NOEXCEPT; |
| 6920 |
|
| 6921 |
// wrapper function for command vkCmdBindVertexBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers.html |
| 6922 |
void bindVertexBuffers( uint32_t firstBinding, |
| 6923 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 6924 |
ArrayProxy<const DeviceSize> const & offsets ) const; |
| 6925 |
|
| 6926 |
// wrapper function for command vkCmdDraw, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDraw.html |
| 6927 |
void draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT; |
| 6928 |
|
| 6929 |
// wrapper function for command vkCmdDrawIndexed, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexed.html |
| 6930 |
void |
| 6931 |
drawIndexed( uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT; |
| 6932 |
|
| 6933 |
// wrapper function for command vkCmdDrawIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect.html |
| 6934 |
void drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 6935 |
|
| 6936 |
// wrapper function for command vkCmdDrawIndexedIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect.html |
| 6937 |
void drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 6938 |
|
| 6939 |
// wrapper function for command vkCmdBlitImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage.html |
| 6940 |
void blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 6941 |
ImageLayout srcImageLayout, |
| 6942 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 6943 |
ImageLayout dstImageLayout, |
| 6944 |
ArrayProxy<const ImageBlit> const & regions, |
| 6945 |
Filter filter ) const VULKAN_HPP_NOEXCEPT; |
| 6946 |
|
| 6947 |
// wrapper function for command vkCmdClearDepthStencilImage, see |
| 6948 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearDepthStencilImage.html |
| 6949 |
void clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, |
| 6950 |
ImageLayout imageLayout, |
| 6951 |
const ClearDepthStencilValue & depthStencil, |
| 6952 |
ArrayProxy<const ImageSubresourceRange> const & ranges ) const VULKAN_HPP_NOEXCEPT; |
| 6953 |
|
| 6954 |
// wrapper function for command vkCmdClearAttachments, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearAttachments.html |
| 6955 |
void clearAttachments( ArrayProxy<const ClearAttachment> const & attachments, ArrayProxy<const ClearRect> const & rects ) const VULKAN_HPP_NOEXCEPT; |
| 6956 |
|
| 6957 |
// wrapper function for command vkCmdResolveImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage.html |
| 6958 |
void resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 6959 |
ImageLayout srcImageLayout, |
| 6960 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 6961 |
ImageLayout dstImageLayout, |
| 6962 |
ArrayProxy<const ImageResolve> const & regions ) const VULKAN_HPP_NOEXCEPT; |
| 6963 |
|
| 6964 |
// wrapper function for command vkCmdBeginRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass.html |
| 6965 |
void beginRenderPass( const RenderPassBeginInfo & renderPassBegin, SubpassContents contents ) const VULKAN_HPP_NOEXCEPT; |
| 6966 |
|
| 6967 |
// wrapper function for command vkCmdNextSubpass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass.html |
| 6968 |
void nextSubpass( SubpassContents contents ) const VULKAN_HPP_NOEXCEPT; |
| 6969 |
|
| 6970 |
// wrapper function for command vkCmdEndRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass.html |
| 6971 |
void endRenderPass() const VULKAN_HPP_NOEXCEPT; |
| 6972 |
|
| 6973 |
//=== VK_VERSION_1_1 === |
| 6974 |
|
| 6975 |
// wrapper function for command vkCmdSetDeviceMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMask.html |
| 6976 |
void setDeviceMask( uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT; |
| 6977 |
|
| 6978 |
// wrapper function for command vkCmdDispatchBase, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBase.html |
| 6979 |
void dispatchBase( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const |
| 6980 |
VULKAN_HPP_NOEXCEPT; |
| 6981 |
|
| 6982 |
//=== VK_VERSION_1_2 === |
| 6983 |
|
| 6984 |
// wrapper function for command vkCmdDrawIndirectCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount.html |
| 6985 |
void drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 6986 |
DeviceSize offset, |
| 6987 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 6988 |
DeviceSize countBufferOffset, |
| 6989 |
uint32_t maxDrawCount, |
| 6990 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 6991 |
|
| 6992 |
// wrapper function for command vkCmdDrawIndexedIndirectCount, see |
| 6993 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount.html |
| 6994 |
void drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 6995 |
DeviceSize offset, |
| 6996 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 6997 |
DeviceSize countBufferOffset, |
| 6998 |
uint32_t maxDrawCount, |
| 6999 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7000 |
|
| 7001 |
// wrapper function for command vkCmdBeginRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2.html |
| 7002 |
void beginRenderPass2( const RenderPassBeginInfo & renderPassBegin, const SubpassBeginInfo & subpassBeginInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7003 |
|
| 7004 |
// wrapper function for command vkCmdNextSubpass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2.html |
| 7005 |
void nextSubpass2( const SubpassBeginInfo & subpassBeginInfo, const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7006 |
|
| 7007 |
// wrapper function for command vkCmdEndRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2.html |
| 7008 |
void endRenderPass2( const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7009 |
|
| 7010 |
//=== VK_VERSION_1_3 === |
| 7011 |
|
| 7012 |
// wrapper function for command vkCmdPipelineBarrier2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2.html |
| 7013 |
void pipelineBarrier2( const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7014 |
|
| 7015 |
// wrapper function for command vkCmdWriteTimestamp2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2.html |
| 7016 |
void writeTimestamp2( PipelineStageFlags2 stage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT; |
| 7017 |
|
| 7018 |
// wrapper function for command vkCmdCopyBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2.html |
| 7019 |
void copyBuffer2( const CopyBufferInfo2 & copyBufferInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7020 |
|
| 7021 |
// wrapper function for command vkCmdCopyImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2.html |
| 7022 |
void copyImage2( const CopyImageInfo2 & copyImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7023 |
|
| 7024 |
// wrapper function for command vkCmdCopyBufferToImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2.html |
| 7025 |
void copyBufferToImage2( const CopyBufferToImageInfo2 & copyBufferToImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7026 |
|
| 7027 |
// wrapper function for command vkCmdCopyImageToBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2.html |
| 7028 |
void copyImageToBuffer2( const CopyImageToBufferInfo2 & copyImageToBufferInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7029 |
|
| 7030 |
// wrapper function for command vkCmdSetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2.html |
| 7031 |
void setEvent2( VULKAN_HPP_NAMESPACE::Event event, const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7032 |
|
| 7033 |
// wrapper function for command vkCmdResetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2.html |
| 7034 |
void resetEvent2( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags2 stageMask VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 7035 |
|
| 7036 |
// wrapper function for command vkCmdWaitEvents2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2.html |
| 7037 |
void waitEvents2( ArrayProxy<const VULKAN_HPP_NAMESPACE::Event> const & events, ArrayProxy<const DependencyInfo> const & dependencyInfos ) const; |
| 7038 |
|
| 7039 |
// wrapper function for command vkCmdBlitImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2.html |
| 7040 |
void blitImage2( const BlitImageInfo2 & blitImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7041 |
|
| 7042 |
// wrapper function for command vkCmdResolveImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2.html |
| 7043 |
void resolveImage2( const ResolveImageInfo2 & resolveImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7044 |
|
| 7045 |
// wrapper function for command vkCmdBeginRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRendering.html |
| 7046 |
void beginRendering( const RenderingInfo & renderingInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7047 |
|
| 7048 |
// wrapper function for command vkCmdEndRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering.html |
| 7049 |
void endRendering() const VULKAN_HPP_NOEXCEPT; |
| 7050 |
|
| 7051 |
// wrapper function for command vkCmdSetCullMode, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullMode.html |
| 7052 |
void setCullMode( CullModeFlags cullMode VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 7053 |
|
| 7054 |
// wrapper function for command vkCmdSetFrontFace, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFace.html |
| 7055 |
void setFrontFace( FrontFace frontFace ) const VULKAN_HPP_NOEXCEPT; |
| 7056 |
|
| 7057 |
// wrapper function for command vkCmdSetPrimitiveTopology, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopology.html |
| 7058 |
void setPrimitiveTopology( PrimitiveTopology primitiveTopology ) const VULKAN_HPP_NOEXCEPT; |
| 7059 |
|
| 7060 |
// wrapper function for command vkCmdSetViewportWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCount.html |
| 7061 |
void setViewportWithCount( ArrayProxy<const Viewport> const & viewports ) const VULKAN_HPP_NOEXCEPT; |
| 7062 |
|
| 7063 |
// wrapper function for command vkCmdSetScissorWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCount.html |
| 7064 |
void setScissorWithCount( ArrayProxy<const Rect2D> const & scissors ) const VULKAN_HPP_NOEXCEPT; |
| 7065 |
|
| 7066 |
// wrapper function for command vkCmdBindVertexBuffers2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2.html |
| 7067 |
void bindVertexBuffers2( uint32_t firstBinding, |
| 7068 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 7069 |
ArrayProxy<const DeviceSize> const & offsets, |
| 7070 |
ArrayProxy<const DeviceSize> const & sizes VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), |
| 7071 |
ArrayProxy<const DeviceSize> const & strides VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 7072 |
|
| 7073 |
// wrapper function for command vkCmdSetDepthTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnable.html |
| 7074 |
void setDepthTestEnable( Bool32 depthTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7075 |
|
| 7076 |
// wrapper function for command vkCmdSetDepthWriteEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnable.html |
| 7077 |
void setDepthWriteEnable( Bool32 depthWriteEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7078 |
|
| 7079 |
// wrapper function for command vkCmdSetDepthCompareOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOp.html |
| 7080 |
void setDepthCompareOp( CompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT; |
| 7081 |
|
| 7082 |
// wrapper function for command vkCmdSetDepthBoundsTestEnable, see |
| 7083 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnable.html |
| 7084 |
void setDepthBoundsTestEnable( Bool32 depthBoundsTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7085 |
|
| 7086 |
// wrapper function for command vkCmdSetStencilTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnable.html |
| 7087 |
void setStencilTestEnable( Bool32 stencilTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7088 |
|
| 7089 |
// wrapper function for command vkCmdSetStencilOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOp.html |
| 7090 |
void setStencilOp( StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, StencilOp depthFailOp, CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT; |
| 7091 |
|
| 7092 |
// wrapper function for command vkCmdSetRasterizerDiscardEnable, see |
| 7093 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnable.html |
| 7094 |
void setRasterizerDiscardEnable( Bool32 rasterizerDiscardEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7095 |
|
| 7096 |
// wrapper function for command vkCmdSetDepthBiasEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnable.html |
| 7097 |
void setDepthBiasEnable( Bool32 depthBiasEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7098 |
|
| 7099 |
// wrapper function for command vkCmdSetPrimitiveRestartEnable, see |
| 7100 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnable.html |
| 7101 |
void setPrimitiveRestartEnable( Bool32 primitiveRestartEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7102 |
|
| 7103 |
//=== VK_VERSION_1_4 === |
| 7104 |
|
| 7105 |
// wrapper function for command vkCmdPushDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet.html |
| 7106 |
void pushDescriptorSet( PipelineBindPoint pipelineBindPoint, |
| 7107 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 7108 |
uint32_t set, |
| 7109 |
ArrayProxy<const WriteDescriptorSet> const & descriptorWrites ) const VULKAN_HPP_NOEXCEPT; |
| 7110 |
|
| 7111 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplate, see |
| 7112 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate.html |
| 7113 |
template <typename DataType> |
| 7114 |
void pushDescriptorSetWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 7115 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 7116 |
uint32_t set, |
| 7117 |
DataType const & data ) const VULKAN_HPP_NOEXCEPT; |
| 7118 |
|
| 7119 |
// wrapper function for command vkCmdBindDescriptorSets2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2.html |
| 7120 |
void bindDescriptorSets2( const BindDescriptorSetsInfo & bindDescriptorSetsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7121 |
|
| 7122 |
// wrapper function for command vkCmdPushConstants2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2.html |
| 7123 |
void pushConstants2( const PushConstantsInfo & pushConstantsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7124 |
|
| 7125 |
// wrapper function for command vkCmdPushDescriptorSet2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2.html |
| 7126 |
void pushDescriptorSet2( const PushDescriptorSetInfo & pushDescriptorSetInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7127 |
|
| 7128 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplate2, see |
| 7129 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2.html |
| 7130 |
void pushDescriptorSetWithTemplate2( const PushDescriptorSetWithTemplateInfo & pushDescriptorSetWithTemplateInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7131 |
|
| 7132 |
// wrapper function for command vkCmdSetLineStipple, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStipple.html |
| 7133 |
void setLineStipple( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT; |
| 7134 |
|
| 7135 |
// wrapper function for command vkCmdBindIndexBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2.html |
| 7136 |
void bindIndexBuffer2( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, DeviceSize size, IndexType indexType ) const VULKAN_HPP_NOEXCEPT; |
| 7137 |
|
| 7138 |
// wrapper function for command vkCmdSetRenderingAttachmentLocations, see |
| 7139 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocations.html |
| 7140 |
void setRenderingAttachmentLocations( const RenderingAttachmentLocationInfo & locationInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7141 |
|
| 7142 |
// wrapper function for command vkCmdSetRenderingInputAttachmentIndices, see |
| 7143 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndices.html |
| 7144 |
void setRenderingInputAttachmentIndices( const RenderingInputAttachmentIndexInfo & inputAttachmentIndexInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7145 |
|
| 7146 |
//=== VK_EXT_debug_marker === |
| 7147 |
|
| 7148 |
// wrapper function for command vkCmdDebugMarkerBeginEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerBeginEXT.html |
| 7149 |
void debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7150 |
|
| 7151 |
// wrapper function for command vkCmdDebugMarkerEndEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerEndEXT.html |
| 7152 |
void debugMarkerEndEXT() const VULKAN_HPP_NOEXCEPT; |
| 7153 |
|
| 7154 |
// wrapper function for command vkCmdDebugMarkerInsertEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerInsertEXT.html |
| 7155 |
void debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7156 |
|
| 7157 |
//=== VK_KHR_video_queue === |
| 7158 |
|
| 7159 |
// wrapper function for command vkCmdBeginVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginVideoCodingKHR.html |
| 7160 |
void beginVideoCodingKHR( const VideoBeginCodingInfoKHR & beginInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7161 |
|
| 7162 |
// wrapper function for command vkCmdEndVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndVideoCodingKHR.html |
| 7163 |
void endVideoCodingKHR( const VideoEndCodingInfoKHR & endCodingInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7164 |
|
| 7165 |
// wrapper function for command vkCmdControlVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdControlVideoCodingKHR.html |
| 7166 |
void controlVideoCodingKHR( const VideoCodingControlInfoKHR & codingControlInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7167 |
|
| 7168 |
//=== VK_KHR_video_decode_queue === |
| 7169 |
|
| 7170 |
// wrapper function for command vkCmdDecodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecodeVideoKHR.html |
| 7171 |
void decodeVideoKHR( const VideoDecodeInfoKHR & decodeInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7172 |
|
| 7173 |
//=== VK_EXT_transform_feedback === |
| 7174 |
|
| 7175 |
// wrapper function for command vkCmdBindTransformFeedbackBuffersEXT, see |
| 7176 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffersEXT.html |
| 7177 |
void bindTransformFeedbackBuffersEXT( uint32_t firstBinding, |
| 7178 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 7179 |
ArrayProxy<const DeviceSize> const & offsets, |
| 7180 |
ArrayProxy<const DeviceSize> const & sizes VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 7181 |
|
| 7182 |
// wrapper function for command vkCmdBeginTransformFeedbackEXT, see |
| 7183 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedbackEXT.html |
| 7184 |
void beginTransformFeedbackEXT( uint32_t firstCounterBuffer, |
| 7185 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & counterBuffers, |
| 7186 |
ArrayProxy<const DeviceSize> const & counterBufferOffsets VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 7187 |
|
| 7188 |
// wrapper function for command vkCmdEndTransformFeedbackEXT, see |
| 7189 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedbackEXT.html |
| 7190 |
void endTransformFeedbackEXT( uint32_t firstCounterBuffer, |
| 7191 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & counterBuffers, |
| 7192 |
ArrayProxy<const DeviceSize> const & counterBufferOffsets VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 7193 |
|
| 7194 |
// wrapper function for command vkCmdBeginQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQueryIndexedEXT.html |
| 7195 |
void beginQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, QueryControlFlags flags, uint32_t index ) const VULKAN_HPP_NOEXCEPT; |
| 7196 |
|
| 7197 |
// wrapper function for command vkCmdEndQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQueryIndexedEXT.html |
| 7198 |
void endQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, uint32_t index ) const VULKAN_HPP_NOEXCEPT; |
| 7199 |
|
| 7200 |
// wrapper function for command vkCmdDrawIndirectByteCountEXT, see |
| 7201 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCountEXT.html |
| 7202 |
void drawIndirectByteCountEXT( uint32_t instanceCount, |
| 7203 |
uint32_t firstInstance, |
| 7204 |
VULKAN_HPP_NAMESPACE::Buffer counterBuffer, |
| 7205 |
DeviceSize counterBufferOffset, |
| 7206 |
uint32_t counterOffset, |
| 7207 |
uint32_t vertexStride ) const VULKAN_HPP_NOEXCEPT; |
| 7208 |
|
| 7209 |
//=== VK_NVX_binary_import === |
| 7210 |
|
| 7211 |
// wrapper function for command vkCmdCuLaunchKernelNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCuLaunchKernelNVX.html |
| 7212 |
void cuLaunchKernelNVX( const CuLaunchInfoNVX & launchInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7213 |
|
| 7214 |
//=== VK_AMD_draw_indirect_count === |
| 7215 |
|
| 7216 |
// wrapper function for command vkCmdDrawIndirectCountAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountAMD.html |
| 7217 |
void drawIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 7218 |
DeviceSize offset, |
| 7219 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 7220 |
DeviceSize countBufferOffset, |
| 7221 |
uint32_t maxDrawCount, |
| 7222 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7223 |
|
| 7224 |
// wrapper function for command vkCmdDrawIndexedIndirectCountAMD, see |
| 7225 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountAMD.html |
| 7226 |
void drawIndexedIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 7227 |
DeviceSize offset, |
| 7228 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 7229 |
DeviceSize countBufferOffset, |
| 7230 |
uint32_t maxDrawCount, |
| 7231 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7232 |
|
| 7233 |
//=== VK_KHR_dynamic_rendering === |
| 7234 |
|
| 7235 |
// wrapper function for command vkCmdBeginRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderingKHR.html |
| 7236 |
void beginRenderingKHR( const RenderingInfo & renderingInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7237 |
|
| 7238 |
// wrapper function for command vkCmdEndRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderingKHR.html |
| 7239 |
void endRenderingKHR() const VULKAN_HPP_NOEXCEPT; |
| 7240 |
|
| 7241 |
//=== VK_KHR_device_group === |
| 7242 |
|
| 7243 |
// wrapper function for command vkCmdSetDeviceMaskKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMaskKHR.html |
| 7244 |
void setDeviceMaskKHR( uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT; |
| 7245 |
|
| 7246 |
// wrapper function for command vkCmdDispatchBaseKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBaseKHR.html |
| 7247 |
void dispatchBaseKHR( uint32_t baseGroupX, uint32_t baseGroupY, uint32_t baseGroupZ, uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) |
| 7248 |
const VULKAN_HPP_NOEXCEPT; |
| 7249 |
|
| 7250 |
//=== VK_KHR_push_descriptor === |
| 7251 |
|
| 7252 |
// wrapper function for command vkCmdPushDescriptorSetKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetKHR.html |
| 7253 |
void pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, |
| 7254 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 7255 |
uint32_t set, |
| 7256 |
ArrayProxy<const WriteDescriptorSet> const & descriptorWrites ) const VULKAN_HPP_NOEXCEPT; |
| 7257 |
|
| 7258 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplateKHR, see |
| 7259 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html |
| 7260 |
template <typename DataType> |
| 7261 |
void pushDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 7262 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 7263 |
uint32_t set, |
| 7264 |
DataType const & data ) const VULKAN_HPP_NOEXCEPT; |
| 7265 |
|
| 7266 |
//=== VK_EXT_conditional_rendering === |
| 7267 |
|
| 7268 |
// wrapper function for command vkCmdBeginConditionalRenderingEXT, see |
| 7269 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRenderingEXT.html |
| 7270 |
void beginConditionalRenderingEXT( const ConditionalRenderingBeginInfoEXT & conditionalRenderingBegin ) const VULKAN_HPP_NOEXCEPT; |
| 7271 |
|
| 7272 |
// wrapper function for command vkCmdEndConditionalRenderingEXT, see |
| 7273 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndConditionalRenderingEXT.html |
| 7274 |
void endConditionalRenderingEXT() const VULKAN_HPP_NOEXCEPT; |
| 7275 |
|
| 7276 |
//=== VK_NV_clip_space_w_scaling === |
| 7277 |
|
| 7278 |
// wrapper function for command vkCmdSetViewportWScalingNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingNV.html |
| 7279 |
void setViewportWScalingNV( uint32_t firstViewport, ArrayProxy<const ViewportWScalingNV> const & viewportWScalings ) const VULKAN_HPP_NOEXCEPT; |
| 7280 |
|
| 7281 |
//=== VK_EXT_discard_rectangles === |
| 7282 |
|
| 7283 |
// wrapper function for command vkCmdSetDiscardRectangleEXT, see |
| 7284 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEXT.html |
| 7285 |
void setDiscardRectangleEXT( uint32_t firstDiscardRectangle, ArrayProxy<const Rect2D> const & discardRectangles ) const VULKAN_HPP_NOEXCEPT; |
| 7286 |
|
| 7287 |
// wrapper function for command vkCmdSetDiscardRectangleEnableEXT, see |
| 7288 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEnableEXT.html |
| 7289 |
void setDiscardRectangleEnableEXT( Bool32 discardRectangleEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7290 |
|
| 7291 |
// wrapper function for command vkCmdSetDiscardRectangleModeEXT, see |
| 7292 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleModeEXT.html |
| 7293 |
void setDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ) const VULKAN_HPP_NOEXCEPT; |
| 7294 |
|
| 7295 |
//=== VK_KHR_create_renderpass2 === |
| 7296 |
|
| 7297 |
// wrapper function for command vkCmdBeginRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2KHR.html |
| 7298 |
void beginRenderPass2KHR( const RenderPassBeginInfo & renderPassBegin, const SubpassBeginInfo & subpassBeginInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7299 |
|
| 7300 |
// wrapper function for command vkCmdNextSubpass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2KHR.html |
| 7301 |
void nextSubpass2KHR( const SubpassBeginInfo & subpassBeginInfo, const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7302 |
|
| 7303 |
// wrapper function for command vkCmdEndRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2KHR.html |
| 7304 |
void endRenderPass2KHR( const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7305 |
|
| 7306 |
//=== VK_EXT_debug_utils === |
| 7307 |
|
| 7308 |
// wrapper function for command vkCmdBeginDebugUtilsLabelEXT, see |
| 7309 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginDebugUtilsLabelEXT.html |
| 7310 |
void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7311 |
|
| 7312 |
// wrapper function for command vkCmdEndDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndDebugUtilsLabelEXT.html |
| 7313 |
void endDebugUtilsLabelEXT() const VULKAN_HPP_NOEXCEPT; |
| 7314 |
|
| 7315 |
// wrapper function for command vkCmdInsertDebugUtilsLabelEXT, see |
| 7316 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInsertDebugUtilsLabelEXT.html |
| 7317 |
void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7318 |
|
| 7319 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 7320 |
//=== VK_AMDX_shader_enqueue === |
| 7321 |
|
| 7322 |
// wrapper function for command vkCmdInitializeGraphScratchMemoryAMDX, see |
| 7323 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInitializeGraphScratchMemoryAMDX.html |
| 7324 |
void initializeGraphScratchMemoryAMDX( VULKAN_HPP_NAMESPACE::Pipeline executionGraph, |
| 7325 |
DeviceAddress scratch, |
| 7326 |
DeviceSize scratchSize ) const VULKAN_HPP_NOEXCEPT; |
| 7327 |
|
| 7328 |
// wrapper function for command vkCmdDispatchGraphAMDX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphAMDX.html |
| 7329 |
void dispatchGraphAMDX( DeviceAddress scratch, DeviceSize scratchSize, const DispatchGraphCountInfoAMDX & countInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7330 |
|
| 7331 |
// wrapper function for command vkCmdDispatchGraphIndirectAMDX, see |
| 7332 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectAMDX.html |
| 7333 |
void dispatchGraphIndirectAMDX( DeviceAddress scratch, DeviceSize scratchSize, const DispatchGraphCountInfoAMDX & countInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7334 |
|
| 7335 |
// wrapper function for command vkCmdDispatchGraphIndirectCountAMDX, see |
| 7336 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectCountAMDX.html |
| 7337 |
void dispatchGraphIndirectCountAMDX( DeviceAddress scratch, DeviceSize scratchSize, DeviceAddress countInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7338 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 7339 |
|
| 7340 |
//=== VK_EXT_descriptor_heap === |
| 7341 |
|
| 7342 |
// wrapper function for command vkCmdBindSamplerHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindSamplerHeapEXT.html |
| 7343 |
void bindSamplerHeapEXT( const BindHeapInfoEXT & bindInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7344 |
|
| 7345 |
// wrapper function for command vkCmdBindResourceHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindResourceHeapEXT.html |
| 7346 |
void bindResourceHeapEXT( const BindHeapInfoEXT & bindInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7347 |
|
| 7348 |
// wrapper function for command vkCmdPushDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDataEXT.html |
| 7349 |
void pushDataEXT( const PushDataInfoEXT & pushDataInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7350 |
|
| 7351 |
//=== VK_EXT_sample_locations === |
| 7352 |
|
| 7353 |
// wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html |
| 7354 |
void setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7355 |
|
| 7356 |
//=== VK_KHR_acceleration_structure === |
| 7357 |
|
| 7358 |
// wrapper function for command vkCmdBuildAccelerationStructuresKHR, see |
| 7359 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresKHR.html |
| 7360 |
void buildAccelerationStructuresKHR( ArrayProxy<const AccelerationStructureBuildGeometryInfoKHR> const & infos, |
| 7361 |
ArrayProxy<const AccelerationStructureBuildRangeInfoKHR * const> const & pBuildRangeInfos ) const; |
| 7362 |
|
| 7363 |
// wrapper function for command vkCmdBuildAccelerationStructuresIndirectKHR, see |
| 7364 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html |
| 7365 |
void buildAccelerationStructuresIndirectKHR( ArrayProxy<const AccelerationStructureBuildGeometryInfoKHR> const & infos, |
| 7366 |
ArrayProxy<const DeviceAddress> const & indirectDeviceAddresses, |
| 7367 |
ArrayProxy<const uint32_t> const & indirectStrides, |
| 7368 |
ArrayProxy<const uint32_t * const> const & pMaxPrimitiveCounts ) const; |
| 7369 |
|
| 7370 |
// wrapper function for command vkCmdCopyAccelerationStructureKHR, see |
| 7371 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureKHR.html |
| 7372 |
void copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info ) const VULKAN_HPP_NOEXCEPT; |
| 7373 |
|
| 7374 |
// wrapper function for command vkCmdCopyAccelerationStructureToMemoryKHR, see |
| 7375 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html |
| 7376 |
void copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info ) const VULKAN_HPP_NOEXCEPT; |
| 7377 |
|
| 7378 |
// wrapper function for command vkCmdCopyMemoryToAccelerationStructureKHR, see |
| 7379 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html |
| 7380 |
void copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info ) const VULKAN_HPP_NOEXCEPT; |
| 7381 |
|
| 7382 |
// wrapper function for command vkCmdWriteAccelerationStructuresPropertiesKHR, see |
| 7383 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html |
| 7384 |
void writeAccelerationStructuresPropertiesKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, |
| 7385 |
QueryType queryType, |
| 7386 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 7387 |
uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT; |
| 7388 |
|
| 7389 |
//=== VK_KHR_ray_tracing_pipeline === |
| 7390 |
|
| 7391 |
// wrapper function for command vkCmdTraceRaysKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysKHR.html |
| 7392 |
void traceRaysKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, |
| 7393 |
const StridedDeviceAddressRegionKHR & missShaderBindingTable, |
| 7394 |
const StridedDeviceAddressRegionKHR & hitShaderBindingTable, |
| 7395 |
const StridedDeviceAddressRegionKHR & callableShaderBindingTable, |
| 7396 |
uint32_t width, |
| 7397 |
uint32_t height, |
| 7398 |
uint32_t depth ) const VULKAN_HPP_NOEXCEPT; |
| 7399 |
|
| 7400 |
// wrapper function for command vkCmdTraceRaysIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirectKHR.html |
| 7401 |
void traceRaysIndirectKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, |
| 7402 |
const StridedDeviceAddressRegionKHR & missShaderBindingTable, |
| 7403 |
const StridedDeviceAddressRegionKHR & hitShaderBindingTable, |
| 7404 |
const StridedDeviceAddressRegionKHR & callableShaderBindingTable, |
| 7405 |
DeviceAddress indirectDeviceAddress ) const VULKAN_HPP_NOEXCEPT; |
| 7406 |
|
| 7407 |
// wrapper function for command vkCmdSetRayTracingPipelineStackSizeKHR, see |
| 7408 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRayTracingPipelineStackSizeKHR.html |
| 7409 |
void setRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize ) const VULKAN_HPP_NOEXCEPT; |
| 7410 |
|
| 7411 |
//=== VK_NV_shading_rate_image === |
| 7412 |
|
| 7413 |
// wrapper function for command vkCmdBindShadingRateImageNV, see |
| 7414 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadingRateImageNV.html |
| 7415 |
void bindShadingRateImageNV( VULKAN_HPP_NAMESPACE::ImageView imageView, ImageLayout imageLayout ) const VULKAN_HPP_NOEXCEPT; |
| 7416 |
|
| 7417 |
// wrapper function for command vkCmdSetViewportShadingRatePaletteNV, see |
| 7418 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportShadingRatePaletteNV.html |
| 7419 |
void setViewportShadingRatePaletteNV( uint32_t firstViewport, |
| 7420 |
ArrayProxy<const ShadingRatePaletteNV> const & shadingRatePalettes ) const VULKAN_HPP_NOEXCEPT; |
| 7421 |
|
| 7422 |
// wrapper function for command vkCmdSetCoarseSampleOrderNV, see |
| 7423 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoarseSampleOrderNV.html |
| 7424 |
void setCoarseSampleOrderNV( CoarseSampleOrderTypeNV sampleOrderType, |
| 7425 |
ArrayProxy<const CoarseSampleOrderCustomNV> const & customSampleOrders ) const VULKAN_HPP_NOEXCEPT; |
| 7426 |
|
| 7427 |
//=== VK_NV_ray_tracing === |
| 7428 |
|
| 7429 |
// wrapper function for command vkCmdBuildAccelerationStructureNV, see |
| 7430 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructureNV.html |
| 7431 |
void buildAccelerationStructureNV( const AccelerationStructureInfoNV & info, |
| 7432 |
VULKAN_HPP_NAMESPACE::Buffer instanceData, |
| 7433 |
DeviceSize instanceOffset, |
| 7434 |
Bool32 update, |
| 7435 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, |
| 7436 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, |
| 7437 |
VULKAN_HPP_NAMESPACE::Buffer scratch, |
| 7438 |
DeviceSize scratchOffset ) const VULKAN_HPP_NOEXCEPT; |
| 7439 |
|
| 7440 |
// wrapper function for command vkCmdCopyAccelerationStructureNV, see |
| 7441 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureNV.html |
| 7442 |
void copyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, |
| 7443 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, |
| 7444 |
CopyAccelerationStructureModeKHR mode ) const VULKAN_HPP_NOEXCEPT; |
| 7445 |
|
| 7446 |
// wrapper function for command vkCmdTraceRaysNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysNV.html |
| 7447 |
void traceRaysNV( VULKAN_HPP_NAMESPACE::Buffer raygenShaderBindingTableBuffer, |
| 7448 |
DeviceSize raygenShaderBindingOffset, |
| 7449 |
VULKAN_HPP_NAMESPACE::Buffer missShaderBindingTableBuffer, |
| 7450 |
DeviceSize missShaderBindingOffset, |
| 7451 |
DeviceSize missShaderBindingStride, |
| 7452 |
VULKAN_HPP_NAMESPACE::Buffer hitShaderBindingTableBuffer, |
| 7453 |
DeviceSize hitShaderBindingOffset, |
| 7454 |
DeviceSize hitShaderBindingStride, |
| 7455 |
VULKAN_HPP_NAMESPACE::Buffer callableShaderBindingTableBuffer, |
| 7456 |
DeviceSize callableShaderBindingOffset, |
| 7457 |
DeviceSize callableShaderBindingStride, |
| 7458 |
uint32_t width, |
| 7459 |
uint32_t height, |
| 7460 |
uint32_t depth ) const VULKAN_HPP_NOEXCEPT; |
| 7461 |
|
| 7462 |
// wrapper function for command vkCmdWriteAccelerationStructuresPropertiesNV, see |
| 7463 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html |
| 7464 |
void writeAccelerationStructuresPropertiesNV( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureNV> const & accelerationStructures, |
| 7465 |
QueryType queryType, |
| 7466 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 7467 |
uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT; |
| 7468 |
|
| 7469 |
//=== VK_KHR_draw_indirect_count === |
| 7470 |
|
| 7471 |
// wrapper function for command vkCmdDrawIndirectCountKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountKHR.html |
| 7472 |
void drawIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 7473 |
DeviceSize offset, |
| 7474 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 7475 |
DeviceSize countBufferOffset, |
| 7476 |
uint32_t maxDrawCount, |
| 7477 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7478 |
|
| 7479 |
// wrapper function for command vkCmdDrawIndexedIndirectCountKHR, see |
| 7480 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountKHR.html |
| 7481 |
void drawIndexedIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 7482 |
DeviceSize offset, |
| 7483 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 7484 |
DeviceSize countBufferOffset, |
| 7485 |
uint32_t maxDrawCount, |
| 7486 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7487 |
|
| 7488 |
//=== VK_AMD_buffer_marker === |
| 7489 |
|
| 7490 |
// wrapper function for command vkCmdWriteBufferMarkerAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarkerAMD.html |
| 7491 |
void writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, |
| 7492 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 7493 |
DeviceSize dstOffset, |
| 7494 |
uint32_t marker ) const VULKAN_HPP_NOEXCEPT; |
| 7495 |
|
| 7496 |
// wrapper function for command vkCmdWriteBufferMarker2AMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarker2AMD.html |
| 7497 |
void writeBufferMarker2AMD( PipelineStageFlags2 stage, |
| 7498 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 7499 |
DeviceSize dstOffset, |
| 7500 |
uint32_t marker ) const VULKAN_HPP_NOEXCEPT; |
| 7501 |
|
| 7502 |
//=== VK_NV_mesh_shader === |
| 7503 |
|
| 7504 |
// wrapper function for command vkCmdDrawMeshTasksNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksNV.html |
| 7505 |
void drawMeshTasksNV( uint32_t taskCount, uint32_t firstTask ) const VULKAN_HPP_NOEXCEPT; |
| 7506 |
|
| 7507 |
// wrapper function for command vkCmdDrawMeshTasksIndirectNV, see |
| 7508 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectNV.html |
| 7509 |
void drawMeshTasksIndirectNV( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7510 |
|
| 7511 |
// wrapper function for command vkCmdDrawMeshTasksIndirectCountNV, see |
| 7512 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountNV.html |
| 7513 |
void drawMeshTasksIndirectCountNV( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 7514 |
DeviceSize offset, |
| 7515 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 7516 |
DeviceSize countBufferOffset, |
| 7517 |
uint32_t maxDrawCount, |
| 7518 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7519 |
|
| 7520 |
//=== VK_NV_scissor_exclusive === |
| 7521 |
|
| 7522 |
// wrapper function for command vkCmdSetExclusiveScissorEnableNV, see |
| 7523 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorEnableNV.html |
| 7524 |
void setExclusiveScissorEnableNV( uint32_t firstExclusiveScissor, ArrayProxy<const Bool32> const & exclusiveScissorEnables ) const VULKAN_HPP_NOEXCEPT; |
| 7525 |
|
| 7526 |
// wrapper function for command vkCmdSetExclusiveScissorNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorNV.html |
| 7527 |
void setExclusiveScissorNV( uint32_t firstExclusiveScissor, ArrayProxy<const Rect2D> const & exclusiveScissors ) const VULKAN_HPP_NOEXCEPT; |
| 7528 |
|
| 7529 |
//=== VK_NV_device_diagnostic_checkpoints === |
| 7530 |
|
| 7531 |
// wrapper function for command vkCmdSetCheckpointNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCheckpointNV.html |
| 7532 |
template <typename CheckpointMarkerType> |
| 7533 |
void setCheckpointNV( CheckpointMarkerType const & checkpointMarker ) const VULKAN_HPP_NOEXCEPT; |
| 7534 |
|
| 7535 |
//=== VK_INTEL_performance_query === |
| 7536 |
|
| 7537 |
// wrapper function for command vkCmdSetPerformanceMarkerINTEL, see |
| 7538 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceMarkerINTEL.html |
| 7539 |
typename ResultValueType<void>::type setPerformanceMarkerINTEL( const PerformanceMarkerInfoINTEL & markerInfo ) const; |
| 7540 |
|
| 7541 |
// wrapper function for command vkCmdSetPerformanceStreamMarkerINTEL, see |
| 7542 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html |
| 7543 |
typename ResultValueType<void>::type setPerformanceStreamMarkerINTEL( const PerformanceStreamMarkerInfoINTEL & markerInfo ) const; |
| 7544 |
|
| 7545 |
// wrapper function for command vkCmdSetPerformanceOverrideINTEL, see |
| 7546 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceOverrideINTEL.html |
| 7547 |
typename ResultValueType<void>::type setPerformanceOverrideINTEL( const PerformanceOverrideInfoINTEL & overrideInfo ) const; |
| 7548 |
|
| 7549 |
//=== VK_KHR_fragment_shading_rate === |
| 7550 |
|
| 7551 |
// wrapper function for command vkCmdSetFragmentShadingRateKHR, see |
| 7552 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateKHR.html |
| 7553 |
void setFragmentShadingRateKHR( const Extent2D & fragmentSize, const FragmentShadingRateCombinerOpKHR combinerOps[2] ) const VULKAN_HPP_NOEXCEPT; |
| 7554 |
|
| 7555 |
//=== VK_KHR_dynamic_rendering_local_read === |
| 7556 |
|
| 7557 |
// wrapper function for command vkCmdSetRenderingAttachmentLocationsKHR, see |
| 7558 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html |
| 7559 |
void setRenderingAttachmentLocationsKHR( const RenderingAttachmentLocationInfo & locationInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7560 |
|
| 7561 |
// wrapper function for command vkCmdSetRenderingInputAttachmentIndicesKHR, see |
| 7562 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html |
| 7563 |
void setRenderingInputAttachmentIndicesKHR( const RenderingInputAttachmentIndexInfo & inputAttachmentIndexInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7564 |
|
| 7565 |
//=== VK_EXT_line_rasterization === |
| 7566 |
|
| 7567 |
// wrapper function for command vkCmdSetLineStippleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEXT.html |
| 7568 |
void setLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT; |
| 7569 |
|
| 7570 |
//=== VK_EXT_extended_dynamic_state === |
| 7571 |
|
| 7572 |
// wrapper function for command vkCmdSetCullModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullModeEXT.html |
| 7573 |
void setCullModeEXT( CullModeFlags cullMode VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 7574 |
|
| 7575 |
// wrapper function for command vkCmdSetFrontFaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFaceEXT.html |
| 7576 |
void setFrontFaceEXT( FrontFace frontFace ) const VULKAN_HPP_NOEXCEPT; |
| 7577 |
|
| 7578 |
// wrapper function for command vkCmdSetPrimitiveTopologyEXT, see |
| 7579 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopologyEXT.html |
| 7580 |
void setPrimitiveTopologyEXT( PrimitiveTopology primitiveTopology ) const VULKAN_HPP_NOEXCEPT; |
| 7581 |
|
| 7582 |
// wrapper function for command vkCmdSetViewportWithCountEXT, see |
| 7583 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCountEXT.html |
| 7584 |
void setViewportWithCountEXT( ArrayProxy<const Viewport> const & viewports ) const VULKAN_HPP_NOEXCEPT; |
| 7585 |
|
| 7586 |
// wrapper function for command vkCmdSetScissorWithCountEXT, see |
| 7587 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCountEXT.html |
| 7588 |
void setScissorWithCountEXT( ArrayProxy<const Rect2D> const & scissors ) const VULKAN_HPP_NOEXCEPT; |
| 7589 |
|
| 7590 |
// wrapper function for command vkCmdBindVertexBuffers2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2EXT.html |
| 7591 |
void bindVertexBuffers2EXT( uint32_t firstBinding, |
| 7592 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 7593 |
ArrayProxy<const DeviceSize> const & offsets, |
| 7594 |
ArrayProxy<const DeviceSize> const & sizes VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ), |
| 7595 |
ArrayProxy<const DeviceSize> const & strides VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 7596 |
|
| 7597 |
// wrapper function for command vkCmdSetDepthTestEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnableEXT.html |
| 7598 |
void setDepthTestEnableEXT( Bool32 depthTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7599 |
|
| 7600 |
// wrapper function for command vkCmdSetDepthWriteEnableEXT, see |
| 7601 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnableEXT.html |
| 7602 |
void setDepthWriteEnableEXT( Bool32 depthWriteEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7603 |
|
| 7604 |
// wrapper function for command vkCmdSetDepthCompareOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOpEXT.html |
| 7605 |
void setDepthCompareOpEXT( CompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT; |
| 7606 |
|
| 7607 |
// wrapper function for command vkCmdSetDepthBoundsTestEnableEXT, see |
| 7608 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnableEXT.html |
| 7609 |
void setDepthBoundsTestEnableEXT( Bool32 depthBoundsTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7610 |
|
| 7611 |
// wrapper function for command vkCmdSetStencilTestEnableEXT, see |
| 7612 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnableEXT.html |
| 7613 |
void setStencilTestEnableEXT( Bool32 stencilTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7614 |
|
| 7615 |
// wrapper function for command vkCmdSetStencilOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOpEXT.html |
| 7616 |
void |
| 7617 |
setStencilOpEXT( StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, StencilOp depthFailOp, CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT; |
| 7618 |
|
| 7619 |
//=== VK_NV_device_generated_commands === |
| 7620 |
|
| 7621 |
// wrapper function for command vkCmdPreprocessGeneratedCommandsNV, see |
| 7622 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsNV.html |
| 7623 |
void preprocessGeneratedCommandsNV( const GeneratedCommandsInfoNV & generatedCommandsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7624 |
|
| 7625 |
// wrapper function for command vkCmdExecuteGeneratedCommandsNV, see |
| 7626 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsNV.html |
| 7627 |
void executeGeneratedCommandsNV( Bool32 isPreprocessed, const GeneratedCommandsInfoNV & generatedCommandsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7628 |
|
| 7629 |
// wrapper function for command vkCmdBindPipelineShaderGroupNV, see |
| 7630 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipelineShaderGroupNV.html |
| 7631 |
void bindPipelineShaderGroupNV( PipelineBindPoint pipelineBindPoint, |
| 7632 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline, |
| 7633 |
uint32_t groupIndex ) const VULKAN_HPP_NOEXCEPT; |
| 7634 |
|
| 7635 |
//=== VK_EXT_depth_bias_control === |
| 7636 |
|
| 7637 |
// wrapper function for command vkCmdSetDepthBias2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias2EXT.html |
| 7638 |
void setDepthBias2EXT( const DepthBiasInfoEXT & depthBiasInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7639 |
|
| 7640 |
//=== VK_KHR_video_encode_queue === |
| 7641 |
|
| 7642 |
// wrapper function for command vkCmdEncodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEncodeVideoKHR.html |
| 7643 |
void encodeVideoKHR( const VideoEncodeInfoKHR & encodeInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7644 |
|
| 7645 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 7646 |
//=== VK_NV_cuda_kernel_launch === |
| 7647 |
|
| 7648 |
// wrapper function for command vkCmdCudaLaunchKernelNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCudaLaunchKernelNV.html |
| 7649 |
void cudaLaunchKernelNV( const CudaLaunchInfoNV & launchInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7650 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 7651 |
|
| 7652 |
//=== VK_QCOM_tile_shading === |
| 7653 |
|
| 7654 |
// wrapper function for command vkCmdDispatchTileQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchTileQCOM.html |
| 7655 |
void dispatchTileQCOM( const DispatchTileInfoQCOM & dispatchTileInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7656 |
|
| 7657 |
// wrapper function for command vkCmdBeginPerTileExecutionQCOM, see |
| 7658 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginPerTileExecutionQCOM.html |
| 7659 |
void beginPerTileExecutionQCOM( const PerTileBeginInfoQCOM & perTileBeginInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7660 |
|
| 7661 |
// wrapper function for command vkCmdEndPerTileExecutionQCOM, see |
| 7662 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndPerTileExecutionQCOM.html |
| 7663 |
void endPerTileExecutionQCOM( const PerTileEndInfoQCOM & perTileEndInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7664 |
|
| 7665 |
//=== VK_KHR_synchronization2 === |
| 7666 |
|
| 7667 |
// wrapper function for command vkCmdSetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2KHR.html |
| 7668 |
void setEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7669 |
|
| 7670 |
// wrapper function for command vkCmdResetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2KHR.html |
| 7671 |
void resetEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags2 stageMask VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 7672 |
|
| 7673 |
// wrapper function for command vkCmdWaitEvents2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2KHR.html |
| 7674 |
void waitEvents2KHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::Event> const & events, ArrayProxy<const DependencyInfo> const & dependencyInfos ) const; |
| 7675 |
|
| 7676 |
// wrapper function for command vkCmdPipelineBarrier2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2KHR.html |
| 7677 |
void pipelineBarrier2KHR( const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7678 |
|
| 7679 |
// wrapper function for command vkCmdWriteTimestamp2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2KHR.html |
| 7680 |
void writeTimestamp2KHR( PipelineStageFlags2 stage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT; |
| 7681 |
|
| 7682 |
//=== VK_EXT_descriptor_buffer === |
| 7683 |
|
| 7684 |
// wrapper function for command vkCmdBindDescriptorBuffersEXT, see |
| 7685 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBuffersEXT.html |
| 7686 |
void bindDescriptorBuffersEXT( ArrayProxy<const DescriptorBufferBindingInfoEXT> const & bindingInfos ) const VULKAN_HPP_NOEXCEPT; |
| 7687 |
|
| 7688 |
// wrapper function for command vkCmdSetDescriptorBufferOffsetsEXT, see |
| 7689 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html |
| 7690 |
void setDescriptorBufferOffsetsEXT( PipelineBindPoint pipelineBindPoint, |
| 7691 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 7692 |
uint32_t firstSet, |
| 7693 |
ArrayProxy<const uint32_t> const & bufferIndices, |
| 7694 |
ArrayProxy<const DeviceSize> const & offsets ) const; |
| 7695 |
|
| 7696 |
// wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplersEXT, see |
| 7697 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplersEXT.html |
| 7698 |
void bindDescriptorBufferEmbeddedSamplersEXT( PipelineBindPoint pipelineBindPoint, |
| 7699 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 7700 |
uint32_t set ) const VULKAN_HPP_NOEXCEPT; |
| 7701 |
|
| 7702 |
//=== VK_NV_fragment_shading_rate_enums === |
| 7703 |
|
| 7704 |
// wrapper function for command vkCmdSetFragmentShadingRateEnumNV, see |
| 7705 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateEnumNV.html |
| 7706 |
void setFragmentShadingRateEnumNV( FragmentShadingRateNV shadingRate, const FragmentShadingRateCombinerOpKHR combinerOps[2] ) const VULKAN_HPP_NOEXCEPT; |
| 7707 |
|
| 7708 |
//=== VK_EXT_mesh_shader === |
| 7709 |
|
| 7710 |
// wrapper function for command vkCmdDrawMeshTasksEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksEXT.html |
| 7711 |
void drawMeshTasksEXT( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT; |
| 7712 |
|
| 7713 |
// wrapper function for command vkCmdDrawMeshTasksIndirectEXT, see |
| 7714 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectEXT.html |
| 7715 |
void drawMeshTasksIndirectEXT( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7716 |
|
| 7717 |
// wrapper function for command vkCmdDrawMeshTasksIndirectCountEXT, see |
| 7718 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountEXT.html |
| 7719 |
void drawMeshTasksIndirectCountEXT( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 7720 |
DeviceSize offset, |
| 7721 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 7722 |
DeviceSize countBufferOffset, |
| 7723 |
uint32_t maxDrawCount, |
| 7724 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7725 |
|
| 7726 |
//=== VK_KHR_copy_commands2 === |
| 7727 |
|
| 7728 |
// wrapper function for command vkCmdCopyBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2KHR.html |
| 7729 |
void copyBuffer2KHR( const CopyBufferInfo2 & copyBufferInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7730 |
|
| 7731 |
// wrapper function for command vkCmdCopyImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2KHR.html |
| 7732 |
void copyImage2KHR( const CopyImageInfo2 & copyImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7733 |
|
| 7734 |
// wrapper function for command vkCmdCopyBufferToImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2KHR.html |
| 7735 |
void copyBufferToImage2KHR( const CopyBufferToImageInfo2 & copyBufferToImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7736 |
|
| 7737 |
// wrapper function for command vkCmdCopyImageToBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2KHR.html |
| 7738 |
void copyImageToBuffer2KHR( const CopyImageToBufferInfo2 & copyImageToBufferInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7739 |
|
| 7740 |
// wrapper function for command vkCmdBlitImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2KHR.html |
| 7741 |
void blitImage2KHR( const BlitImageInfo2 & blitImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7742 |
|
| 7743 |
// wrapper function for command vkCmdResolveImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2KHR.html |
| 7744 |
void resolveImage2KHR( const ResolveImageInfo2 & resolveImageInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7745 |
|
| 7746 |
//=== VK_EXT_vertex_input_dynamic_state === |
| 7747 |
|
| 7748 |
// wrapper function for command vkCmdSetVertexInputEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetVertexInputEXT.html |
| 7749 |
void setVertexInputEXT( ArrayProxy<const VertexInputBindingDescription2EXT> const & vertexBindingDescriptions, |
| 7750 |
ArrayProxy<const VertexInputAttributeDescription2EXT> const & vertexAttributeDescriptions ) const VULKAN_HPP_NOEXCEPT; |
| 7751 |
|
| 7752 |
//=== VK_HUAWEI_subpass_shading === |
| 7753 |
|
| 7754 |
// wrapper function for command vkCmdSubpassShadingHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSubpassShadingHUAWEI.html |
| 7755 |
void subpassShadingHUAWEI() const VULKAN_HPP_NOEXCEPT; |
| 7756 |
|
| 7757 |
//=== VK_HUAWEI_invocation_mask === |
| 7758 |
|
| 7759 |
// wrapper function for command vkCmdBindInvocationMaskHUAWEI, see |
| 7760 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindInvocationMaskHUAWEI.html |
| 7761 |
void bindInvocationMaskHUAWEI( VULKAN_HPP_NAMESPACE::ImageView imageView, ImageLayout imageLayout ) const VULKAN_HPP_NOEXCEPT; |
| 7762 |
|
| 7763 |
//=== VK_EXT_extended_dynamic_state2 === |
| 7764 |
|
| 7765 |
// wrapper function for command vkCmdSetPatchControlPointsEXT, see |
| 7766 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPatchControlPointsEXT.html |
| 7767 |
void setPatchControlPointsEXT( uint32_t patchControlPoints ) const VULKAN_HPP_NOEXCEPT; |
| 7768 |
|
| 7769 |
// wrapper function for command vkCmdSetRasterizerDiscardEnableEXT, see |
| 7770 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnableEXT.html |
| 7771 |
void setRasterizerDiscardEnableEXT( Bool32 rasterizerDiscardEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7772 |
|
| 7773 |
// wrapper function for command vkCmdSetDepthBiasEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnableEXT.html |
| 7774 |
void setDepthBiasEnableEXT( Bool32 depthBiasEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7775 |
|
| 7776 |
// wrapper function for command vkCmdSetLogicOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEXT.html |
| 7777 |
void setLogicOpEXT( LogicOp logicOp ) const VULKAN_HPP_NOEXCEPT; |
| 7778 |
|
| 7779 |
// wrapper function for command vkCmdSetPrimitiveRestartEnableEXT, see |
| 7780 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnableEXT.html |
| 7781 |
void setPrimitiveRestartEnableEXT( Bool32 primitiveRestartEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7782 |
|
| 7783 |
//=== VK_EXT_color_write_enable === |
| 7784 |
|
| 7785 |
// wrapper function for command vkCmdSetColorWriteEnableEXT, see |
| 7786 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteEnableEXT.html |
| 7787 |
void setColorWriteEnableEXT( ArrayProxy<const Bool32> const & colorWriteEnables ) const VULKAN_HPP_NOEXCEPT; |
| 7788 |
|
| 7789 |
//=== VK_KHR_ray_tracing_maintenance1 === |
| 7790 |
|
| 7791 |
// wrapper function for command vkCmdTraceRaysIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirect2KHR.html |
| 7792 |
void traceRaysIndirect2KHR( DeviceAddress indirectDeviceAddress ) const VULKAN_HPP_NOEXCEPT; |
| 7793 |
|
| 7794 |
//=== VK_EXT_multi_draw === |
| 7795 |
|
| 7796 |
// wrapper function for command vkCmdDrawMultiEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiEXT.html |
| 7797 |
void |
| 7798 |
drawMultiEXT( StridedArrayProxy<const MultiDrawInfoEXT> const & vertexInfo, uint32_t instanceCount, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT; |
| 7799 |
|
| 7800 |
// wrapper function for command vkCmdDrawMultiIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiIndexedEXT.html |
| 7801 |
void drawMultiIndexedEXT( StridedArrayProxy<const MultiDrawIndexedInfoEXT> const & indexInfo, |
| 7802 |
uint32_t instanceCount, |
| 7803 |
uint32_t firstInstance, |
| 7804 |
Optional<const int32_t> vertexOffset VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 7805 |
|
| 7806 |
//=== VK_EXT_opacity_micromap === |
| 7807 |
|
| 7808 |
// wrapper function for command vkCmdBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildMicromapsEXT.html |
| 7809 |
void buildMicromapsEXT( ArrayProxy<const MicromapBuildInfoEXT> const & infos ) const VULKAN_HPP_NOEXCEPT; |
| 7810 |
|
| 7811 |
// wrapper function for command vkCmdCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapEXT.html |
| 7812 |
void copyMicromapEXT( const CopyMicromapInfoEXT & info ) const VULKAN_HPP_NOEXCEPT; |
| 7813 |
|
| 7814 |
// wrapper function for command vkCmdCopyMicromapToMemoryEXT, see |
| 7815 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapToMemoryEXT.html |
| 7816 |
void copyMicromapToMemoryEXT( const CopyMicromapToMemoryInfoEXT & info ) const VULKAN_HPP_NOEXCEPT; |
| 7817 |
|
| 7818 |
// wrapper function for command vkCmdCopyMemoryToMicromapEXT, see |
| 7819 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToMicromapEXT.html |
| 7820 |
void copyMemoryToMicromapEXT( const CopyMemoryToMicromapInfoEXT & info ) const VULKAN_HPP_NOEXCEPT; |
| 7821 |
|
| 7822 |
// wrapper function for command vkCmdWriteMicromapsPropertiesEXT, see |
| 7823 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMicromapsPropertiesEXT.html |
| 7824 |
void writeMicromapsPropertiesEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::MicromapEXT> const & micromaps, |
| 7825 |
QueryType queryType, |
| 7826 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 7827 |
uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT; |
| 7828 |
|
| 7829 |
//=== VK_HUAWEI_cluster_culling_shader === |
| 7830 |
|
| 7831 |
// wrapper function for command vkCmdDrawClusterHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterHUAWEI.html |
| 7832 |
void drawClusterHUAWEI( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT; |
| 7833 |
|
| 7834 |
// wrapper function for command vkCmdDrawClusterIndirectHUAWEI, see |
| 7835 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterIndirectHUAWEI.html |
| 7836 |
void drawClusterIndirectHUAWEI( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset ) const VULKAN_HPP_NOEXCEPT; |
| 7837 |
|
| 7838 |
//=== VK_NV_copy_memory_indirect === |
| 7839 |
|
| 7840 |
// wrapper function for command vkCmdCopyMemoryIndirectNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectNV.html |
| 7841 |
void copyMemoryIndirectNV( DeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7842 |
|
| 7843 |
// wrapper function for command vkCmdCopyMemoryToImageIndirectNV, see |
| 7844 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectNV.html |
| 7845 |
void copyMemoryToImageIndirectNV( DeviceAddress copyBufferAddress, |
| 7846 |
uint32_t stride, |
| 7847 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 7848 |
ImageLayout dstImageLayout, |
| 7849 |
ArrayProxy<const ImageSubresourceLayers> const & imageSubresources ) const VULKAN_HPP_NOEXCEPT; |
| 7850 |
|
| 7851 |
//=== VK_NV_memory_decompression === |
| 7852 |
|
| 7853 |
// wrapper function for command vkCmdDecompressMemoryNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryNV.html |
| 7854 |
void decompressMemoryNV( ArrayProxy<const DecompressMemoryRegionNV> const & decompressMemoryRegions ) const VULKAN_HPP_NOEXCEPT; |
| 7855 |
|
| 7856 |
// wrapper function for command vkCmdDecompressMemoryIndirectCountNV, see |
| 7857 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountNV.html |
| 7858 |
void decompressMemoryIndirectCountNV( DeviceAddress indirectCommandsAddress, |
| 7859 |
DeviceAddress indirectCommandsCountAddress, |
| 7860 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 7861 |
|
| 7862 |
//=== VK_NV_device_generated_commands_compute === |
| 7863 |
|
| 7864 |
// wrapper function for command vkCmdUpdatePipelineIndirectBufferNV, see |
| 7865 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdatePipelineIndirectBufferNV.html |
| 7866 |
void updatePipelineIndirectBufferNV( PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline ) const VULKAN_HPP_NOEXCEPT; |
| 7867 |
|
| 7868 |
//=== VK_EXT_extended_dynamic_state3 === |
| 7869 |
|
| 7870 |
// wrapper function for command vkCmdSetDepthClampEnableEXT, see |
| 7871 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampEnableEXT.html |
| 7872 |
void setDepthClampEnableEXT( Bool32 depthClampEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7873 |
|
| 7874 |
// wrapper function for command vkCmdSetPolygonModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPolygonModeEXT.html |
| 7875 |
void setPolygonModeEXT( PolygonMode polygonMode ) const VULKAN_HPP_NOEXCEPT; |
| 7876 |
|
| 7877 |
// wrapper function for command vkCmdSetRasterizationSamplesEXT, see |
| 7878 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationSamplesEXT.html |
| 7879 |
void setRasterizationSamplesEXT( SampleCountFlagBits rasterizationSamples ) const VULKAN_HPP_NOEXCEPT; |
| 7880 |
|
| 7881 |
// wrapper function for command vkCmdSetSampleMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleMaskEXT.html |
| 7882 |
void setSampleMaskEXT( SampleCountFlagBits samples, ArrayProxy<const SampleMask> const & sampleMask VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const; |
| 7883 |
|
| 7884 |
// wrapper function for command vkCmdSetAlphaToCoverageEnableEXT, see |
| 7885 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToCoverageEnableEXT.html |
| 7886 |
void setAlphaToCoverageEnableEXT( Bool32 alphaToCoverageEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7887 |
|
| 7888 |
// wrapper function for command vkCmdSetAlphaToOneEnableEXT, see |
| 7889 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToOneEnableEXT.html |
| 7890 |
void setAlphaToOneEnableEXT( Bool32 alphaToOneEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7891 |
|
| 7892 |
// wrapper function for command vkCmdSetLogicOpEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEnableEXT.html |
| 7893 |
void setLogicOpEnableEXT( Bool32 logicOpEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7894 |
|
| 7895 |
// wrapper function for command vkCmdSetColorBlendEnableEXT, see |
| 7896 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEnableEXT.html |
| 7897 |
void setColorBlendEnableEXT( uint32_t firstAttachment, ArrayProxy<const Bool32> const & colorBlendEnables ) const VULKAN_HPP_NOEXCEPT; |
| 7898 |
|
| 7899 |
// wrapper function for command vkCmdSetColorBlendEquationEXT, see |
| 7900 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEquationEXT.html |
| 7901 |
void setColorBlendEquationEXT( uint32_t firstAttachment, ArrayProxy<const ColorBlendEquationEXT> const & colorBlendEquations ) const VULKAN_HPP_NOEXCEPT; |
| 7902 |
|
| 7903 |
// wrapper function for command vkCmdSetColorWriteMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteMaskEXT.html |
| 7904 |
void setColorWriteMaskEXT( uint32_t firstAttachment, ArrayProxy<const ColorComponentFlags> const & colorWriteMasks ) const VULKAN_HPP_NOEXCEPT; |
| 7905 |
|
| 7906 |
// wrapper function for command vkCmdSetTessellationDomainOriginEXT, see |
| 7907 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetTessellationDomainOriginEXT.html |
| 7908 |
void setTessellationDomainOriginEXT( TessellationDomainOrigin domainOrigin ) const VULKAN_HPP_NOEXCEPT; |
| 7909 |
|
| 7910 |
// wrapper function for command vkCmdSetRasterizationStreamEXT, see |
| 7911 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationStreamEXT.html |
| 7912 |
void setRasterizationStreamEXT( uint32_t rasterizationStream ) const VULKAN_HPP_NOEXCEPT; |
| 7913 |
|
| 7914 |
// wrapper function for command vkCmdSetConservativeRasterizationModeEXT, see |
| 7915 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetConservativeRasterizationModeEXT.html |
| 7916 |
void setConservativeRasterizationModeEXT( ConservativeRasterizationModeEXT conservativeRasterizationMode ) const VULKAN_HPP_NOEXCEPT; |
| 7917 |
|
| 7918 |
// wrapper function for command vkCmdSetExtraPrimitiveOverestimationSizeEXT, see |
| 7919 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExtraPrimitiveOverestimationSizeEXT.html |
| 7920 |
void setExtraPrimitiveOverestimationSizeEXT( float extraPrimitiveOverestimationSize ) const VULKAN_HPP_NOEXCEPT; |
| 7921 |
|
| 7922 |
// wrapper function for command vkCmdSetDepthClipEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipEnableEXT.html |
| 7923 |
void setDepthClipEnableEXT( Bool32 depthClipEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7924 |
|
| 7925 |
// wrapper function for command vkCmdSetSampleLocationsEnableEXT, see |
| 7926 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEnableEXT.html |
| 7927 |
void setSampleLocationsEnableEXT( Bool32 sampleLocationsEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7928 |
|
| 7929 |
// wrapper function for command vkCmdSetColorBlendAdvancedEXT, see |
| 7930 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendAdvancedEXT.html |
| 7931 |
void setColorBlendAdvancedEXT( uint32_t firstAttachment, ArrayProxy<const ColorBlendAdvancedEXT> const & colorBlendAdvanced ) const VULKAN_HPP_NOEXCEPT; |
| 7932 |
|
| 7933 |
// wrapper function for command vkCmdSetProvokingVertexModeEXT, see |
| 7934 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetProvokingVertexModeEXT.html |
| 7935 |
void setProvokingVertexModeEXT( ProvokingVertexModeEXT provokingVertexMode ) const VULKAN_HPP_NOEXCEPT; |
| 7936 |
|
| 7937 |
// wrapper function for command vkCmdSetLineRasterizationModeEXT, see |
| 7938 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineRasterizationModeEXT.html |
| 7939 |
void setLineRasterizationModeEXT( LineRasterizationModeEXT lineRasterizationMode ) const VULKAN_HPP_NOEXCEPT; |
| 7940 |
|
| 7941 |
// wrapper function for command vkCmdSetLineStippleEnableEXT, see |
| 7942 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEnableEXT.html |
| 7943 |
void setLineStippleEnableEXT( Bool32 stippledLineEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7944 |
|
| 7945 |
// wrapper function for command vkCmdSetDepthClipNegativeOneToOneEXT, see |
| 7946 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipNegativeOneToOneEXT.html |
| 7947 |
void setDepthClipNegativeOneToOneEXT( Bool32 negativeOneToOne ) const VULKAN_HPP_NOEXCEPT; |
| 7948 |
|
| 7949 |
// wrapper function for command vkCmdSetViewportWScalingEnableNV, see |
| 7950 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingEnableNV.html |
| 7951 |
void setViewportWScalingEnableNV( Bool32 viewportWScalingEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7952 |
|
| 7953 |
// wrapper function for command vkCmdSetViewportSwizzleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportSwizzleNV.html |
| 7954 |
void setViewportSwizzleNV( uint32_t firstViewport, ArrayProxy<const ViewportSwizzleNV> const & viewportSwizzles ) const VULKAN_HPP_NOEXCEPT; |
| 7955 |
|
| 7956 |
// wrapper function for command vkCmdSetCoverageToColorEnableNV, see |
| 7957 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorEnableNV.html |
| 7958 |
void setCoverageToColorEnableNV( Bool32 coverageToColorEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7959 |
|
| 7960 |
// wrapper function for command vkCmdSetCoverageToColorLocationNV, see |
| 7961 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorLocationNV.html |
| 7962 |
void setCoverageToColorLocationNV( uint32_t coverageToColorLocation ) const VULKAN_HPP_NOEXCEPT; |
| 7963 |
|
| 7964 |
// wrapper function for command vkCmdSetCoverageModulationModeNV, see |
| 7965 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationModeNV.html |
| 7966 |
void setCoverageModulationModeNV( CoverageModulationModeNV coverageModulationMode ) const VULKAN_HPP_NOEXCEPT; |
| 7967 |
|
| 7968 |
// wrapper function for command vkCmdSetCoverageModulationTableEnableNV, see |
| 7969 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableEnableNV.html |
| 7970 |
void setCoverageModulationTableEnableNV( Bool32 coverageModulationTableEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7971 |
|
| 7972 |
// wrapper function for command vkCmdSetCoverageModulationTableNV, see |
| 7973 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableNV.html |
| 7974 |
void setCoverageModulationTableNV( ArrayProxy<const float> const & coverageModulationTable ) const VULKAN_HPP_NOEXCEPT; |
| 7975 |
|
| 7976 |
// wrapper function for command vkCmdSetShadingRateImageEnableNV, see |
| 7977 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetShadingRateImageEnableNV.html |
| 7978 |
void setShadingRateImageEnableNV( Bool32 shadingRateImageEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7979 |
|
| 7980 |
// wrapper function for command vkCmdSetRepresentativeFragmentTestEnableNV, see |
| 7981 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRepresentativeFragmentTestEnableNV.html |
| 7982 |
void setRepresentativeFragmentTestEnableNV( Bool32 representativeFragmentTestEnable ) const VULKAN_HPP_NOEXCEPT; |
| 7983 |
|
| 7984 |
// wrapper function for command vkCmdSetCoverageReductionModeNV, see |
| 7985 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageReductionModeNV.html |
| 7986 |
void setCoverageReductionModeNV( CoverageReductionModeNV coverageReductionMode ) const VULKAN_HPP_NOEXCEPT; |
| 7987 |
|
| 7988 |
//=== VK_ARM_tensors === |
| 7989 |
|
| 7990 |
// wrapper function for command vkCmdCopyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyTensorARM.html |
| 7991 |
void copyTensorARM( const CopyTensorInfoARM & copyTensorInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7992 |
|
| 7993 |
//=== VK_NV_optical_flow === |
| 7994 |
|
| 7995 |
// wrapper function for command vkCmdOpticalFlowExecuteNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdOpticalFlowExecuteNV.html |
| 7996 |
void opticalFlowExecuteNV( VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV session, const OpticalFlowExecuteInfoNV & executeInfo ) const VULKAN_HPP_NOEXCEPT; |
| 7997 |
|
| 7998 |
//=== VK_KHR_maintenance5 === |
| 7999 |
|
| 8000 |
// wrapper function for command vkCmdBindIndexBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2KHR.html |
| 8001 |
void bindIndexBuffer2KHR( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, DeviceSize size, IndexType indexType ) const VULKAN_HPP_NOEXCEPT; |
| 8002 |
|
| 8003 |
//=== VK_EXT_shader_object === |
| 8004 |
|
| 8005 |
// wrapper function for command vkCmdBindShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadersEXT.html |
| 8006 |
void bindShadersEXT( ArrayProxy<const ShaderStageFlagBits> const & stages, ArrayProxy<const VULKAN_HPP_NAMESPACE::ShaderEXT> const & shaders ) const; |
| 8007 |
|
| 8008 |
// wrapper function for command vkCmdSetDepthClampRangeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampRangeEXT.html |
| 8009 |
void setDepthClampRangeEXT( DepthClampModeEXT depthClampMode, |
| 8010 |
Optional<const DepthClampRangeEXT> depthClampRange VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 8011 |
|
| 8012 |
//=== VK_NV_cooperative_vector === |
| 8013 |
|
| 8014 |
// wrapper function for command vkCmdConvertCooperativeVectorMatrixNV, see |
| 8015 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdConvertCooperativeVectorMatrixNV.html |
| 8016 |
void convertCooperativeVectorMatrixNV( ArrayProxy<const ConvertCooperativeVectorMatrixInfoNV> const & infos ) const VULKAN_HPP_NOEXCEPT; |
| 8017 |
|
| 8018 |
//=== VK_ARM_data_graph === |
| 8019 |
|
| 8020 |
// wrapper function for command vkCmdDispatchDataGraphARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchDataGraphARM.html |
| 8021 |
void dispatchDataGraphARM( VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM session, |
| 8022 |
Optional<const DataGraphPipelineDispatchInfoARM> info VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 8023 |
|
| 8024 |
//=== VK_EXT_attachment_feedback_loop_dynamic_state === |
| 8025 |
|
| 8026 |
// wrapper function for command vkCmdSetAttachmentFeedbackLoopEnableEXT, see |
| 8027 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html |
| 8028 |
void setAttachmentFeedbackLoopEnableEXT( ImageAspectFlags aspectMask VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const VULKAN_HPP_NOEXCEPT; |
| 8029 |
|
| 8030 |
//=== VK_KHR_line_rasterization === |
| 8031 |
|
| 8032 |
// wrapper function for command vkCmdSetLineStippleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleKHR.html |
| 8033 |
void setLineStippleKHR( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT; |
| 8034 |
|
| 8035 |
//=== VK_KHR_maintenance6 === |
| 8036 |
|
| 8037 |
// wrapper function for command vkCmdBindDescriptorSets2KHR, see |
| 8038 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2KHR.html |
| 8039 |
void bindDescriptorSets2KHR( const BindDescriptorSetsInfo & bindDescriptorSetsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8040 |
|
| 8041 |
// wrapper function for command vkCmdPushConstants2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2KHR.html |
| 8042 |
void pushConstants2KHR( const PushConstantsInfo & pushConstantsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8043 |
|
| 8044 |
// wrapper function for command vkCmdPushDescriptorSet2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2KHR.html |
| 8045 |
void pushDescriptorSet2KHR( const PushDescriptorSetInfo & pushDescriptorSetInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8046 |
|
| 8047 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplate2KHR, see |
| 8048 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html |
| 8049 |
void pushDescriptorSetWithTemplate2KHR( const PushDescriptorSetWithTemplateInfo & pushDescriptorSetWithTemplateInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8050 |
|
| 8051 |
// wrapper function for command vkCmdSetDescriptorBufferOffsets2EXT, see |
| 8052 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html |
| 8053 |
void setDescriptorBufferOffsets2EXT( const SetDescriptorBufferOffsetsInfoEXT & setDescriptorBufferOffsetsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8054 |
|
| 8055 |
// wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, see |
| 8056 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html |
| 8057 |
void bindDescriptorBufferEmbeddedSamplers2EXT( const BindDescriptorBufferEmbeddedSamplersInfoEXT & bindDescriptorBufferEmbeddedSamplersInfo ) const |
| 8058 |
VULKAN_HPP_NOEXCEPT; |
| 8059 |
|
| 8060 |
//=== VK_QCOM_tile_memory_heap === |
| 8061 |
|
| 8062 |
// wrapper function for command vkCmdBindTileMemoryQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTileMemoryQCOM.html |
| 8063 |
void bindTileMemoryQCOM( Optional<const TileMemoryBindInfoQCOM> tileMemoryBindInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 8064 |
|
| 8065 |
//=== VK_KHR_copy_memory_indirect === |
| 8066 |
|
| 8067 |
// wrapper function for command vkCmdCopyMemoryIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectKHR.html |
| 8068 |
void copyMemoryIndirectKHR( const CopyMemoryIndirectInfoKHR & copyMemoryIndirectInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8069 |
|
| 8070 |
// wrapper function for command vkCmdCopyMemoryToImageIndirectKHR, see |
| 8071 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectKHR.html |
| 8072 |
void copyMemoryToImageIndirectKHR( const CopyMemoryToImageIndirectInfoKHR & copyMemoryToImageIndirectInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8073 |
|
| 8074 |
//=== VK_EXT_memory_decompression === |
| 8075 |
|
| 8076 |
// wrapper function for command vkCmdDecompressMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryEXT.html |
| 8077 |
void decompressMemoryEXT( const DecompressMemoryInfoEXT & decompressMemoryInfoEXT ) const VULKAN_HPP_NOEXCEPT; |
| 8078 |
|
| 8079 |
// wrapper function for command vkCmdDecompressMemoryIndirectCountEXT, see |
| 8080 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountEXT.html |
| 8081 |
void decompressMemoryIndirectCountEXT( MemoryDecompressionMethodFlagsEXT decompressionMethod, |
| 8082 |
DeviceAddress indirectCommandsAddress, |
| 8083 |
DeviceAddress indirectCommandsCountAddress, |
| 8084 |
uint32_t maxDecompressionCount, |
| 8085 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT; |
| 8086 |
|
| 8087 |
//=== VK_NV_cluster_acceleration_structure === |
| 8088 |
|
| 8089 |
// wrapper function for command vkCmdBuildClusterAccelerationStructureIndirectNV, see |
| 8090 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildClusterAccelerationStructureIndirectNV.html |
| 8091 |
void buildClusterAccelerationStructureIndirectNV( const ClusterAccelerationStructureCommandsInfoNV & commandInfos ) const VULKAN_HPP_NOEXCEPT; |
| 8092 |
|
| 8093 |
//=== VK_NV_partitioned_acceleration_structure === |
| 8094 |
|
| 8095 |
// wrapper function for command vkCmdBuildPartitionedAccelerationStructuresNV, see |
| 8096 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildPartitionedAccelerationStructuresNV.html |
| 8097 |
void buildPartitionedAccelerationStructuresNV( const BuildPartitionedAccelerationStructureInfoNV & buildInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8098 |
|
| 8099 |
//=== VK_EXT_device_generated_commands === |
| 8100 |
|
| 8101 |
// wrapper function for command vkCmdPreprocessGeneratedCommandsEXT, see |
| 8102 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsEXT.html |
| 8103 |
void preprocessGeneratedCommandsEXT( const GeneratedCommandsInfoEXT & generatedCommandsInfo, |
| 8104 |
VULKAN_HPP_NAMESPACE::CommandBuffer stateCommandBuffer ) const VULKAN_HPP_NOEXCEPT; |
| 8105 |
|
| 8106 |
// wrapper function for command vkCmdExecuteGeneratedCommandsEXT, see |
| 8107 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsEXT.html |
| 8108 |
void executeGeneratedCommandsEXT( Bool32 isPreprocessed, const GeneratedCommandsInfoEXT & generatedCommandsInfo ) const VULKAN_HPP_NOEXCEPT; |
| 8109 |
|
| 8110 |
//=== VK_EXT_fragment_density_map_offset === |
| 8111 |
|
| 8112 |
// wrapper function for command vkCmdEndRendering2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2EXT.html |
| 8113 |
void endRendering2EXT( Optional<const RenderingEndInfoKHR> renderingEndInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 8114 |
|
| 8115 |
//=== VK_EXT_custom_resolve === |
| 8116 |
|
| 8117 |
// wrapper function for command vkCmdBeginCustomResolveEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginCustomResolveEXT.html |
| 8118 |
void beginCustomResolveEXT( Optional<const BeginCustomResolveInfoEXT> beginCustomResolveInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const |
| 8119 |
VULKAN_HPP_NOEXCEPT; |
| 8120 |
|
| 8121 |
//=== VK_KHR_maintenance10 === |
| 8122 |
|
| 8123 |
// wrapper function for command vkCmdEndRendering2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2KHR.html |
| 8124 |
void endRendering2KHR( Optional<const RenderingEndInfoKHR> renderingEndInfo VULKAN_HPP_DEFAULT_ASSIGNMENT( nullptr ) ) const VULKAN_HPP_NOEXCEPT; |
| 8125 |
|
| 8126 |
//=== VK_NV_compute_occupancy_priority === |
| 8127 |
|
| 8128 |
// wrapper function for command vkCmdSetComputeOccupancyPriorityNV, see |
| 8129 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetComputeOccupancyPriorityNV.html |
| 8130 |
void setComputeOccupancyPriorityNV( const ComputeOccupancyPriorityParametersNV & parameters ) const VULKAN_HPP_NOEXCEPT; |
| 8131 |
|
| 8132 |
private: |
| 8133 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 8134 |
VULKAN_HPP_NAMESPACE::CommandPool m_commandPool = {}; |
| 8135 |
VULKAN_HPP_NAMESPACE::CommandBuffer m_commandBuffer = {}; |
| 8136 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 8137 |
}; |
| 8138 |
|
| 8139 |
template <> |
| 8140 |
struct isVulkanRAIIHandleType<CommandBuffer> |
| 8141 |
{ |
| 8142 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8143 |
}; |
| 8144 |
|
| 8145 |
class CommandBuffers : public std::vector<CommandBuffer> |
| 8146 |
{ |
| 8147 |
public: |
| 8148 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8149 |
CommandBuffers( Device const & device, CommandBufferAllocateInfo const & allocateInfo ) |
| 8150 |
{ |
| 8151 |
*this = device.allocateCommandBuffers( allocateInfo ); |
| 8152 |
} |
| 8153 |
# endif |
| 8154 |
|
| 8155 |
CommandBuffers( std::nullptr_t ) {} |
| 8156 |
|
| 8157 |
CommandBuffers() = delete; |
| 8158 |
CommandBuffers( CommandBuffers const & ) = delete; |
| 8159 |
CommandBuffers( CommandBuffers && rhs ) = default; |
| 8160 |
CommandBuffers & operator=( CommandBuffers const & ) = delete; |
| 8161 |
CommandBuffers & operator=( CommandBuffers && rhs ) = default; |
| 8162 |
|
| 8163 |
CommandBuffers( std::vector<CommandBuffer> && rhs ) |
| 8164 |
{ |
| 8165 |
std::swap( *this, rhs ); |
| 8166 |
} |
| 8167 |
}; |
| 8168 |
|
| 8169 |
// wrapper class for handle VkCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCuFunctionNVX.html |
| 8170 |
class CuFunctionNVX |
| 8171 |
{ |
| 8172 |
public: |
| 8173 |
using CType = VkCuFunctionNVX; |
| 8174 |
using CppType = VULKAN_HPP_NAMESPACE::CuFunctionNVX; |
| 8175 |
|
| 8176 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eCuFunctionNVX; |
| 8177 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eCuFunctionNVX; |
| 8178 |
|
| 8179 |
public: |
| 8180 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8181 |
CuFunctionNVX( Device const & device, CuFunctionCreateInfoNVX const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8182 |
{ |
| 8183 |
*this = device.createCuFunctionNVX( createInfo, allocator ); |
| 8184 |
} |
| 8185 |
# endif |
| 8186 |
|
| 8187 |
CuFunctionNVX( Device const & device, VkCuFunctionNVX function, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8188 |
: m_device( device ) |
| 8189 |
, m_cuFunctionNVX( function ) |
| 8190 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8191 |
, m_dispatcher( device.getDispatcher() ) |
| 8192 |
{ |
| 8193 |
} |
| 8194 |
|
| 8195 |
CuFunctionNVX( std::nullptr_t ) {} |
| 8196 |
|
| 8197 |
~CuFunctionNVX() |
| 8198 |
{ |
| 8199 |
clear(); |
| 8200 |
} |
| 8201 |
|
| 8202 |
CuFunctionNVX() = delete; |
| 8203 |
CuFunctionNVX( CuFunctionNVX const & ) = delete; |
| 8204 |
|
| 8205 |
CuFunctionNVX( CuFunctionNVX && rhs ) VULKAN_HPP_NOEXCEPT |
| 8206 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 8207 |
, m_cuFunctionNVX( exchange( rhs.m_cuFunctionNVX, {} ) ) |
| 8208 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8209 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8210 |
{ |
| 8211 |
} |
| 8212 |
|
| 8213 |
CuFunctionNVX & operator=( CuFunctionNVX const & ) = delete; |
| 8214 |
|
| 8215 |
CuFunctionNVX & operator=( CuFunctionNVX && rhs ) VULKAN_HPP_NOEXCEPT |
| 8216 |
{ |
| 8217 |
if ( this != &rhs ) |
| 8218 |
{ |
| 8219 |
std::swap( m_device, rhs.m_device ); |
| 8220 |
std::swap( m_cuFunctionNVX, rhs.m_cuFunctionNVX ); |
| 8221 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8222 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8223 |
} |
| 8224 |
return *this; |
| 8225 |
} |
| 8226 |
|
| 8227 |
VULKAN_HPP_NAMESPACE::CuFunctionNVX const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 8228 |
{ |
| 8229 |
return m_cuFunctionNVX; |
| 8230 |
} |
| 8231 |
|
| 8232 |
VULKAN_HPP_NAMESPACE::CuFunctionNVX const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 8233 |
{ |
| 8234 |
return std::move( m_cuFunctionNVX ); |
| 8235 |
} |
| 8236 |
|
| 8237 |
operator VULKAN_HPP_NAMESPACE::CuFunctionNVX() const VULKAN_HPP_NOEXCEPT |
| 8238 |
{ |
| 8239 |
return m_cuFunctionNVX; |
| 8240 |
} |
| 8241 |
|
| 8242 |
void clear() VULKAN_HPP_NOEXCEPT |
| 8243 |
{ |
| 8244 |
if ( m_cuFunctionNVX ) |
| 8245 |
{ |
| 8246 |
getDispatcher()->vkDestroyCuFunctionNVX( static_cast<VkDevice>( m_device ), |
| 8247 |
static_cast<VkCuFunctionNVX>( m_cuFunctionNVX ), |
| 8248 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 8249 |
} |
| 8250 |
m_device = nullptr; |
| 8251 |
m_cuFunctionNVX = nullptr; |
| 8252 |
m_allocator = nullptr; |
| 8253 |
m_dispatcher = nullptr; |
| 8254 |
} |
| 8255 |
|
| 8256 |
VULKAN_HPP_NAMESPACE::CuFunctionNVX release() |
| 8257 |
{ |
| 8258 |
m_device = nullptr; |
| 8259 |
m_allocator = nullptr; |
| 8260 |
m_dispatcher = nullptr; |
| 8261 |
return exchange( m_cuFunctionNVX, nullptr ); |
| 8262 |
} |
| 8263 |
|
| 8264 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 8265 |
{ |
| 8266 |
return m_device; |
| 8267 |
} |
| 8268 |
|
| 8269 |
detail::DeviceDispatcher const * getDispatcher() const |
| 8270 |
{ |
| 8271 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 8272 |
return m_dispatcher; |
| 8273 |
} |
| 8274 |
|
| 8275 |
void swap( CuFunctionNVX & rhs ) VULKAN_HPP_NOEXCEPT |
| 8276 |
{ |
| 8277 |
std::swap( m_device, rhs.m_device ); |
| 8278 |
std::swap( m_cuFunctionNVX, rhs.m_cuFunctionNVX ); |
| 8279 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8280 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8281 |
} |
| 8282 |
|
| 8283 |
private: |
| 8284 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 8285 |
VULKAN_HPP_NAMESPACE::CuFunctionNVX m_cuFunctionNVX = {}; |
| 8286 |
const AllocationCallbacks * m_allocator = {}; |
| 8287 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 8288 |
}; |
| 8289 |
|
| 8290 |
template <> |
| 8291 |
struct isVulkanRAIIHandleType<CuFunctionNVX> |
| 8292 |
{ |
| 8293 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8294 |
}; |
| 8295 |
|
| 8296 |
// wrapper class for handle VkCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCuModuleNVX.html |
| 8297 |
class CuModuleNVX |
| 8298 |
{ |
| 8299 |
public: |
| 8300 |
using CType = VkCuModuleNVX; |
| 8301 |
using CppType = VULKAN_HPP_NAMESPACE::CuModuleNVX; |
| 8302 |
|
| 8303 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eCuModuleNVX; |
| 8304 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eCuModuleNVX; |
| 8305 |
|
| 8306 |
public: |
| 8307 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8308 |
CuModuleNVX( Device const & device, CuModuleCreateInfoNVX const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8309 |
{ |
| 8310 |
*this = device.createCuModuleNVX( createInfo, allocator ); |
| 8311 |
} |
| 8312 |
# endif |
| 8313 |
|
| 8314 |
CuModuleNVX( Device const & device, VkCuModuleNVX module, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8315 |
: m_device( device ) |
| 8316 |
, m_cuModuleNVX( module ) |
| 8317 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8318 |
, m_dispatcher( device.getDispatcher() ) |
| 8319 |
{ |
| 8320 |
} |
| 8321 |
|
| 8322 |
CuModuleNVX( std::nullptr_t ) {} |
| 8323 |
|
| 8324 |
~CuModuleNVX() |
| 8325 |
{ |
| 8326 |
clear(); |
| 8327 |
} |
| 8328 |
|
| 8329 |
CuModuleNVX() = delete; |
| 8330 |
CuModuleNVX( CuModuleNVX const & ) = delete; |
| 8331 |
|
| 8332 |
CuModuleNVX( CuModuleNVX && rhs ) VULKAN_HPP_NOEXCEPT |
| 8333 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 8334 |
, m_cuModuleNVX( exchange( rhs.m_cuModuleNVX, {} ) ) |
| 8335 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8336 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8337 |
{ |
| 8338 |
} |
| 8339 |
|
| 8340 |
CuModuleNVX & operator=( CuModuleNVX const & ) = delete; |
| 8341 |
|
| 8342 |
CuModuleNVX & operator=( CuModuleNVX && rhs ) VULKAN_HPP_NOEXCEPT |
| 8343 |
{ |
| 8344 |
if ( this != &rhs ) |
| 8345 |
{ |
| 8346 |
std::swap( m_device, rhs.m_device ); |
| 8347 |
std::swap( m_cuModuleNVX, rhs.m_cuModuleNVX ); |
| 8348 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8349 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8350 |
} |
| 8351 |
return *this; |
| 8352 |
} |
| 8353 |
|
| 8354 |
VULKAN_HPP_NAMESPACE::CuModuleNVX const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 8355 |
{ |
| 8356 |
return m_cuModuleNVX; |
| 8357 |
} |
| 8358 |
|
| 8359 |
VULKAN_HPP_NAMESPACE::CuModuleNVX const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 8360 |
{ |
| 8361 |
return std::move( m_cuModuleNVX ); |
| 8362 |
} |
| 8363 |
|
| 8364 |
operator VULKAN_HPP_NAMESPACE::CuModuleNVX() const VULKAN_HPP_NOEXCEPT |
| 8365 |
{ |
| 8366 |
return m_cuModuleNVX; |
| 8367 |
} |
| 8368 |
|
| 8369 |
void clear() VULKAN_HPP_NOEXCEPT |
| 8370 |
{ |
| 8371 |
if ( m_cuModuleNVX ) |
| 8372 |
{ |
| 8373 |
getDispatcher()->vkDestroyCuModuleNVX( |
| 8374 |
static_cast<VkDevice>( m_device ), static_cast<VkCuModuleNVX>( m_cuModuleNVX ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 8375 |
} |
| 8376 |
m_device = nullptr; |
| 8377 |
m_cuModuleNVX = nullptr; |
| 8378 |
m_allocator = nullptr; |
| 8379 |
m_dispatcher = nullptr; |
| 8380 |
} |
| 8381 |
|
| 8382 |
VULKAN_HPP_NAMESPACE::CuModuleNVX release() |
| 8383 |
{ |
| 8384 |
m_device = nullptr; |
| 8385 |
m_allocator = nullptr; |
| 8386 |
m_dispatcher = nullptr; |
| 8387 |
return exchange( m_cuModuleNVX, nullptr ); |
| 8388 |
} |
| 8389 |
|
| 8390 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 8391 |
{ |
| 8392 |
return m_device; |
| 8393 |
} |
| 8394 |
|
| 8395 |
detail::DeviceDispatcher const * getDispatcher() const |
| 8396 |
{ |
| 8397 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 8398 |
return m_dispatcher; |
| 8399 |
} |
| 8400 |
|
| 8401 |
void swap( CuModuleNVX & rhs ) VULKAN_HPP_NOEXCEPT |
| 8402 |
{ |
| 8403 |
std::swap( m_device, rhs.m_device ); |
| 8404 |
std::swap( m_cuModuleNVX, rhs.m_cuModuleNVX ); |
| 8405 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8406 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8407 |
} |
| 8408 |
|
| 8409 |
private: |
| 8410 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 8411 |
VULKAN_HPP_NAMESPACE::CuModuleNVX m_cuModuleNVX = {}; |
| 8412 |
const AllocationCallbacks * m_allocator = {}; |
| 8413 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 8414 |
}; |
| 8415 |
|
| 8416 |
template <> |
| 8417 |
struct isVulkanRAIIHandleType<CuModuleNVX> |
| 8418 |
{ |
| 8419 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8420 |
}; |
| 8421 |
|
| 8422 |
// wrapper class for handle VkCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCudaFunctionNV.html |
| 8423 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 8424 |
class CudaFunctionNV |
| 8425 |
{ |
| 8426 |
public: |
| 8427 |
using CType = VkCudaFunctionNV; |
| 8428 |
using CppType = VULKAN_HPP_NAMESPACE::CudaFunctionNV; |
| 8429 |
|
| 8430 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eCudaFunctionNV; |
| 8431 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eCudaFunctionNV; |
| 8432 |
|
| 8433 |
public: |
| 8434 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8435 |
CudaFunctionNV( Device const & device, CudaFunctionCreateInfoNV const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8436 |
{ |
| 8437 |
*this = device.createCudaFunctionNV( createInfo, allocator ); |
| 8438 |
} |
| 8439 |
# endif |
| 8440 |
|
| 8441 |
CudaFunctionNV( Device const & device, VkCudaFunctionNV function, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8442 |
: m_device( device ) |
| 8443 |
, m_cudaFunctionNV( function ) |
| 8444 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8445 |
, m_dispatcher( device.getDispatcher() ) |
| 8446 |
{ |
| 8447 |
} |
| 8448 |
|
| 8449 |
CudaFunctionNV( std::nullptr_t ) {} |
| 8450 |
|
| 8451 |
~CudaFunctionNV() |
| 8452 |
{ |
| 8453 |
clear(); |
| 8454 |
} |
| 8455 |
|
| 8456 |
CudaFunctionNV() = delete; |
| 8457 |
CudaFunctionNV( CudaFunctionNV const & ) = delete; |
| 8458 |
|
| 8459 |
CudaFunctionNV( CudaFunctionNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 8460 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 8461 |
, m_cudaFunctionNV( exchange( rhs.m_cudaFunctionNV, {} ) ) |
| 8462 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8463 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8464 |
{ |
| 8465 |
} |
| 8466 |
|
| 8467 |
CudaFunctionNV & operator=( CudaFunctionNV const & ) = delete; |
| 8468 |
|
| 8469 |
CudaFunctionNV & operator=( CudaFunctionNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 8470 |
{ |
| 8471 |
if ( this != &rhs ) |
| 8472 |
{ |
| 8473 |
std::swap( m_device, rhs.m_device ); |
| 8474 |
std::swap( m_cudaFunctionNV, rhs.m_cudaFunctionNV ); |
| 8475 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8476 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8477 |
} |
| 8478 |
return *this; |
| 8479 |
} |
| 8480 |
|
| 8481 |
VULKAN_HPP_NAMESPACE::CudaFunctionNV const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 8482 |
{ |
| 8483 |
return m_cudaFunctionNV; |
| 8484 |
} |
| 8485 |
|
| 8486 |
VULKAN_HPP_NAMESPACE::CudaFunctionNV const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 8487 |
{ |
| 8488 |
return std::move( m_cudaFunctionNV ); |
| 8489 |
} |
| 8490 |
|
| 8491 |
operator VULKAN_HPP_NAMESPACE::CudaFunctionNV() const VULKAN_HPP_NOEXCEPT |
| 8492 |
{ |
| 8493 |
return m_cudaFunctionNV; |
| 8494 |
} |
| 8495 |
|
| 8496 |
void clear() VULKAN_HPP_NOEXCEPT |
| 8497 |
{ |
| 8498 |
if ( m_cudaFunctionNV ) |
| 8499 |
{ |
| 8500 |
getDispatcher()->vkDestroyCudaFunctionNV( static_cast<VkDevice>( m_device ), |
| 8501 |
static_cast<VkCudaFunctionNV>( m_cudaFunctionNV ), |
| 8502 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 8503 |
} |
| 8504 |
m_device = nullptr; |
| 8505 |
m_cudaFunctionNV = nullptr; |
| 8506 |
m_allocator = nullptr; |
| 8507 |
m_dispatcher = nullptr; |
| 8508 |
} |
| 8509 |
|
| 8510 |
VULKAN_HPP_NAMESPACE::CudaFunctionNV release() |
| 8511 |
{ |
| 8512 |
m_device = nullptr; |
| 8513 |
m_allocator = nullptr; |
| 8514 |
m_dispatcher = nullptr; |
| 8515 |
return exchange( m_cudaFunctionNV, nullptr ); |
| 8516 |
} |
| 8517 |
|
| 8518 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 8519 |
{ |
| 8520 |
return m_device; |
| 8521 |
} |
| 8522 |
|
| 8523 |
detail::DeviceDispatcher const * getDispatcher() const |
| 8524 |
{ |
| 8525 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 8526 |
return m_dispatcher; |
| 8527 |
} |
| 8528 |
|
| 8529 |
void swap( CudaFunctionNV & rhs ) VULKAN_HPP_NOEXCEPT |
| 8530 |
{ |
| 8531 |
std::swap( m_device, rhs.m_device ); |
| 8532 |
std::swap( m_cudaFunctionNV, rhs.m_cudaFunctionNV ); |
| 8533 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8534 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8535 |
} |
| 8536 |
|
| 8537 |
private: |
| 8538 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 8539 |
VULKAN_HPP_NAMESPACE::CudaFunctionNV m_cudaFunctionNV = {}; |
| 8540 |
const AllocationCallbacks * m_allocator = {}; |
| 8541 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 8542 |
}; |
| 8543 |
|
| 8544 |
template <> |
| 8545 |
struct isVulkanRAIIHandleType<CudaFunctionNV> |
| 8546 |
{ |
| 8547 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8548 |
}; |
| 8549 |
|
| 8550 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 8551 |
|
| 8552 |
// wrapper class for handle VkCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkCudaModuleNV.html |
| 8553 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 8554 |
class CudaModuleNV |
| 8555 |
{ |
| 8556 |
public: |
| 8557 |
using CType = VkCudaModuleNV; |
| 8558 |
using CppType = VULKAN_HPP_NAMESPACE::CudaModuleNV; |
| 8559 |
|
| 8560 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eCudaModuleNV; |
| 8561 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eCudaModuleNV; |
| 8562 |
|
| 8563 |
public: |
| 8564 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8565 |
CudaModuleNV( Device const & device, CudaModuleCreateInfoNV const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8566 |
{ |
| 8567 |
*this = device.createCudaModuleNV( createInfo, allocator ); |
| 8568 |
} |
| 8569 |
# endif |
| 8570 |
|
| 8571 |
CudaModuleNV( Device const & device, VkCudaModuleNV module, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8572 |
: m_device( device ) |
| 8573 |
, m_cudaModuleNV( module ) |
| 8574 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8575 |
, m_dispatcher( device.getDispatcher() ) |
| 8576 |
{ |
| 8577 |
} |
| 8578 |
|
| 8579 |
CudaModuleNV( std::nullptr_t ) {} |
| 8580 |
|
| 8581 |
~CudaModuleNV() |
| 8582 |
{ |
| 8583 |
clear(); |
| 8584 |
} |
| 8585 |
|
| 8586 |
CudaModuleNV() = delete; |
| 8587 |
CudaModuleNV( CudaModuleNV const & ) = delete; |
| 8588 |
|
| 8589 |
CudaModuleNV( CudaModuleNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 8590 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 8591 |
, m_cudaModuleNV( exchange( rhs.m_cudaModuleNV, {} ) ) |
| 8592 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8593 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8594 |
{ |
| 8595 |
} |
| 8596 |
|
| 8597 |
CudaModuleNV & operator=( CudaModuleNV const & ) = delete; |
| 8598 |
|
| 8599 |
CudaModuleNV & operator=( CudaModuleNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 8600 |
{ |
| 8601 |
if ( this != &rhs ) |
| 8602 |
{ |
| 8603 |
std::swap( m_device, rhs.m_device ); |
| 8604 |
std::swap( m_cudaModuleNV, rhs.m_cudaModuleNV ); |
| 8605 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8606 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8607 |
} |
| 8608 |
return *this; |
| 8609 |
} |
| 8610 |
|
| 8611 |
VULKAN_HPP_NAMESPACE::CudaModuleNV const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 8612 |
{ |
| 8613 |
return m_cudaModuleNV; |
| 8614 |
} |
| 8615 |
|
| 8616 |
VULKAN_HPP_NAMESPACE::CudaModuleNV const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 8617 |
{ |
| 8618 |
return std::move( m_cudaModuleNV ); |
| 8619 |
} |
| 8620 |
|
| 8621 |
operator VULKAN_HPP_NAMESPACE::CudaModuleNV() const VULKAN_HPP_NOEXCEPT |
| 8622 |
{ |
| 8623 |
return m_cudaModuleNV; |
| 8624 |
} |
| 8625 |
|
| 8626 |
void clear() VULKAN_HPP_NOEXCEPT |
| 8627 |
{ |
| 8628 |
if ( m_cudaModuleNV ) |
| 8629 |
{ |
| 8630 |
getDispatcher()->vkDestroyCudaModuleNV( |
| 8631 |
static_cast<VkDevice>( m_device ), static_cast<VkCudaModuleNV>( m_cudaModuleNV ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 8632 |
} |
| 8633 |
m_device = nullptr; |
| 8634 |
m_cudaModuleNV = nullptr; |
| 8635 |
m_allocator = nullptr; |
| 8636 |
m_dispatcher = nullptr; |
| 8637 |
} |
| 8638 |
|
| 8639 |
VULKAN_HPP_NAMESPACE::CudaModuleNV release() |
| 8640 |
{ |
| 8641 |
m_device = nullptr; |
| 8642 |
m_allocator = nullptr; |
| 8643 |
m_dispatcher = nullptr; |
| 8644 |
return exchange( m_cudaModuleNV, nullptr ); |
| 8645 |
} |
| 8646 |
|
| 8647 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 8648 |
{ |
| 8649 |
return m_device; |
| 8650 |
} |
| 8651 |
|
| 8652 |
detail::DeviceDispatcher const * getDispatcher() const |
| 8653 |
{ |
| 8654 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 8655 |
return m_dispatcher; |
| 8656 |
} |
| 8657 |
|
| 8658 |
void swap( CudaModuleNV & rhs ) VULKAN_HPP_NOEXCEPT |
| 8659 |
{ |
| 8660 |
std::swap( m_device, rhs.m_device ); |
| 8661 |
std::swap( m_cudaModuleNV, rhs.m_cudaModuleNV ); |
| 8662 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8663 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8664 |
} |
| 8665 |
|
| 8666 |
//=== VK_NV_cuda_kernel_launch === |
| 8667 |
|
| 8668 |
// wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html |
| 8669 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<uint8_t>>::type getCache() const; |
| 8670 |
|
| 8671 |
private: |
| 8672 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 8673 |
VULKAN_HPP_NAMESPACE::CudaModuleNV m_cudaModuleNV = {}; |
| 8674 |
const AllocationCallbacks * m_allocator = {}; |
| 8675 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 8676 |
}; |
| 8677 |
|
| 8678 |
template <> |
| 8679 |
struct isVulkanRAIIHandleType<CudaModuleNV> |
| 8680 |
{ |
| 8681 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8682 |
}; |
| 8683 |
|
| 8684 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 8685 |
|
| 8686 |
// wrapper class for handle VkDataGraphPipelineSessionARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDataGraphPipelineSessionARM.html |
| 8687 |
class DataGraphPipelineSessionARM |
| 8688 |
{ |
| 8689 |
public: |
| 8690 |
using CType = VkDataGraphPipelineSessionARM; |
| 8691 |
using CppType = VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM; |
| 8692 |
|
| 8693 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDataGraphPipelineSessionARM; |
| 8694 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 8695 |
|
| 8696 |
public: |
| 8697 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8698 |
DataGraphPipelineSessionARM( Device const & device, |
| 8699 |
DataGraphPipelineSessionCreateInfoARM const & createInfo, |
| 8700 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8701 |
{ |
| 8702 |
*this = device.createDataGraphPipelineSessionARM( createInfo, allocator ); |
| 8703 |
} |
| 8704 |
# endif |
| 8705 |
|
| 8706 |
DataGraphPipelineSessionARM( Device const & device, VkDataGraphPipelineSessionARM session, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8707 |
: m_device( device ) |
| 8708 |
, m_dataGraphPipelineSessionARM( session ) |
| 8709 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8710 |
, m_dispatcher( device.getDispatcher() ) |
| 8711 |
{ |
| 8712 |
} |
| 8713 |
|
| 8714 |
DataGraphPipelineSessionARM( std::nullptr_t ) {} |
| 8715 |
|
| 8716 |
~DataGraphPipelineSessionARM() |
| 8717 |
{ |
| 8718 |
clear(); |
| 8719 |
} |
| 8720 |
|
| 8721 |
DataGraphPipelineSessionARM() = delete; |
| 8722 |
DataGraphPipelineSessionARM( DataGraphPipelineSessionARM const & ) = delete; |
| 8723 |
|
| 8724 |
DataGraphPipelineSessionARM( DataGraphPipelineSessionARM && rhs ) VULKAN_HPP_NOEXCEPT |
| 8725 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 8726 |
, m_dataGraphPipelineSessionARM( exchange( rhs.m_dataGraphPipelineSessionARM, {} ) ) |
| 8727 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8728 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8729 |
{ |
| 8730 |
} |
| 8731 |
|
| 8732 |
DataGraphPipelineSessionARM & operator=( DataGraphPipelineSessionARM const & ) = delete; |
| 8733 |
|
| 8734 |
DataGraphPipelineSessionARM & operator=( DataGraphPipelineSessionARM && rhs ) VULKAN_HPP_NOEXCEPT |
| 8735 |
{ |
| 8736 |
if ( this != &rhs ) |
| 8737 |
{ |
| 8738 |
std::swap( m_device, rhs.m_device ); |
| 8739 |
std::swap( m_dataGraphPipelineSessionARM, rhs.m_dataGraphPipelineSessionARM ); |
| 8740 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8741 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8742 |
} |
| 8743 |
return *this; |
| 8744 |
} |
| 8745 |
|
| 8746 |
VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 8747 |
{ |
| 8748 |
return m_dataGraphPipelineSessionARM; |
| 8749 |
} |
| 8750 |
|
| 8751 |
VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 8752 |
{ |
| 8753 |
return std::move( m_dataGraphPipelineSessionARM ); |
| 8754 |
} |
| 8755 |
|
| 8756 |
operator VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM() const VULKAN_HPP_NOEXCEPT |
| 8757 |
{ |
| 8758 |
return m_dataGraphPipelineSessionARM; |
| 8759 |
} |
| 8760 |
|
| 8761 |
void clear() VULKAN_HPP_NOEXCEPT |
| 8762 |
{ |
| 8763 |
if ( m_dataGraphPipelineSessionARM ) |
| 8764 |
{ |
| 8765 |
getDispatcher()->vkDestroyDataGraphPipelineSessionARM( static_cast<VkDevice>( m_device ), |
| 8766 |
static_cast<VkDataGraphPipelineSessionARM>( m_dataGraphPipelineSessionARM ), |
| 8767 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 8768 |
} |
| 8769 |
m_device = nullptr; |
| 8770 |
m_dataGraphPipelineSessionARM = nullptr; |
| 8771 |
m_allocator = nullptr; |
| 8772 |
m_dispatcher = nullptr; |
| 8773 |
} |
| 8774 |
|
| 8775 |
VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM release() |
| 8776 |
{ |
| 8777 |
m_device = nullptr; |
| 8778 |
m_allocator = nullptr; |
| 8779 |
m_dispatcher = nullptr; |
| 8780 |
return exchange( m_dataGraphPipelineSessionARM, nullptr ); |
| 8781 |
} |
| 8782 |
|
| 8783 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 8784 |
{ |
| 8785 |
return m_device; |
| 8786 |
} |
| 8787 |
|
| 8788 |
detail::DeviceDispatcher const * getDispatcher() const |
| 8789 |
{ |
| 8790 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 8791 |
return m_dispatcher; |
| 8792 |
} |
| 8793 |
|
| 8794 |
void swap( DataGraphPipelineSessionARM & rhs ) VULKAN_HPP_NOEXCEPT |
| 8795 |
{ |
| 8796 |
std::swap( m_device, rhs.m_device ); |
| 8797 |
std::swap( m_dataGraphPipelineSessionARM, rhs.m_dataGraphPipelineSessionARM ); |
| 8798 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8799 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8800 |
} |
| 8801 |
|
| 8802 |
private: |
| 8803 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 8804 |
VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM m_dataGraphPipelineSessionARM = {}; |
| 8805 |
const AllocationCallbacks * m_allocator = {}; |
| 8806 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 8807 |
}; |
| 8808 |
|
| 8809 |
template <> |
| 8810 |
struct isVulkanRAIIHandleType<DataGraphPipelineSessionARM> |
| 8811 |
{ |
| 8812 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8813 |
}; |
| 8814 |
|
| 8815 |
// wrapper class for handle VkDebugReportCallbackEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDebugReportCallbackEXT.html |
| 8816 |
class DebugReportCallbackEXT |
| 8817 |
{ |
| 8818 |
public: |
| 8819 |
using CType = VkDebugReportCallbackEXT; |
| 8820 |
using CppType = VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT; |
| 8821 |
|
| 8822 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDebugReportCallbackEXT; |
| 8823 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDebugReportCallbackEXT; |
| 8824 |
|
| 8825 |
public: |
| 8826 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8827 |
DebugReportCallbackEXT( Instance const & instance, |
| 8828 |
DebugReportCallbackCreateInfoEXT const & createInfo, |
| 8829 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8830 |
{ |
| 8831 |
*this = instance.createDebugReportCallbackEXT( createInfo, allocator ); |
| 8832 |
} |
| 8833 |
# endif |
| 8834 |
|
| 8835 |
DebugReportCallbackEXT( Instance const & instance, VkDebugReportCallbackEXT callback, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8836 |
: m_instance( instance ) |
| 8837 |
, m_debugReportCallbackEXT( callback ) |
| 8838 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8839 |
, m_dispatcher( instance.getDispatcher() ) |
| 8840 |
{ |
| 8841 |
} |
| 8842 |
|
| 8843 |
DebugReportCallbackEXT( std::nullptr_t ) {} |
| 8844 |
|
| 8845 |
~DebugReportCallbackEXT() |
| 8846 |
{ |
| 8847 |
clear(); |
| 8848 |
} |
| 8849 |
|
| 8850 |
DebugReportCallbackEXT() = delete; |
| 8851 |
DebugReportCallbackEXT( DebugReportCallbackEXT const & ) = delete; |
| 8852 |
|
| 8853 |
DebugReportCallbackEXT( DebugReportCallbackEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 8854 |
: m_instance( exchange( rhs.m_instance, {} ) ) |
| 8855 |
, m_debugReportCallbackEXT( exchange( rhs.m_debugReportCallbackEXT, {} ) ) |
| 8856 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8857 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8858 |
{ |
| 8859 |
} |
| 8860 |
|
| 8861 |
DebugReportCallbackEXT & operator=( DebugReportCallbackEXT const & ) = delete; |
| 8862 |
|
| 8863 |
DebugReportCallbackEXT & operator=( DebugReportCallbackEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 8864 |
{ |
| 8865 |
if ( this != &rhs ) |
| 8866 |
{ |
| 8867 |
std::swap( m_instance, rhs.m_instance ); |
| 8868 |
std::swap( m_debugReportCallbackEXT, rhs.m_debugReportCallbackEXT ); |
| 8869 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8870 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8871 |
} |
| 8872 |
return *this; |
| 8873 |
} |
| 8874 |
|
| 8875 |
VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 8876 |
{ |
| 8877 |
return m_debugReportCallbackEXT; |
| 8878 |
} |
| 8879 |
|
| 8880 |
VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 8881 |
{ |
| 8882 |
return std::move( m_debugReportCallbackEXT ); |
| 8883 |
} |
| 8884 |
|
| 8885 |
operator VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT() const VULKAN_HPP_NOEXCEPT |
| 8886 |
{ |
| 8887 |
return m_debugReportCallbackEXT; |
| 8888 |
} |
| 8889 |
|
| 8890 |
void clear() VULKAN_HPP_NOEXCEPT |
| 8891 |
{ |
| 8892 |
if ( m_debugReportCallbackEXT ) |
| 8893 |
{ |
| 8894 |
getDispatcher()->vkDestroyDebugReportCallbackEXT( static_cast<VkInstance>( m_instance ), |
| 8895 |
static_cast<VkDebugReportCallbackEXT>( m_debugReportCallbackEXT ), |
| 8896 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 8897 |
} |
| 8898 |
m_instance = nullptr; |
| 8899 |
m_debugReportCallbackEXT = nullptr; |
| 8900 |
m_allocator = nullptr; |
| 8901 |
m_dispatcher = nullptr; |
| 8902 |
} |
| 8903 |
|
| 8904 |
VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT release() |
| 8905 |
{ |
| 8906 |
m_instance = nullptr; |
| 8907 |
m_allocator = nullptr; |
| 8908 |
m_dispatcher = nullptr; |
| 8909 |
return exchange( m_debugReportCallbackEXT, nullptr ); |
| 8910 |
} |
| 8911 |
|
| 8912 |
VULKAN_HPP_NAMESPACE::Instance getInstance() const |
| 8913 |
{ |
| 8914 |
return m_instance; |
| 8915 |
} |
| 8916 |
|
| 8917 |
detail::InstanceDispatcher const * getDispatcher() const |
| 8918 |
{ |
| 8919 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 8920 |
return m_dispatcher; |
| 8921 |
} |
| 8922 |
|
| 8923 |
void swap( DebugReportCallbackEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 8924 |
{ |
| 8925 |
std::swap( m_instance, rhs.m_instance ); |
| 8926 |
std::swap( m_debugReportCallbackEXT, rhs.m_debugReportCallbackEXT ); |
| 8927 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8928 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 8929 |
} |
| 8930 |
|
| 8931 |
private: |
| 8932 |
VULKAN_HPP_NAMESPACE::Instance m_instance = {}; |
| 8933 |
VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT m_debugReportCallbackEXT = {}; |
| 8934 |
const AllocationCallbacks * m_allocator = {}; |
| 8935 |
detail::InstanceDispatcher const * m_dispatcher = nullptr; |
| 8936 |
}; |
| 8937 |
|
| 8938 |
template <> |
| 8939 |
struct isVulkanRAIIHandleType<DebugReportCallbackEXT> |
| 8940 |
{ |
| 8941 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 8942 |
}; |
| 8943 |
|
| 8944 |
// wrapper class for handle VkDebugUtilsMessengerEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDebugUtilsMessengerEXT.html |
| 8945 |
class DebugUtilsMessengerEXT |
| 8946 |
{ |
| 8947 |
public: |
| 8948 |
using CType = VkDebugUtilsMessengerEXT; |
| 8949 |
using CppType = VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT; |
| 8950 |
|
| 8951 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDebugUtilsMessengerEXT; |
| 8952 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 8953 |
|
| 8954 |
public: |
| 8955 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 8956 |
DebugUtilsMessengerEXT( Instance const & instance, |
| 8957 |
DebugUtilsMessengerCreateInfoEXT const & createInfo, |
| 8958 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8959 |
{ |
| 8960 |
*this = instance.createDebugUtilsMessengerEXT( createInfo, allocator ); |
| 8961 |
} |
| 8962 |
# endif |
| 8963 |
|
| 8964 |
DebugUtilsMessengerEXT( Instance const & instance, VkDebugUtilsMessengerEXT messenger, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 8965 |
: m_instance( instance ) |
| 8966 |
, m_debugUtilsMessengerEXT( messenger ) |
| 8967 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 8968 |
, m_dispatcher( instance.getDispatcher() ) |
| 8969 |
{ |
| 8970 |
} |
| 8971 |
|
| 8972 |
DebugUtilsMessengerEXT( std::nullptr_t ) {} |
| 8973 |
|
| 8974 |
~DebugUtilsMessengerEXT() |
| 8975 |
{ |
| 8976 |
clear(); |
| 8977 |
} |
| 8978 |
|
| 8979 |
DebugUtilsMessengerEXT() = delete; |
| 8980 |
DebugUtilsMessengerEXT( DebugUtilsMessengerEXT const & ) = delete; |
| 8981 |
|
| 8982 |
DebugUtilsMessengerEXT( DebugUtilsMessengerEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 8983 |
: m_instance( exchange( rhs.m_instance, {} ) ) |
| 8984 |
, m_debugUtilsMessengerEXT( exchange( rhs.m_debugUtilsMessengerEXT, {} ) ) |
| 8985 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 8986 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 8987 |
{ |
| 8988 |
} |
| 8989 |
|
| 8990 |
DebugUtilsMessengerEXT & operator=( DebugUtilsMessengerEXT const & ) = delete; |
| 8991 |
|
| 8992 |
DebugUtilsMessengerEXT & operator=( DebugUtilsMessengerEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 8993 |
{ |
| 8994 |
if ( this != &rhs ) |
| 8995 |
{ |
| 8996 |
std::swap( m_instance, rhs.m_instance ); |
| 8997 |
std::swap( m_debugUtilsMessengerEXT, rhs.m_debugUtilsMessengerEXT ); |
| 8998 |
std::swap( m_allocator, rhs.m_allocator ); |
| 8999 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9000 |
} |
| 9001 |
return *this; |
| 9002 |
} |
| 9003 |
|
| 9004 |
VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9005 |
{ |
| 9006 |
return m_debugUtilsMessengerEXT; |
| 9007 |
} |
| 9008 |
|
| 9009 |
VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9010 |
{ |
| 9011 |
return std::move( m_debugUtilsMessengerEXT ); |
| 9012 |
} |
| 9013 |
|
| 9014 |
operator VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT() const VULKAN_HPP_NOEXCEPT |
| 9015 |
{ |
| 9016 |
return m_debugUtilsMessengerEXT; |
| 9017 |
} |
| 9018 |
|
| 9019 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9020 |
{ |
| 9021 |
if ( m_debugUtilsMessengerEXT ) |
| 9022 |
{ |
| 9023 |
getDispatcher()->vkDestroyDebugUtilsMessengerEXT( static_cast<VkInstance>( m_instance ), |
| 9024 |
static_cast<VkDebugUtilsMessengerEXT>( m_debugUtilsMessengerEXT ), |
| 9025 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 9026 |
} |
| 9027 |
m_instance = nullptr; |
| 9028 |
m_debugUtilsMessengerEXT = nullptr; |
| 9029 |
m_allocator = nullptr; |
| 9030 |
m_dispatcher = nullptr; |
| 9031 |
} |
| 9032 |
|
| 9033 |
VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT release() |
| 9034 |
{ |
| 9035 |
m_instance = nullptr; |
| 9036 |
m_allocator = nullptr; |
| 9037 |
m_dispatcher = nullptr; |
| 9038 |
return exchange( m_debugUtilsMessengerEXT, nullptr ); |
| 9039 |
} |
| 9040 |
|
| 9041 |
VULKAN_HPP_NAMESPACE::Instance getInstance() const |
| 9042 |
{ |
| 9043 |
return m_instance; |
| 9044 |
} |
| 9045 |
|
| 9046 |
detail::InstanceDispatcher const * getDispatcher() const |
| 9047 |
{ |
| 9048 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9049 |
return m_dispatcher; |
| 9050 |
} |
| 9051 |
|
| 9052 |
void swap( DebugUtilsMessengerEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 9053 |
{ |
| 9054 |
std::swap( m_instance, rhs.m_instance ); |
| 9055 |
std::swap( m_debugUtilsMessengerEXT, rhs.m_debugUtilsMessengerEXT ); |
| 9056 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9057 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9058 |
} |
| 9059 |
|
| 9060 |
private: |
| 9061 |
VULKAN_HPP_NAMESPACE::Instance m_instance = {}; |
| 9062 |
VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT m_debugUtilsMessengerEXT = {}; |
| 9063 |
const AllocationCallbacks * m_allocator = {}; |
| 9064 |
detail::InstanceDispatcher const * m_dispatcher = nullptr; |
| 9065 |
}; |
| 9066 |
|
| 9067 |
template <> |
| 9068 |
struct isVulkanRAIIHandleType<DebugUtilsMessengerEXT> |
| 9069 |
{ |
| 9070 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9071 |
}; |
| 9072 |
|
| 9073 |
// wrapper class for handle VkDeferredOperationKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDeferredOperationKHR.html |
| 9074 |
class DeferredOperationKHR |
| 9075 |
{ |
| 9076 |
public: |
| 9077 |
using CType = VkDeferredOperationKHR; |
| 9078 |
using CppType = VULKAN_HPP_NAMESPACE::DeferredOperationKHR; |
| 9079 |
|
| 9080 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDeferredOperationKHR; |
| 9081 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 9082 |
|
| 9083 |
public: |
| 9084 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9085 |
DeferredOperationKHR( Device const & device, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9086 |
{ |
| 9087 |
*this = device.createDeferredOperationKHR( allocator ); |
| 9088 |
} |
| 9089 |
# endif |
| 9090 |
|
| 9091 |
DeferredOperationKHR( Device const & device, VkDeferredOperationKHR operation, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9092 |
: m_device( device ) |
| 9093 |
, m_deferredOperationKHR( operation ) |
| 9094 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 9095 |
, m_dispatcher( device.getDispatcher() ) |
| 9096 |
{ |
| 9097 |
} |
| 9098 |
|
| 9099 |
DeferredOperationKHR( std::nullptr_t ) {} |
| 9100 |
|
| 9101 |
~DeferredOperationKHR() |
| 9102 |
{ |
| 9103 |
clear(); |
| 9104 |
} |
| 9105 |
|
| 9106 |
DeferredOperationKHR() = delete; |
| 9107 |
DeferredOperationKHR( DeferredOperationKHR const & ) = delete; |
| 9108 |
|
| 9109 |
DeferredOperationKHR( DeferredOperationKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 9110 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 9111 |
, m_deferredOperationKHR( exchange( rhs.m_deferredOperationKHR, {} ) ) |
| 9112 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 9113 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9114 |
{ |
| 9115 |
} |
| 9116 |
|
| 9117 |
DeferredOperationKHR & operator=( DeferredOperationKHR const & ) = delete; |
| 9118 |
|
| 9119 |
DeferredOperationKHR & operator=( DeferredOperationKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 9120 |
{ |
| 9121 |
if ( this != &rhs ) |
| 9122 |
{ |
| 9123 |
std::swap( m_device, rhs.m_device ); |
| 9124 |
std::swap( m_deferredOperationKHR, rhs.m_deferredOperationKHR ); |
| 9125 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9126 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9127 |
} |
| 9128 |
return *this; |
| 9129 |
} |
| 9130 |
|
| 9131 |
VULKAN_HPP_NAMESPACE::DeferredOperationKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9132 |
{ |
| 9133 |
return m_deferredOperationKHR; |
| 9134 |
} |
| 9135 |
|
| 9136 |
VULKAN_HPP_NAMESPACE::DeferredOperationKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9137 |
{ |
| 9138 |
return std::move( m_deferredOperationKHR ); |
| 9139 |
} |
| 9140 |
|
| 9141 |
operator VULKAN_HPP_NAMESPACE::DeferredOperationKHR() const VULKAN_HPP_NOEXCEPT |
| 9142 |
{ |
| 9143 |
return m_deferredOperationKHR; |
| 9144 |
} |
| 9145 |
|
| 9146 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9147 |
{ |
| 9148 |
if ( m_deferredOperationKHR ) |
| 9149 |
{ |
| 9150 |
getDispatcher()->vkDestroyDeferredOperationKHR( static_cast<VkDevice>( m_device ), |
| 9151 |
static_cast<VkDeferredOperationKHR>( m_deferredOperationKHR ), |
| 9152 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 9153 |
} |
| 9154 |
m_device = nullptr; |
| 9155 |
m_deferredOperationKHR = nullptr; |
| 9156 |
m_allocator = nullptr; |
| 9157 |
m_dispatcher = nullptr; |
| 9158 |
} |
| 9159 |
|
| 9160 |
VULKAN_HPP_NAMESPACE::DeferredOperationKHR release() |
| 9161 |
{ |
| 9162 |
m_device = nullptr; |
| 9163 |
m_allocator = nullptr; |
| 9164 |
m_dispatcher = nullptr; |
| 9165 |
return exchange( m_deferredOperationKHR, nullptr ); |
| 9166 |
} |
| 9167 |
|
| 9168 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 9169 |
{ |
| 9170 |
return m_device; |
| 9171 |
} |
| 9172 |
|
| 9173 |
detail::DeviceDispatcher const * getDispatcher() const |
| 9174 |
{ |
| 9175 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9176 |
return m_dispatcher; |
| 9177 |
} |
| 9178 |
|
| 9179 |
void swap( DeferredOperationKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 9180 |
{ |
| 9181 |
std::swap( m_device, rhs.m_device ); |
| 9182 |
std::swap( m_deferredOperationKHR, rhs.m_deferredOperationKHR ); |
| 9183 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9184 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9185 |
} |
| 9186 |
|
| 9187 |
//=== VK_KHR_deferred_host_operations === |
| 9188 |
|
| 9189 |
// wrapper function for command vkGetDeferredOperationMaxConcurrencyKHR, see |
| 9190 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html |
| 9191 |
VULKAN_HPP_NODISCARD uint32_t getMaxConcurrency() const VULKAN_HPP_NOEXCEPT; |
| 9192 |
|
| 9193 |
// wrapper function for command vkGetDeferredOperationResultKHR, see |
| 9194 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationResultKHR.html |
| 9195 |
VULKAN_HPP_NODISCARD Result getResult() const; |
| 9196 |
|
| 9197 |
// wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html |
| 9198 |
VULKAN_HPP_NODISCARD Result join() const; |
| 9199 |
|
| 9200 |
private: |
| 9201 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 9202 |
VULKAN_HPP_NAMESPACE::DeferredOperationKHR m_deferredOperationKHR = {}; |
| 9203 |
const AllocationCallbacks * m_allocator = {}; |
| 9204 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 9205 |
}; |
| 9206 |
|
| 9207 |
template <> |
| 9208 |
struct isVulkanRAIIHandleType<DeferredOperationKHR> |
| 9209 |
{ |
| 9210 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9211 |
}; |
| 9212 |
|
| 9213 |
// wrapper class for handle VkDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDescriptorPool.html |
| 9214 |
class DescriptorPool |
| 9215 |
{ |
| 9216 |
public: |
| 9217 |
using CType = VkDescriptorPool; |
| 9218 |
using CppType = VULKAN_HPP_NAMESPACE::DescriptorPool; |
| 9219 |
|
| 9220 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDescriptorPool; |
| 9221 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDescriptorPool; |
| 9222 |
|
| 9223 |
public: |
| 9224 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9225 |
DescriptorPool( Device const & device, DescriptorPoolCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9226 |
{ |
| 9227 |
*this = device.createDescriptorPool( createInfo, allocator ); |
| 9228 |
} |
| 9229 |
# endif |
| 9230 |
|
| 9231 |
DescriptorPool( Device const & device, VkDescriptorPool descriptorPool, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9232 |
: m_device( device ) |
| 9233 |
, m_descriptorPool( descriptorPool ) |
| 9234 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 9235 |
, m_dispatcher( device.getDispatcher() ) |
| 9236 |
{ |
| 9237 |
} |
| 9238 |
|
| 9239 |
DescriptorPool( std::nullptr_t ) {} |
| 9240 |
|
| 9241 |
~DescriptorPool() |
| 9242 |
{ |
| 9243 |
clear(); |
| 9244 |
} |
| 9245 |
|
| 9246 |
DescriptorPool() = delete; |
| 9247 |
DescriptorPool( DescriptorPool const & ) = delete; |
| 9248 |
|
| 9249 |
DescriptorPool( DescriptorPool && rhs ) VULKAN_HPP_NOEXCEPT |
| 9250 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 9251 |
, m_descriptorPool( exchange( rhs.m_descriptorPool, {} ) ) |
| 9252 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 9253 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9254 |
{ |
| 9255 |
} |
| 9256 |
|
| 9257 |
DescriptorPool & operator=( DescriptorPool const & ) = delete; |
| 9258 |
|
| 9259 |
DescriptorPool & operator=( DescriptorPool && rhs ) VULKAN_HPP_NOEXCEPT |
| 9260 |
{ |
| 9261 |
if ( this != &rhs ) |
| 9262 |
{ |
| 9263 |
std::swap( m_device, rhs.m_device ); |
| 9264 |
std::swap( m_descriptorPool, rhs.m_descriptorPool ); |
| 9265 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9266 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9267 |
} |
| 9268 |
return *this; |
| 9269 |
} |
| 9270 |
|
| 9271 |
VULKAN_HPP_NAMESPACE::DescriptorPool const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9272 |
{ |
| 9273 |
return m_descriptorPool; |
| 9274 |
} |
| 9275 |
|
| 9276 |
VULKAN_HPP_NAMESPACE::DescriptorPool const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9277 |
{ |
| 9278 |
return std::move( m_descriptorPool ); |
| 9279 |
} |
| 9280 |
|
| 9281 |
operator VULKAN_HPP_NAMESPACE::DescriptorPool() const VULKAN_HPP_NOEXCEPT |
| 9282 |
{ |
| 9283 |
return m_descriptorPool; |
| 9284 |
} |
| 9285 |
|
| 9286 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9287 |
{ |
| 9288 |
if ( m_descriptorPool ) |
| 9289 |
{ |
| 9290 |
getDispatcher()->vkDestroyDescriptorPool( static_cast<VkDevice>( m_device ), |
| 9291 |
static_cast<VkDescriptorPool>( m_descriptorPool ), |
| 9292 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 9293 |
} |
| 9294 |
m_device = nullptr; |
| 9295 |
m_descriptorPool = nullptr; |
| 9296 |
m_allocator = nullptr; |
| 9297 |
m_dispatcher = nullptr; |
| 9298 |
} |
| 9299 |
|
| 9300 |
VULKAN_HPP_NAMESPACE::DescriptorPool release() |
| 9301 |
{ |
| 9302 |
m_device = nullptr; |
| 9303 |
m_allocator = nullptr; |
| 9304 |
m_dispatcher = nullptr; |
| 9305 |
return exchange( m_descriptorPool, nullptr ); |
| 9306 |
} |
| 9307 |
|
| 9308 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 9309 |
{ |
| 9310 |
return m_device; |
| 9311 |
} |
| 9312 |
|
| 9313 |
detail::DeviceDispatcher const * getDispatcher() const |
| 9314 |
{ |
| 9315 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9316 |
return m_dispatcher; |
| 9317 |
} |
| 9318 |
|
| 9319 |
void swap( DescriptorPool & rhs ) VULKAN_HPP_NOEXCEPT |
| 9320 |
{ |
| 9321 |
std::swap( m_device, rhs.m_device ); |
| 9322 |
std::swap( m_descriptorPool, rhs.m_descriptorPool ); |
| 9323 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9324 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9325 |
} |
| 9326 |
|
| 9327 |
//=== VK_VERSION_1_0 === |
| 9328 |
|
| 9329 |
// wrapper function for command vkResetDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetDescriptorPool.html |
| 9330 |
typename ResultValueType<void>::type reset( DescriptorPoolResetFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 9331 |
|
| 9332 |
private: |
| 9333 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 9334 |
VULKAN_HPP_NAMESPACE::DescriptorPool m_descriptorPool = {}; |
| 9335 |
const AllocationCallbacks * m_allocator = {}; |
| 9336 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 9337 |
}; |
| 9338 |
|
| 9339 |
template <> |
| 9340 |
struct isVulkanRAIIHandleType<DescriptorPool> |
| 9341 |
{ |
| 9342 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9343 |
}; |
| 9344 |
|
| 9345 |
// wrapper class for handle VkDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDescriptorSet.html |
| 9346 |
class DescriptorSet |
| 9347 |
{ |
| 9348 |
public: |
| 9349 |
using CType = VkDescriptorSet; |
| 9350 |
using CppType = VULKAN_HPP_NAMESPACE::DescriptorSet; |
| 9351 |
|
| 9352 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDescriptorSet; |
| 9353 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDescriptorSet; |
| 9354 |
|
| 9355 |
public: |
| 9356 |
DescriptorSet( Device const & device, VkDescriptorSet descriptorSet, VkDescriptorPool descriptorPool ) |
| 9357 |
: m_device( device ), m_descriptorPool( descriptorPool ), m_descriptorSet( descriptorSet ), m_dispatcher( device.getDispatcher() ) |
| 9358 |
{ |
| 9359 |
} |
| 9360 |
|
| 9361 |
DescriptorSet( std::nullptr_t ) {} |
| 9362 |
|
| 9363 |
~DescriptorSet() |
| 9364 |
{ |
| 9365 |
clear(); |
| 9366 |
} |
| 9367 |
|
| 9368 |
DescriptorSet() = delete; |
| 9369 |
DescriptorSet( DescriptorSet const & ) = delete; |
| 9370 |
|
| 9371 |
DescriptorSet( DescriptorSet && rhs ) VULKAN_HPP_NOEXCEPT |
| 9372 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 9373 |
, m_descriptorPool( exchange( rhs.m_descriptorPool, {} ) ) |
| 9374 |
, m_descriptorSet( exchange( rhs.m_descriptorSet, {} ) ) |
| 9375 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9376 |
{ |
| 9377 |
} |
| 9378 |
|
| 9379 |
DescriptorSet & operator=( DescriptorSet const & ) = delete; |
| 9380 |
|
| 9381 |
DescriptorSet & operator=( DescriptorSet && rhs ) VULKAN_HPP_NOEXCEPT |
| 9382 |
{ |
| 9383 |
if ( this != &rhs ) |
| 9384 |
{ |
| 9385 |
std::swap( m_device, rhs.m_device ); |
| 9386 |
std::swap( m_descriptorPool, rhs.m_descriptorPool ); |
| 9387 |
std::swap( m_descriptorSet, rhs.m_descriptorSet ); |
| 9388 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9389 |
} |
| 9390 |
return *this; |
| 9391 |
} |
| 9392 |
|
| 9393 |
VULKAN_HPP_NAMESPACE::DescriptorSet const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9394 |
{ |
| 9395 |
return m_descriptorSet; |
| 9396 |
} |
| 9397 |
|
| 9398 |
VULKAN_HPP_NAMESPACE::DescriptorSet const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9399 |
{ |
| 9400 |
return std::move( m_descriptorSet ); |
| 9401 |
} |
| 9402 |
|
| 9403 |
operator VULKAN_HPP_NAMESPACE::DescriptorSet() const VULKAN_HPP_NOEXCEPT |
| 9404 |
{ |
| 9405 |
return m_descriptorSet; |
| 9406 |
} |
| 9407 |
|
| 9408 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9409 |
{ |
| 9410 |
if ( m_descriptorSet ) |
| 9411 |
{ |
| 9412 |
getDispatcher()->vkFreeDescriptorSets( static_cast<VkDevice>( m_device ), |
| 9413 |
static_cast<VkDescriptorPool>( m_descriptorPool ), |
| 9414 |
1, |
| 9415 |
reinterpret_cast<VkDescriptorSet const *>( &m_descriptorSet ) ); |
| 9416 |
} |
| 9417 |
m_device = nullptr; |
| 9418 |
m_descriptorPool = nullptr; |
| 9419 |
m_descriptorSet = nullptr; |
| 9420 |
m_dispatcher = nullptr; |
| 9421 |
} |
| 9422 |
|
| 9423 |
VULKAN_HPP_NAMESPACE::DescriptorSet release() |
| 9424 |
{ |
| 9425 |
m_device = nullptr; |
| 9426 |
m_descriptorPool = nullptr; |
| 9427 |
m_dispatcher = nullptr; |
| 9428 |
return exchange( m_descriptorSet, nullptr ); |
| 9429 |
} |
| 9430 |
|
| 9431 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 9432 |
{ |
| 9433 |
return m_device; |
| 9434 |
} |
| 9435 |
|
| 9436 |
detail::DeviceDispatcher const * getDispatcher() const |
| 9437 |
{ |
| 9438 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9439 |
return m_dispatcher; |
| 9440 |
} |
| 9441 |
|
| 9442 |
void swap( DescriptorSet & rhs ) VULKAN_HPP_NOEXCEPT |
| 9443 |
{ |
| 9444 |
std::swap( m_device, rhs.m_device ); |
| 9445 |
std::swap( m_descriptorPool, rhs.m_descriptorPool ); |
| 9446 |
std::swap( m_descriptorSet, rhs.m_descriptorSet ); |
| 9447 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9448 |
} |
| 9449 |
|
| 9450 |
//=== VK_VERSION_1_1 === |
| 9451 |
|
| 9452 |
// wrapper function for command vkUpdateDescriptorSetWithTemplate, see |
| 9453 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplate.html |
| 9454 |
template <typename DataType> |
| 9455 |
void updateWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, DataType const & data ) const VULKAN_HPP_NOEXCEPT; |
| 9456 |
|
| 9457 |
//=== VK_KHR_descriptor_update_template === |
| 9458 |
|
| 9459 |
// wrapper function for command vkUpdateDescriptorSetWithTemplateKHR, see |
| 9460 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplateKHR.html |
| 9461 |
template <typename DataType> |
| 9462 |
void updateWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, DataType const & data ) const VULKAN_HPP_NOEXCEPT; |
| 9463 |
|
| 9464 |
//=== VK_VALVE_descriptor_set_host_mapping === |
| 9465 |
|
| 9466 |
// wrapper function for command vkGetDescriptorSetHostMappingVALVE, see |
| 9467 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetHostMappingVALVE.html |
| 9468 |
VULKAN_HPP_NODISCARD void * getHostMappingVALVE() const VULKAN_HPP_NOEXCEPT; |
| 9469 |
|
| 9470 |
private: |
| 9471 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 9472 |
VULKAN_HPP_NAMESPACE::DescriptorPool m_descriptorPool = {}; |
| 9473 |
VULKAN_HPP_NAMESPACE::DescriptorSet m_descriptorSet = {}; |
| 9474 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 9475 |
}; |
| 9476 |
|
| 9477 |
template <> |
| 9478 |
struct isVulkanRAIIHandleType<DescriptorSet> |
| 9479 |
{ |
| 9480 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9481 |
}; |
| 9482 |
|
| 9483 |
class DescriptorSets : public std::vector<DescriptorSet> |
| 9484 |
{ |
| 9485 |
public: |
| 9486 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9487 |
DescriptorSets( Device const & device, DescriptorSetAllocateInfo const & allocateInfo ) |
| 9488 |
{ |
| 9489 |
*this = device.allocateDescriptorSets( allocateInfo ); |
| 9490 |
} |
| 9491 |
# endif |
| 9492 |
|
| 9493 |
DescriptorSets( std::nullptr_t ) {} |
| 9494 |
|
| 9495 |
DescriptorSets() = delete; |
| 9496 |
DescriptorSets( DescriptorSets const & ) = delete; |
| 9497 |
DescriptorSets( DescriptorSets && rhs ) = default; |
| 9498 |
DescriptorSets & operator=( DescriptorSets const & ) = delete; |
| 9499 |
DescriptorSets & operator=( DescriptorSets && rhs ) = default; |
| 9500 |
|
| 9501 |
DescriptorSets( std::vector<DescriptorSet> && rhs ) |
| 9502 |
{ |
| 9503 |
std::swap( *this, rhs ); |
| 9504 |
} |
| 9505 |
}; |
| 9506 |
|
| 9507 |
// wrapper class for handle VkDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDescriptorSetLayout.html |
| 9508 |
class DescriptorSetLayout |
| 9509 |
{ |
| 9510 |
public: |
| 9511 |
using CType = VkDescriptorSetLayout; |
| 9512 |
using CppType = VULKAN_HPP_NAMESPACE::DescriptorSetLayout; |
| 9513 |
|
| 9514 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDescriptorSetLayout; |
| 9515 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDescriptorSetLayout; |
| 9516 |
|
| 9517 |
public: |
| 9518 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9519 |
DescriptorSetLayout( Device const & device, DescriptorSetLayoutCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9520 |
{ |
| 9521 |
*this = device.createDescriptorSetLayout( createInfo, allocator ); |
| 9522 |
} |
| 9523 |
# endif |
| 9524 |
|
| 9525 |
DescriptorSetLayout( Device const & device, VkDescriptorSetLayout descriptorSetLayout, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9526 |
: m_device( device ) |
| 9527 |
, m_descriptorSetLayout( descriptorSetLayout ) |
| 9528 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 9529 |
, m_dispatcher( device.getDispatcher() ) |
| 9530 |
{ |
| 9531 |
} |
| 9532 |
|
| 9533 |
DescriptorSetLayout( std::nullptr_t ) {} |
| 9534 |
|
| 9535 |
~DescriptorSetLayout() |
| 9536 |
{ |
| 9537 |
clear(); |
| 9538 |
} |
| 9539 |
|
| 9540 |
DescriptorSetLayout() = delete; |
| 9541 |
DescriptorSetLayout( DescriptorSetLayout const & ) = delete; |
| 9542 |
|
| 9543 |
DescriptorSetLayout( DescriptorSetLayout && rhs ) VULKAN_HPP_NOEXCEPT |
| 9544 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 9545 |
, m_descriptorSetLayout( exchange( rhs.m_descriptorSetLayout, {} ) ) |
| 9546 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 9547 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9548 |
{ |
| 9549 |
} |
| 9550 |
|
| 9551 |
DescriptorSetLayout & operator=( DescriptorSetLayout const & ) = delete; |
| 9552 |
|
| 9553 |
DescriptorSetLayout & operator=( DescriptorSetLayout && rhs ) VULKAN_HPP_NOEXCEPT |
| 9554 |
{ |
| 9555 |
if ( this != &rhs ) |
| 9556 |
{ |
| 9557 |
std::swap( m_device, rhs.m_device ); |
| 9558 |
std::swap( m_descriptorSetLayout, rhs.m_descriptorSetLayout ); |
| 9559 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9560 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9561 |
} |
| 9562 |
return *this; |
| 9563 |
} |
| 9564 |
|
| 9565 |
VULKAN_HPP_NAMESPACE::DescriptorSetLayout const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9566 |
{ |
| 9567 |
return m_descriptorSetLayout; |
| 9568 |
} |
| 9569 |
|
| 9570 |
VULKAN_HPP_NAMESPACE::DescriptorSetLayout const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9571 |
{ |
| 9572 |
return std::move( m_descriptorSetLayout ); |
| 9573 |
} |
| 9574 |
|
| 9575 |
operator VULKAN_HPP_NAMESPACE::DescriptorSetLayout() const VULKAN_HPP_NOEXCEPT |
| 9576 |
{ |
| 9577 |
return m_descriptorSetLayout; |
| 9578 |
} |
| 9579 |
|
| 9580 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9581 |
{ |
| 9582 |
if ( m_descriptorSetLayout ) |
| 9583 |
{ |
| 9584 |
getDispatcher()->vkDestroyDescriptorSetLayout( static_cast<VkDevice>( m_device ), |
| 9585 |
static_cast<VkDescriptorSetLayout>( m_descriptorSetLayout ), |
| 9586 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 9587 |
} |
| 9588 |
m_device = nullptr; |
| 9589 |
m_descriptorSetLayout = nullptr; |
| 9590 |
m_allocator = nullptr; |
| 9591 |
m_dispatcher = nullptr; |
| 9592 |
} |
| 9593 |
|
| 9594 |
VULKAN_HPP_NAMESPACE::DescriptorSetLayout release() |
| 9595 |
{ |
| 9596 |
m_device = nullptr; |
| 9597 |
m_allocator = nullptr; |
| 9598 |
m_dispatcher = nullptr; |
| 9599 |
return exchange( m_descriptorSetLayout, nullptr ); |
| 9600 |
} |
| 9601 |
|
| 9602 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 9603 |
{ |
| 9604 |
return m_device; |
| 9605 |
} |
| 9606 |
|
| 9607 |
detail::DeviceDispatcher const * getDispatcher() const |
| 9608 |
{ |
| 9609 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9610 |
return m_dispatcher; |
| 9611 |
} |
| 9612 |
|
| 9613 |
void swap( DescriptorSetLayout & rhs ) VULKAN_HPP_NOEXCEPT |
| 9614 |
{ |
| 9615 |
std::swap( m_device, rhs.m_device ); |
| 9616 |
std::swap( m_descriptorSetLayout, rhs.m_descriptorSetLayout ); |
| 9617 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9618 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9619 |
} |
| 9620 |
|
| 9621 |
//=== VK_EXT_descriptor_buffer === |
| 9622 |
|
| 9623 |
// wrapper function for command vkGetDescriptorSetLayoutSizeEXT, see |
| 9624 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSizeEXT.html |
| 9625 |
VULKAN_HPP_NODISCARD DeviceSize getSizeEXT() const VULKAN_HPP_NOEXCEPT; |
| 9626 |
|
| 9627 |
// wrapper function for command vkGetDescriptorSetLayoutBindingOffsetEXT, see |
| 9628 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutBindingOffsetEXT.html |
| 9629 |
VULKAN_HPP_NODISCARD DeviceSize getBindingOffsetEXT( uint32_t binding ) const VULKAN_HPP_NOEXCEPT; |
| 9630 |
|
| 9631 |
private: |
| 9632 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 9633 |
VULKAN_HPP_NAMESPACE::DescriptorSetLayout m_descriptorSetLayout = {}; |
| 9634 |
const AllocationCallbacks * m_allocator = {}; |
| 9635 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 9636 |
}; |
| 9637 |
|
| 9638 |
template <> |
| 9639 |
struct isVulkanRAIIHandleType<DescriptorSetLayout> |
| 9640 |
{ |
| 9641 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9642 |
}; |
| 9643 |
|
| 9644 |
// wrapper class for handle VkDescriptorUpdateTemplate, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDescriptorUpdateTemplate.html |
| 9645 |
class DescriptorUpdateTemplate |
| 9646 |
{ |
| 9647 |
public: |
| 9648 |
using CType = VkDescriptorUpdateTemplate; |
| 9649 |
using CppType = VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate; |
| 9650 |
|
| 9651 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDescriptorUpdateTemplate; |
| 9652 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDescriptorUpdateTemplate; |
| 9653 |
|
| 9654 |
public: |
| 9655 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9656 |
DescriptorUpdateTemplate( Device const & device, |
| 9657 |
DescriptorUpdateTemplateCreateInfo const & createInfo, |
| 9658 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9659 |
{ |
| 9660 |
*this = device.createDescriptorUpdateTemplate( createInfo, allocator ); |
| 9661 |
} |
| 9662 |
# endif |
| 9663 |
|
| 9664 |
DescriptorUpdateTemplate( Device const & device, |
| 9665 |
VkDescriptorUpdateTemplate descriptorUpdateTemplate, |
| 9666 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9667 |
: m_device( device ) |
| 9668 |
, m_descriptorUpdateTemplate( descriptorUpdateTemplate ) |
| 9669 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 9670 |
, m_dispatcher( device.getDispatcher() ) |
| 9671 |
{ |
| 9672 |
} |
| 9673 |
|
| 9674 |
DescriptorUpdateTemplate( std::nullptr_t ) {} |
| 9675 |
|
| 9676 |
~DescriptorUpdateTemplate() |
| 9677 |
{ |
| 9678 |
clear(); |
| 9679 |
} |
| 9680 |
|
| 9681 |
DescriptorUpdateTemplate() = delete; |
| 9682 |
DescriptorUpdateTemplate( DescriptorUpdateTemplate const & ) = delete; |
| 9683 |
|
| 9684 |
DescriptorUpdateTemplate( DescriptorUpdateTemplate && rhs ) VULKAN_HPP_NOEXCEPT |
| 9685 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 9686 |
, m_descriptorUpdateTemplate( exchange( rhs.m_descriptorUpdateTemplate, {} ) ) |
| 9687 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 9688 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9689 |
{ |
| 9690 |
} |
| 9691 |
|
| 9692 |
DescriptorUpdateTemplate & operator=( DescriptorUpdateTemplate const & ) = delete; |
| 9693 |
|
| 9694 |
DescriptorUpdateTemplate & operator=( DescriptorUpdateTemplate && rhs ) VULKAN_HPP_NOEXCEPT |
| 9695 |
{ |
| 9696 |
if ( this != &rhs ) |
| 9697 |
{ |
| 9698 |
std::swap( m_device, rhs.m_device ); |
| 9699 |
std::swap( m_descriptorUpdateTemplate, rhs.m_descriptorUpdateTemplate ); |
| 9700 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9701 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9702 |
} |
| 9703 |
return *this; |
| 9704 |
} |
| 9705 |
|
| 9706 |
VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9707 |
{ |
| 9708 |
return m_descriptorUpdateTemplate; |
| 9709 |
} |
| 9710 |
|
| 9711 |
VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9712 |
{ |
| 9713 |
return std::move( m_descriptorUpdateTemplate ); |
| 9714 |
} |
| 9715 |
|
| 9716 |
operator VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate() const VULKAN_HPP_NOEXCEPT |
| 9717 |
{ |
| 9718 |
return m_descriptorUpdateTemplate; |
| 9719 |
} |
| 9720 |
|
| 9721 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9722 |
{ |
| 9723 |
if ( m_descriptorUpdateTemplate ) |
| 9724 |
{ |
| 9725 |
getDispatcher()->vkDestroyDescriptorUpdateTemplate( static_cast<VkDevice>( m_device ), |
| 9726 |
static_cast<VkDescriptorUpdateTemplate>( m_descriptorUpdateTemplate ), |
| 9727 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 9728 |
} |
| 9729 |
m_device = nullptr; |
| 9730 |
m_descriptorUpdateTemplate = nullptr; |
| 9731 |
m_allocator = nullptr; |
| 9732 |
m_dispatcher = nullptr; |
| 9733 |
} |
| 9734 |
|
| 9735 |
VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate release() |
| 9736 |
{ |
| 9737 |
m_device = nullptr; |
| 9738 |
m_allocator = nullptr; |
| 9739 |
m_dispatcher = nullptr; |
| 9740 |
return exchange( m_descriptorUpdateTemplate, nullptr ); |
| 9741 |
} |
| 9742 |
|
| 9743 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 9744 |
{ |
| 9745 |
return m_device; |
| 9746 |
} |
| 9747 |
|
| 9748 |
detail::DeviceDispatcher const * getDispatcher() const |
| 9749 |
{ |
| 9750 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9751 |
return m_dispatcher; |
| 9752 |
} |
| 9753 |
|
| 9754 |
void swap( DescriptorUpdateTemplate & rhs ) VULKAN_HPP_NOEXCEPT |
| 9755 |
{ |
| 9756 |
std::swap( m_device, rhs.m_device ); |
| 9757 |
std::swap( m_descriptorUpdateTemplate, rhs.m_descriptorUpdateTemplate ); |
| 9758 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9759 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9760 |
} |
| 9761 |
|
| 9762 |
private: |
| 9763 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 9764 |
VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate m_descriptorUpdateTemplate = {}; |
| 9765 |
const AllocationCallbacks * m_allocator = {}; |
| 9766 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 9767 |
}; |
| 9768 |
|
| 9769 |
template <> |
| 9770 |
struct isVulkanRAIIHandleType<DescriptorUpdateTemplate> |
| 9771 |
{ |
| 9772 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9773 |
}; |
| 9774 |
|
| 9775 |
// wrapper class for handle VkDeviceMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDeviceMemory.html |
| 9776 |
class DeviceMemory |
| 9777 |
{ |
| 9778 |
public: |
| 9779 |
using CType = VkDeviceMemory; |
| 9780 |
using CppType = VULKAN_HPP_NAMESPACE::DeviceMemory; |
| 9781 |
|
| 9782 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDeviceMemory; |
| 9783 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDeviceMemory; |
| 9784 |
|
| 9785 |
public: |
| 9786 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9787 |
DeviceMemory( Device const & device, MemoryAllocateInfo const & allocateInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9788 |
{ |
| 9789 |
*this = device.allocateMemory( allocateInfo, allocator ); |
| 9790 |
} |
| 9791 |
# endif |
| 9792 |
|
| 9793 |
DeviceMemory( Device const & device, VkDeviceMemory memory, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 9794 |
: m_device( device ) |
| 9795 |
, m_deviceMemory( memory ) |
| 9796 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 9797 |
, m_dispatcher( device.getDispatcher() ) |
| 9798 |
{ |
| 9799 |
} |
| 9800 |
|
| 9801 |
DeviceMemory( std::nullptr_t ) {} |
| 9802 |
|
| 9803 |
~DeviceMemory() |
| 9804 |
{ |
| 9805 |
clear(); |
| 9806 |
} |
| 9807 |
|
| 9808 |
DeviceMemory() = delete; |
| 9809 |
DeviceMemory( DeviceMemory const & ) = delete; |
| 9810 |
|
| 9811 |
DeviceMemory( DeviceMemory && rhs ) VULKAN_HPP_NOEXCEPT |
| 9812 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 9813 |
, m_deviceMemory( exchange( rhs.m_deviceMemory, {} ) ) |
| 9814 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 9815 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9816 |
{ |
| 9817 |
} |
| 9818 |
|
| 9819 |
DeviceMemory & operator=( DeviceMemory const & ) = delete; |
| 9820 |
|
| 9821 |
DeviceMemory & operator=( DeviceMemory && rhs ) VULKAN_HPP_NOEXCEPT |
| 9822 |
{ |
| 9823 |
if ( this != &rhs ) |
| 9824 |
{ |
| 9825 |
std::swap( m_device, rhs.m_device ); |
| 9826 |
std::swap( m_deviceMemory, rhs.m_deviceMemory ); |
| 9827 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9828 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9829 |
} |
| 9830 |
return *this; |
| 9831 |
} |
| 9832 |
|
| 9833 |
VULKAN_HPP_NAMESPACE::DeviceMemory const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9834 |
{ |
| 9835 |
return m_deviceMemory; |
| 9836 |
} |
| 9837 |
|
| 9838 |
VULKAN_HPP_NAMESPACE::DeviceMemory const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 9839 |
{ |
| 9840 |
return std::move( m_deviceMemory ); |
| 9841 |
} |
| 9842 |
|
| 9843 |
operator VULKAN_HPP_NAMESPACE::DeviceMemory() const VULKAN_HPP_NOEXCEPT |
| 9844 |
{ |
| 9845 |
return m_deviceMemory; |
| 9846 |
} |
| 9847 |
|
| 9848 |
void clear() VULKAN_HPP_NOEXCEPT |
| 9849 |
{ |
| 9850 |
if ( m_deviceMemory ) |
| 9851 |
{ |
| 9852 |
getDispatcher()->vkFreeMemory( |
| 9853 |
static_cast<VkDevice>( m_device ), static_cast<VkDeviceMemory>( m_deviceMemory ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 9854 |
} |
| 9855 |
m_device = nullptr; |
| 9856 |
m_deviceMemory = nullptr; |
| 9857 |
m_allocator = nullptr; |
| 9858 |
m_dispatcher = nullptr; |
| 9859 |
} |
| 9860 |
|
| 9861 |
VULKAN_HPP_NAMESPACE::DeviceMemory release() |
| 9862 |
{ |
| 9863 |
m_device = nullptr; |
| 9864 |
m_allocator = nullptr; |
| 9865 |
m_dispatcher = nullptr; |
| 9866 |
return exchange( m_deviceMemory, nullptr ); |
| 9867 |
} |
| 9868 |
|
| 9869 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 9870 |
{ |
| 9871 |
return m_device; |
| 9872 |
} |
| 9873 |
|
| 9874 |
detail::DeviceDispatcher const * getDispatcher() const |
| 9875 |
{ |
| 9876 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 9877 |
return m_dispatcher; |
| 9878 |
} |
| 9879 |
|
| 9880 |
void swap( DeviceMemory & rhs ) VULKAN_HPP_NOEXCEPT |
| 9881 |
{ |
| 9882 |
std::swap( m_device, rhs.m_device ); |
| 9883 |
std::swap( m_deviceMemory, rhs.m_deviceMemory ); |
| 9884 |
std::swap( m_allocator, rhs.m_allocator ); |
| 9885 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9886 |
} |
| 9887 |
|
| 9888 |
//=== VK_VERSION_1_0 === |
| 9889 |
|
| 9890 |
// wrapper function for command vkMapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory.html |
| 9891 |
VULKAN_HPP_NODISCARD typename ResultValueType<void *>::type |
| 9892 |
mapMemory( DeviceSize offset, DeviceSize size, MemoryMapFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 9893 |
|
| 9894 |
// wrapper function for command vkUnmapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory.html |
| 9895 |
void unmapMemory() const VULKAN_HPP_NOEXCEPT; |
| 9896 |
|
| 9897 |
// wrapper function for command vkGetDeviceMemoryCommitment, see |
| 9898 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryCommitment.html |
| 9899 |
VULKAN_HPP_NODISCARD DeviceSize getCommitment() const VULKAN_HPP_NOEXCEPT; |
| 9900 |
|
| 9901 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 9902 |
//=== VK_NV_external_memory_win32 === |
| 9903 |
|
| 9904 |
// wrapper function for command vkGetMemoryWin32HandleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleNV.html |
| 9905 |
VULKAN_HPP_NODISCARD typename ResultValueType<HANDLE>::type getMemoryWin32HandleNV( ExternalMemoryHandleTypeFlagsNV handleType ) const; |
| 9906 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 9907 |
|
| 9908 |
//=== VK_EXT_pageable_device_local_memory === |
| 9909 |
|
| 9910 |
// wrapper function for command vkSetDeviceMemoryPriorityEXT, see |
| 9911 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDeviceMemoryPriorityEXT.html |
| 9912 |
void setPriorityEXT( float priority ) const VULKAN_HPP_NOEXCEPT; |
| 9913 |
|
| 9914 |
private: |
| 9915 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 9916 |
VULKAN_HPP_NAMESPACE::DeviceMemory m_deviceMemory = {}; |
| 9917 |
const AllocationCallbacks * m_allocator = {}; |
| 9918 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 9919 |
}; |
| 9920 |
|
| 9921 |
template <> |
| 9922 |
struct isVulkanRAIIHandleType<DeviceMemory> |
| 9923 |
{ |
| 9924 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 9925 |
}; |
| 9926 |
|
| 9927 |
// wrapper class for handle VkDisplayKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDisplayKHR.html |
| 9928 |
class DisplayKHR |
| 9929 |
{ |
| 9930 |
public: |
| 9931 |
using CType = VkDisplayKHR; |
| 9932 |
using CppType = VULKAN_HPP_NAMESPACE::DisplayKHR; |
| 9933 |
|
| 9934 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDisplayKHR; |
| 9935 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDisplayKHR; |
| 9936 |
|
| 9937 |
public: |
| 9938 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9939 |
DisplayKHR( PhysicalDevice const & physicalDevice, int32_t drmFd, uint32_t connectorId ) |
| 9940 |
{ |
| 9941 |
*this = physicalDevice.getDrmDisplayEXT( drmFd, connectorId ); |
| 9942 |
} |
| 9943 |
# endif |
| 9944 |
|
| 9945 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9946 |
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) |
| 9947 |
DisplayKHR( PhysicalDevice const & physicalDevice, Display & dpy, RROutput rrOutput ) |
| 9948 |
{ |
| 9949 |
*this = physicalDevice.getRandROutputDisplayEXT( dpy, rrOutput ); |
| 9950 |
} |
| 9951 |
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ |
| 9952 |
# endif |
| 9953 |
|
| 9954 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 9955 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 9956 |
DisplayKHR( PhysicalDevice const & physicalDevice, uint32_t deviceRelativeId ) |
| 9957 |
{ |
| 9958 |
*this = physicalDevice.getWinrtDisplayNV( deviceRelativeId ); |
| 9959 |
} |
| 9960 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 9961 |
# endif |
| 9962 |
|
| 9963 |
DisplayKHR( PhysicalDevice const & physicalDevice, VkDisplayKHR display ) |
| 9964 |
: m_physicalDevice( physicalDevice ), m_displayKHR( display ), m_dispatcher( physicalDevice.getDispatcher() ) |
| 9965 |
{ |
| 9966 |
} |
| 9967 |
|
| 9968 |
DisplayKHR( std::nullptr_t ) {} |
| 9969 |
|
| 9970 |
~DisplayKHR() |
| 9971 |
{ |
| 9972 |
clear(); |
| 9973 |
} |
| 9974 |
|
| 9975 |
DisplayKHR() = delete; |
| 9976 |
DisplayKHR( DisplayKHR const & ) = delete; |
| 9977 |
|
| 9978 |
DisplayKHR( DisplayKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 9979 |
: m_physicalDevice( exchange( rhs.m_physicalDevice, {} ) ) |
| 9980 |
, m_displayKHR( exchange( rhs.m_displayKHR, {} ) ) |
| 9981 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 9982 |
{ |
| 9983 |
} |
| 9984 |
|
| 9985 |
DisplayKHR & operator=( DisplayKHR const & ) = delete; |
| 9986 |
|
| 9987 |
DisplayKHR & operator=( DisplayKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 9988 |
{ |
| 9989 |
if ( this != &rhs ) |
| 9990 |
{ |
| 9991 |
std::swap( m_physicalDevice, rhs.m_physicalDevice ); |
| 9992 |
std::swap( m_displayKHR, rhs.m_displayKHR ); |
| 9993 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 9994 |
} |
| 9995 |
return *this; |
| 9996 |
} |
| 9997 |
|
| 9998 |
VULKAN_HPP_NAMESPACE::DisplayKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 9999 |
{ |
| 10000 |
return m_displayKHR; |
| 10001 |
} |
| 10002 |
|
| 10003 |
VULKAN_HPP_NAMESPACE::DisplayKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10004 |
{ |
| 10005 |
return std::move( m_displayKHR ); |
| 10006 |
} |
| 10007 |
|
| 10008 |
operator VULKAN_HPP_NAMESPACE::DisplayKHR() const VULKAN_HPP_NOEXCEPT |
| 10009 |
{ |
| 10010 |
return m_displayKHR; |
| 10011 |
} |
| 10012 |
|
| 10013 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10014 |
{ |
| 10015 |
if ( m_displayKHR ) |
| 10016 |
{ |
| 10017 |
getDispatcher()->vkReleaseDisplayEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkDisplayKHR>( m_displayKHR ) ); |
| 10018 |
} |
| 10019 |
m_physicalDevice = nullptr; |
| 10020 |
m_displayKHR = nullptr; |
| 10021 |
m_dispatcher = nullptr; |
| 10022 |
} |
| 10023 |
|
| 10024 |
VULKAN_HPP_NAMESPACE::DisplayKHR release() |
| 10025 |
{ |
| 10026 |
m_physicalDevice = nullptr; |
| 10027 |
m_dispatcher = nullptr; |
| 10028 |
return exchange( m_displayKHR, nullptr ); |
| 10029 |
} |
| 10030 |
|
| 10031 |
VULKAN_HPP_NAMESPACE::PhysicalDevice getPhysicalDevice() const |
| 10032 |
{ |
| 10033 |
return m_physicalDevice; |
| 10034 |
} |
| 10035 |
|
| 10036 |
detail::InstanceDispatcher const * getDispatcher() const |
| 10037 |
{ |
| 10038 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10039 |
return m_dispatcher; |
| 10040 |
} |
| 10041 |
|
| 10042 |
void swap( DisplayKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 10043 |
{ |
| 10044 |
std::swap( m_physicalDevice, rhs.m_physicalDevice ); |
| 10045 |
std::swap( m_displayKHR, rhs.m_displayKHR ); |
| 10046 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10047 |
} |
| 10048 |
|
| 10049 |
//=== VK_KHR_display === |
| 10050 |
|
| 10051 |
// wrapper function for command vkGetDisplayModePropertiesKHR, see |
| 10052 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html |
| 10053 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayModePropertiesKHR>>::type getModeProperties() const; |
| 10054 |
|
| 10055 |
// wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html |
| 10056 |
VULKAN_HPP_NODISCARD typename ResultValueType<DisplayModeKHR>::type |
| 10057 |
createMode( DisplayModeCreateInfoKHR const & createInfo, |
| 10058 |
Optional<const AllocationCallbacks> allocator = nullptr ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS; |
| 10059 |
|
| 10060 |
//=== VK_KHR_get_display_properties2 === |
| 10061 |
|
| 10062 |
// wrapper function for command vkGetDisplayModeProperties2KHR, see |
| 10063 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html |
| 10064 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DisplayModeProperties2KHR>>::type getModeProperties2() const; |
| 10065 |
|
| 10066 |
// wrapper function for command vkGetDisplayModeProperties2KHR, see |
| 10067 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html |
| 10068 |
template <typename StructureChain> |
| 10069 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<StructureChain>>::type getModeProperties2() const; |
| 10070 |
|
| 10071 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 10072 |
//=== VK_NV_acquire_winrt_display === |
| 10073 |
|
| 10074 |
// wrapper function for command vkAcquireWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireWinrtDisplayNV.html |
| 10075 |
typename ResultValueType<void>::type acquireWinrtNV() const; |
| 10076 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 10077 |
|
| 10078 |
private: |
| 10079 |
VULKAN_HPP_NAMESPACE::PhysicalDevice m_physicalDevice = {}; |
| 10080 |
VULKAN_HPP_NAMESPACE::DisplayKHR m_displayKHR = {}; |
| 10081 |
detail::InstanceDispatcher const * m_dispatcher = nullptr; |
| 10082 |
}; |
| 10083 |
|
| 10084 |
template <> |
| 10085 |
struct isVulkanRAIIHandleType<DisplayKHR> |
| 10086 |
{ |
| 10087 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10088 |
}; |
| 10089 |
|
| 10090 |
class DisplayKHRs : public std::vector<DisplayKHR> |
| 10091 |
{ |
| 10092 |
public: |
| 10093 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10094 |
DisplayKHRs( PhysicalDevice const & physicalDevice, uint32_t planeIndex ) |
| 10095 |
{ |
| 10096 |
*this = physicalDevice.getDisplayPlaneSupportedDisplaysKHR( planeIndex ); |
| 10097 |
} |
| 10098 |
# endif |
| 10099 |
|
| 10100 |
DisplayKHRs( std::nullptr_t ) {} |
| 10101 |
|
| 10102 |
DisplayKHRs() = delete; |
| 10103 |
DisplayKHRs( DisplayKHRs const & ) = delete; |
| 10104 |
DisplayKHRs( DisplayKHRs && rhs ) = default; |
| 10105 |
DisplayKHRs & operator=( DisplayKHRs const & ) = delete; |
| 10106 |
DisplayKHRs & operator=( DisplayKHRs && rhs ) = default; |
| 10107 |
|
| 10108 |
DisplayKHRs( std::vector<DisplayKHR> && rhs ) |
| 10109 |
{ |
| 10110 |
std::swap( *this, rhs ); |
| 10111 |
} |
| 10112 |
}; |
| 10113 |
|
| 10114 |
// wrapper class for handle VkDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkDisplayModeKHR.html |
| 10115 |
class DisplayModeKHR |
| 10116 |
{ |
| 10117 |
public: |
| 10118 |
using CType = VkDisplayModeKHR; |
| 10119 |
using CppType = VULKAN_HPP_NAMESPACE::DisplayModeKHR; |
| 10120 |
|
| 10121 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eDisplayModeKHR; |
| 10122 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eDisplayModeKHR; |
| 10123 |
|
| 10124 |
public: |
| 10125 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10126 |
DisplayModeKHR( DisplayKHR const & display, DisplayModeCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10127 |
{ |
| 10128 |
*this = display.createMode( createInfo, allocator ); |
| 10129 |
} |
| 10130 |
# endif |
| 10131 |
|
| 10132 |
DisplayModeKHR( DisplayKHR const & display, VkDisplayModeKHR displayModeKHR ) |
| 10133 |
: m_physicalDevice( display.getPhysicalDevice() ), m_displayModeKHR( displayModeKHR ), m_dispatcher( display.getDispatcher() ) |
| 10134 |
{ |
| 10135 |
} |
| 10136 |
|
| 10137 |
DisplayModeKHR( std::nullptr_t ) {} |
| 10138 |
|
| 10139 |
~DisplayModeKHR() |
| 10140 |
{ |
| 10141 |
clear(); |
| 10142 |
} |
| 10143 |
|
| 10144 |
DisplayModeKHR() = delete; |
| 10145 |
|
| 10146 |
DisplayModeKHR( DisplayModeKHR const & rhs ) : m_displayModeKHR( rhs.m_displayModeKHR ), m_dispatcher( rhs.m_dispatcher ) {} |
| 10147 |
|
| 10148 |
DisplayModeKHR( DisplayModeKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 10149 |
: m_physicalDevice( exchange( rhs.m_physicalDevice, {} ) ) |
| 10150 |
, m_displayModeKHR( exchange( rhs.m_displayModeKHR, {} ) ) |
| 10151 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 10152 |
{ |
| 10153 |
} |
| 10154 |
|
| 10155 |
DisplayModeKHR & operator=( DisplayModeKHR const & rhs ) |
| 10156 |
{ |
| 10157 |
m_displayModeKHR = rhs.m_displayModeKHR; |
| 10158 |
m_dispatcher = rhs.m_dispatcher; |
| 10159 |
return *this; |
| 10160 |
} |
| 10161 |
|
| 10162 |
DisplayModeKHR & operator=( DisplayModeKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 10163 |
{ |
| 10164 |
if ( this != &rhs ) |
| 10165 |
{ |
| 10166 |
std::swap( m_physicalDevice, rhs.m_physicalDevice ); |
| 10167 |
std::swap( m_displayModeKHR, rhs.m_displayModeKHR ); |
| 10168 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10169 |
} |
| 10170 |
return *this; |
| 10171 |
} |
| 10172 |
|
| 10173 |
VULKAN_HPP_NAMESPACE::DisplayModeKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 10174 |
{ |
| 10175 |
return m_displayModeKHR; |
| 10176 |
} |
| 10177 |
|
| 10178 |
VULKAN_HPP_NAMESPACE::DisplayModeKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10179 |
{ |
| 10180 |
return std::move( m_displayModeKHR ); |
| 10181 |
} |
| 10182 |
|
| 10183 |
operator VULKAN_HPP_NAMESPACE::DisplayModeKHR() const VULKAN_HPP_NOEXCEPT |
| 10184 |
{ |
| 10185 |
return m_displayModeKHR; |
| 10186 |
} |
| 10187 |
|
| 10188 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10189 |
{ |
| 10190 |
m_physicalDevice = nullptr; |
| 10191 |
m_displayModeKHR = nullptr; |
| 10192 |
m_dispatcher = nullptr; |
| 10193 |
} |
| 10194 |
|
| 10195 |
VULKAN_HPP_NAMESPACE::DisplayModeKHR release() |
| 10196 |
{ |
| 10197 |
m_physicalDevice = nullptr; |
| 10198 |
m_dispatcher = nullptr; |
| 10199 |
return exchange( m_displayModeKHR, nullptr ); |
| 10200 |
} |
| 10201 |
|
| 10202 |
detail::InstanceDispatcher const * getDispatcher() const |
| 10203 |
{ |
| 10204 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10205 |
return m_dispatcher; |
| 10206 |
} |
| 10207 |
|
| 10208 |
void swap( DisplayModeKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 10209 |
{ |
| 10210 |
std::swap( m_physicalDevice, rhs.m_physicalDevice ); |
| 10211 |
std::swap( m_displayModeKHR, rhs.m_displayModeKHR ); |
| 10212 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10213 |
} |
| 10214 |
|
| 10215 |
//=== VK_KHR_display === |
| 10216 |
|
| 10217 |
// wrapper function for command vkGetDisplayPlaneCapabilitiesKHR, see |
| 10218 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilitiesKHR.html |
| 10219 |
VULKAN_HPP_NODISCARD typename ResultValueType<DisplayPlaneCapabilitiesKHR>::type getDisplayPlaneCapabilities( uint32_t planeIndex ) const; |
| 10220 |
|
| 10221 |
private: |
| 10222 |
VULKAN_HPP_NAMESPACE::PhysicalDevice m_physicalDevice = {}; |
| 10223 |
VULKAN_HPP_NAMESPACE::DisplayModeKHR m_displayModeKHR = {}; |
| 10224 |
detail::InstanceDispatcher const * m_dispatcher = nullptr; |
| 10225 |
}; |
| 10226 |
|
| 10227 |
template <> |
| 10228 |
struct isVulkanRAIIHandleType<DisplayModeKHR> |
| 10229 |
{ |
| 10230 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10231 |
}; |
| 10232 |
|
| 10233 |
// wrapper class for handle VkEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkEvent.html |
| 10234 |
class Event |
| 10235 |
{ |
| 10236 |
public: |
| 10237 |
using CType = VkEvent; |
| 10238 |
using CppType = VULKAN_HPP_NAMESPACE::Event; |
| 10239 |
|
| 10240 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eEvent; |
| 10241 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eEvent; |
| 10242 |
|
| 10243 |
public: |
| 10244 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10245 |
Event( Device const & device, EventCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10246 |
{ |
| 10247 |
*this = device.createEvent( createInfo, allocator ); |
| 10248 |
} |
| 10249 |
# endif |
| 10250 |
|
| 10251 |
Event( Device const & device, VkEvent event, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10252 |
: m_device( device ), m_event( event ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ), m_dispatcher( device.getDispatcher() ) |
| 10253 |
{ |
| 10254 |
} |
| 10255 |
|
| 10256 |
Event( std::nullptr_t ) {} |
| 10257 |
|
| 10258 |
~Event() |
| 10259 |
{ |
| 10260 |
clear(); |
| 10261 |
} |
| 10262 |
|
| 10263 |
Event() = delete; |
| 10264 |
Event( Event const & ) = delete; |
| 10265 |
|
| 10266 |
Event( Event && rhs ) VULKAN_HPP_NOEXCEPT |
| 10267 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 10268 |
, m_event( exchange( rhs.m_event, {} ) ) |
| 10269 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 10270 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 10271 |
{ |
| 10272 |
} |
| 10273 |
|
| 10274 |
Event & operator=( Event const & ) = delete; |
| 10275 |
|
| 10276 |
Event & operator=( Event && rhs ) VULKAN_HPP_NOEXCEPT |
| 10277 |
{ |
| 10278 |
if ( this != &rhs ) |
| 10279 |
{ |
| 10280 |
std::swap( m_device, rhs.m_device ); |
| 10281 |
std::swap( m_event, rhs.m_event ); |
| 10282 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10283 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10284 |
} |
| 10285 |
return *this; |
| 10286 |
} |
| 10287 |
|
| 10288 |
VULKAN_HPP_NAMESPACE::Event const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 10289 |
{ |
| 10290 |
return m_event; |
| 10291 |
} |
| 10292 |
|
| 10293 |
VULKAN_HPP_NAMESPACE::Event const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10294 |
{ |
| 10295 |
return std::move( m_event ); |
| 10296 |
} |
| 10297 |
|
| 10298 |
operator VULKAN_HPP_NAMESPACE::Event() const VULKAN_HPP_NOEXCEPT |
| 10299 |
{ |
| 10300 |
return m_event; |
| 10301 |
} |
| 10302 |
|
| 10303 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10304 |
{ |
| 10305 |
if ( m_event ) |
| 10306 |
{ |
| 10307 |
getDispatcher()->vkDestroyEvent( |
| 10308 |
static_cast<VkDevice>( m_device ), static_cast<VkEvent>( m_event ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 10309 |
} |
| 10310 |
m_device = nullptr; |
| 10311 |
m_event = nullptr; |
| 10312 |
m_allocator = nullptr; |
| 10313 |
m_dispatcher = nullptr; |
| 10314 |
} |
| 10315 |
|
| 10316 |
VULKAN_HPP_NAMESPACE::Event release() |
| 10317 |
{ |
| 10318 |
m_device = nullptr; |
| 10319 |
m_allocator = nullptr; |
| 10320 |
m_dispatcher = nullptr; |
| 10321 |
return exchange( m_event, nullptr ); |
| 10322 |
} |
| 10323 |
|
| 10324 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 10325 |
{ |
| 10326 |
return m_device; |
| 10327 |
} |
| 10328 |
|
| 10329 |
detail::DeviceDispatcher const * getDispatcher() const |
| 10330 |
{ |
| 10331 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10332 |
return m_dispatcher; |
| 10333 |
} |
| 10334 |
|
| 10335 |
void swap( Event & rhs ) VULKAN_HPP_NOEXCEPT |
| 10336 |
{ |
| 10337 |
std::swap( m_device, rhs.m_device ); |
| 10338 |
std::swap( m_event, rhs.m_event ); |
| 10339 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10340 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10341 |
} |
| 10342 |
|
| 10343 |
//=== VK_VERSION_1_0 === |
| 10344 |
|
| 10345 |
// wrapper function for command vkGetEventStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEventStatus.html |
| 10346 |
VULKAN_HPP_NODISCARD Result getStatus() const; |
| 10347 |
|
| 10348 |
// wrapper function for command vkSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetEvent.html |
| 10349 |
typename ResultValueType<void>::type set() const; |
| 10350 |
|
| 10351 |
// wrapper function for command vkResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetEvent.html |
| 10352 |
typename ResultValueType<void>::type reset() const; |
| 10353 |
|
| 10354 |
private: |
| 10355 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 10356 |
VULKAN_HPP_NAMESPACE::Event m_event = {}; |
| 10357 |
const AllocationCallbacks * m_allocator = {}; |
| 10358 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 10359 |
}; |
| 10360 |
|
| 10361 |
template <> |
| 10362 |
struct isVulkanRAIIHandleType<Event> |
| 10363 |
{ |
| 10364 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10365 |
}; |
| 10366 |
|
| 10367 |
// wrapper class for handle VkExternalComputeQueueNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkExternalComputeQueueNV.html |
| 10368 |
class ExternalComputeQueueNV |
| 10369 |
{ |
| 10370 |
public: |
| 10371 |
using CType = VkExternalComputeQueueNV; |
| 10372 |
using CppType = VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV; |
| 10373 |
|
| 10374 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eExternalComputeQueueNV; |
| 10375 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 10376 |
|
| 10377 |
public: |
| 10378 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10379 |
ExternalComputeQueueNV( Device const & device, |
| 10380 |
ExternalComputeQueueCreateInfoNV const & createInfo, |
| 10381 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10382 |
{ |
| 10383 |
*this = device.createExternalComputeQueueNV( createInfo, allocator ); |
| 10384 |
} |
| 10385 |
# endif |
| 10386 |
|
| 10387 |
ExternalComputeQueueNV( Device const & device, VkExternalComputeQueueNV externalQueue, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10388 |
: m_device( device ) |
| 10389 |
, m_externalComputeQueueNV( externalQueue ) |
| 10390 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 10391 |
, m_dispatcher( device.getDispatcher() ) |
| 10392 |
{ |
| 10393 |
} |
| 10394 |
|
| 10395 |
ExternalComputeQueueNV( std::nullptr_t ) {} |
| 10396 |
|
| 10397 |
~ExternalComputeQueueNV() |
| 10398 |
{ |
| 10399 |
clear(); |
| 10400 |
} |
| 10401 |
|
| 10402 |
ExternalComputeQueueNV() = delete; |
| 10403 |
ExternalComputeQueueNV( ExternalComputeQueueNV const & ) = delete; |
| 10404 |
|
| 10405 |
ExternalComputeQueueNV( ExternalComputeQueueNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 10406 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 10407 |
, m_externalComputeQueueNV( exchange( rhs.m_externalComputeQueueNV, {} ) ) |
| 10408 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 10409 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 10410 |
{ |
| 10411 |
} |
| 10412 |
|
| 10413 |
ExternalComputeQueueNV & operator=( ExternalComputeQueueNV const & ) = delete; |
| 10414 |
|
| 10415 |
ExternalComputeQueueNV & operator=( ExternalComputeQueueNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 10416 |
{ |
| 10417 |
if ( this != &rhs ) |
| 10418 |
{ |
| 10419 |
std::swap( m_device, rhs.m_device ); |
| 10420 |
std::swap( m_externalComputeQueueNV, rhs.m_externalComputeQueueNV ); |
| 10421 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10422 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10423 |
} |
| 10424 |
return *this; |
| 10425 |
} |
| 10426 |
|
| 10427 |
VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 10428 |
{ |
| 10429 |
return m_externalComputeQueueNV; |
| 10430 |
} |
| 10431 |
|
| 10432 |
VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10433 |
{ |
| 10434 |
return std::move( m_externalComputeQueueNV ); |
| 10435 |
} |
| 10436 |
|
| 10437 |
operator VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV() const VULKAN_HPP_NOEXCEPT |
| 10438 |
{ |
| 10439 |
return m_externalComputeQueueNV; |
| 10440 |
} |
| 10441 |
|
| 10442 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10443 |
{ |
| 10444 |
if ( m_externalComputeQueueNV ) |
| 10445 |
{ |
| 10446 |
getDispatcher()->vkDestroyExternalComputeQueueNV( static_cast<VkDevice>( m_device ), |
| 10447 |
static_cast<VkExternalComputeQueueNV>( m_externalComputeQueueNV ), |
| 10448 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 10449 |
} |
| 10450 |
m_device = nullptr; |
| 10451 |
m_externalComputeQueueNV = nullptr; |
| 10452 |
m_allocator = nullptr; |
| 10453 |
m_dispatcher = nullptr; |
| 10454 |
} |
| 10455 |
|
| 10456 |
VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV release() |
| 10457 |
{ |
| 10458 |
m_device = nullptr; |
| 10459 |
m_allocator = nullptr; |
| 10460 |
m_dispatcher = nullptr; |
| 10461 |
return exchange( m_externalComputeQueueNV, nullptr ); |
| 10462 |
} |
| 10463 |
|
| 10464 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 10465 |
{ |
| 10466 |
return m_device; |
| 10467 |
} |
| 10468 |
|
| 10469 |
detail::DeviceDispatcher const * getDispatcher() const |
| 10470 |
{ |
| 10471 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10472 |
return m_dispatcher; |
| 10473 |
} |
| 10474 |
|
| 10475 |
void swap( ExternalComputeQueueNV & rhs ) VULKAN_HPP_NOEXCEPT |
| 10476 |
{ |
| 10477 |
std::swap( m_device, rhs.m_device ); |
| 10478 |
std::swap( m_externalComputeQueueNV, rhs.m_externalComputeQueueNV ); |
| 10479 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10480 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10481 |
} |
| 10482 |
|
| 10483 |
//=== VK_NV_external_compute_queue === |
| 10484 |
|
| 10485 |
// wrapper function for command vkGetExternalComputeQueueDataNV, see |
| 10486 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html |
| 10487 |
template <typename DataType> |
| 10488 |
VULKAN_HPP_NODISCARD std::pair<ExternalComputeQueueDataParamsNV, DataType> getData() const VULKAN_HPP_NOEXCEPT; |
| 10489 |
|
| 10490 |
private: |
| 10491 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 10492 |
VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV m_externalComputeQueueNV = {}; |
| 10493 |
const AllocationCallbacks * m_allocator = {}; |
| 10494 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 10495 |
}; |
| 10496 |
|
| 10497 |
template <> |
| 10498 |
struct isVulkanRAIIHandleType<ExternalComputeQueueNV> |
| 10499 |
{ |
| 10500 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10501 |
}; |
| 10502 |
|
| 10503 |
// wrapper class for handle VkFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkFence.html |
| 10504 |
class Fence |
| 10505 |
{ |
| 10506 |
public: |
| 10507 |
using CType = VkFence; |
| 10508 |
using CppType = VULKAN_HPP_NAMESPACE::Fence; |
| 10509 |
|
| 10510 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eFence; |
| 10511 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eFence; |
| 10512 |
|
| 10513 |
public: |
| 10514 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10515 |
Fence( Device const & device, FenceCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10516 |
{ |
| 10517 |
*this = device.createFence( createInfo, allocator ); |
| 10518 |
} |
| 10519 |
# endif |
| 10520 |
|
| 10521 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10522 |
Fence( Device const & device, DeviceEventInfoEXT const & deviceEventInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10523 |
{ |
| 10524 |
*this = device.registerEventEXT( deviceEventInfo, allocator ); |
| 10525 |
} |
| 10526 |
# endif |
| 10527 |
|
| 10528 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10529 |
Fence( Device const & device, |
| 10530 |
DisplayKHR const & display, |
| 10531 |
DisplayEventInfoEXT const & displayEventInfo, |
| 10532 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10533 |
{ |
| 10534 |
*this = device.registerDisplayEventEXT( display, displayEventInfo, allocator ); |
| 10535 |
} |
| 10536 |
# endif |
| 10537 |
|
| 10538 |
Fence( Device const & device, VkFence fence, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10539 |
: m_device( device ), m_fence( fence ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ), m_dispatcher( device.getDispatcher() ) |
| 10540 |
{ |
| 10541 |
} |
| 10542 |
|
| 10543 |
Fence( std::nullptr_t ) {} |
| 10544 |
|
| 10545 |
~Fence() |
| 10546 |
{ |
| 10547 |
clear(); |
| 10548 |
} |
| 10549 |
|
| 10550 |
Fence() = delete; |
| 10551 |
Fence( Fence const & ) = delete; |
| 10552 |
|
| 10553 |
Fence( Fence && rhs ) VULKAN_HPP_NOEXCEPT |
| 10554 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 10555 |
, m_fence( exchange( rhs.m_fence, {} ) ) |
| 10556 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 10557 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 10558 |
{ |
| 10559 |
} |
| 10560 |
|
| 10561 |
Fence & operator=( Fence const & ) = delete; |
| 10562 |
|
| 10563 |
Fence & operator=( Fence && rhs ) VULKAN_HPP_NOEXCEPT |
| 10564 |
{ |
| 10565 |
if ( this != &rhs ) |
| 10566 |
{ |
| 10567 |
std::swap( m_device, rhs.m_device ); |
| 10568 |
std::swap( m_fence, rhs.m_fence ); |
| 10569 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10570 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10571 |
} |
| 10572 |
return *this; |
| 10573 |
} |
| 10574 |
|
| 10575 |
VULKAN_HPP_NAMESPACE::Fence const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 10576 |
{ |
| 10577 |
return m_fence; |
| 10578 |
} |
| 10579 |
|
| 10580 |
VULKAN_HPP_NAMESPACE::Fence const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10581 |
{ |
| 10582 |
return std::move( m_fence ); |
| 10583 |
} |
| 10584 |
|
| 10585 |
operator VULKAN_HPP_NAMESPACE::Fence() const VULKAN_HPP_NOEXCEPT |
| 10586 |
{ |
| 10587 |
return m_fence; |
| 10588 |
} |
| 10589 |
|
| 10590 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10591 |
{ |
| 10592 |
if ( m_fence ) |
| 10593 |
{ |
| 10594 |
getDispatcher()->vkDestroyFence( |
| 10595 |
static_cast<VkDevice>( m_device ), static_cast<VkFence>( m_fence ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 10596 |
} |
| 10597 |
m_device = nullptr; |
| 10598 |
m_fence = nullptr; |
| 10599 |
m_allocator = nullptr; |
| 10600 |
m_dispatcher = nullptr; |
| 10601 |
} |
| 10602 |
|
| 10603 |
VULKAN_HPP_NAMESPACE::Fence release() |
| 10604 |
{ |
| 10605 |
m_device = nullptr; |
| 10606 |
m_allocator = nullptr; |
| 10607 |
m_dispatcher = nullptr; |
| 10608 |
return exchange( m_fence, nullptr ); |
| 10609 |
} |
| 10610 |
|
| 10611 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 10612 |
{ |
| 10613 |
return m_device; |
| 10614 |
} |
| 10615 |
|
| 10616 |
detail::DeviceDispatcher const * getDispatcher() const |
| 10617 |
{ |
| 10618 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10619 |
return m_dispatcher; |
| 10620 |
} |
| 10621 |
|
| 10622 |
void swap( Fence & rhs ) VULKAN_HPP_NOEXCEPT |
| 10623 |
{ |
| 10624 |
std::swap( m_device, rhs.m_device ); |
| 10625 |
std::swap( m_fence, rhs.m_fence ); |
| 10626 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10627 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10628 |
} |
| 10629 |
|
| 10630 |
//=== VK_VERSION_1_0 === |
| 10631 |
|
| 10632 |
// wrapper function for command vkGetFenceStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceStatus.html |
| 10633 |
VULKAN_HPP_NODISCARD Result getStatus() const; |
| 10634 |
|
| 10635 |
private: |
| 10636 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 10637 |
VULKAN_HPP_NAMESPACE::Fence m_fence = {}; |
| 10638 |
const AllocationCallbacks * m_allocator = {}; |
| 10639 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 10640 |
}; |
| 10641 |
|
| 10642 |
template <> |
| 10643 |
struct isVulkanRAIIHandleType<Fence> |
| 10644 |
{ |
| 10645 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10646 |
}; |
| 10647 |
|
| 10648 |
// wrapper class for handle VkFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkFramebuffer.html |
| 10649 |
class Framebuffer |
| 10650 |
{ |
| 10651 |
public: |
| 10652 |
using CType = VkFramebuffer; |
| 10653 |
using CppType = VULKAN_HPP_NAMESPACE::Framebuffer; |
| 10654 |
|
| 10655 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eFramebuffer; |
| 10656 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eFramebuffer; |
| 10657 |
|
| 10658 |
public: |
| 10659 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10660 |
Framebuffer( Device const & device, FramebufferCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10661 |
{ |
| 10662 |
*this = device.createFramebuffer( createInfo, allocator ); |
| 10663 |
} |
| 10664 |
# endif |
| 10665 |
|
| 10666 |
Framebuffer( Device const & device, VkFramebuffer framebuffer, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10667 |
: m_device( device ) |
| 10668 |
, m_framebuffer( framebuffer ) |
| 10669 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 10670 |
, m_dispatcher( device.getDispatcher() ) |
| 10671 |
{ |
| 10672 |
} |
| 10673 |
|
| 10674 |
Framebuffer( std::nullptr_t ) {} |
| 10675 |
|
| 10676 |
~Framebuffer() |
| 10677 |
{ |
| 10678 |
clear(); |
| 10679 |
} |
| 10680 |
|
| 10681 |
Framebuffer() = delete; |
| 10682 |
Framebuffer( Framebuffer const & ) = delete; |
| 10683 |
|
| 10684 |
Framebuffer( Framebuffer && rhs ) VULKAN_HPP_NOEXCEPT |
| 10685 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 10686 |
, m_framebuffer( exchange( rhs.m_framebuffer, {} ) ) |
| 10687 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 10688 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 10689 |
{ |
| 10690 |
} |
| 10691 |
|
| 10692 |
Framebuffer & operator=( Framebuffer const & ) = delete; |
| 10693 |
|
| 10694 |
Framebuffer & operator=( Framebuffer && rhs ) VULKAN_HPP_NOEXCEPT |
| 10695 |
{ |
| 10696 |
if ( this != &rhs ) |
| 10697 |
{ |
| 10698 |
std::swap( m_device, rhs.m_device ); |
| 10699 |
std::swap( m_framebuffer, rhs.m_framebuffer ); |
| 10700 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10701 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10702 |
} |
| 10703 |
return *this; |
| 10704 |
} |
| 10705 |
|
| 10706 |
VULKAN_HPP_NAMESPACE::Framebuffer const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 10707 |
{ |
| 10708 |
return m_framebuffer; |
| 10709 |
} |
| 10710 |
|
| 10711 |
VULKAN_HPP_NAMESPACE::Framebuffer const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10712 |
{ |
| 10713 |
return std::move( m_framebuffer ); |
| 10714 |
} |
| 10715 |
|
| 10716 |
operator VULKAN_HPP_NAMESPACE::Framebuffer() const VULKAN_HPP_NOEXCEPT |
| 10717 |
{ |
| 10718 |
return m_framebuffer; |
| 10719 |
} |
| 10720 |
|
| 10721 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10722 |
{ |
| 10723 |
if ( m_framebuffer ) |
| 10724 |
{ |
| 10725 |
getDispatcher()->vkDestroyFramebuffer( |
| 10726 |
static_cast<VkDevice>( m_device ), static_cast<VkFramebuffer>( m_framebuffer ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 10727 |
} |
| 10728 |
m_device = nullptr; |
| 10729 |
m_framebuffer = nullptr; |
| 10730 |
m_allocator = nullptr; |
| 10731 |
m_dispatcher = nullptr; |
| 10732 |
} |
| 10733 |
|
| 10734 |
VULKAN_HPP_NAMESPACE::Framebuffer release() |
| 10735 |
{ |
| 10736 |
m_device = nullptr; |
| 10737 |
m_allocator = nullptr; |
| 10738 |
m_dispatcher = nullptr; |
| 10739 |
return exchange( m_framebuffer, nullptr ); |
| 10740 |
} |
| 10741 |
|
| 10742 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 10743 |
{ |
| 10744 |
return m_device; |
| 10745 |
} |
| 10746 |
|
| 10747 |
detail::DeviceDispatcher const * getDispatcher() const |
| 10748 |
{ |
| 10749 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10750 |
return m_dispatcher; |
| 10751 |
} |
| 10752 |
|
| 10753 |
void swap( Framebuffer & rhs ) VULKAN_HPP_NOEXCEPT |
| 10754 |
{ |
| 10755 |
std::swap( m_device, rhs.m_device ); |
| 10756 |
std::swap( m_framebuffer, rhs.m_framebuffer ); |
| 10757 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10758 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10759 |
} |
| 10760 |
|
| 10761 |
//=== VK_QCOM_tile_properties === |
| 10762 |
|
| 10763 |
// wrapper function for command vkGetFramebufferTilePropertiesQCOM, see |
| 10764 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html |
| 10765 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<TilePropertiesQCOM>>::type getTilePropertiesQCOM() const; |
| 10766 |
|
| 10767 |
private: |
| 10768 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 10769 |
VULKAN_HPP_NAMESPACE::Framebuffer m_framebuffer = {}; |
| 10770 |
const AllocationCallbacks * m_allocator = {}; |
| 10771 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 10772 |
}; |
| 10773 |
|
| 10774 |
template <> |
| 10775 |
struct isVulkanRAIIHandleType<Framebuffer> |
| 10776 |
{ |
| 10777 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10778 |
}; |
| 10779 |
|
| 10780 |
// wrapper class for handle VkImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkImage.html |
| 10781 |
class Image |
| 10782 |
{ |
| 10783 |
public: |
| 10784 |
using CType = VkImage; |
| 10785 |
using CppType = VULKAN_HPP_NAMESPACE::Image; |
| 10786 |
|
| 10787 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eImage; |
| 10788 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eImage; |
| 10789 |
|
| 10790 |
public: |
| 10791 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10792 |
Image( Device const & device, ImageCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10793 |
{ |
| 10794 |
*this = device.createImage( createInfo, allocator ); |
| 10795 |
} |
| 10796 |
# endif |
| 10797 |
|
| 10798 |
Image( Device const & device, VkImage image, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10799 |
: m_device( device ), m_image( image ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ), m_dispatcher( device.getDispatcher() ) |
| 10800 |
{ |
| 10801 |
} |
| 10802 |
|
| 10803 |
Image( std::nullptr_t ) {} |
| 10804 |
|
| 10805 |
~Image() |
| 10806 |
{ |
| 10807 |
clear(); |
| 10808 |
} |
| 10809 |
|
| 10810 |
Image() = delete; |
| 10811 |
Image( Image const & ) = delete; |
| 10812 |
|
| 10813 |
Image( Image && rhs ) VULKAN_HPP_NOEXCEPT |
| 10814 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 10815 |
, m_image( exchange( rhs.m_image, {} ) ) |
| 10816 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 10817 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 10818 |
{ |
| 10819 |
} |
| 10820 |
|
| 10821 |
Image & operator=( Image const & ) = delete; |
| 10822 |
|
| 10823 |
Image & operator=( Image && rhs ) VULKAN_HPP_NOEXCEPT |
| 10824 |
{ |
| 10825 |
if ( this != &rhs ) |
| 10826 |
{ |
| 10827 |
std::swap( m_device, rhs.m_device ); |
| 10828 |
std::swap( m_image, rhs.m_image ); |
| 10829 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10830 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10831 |
} |
| 10832 |
return *this; |
| 10833 |
} |
| 10834 |
|
| 10835 |
VULKAN_HPP_NAMESPACE::Image const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 10836 |
{ |
| 10837 |
return m_image; |
| 10838 |
} |
| 10839 |
|
| 10840 |
VULKAN_HPP_NAMESPACE::Image const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 10841 |
{ |
| 10842 |
return std::move( m_image ); |
| 10843 |
} |
| 10844 |
|
| 10845 |
operator VULKAN_HPP_NAMESPACE::Image() const VULKAN_HPP_NOEXCEPT |
| 10846 |
{ |
| 10847 |
return m_image; |
| 10848 |
} |
| 10849 |
|
| 10850 |
void clear() VULKAN_HPP_NOEXCEPT |
| 10851 |
{ |
| 10852 |
if ( m_image ) |
| 10853 |
{ |
| 10854 |
getDispatcher()->vkDestroyImage( |
| 10855 |
static_cast<VkDevice>( m_device ), static_cast<VkImage>( m_image ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 10856 |
} |
| 10857 |
m_device = nullptr; |
| 10858 |
m_image = nullptr; |
| 10859 |
m_allocator = nullptr; |
| 10860 |
m_dispatcher = nullptr; |
| 10861 |
} |
| 10862 |
|
| 10863 |
VULKAN_HPP_NAMESPACE::Image release() |
| 10864 |
{ |
| 10865 |
m_device = nullptr; |
| 10866 |
m_allocator = nullptr; |
| 10867 |
m_dispatcher = nullptr; |
| 10868 |
return exchange( m_image, nullptr ); |
| 10869 |
} |
| 10870 |
|
| 10871 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 10872 |
{ |
| 10873 |
return m_device; |
| 10874 |
} |
| 10875 |
|
| 10876 |
detail::DeviceDispatcher const * getDispatcher() const |
| 10877 |
{ |
| 10878 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 10879 |
return m_dispatcher; |
| 10880 |
} |
| 10881 |
|
| 10882 |
void swap( Image & rhs ) VULKAN_HPP_NOEXCEPT |
| 10883 |
{ |
| 10884 |
std::swap( m_device, rhs.m_device ); |
| 10885 |
std::swap( m_image, rhs.m_image ); |
| 10886 |
std::swap( m_allocator, rhs.m_allocator ); |
| 10887 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 10888 |
} |
| 10889 |
|
| 10890 |
//=== VK_VERSION_1_0 === |
| 10891 |
|
| 10892 |
// wrapper function for command vkBindImageMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory.html |
| 10893 |
typename ResultValueType<void>::type bindMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, DeviceSize memoryOffset ) const; |
| 10894 |
|
| 10895 |
// wrapper function for command vkGetImageMemoryRequirements, see |
| 10896 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements.html |
| 10897 |
VULKAN_HPP_NODISCARD MemoryRequirements getMemoryRequirements() const VULKAN_HPP_NOEXCEPT; |
| 10898 |
|
| 10899 |
// wrapper function for command vkGetImageSparseMemoryRequirements, see |
| 10900 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html |
| 10901 |
VULKAN_HPP_NODISCARD std::vector<SparseImageMemoryRequirements> getSparseMemoryRequirements() const; |
| 10902 |
|
| 10903 |
// wrapper function for command vkGetImageSubresourceLayout, see |
| 10904 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout.html |
| 10905 |
VULKAN_HPP_NODISCARD SubresourceLayout getSubresourceLayout( const ImageSubresource & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10906 |
|
| 10907 |
//=== VK_VERSION_1_4 === |
| 10908 |
|
| 10909 |
// wrapper function for command vkGetImageSubresourceLayout2, see |
| 10910 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html |
| 10911 |
VULKAN_HPP_NODISCARD SubresourceLayout2 getSubresourceLayout2( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10912 |
|
| 10913 |
// wrapper function for command vkGetImageSubresourceLayout2, see |
| 10914 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html |
| 10915 |
template <typename X, typename Y, typename... Z> |
| 10916 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getSubresourceLayout2( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10917 |
|
| 10918 |
//=== VK_EXT_image_drm_format_modifier === |
| 10919 |
|
| 10920 |
// wrapper function for command vkGetImageDrmFormatModifierPropertiesEXT, see |
| 10921 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html |
| 10922 |
VULKAN_HPP_NODISCARD typename ResultValueType<ImageDrmFormatModifierPropertiesEXT>::type getDrmFormatModifierPropertiesEXT() const; |
| 10923 |
|
| 10924 |
//=== VK_EXT_host_image_copy === |
| 10925 |
|
| 10926 |
// wrapper function for command vkGetImageSubresourceLayout2EXT, see |
| 10927 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html |
| 10928 |
VULKAN_HPP_NODISCARD SubresourceLayout2 getSubresourceLayout2EXT( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10929 |
|
| 10930 |
// wrapper function for command vkGetImageSubresourceLayout2EXT, see |
| 10931 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html |
| 10932 |
template <typename X, typename Y, typename... Z> |
| 10933 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getSubresourceLayout2EXT( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10934 |
|
| 10935 |
//=== VK_KHR_maintenance5 === |
| 10936 |
|
| 10937 |
// wrapper function for command vkGetImageSubresourceLayout2KHR, see |
| 10938 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html |
| 10939 |
VULKAN_HPP_NODISCARD SubresourceLayout2 getSubresourceLayout2KHR( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10940 |
|
| 10941 |
// wrapper function for command vkGetImageSubresourceLayout2KHR, see |
| 10942 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html |
| 10943 |
template <typename X, typename Y, typename... Z> |
| 10944 |
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getSubresourceLayout2KHR( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT; |
| 10945 |
|
| 10946 |
protected: |
| 10947 |
Image( VULKAN_HPP_NAMESPACE::Device device, |
| 10948 |
VULKAN_HPP_NAMESPACE::Image image, |
| 10949 |
const AllocationCallbacks * allocator, |
| 10950 |
detail::DeviceDispatcher const * dispatcher ) VULKAN_HPP_NOEXCEPT |
| 10951 |
: m_device( exchange( device, {} ) ) |
| 10952 |
, m_image( exchange( image, {} ) ) |
| 10953 |
, m_allocator( exchange( allocator, {} ) ) |
| 10954 |
, m_dispatcher( exchange( dispatcher, nullptr ) ) |
| 10955 |
{ |
| 10956 |
} |
| 10957 |
|
| 10958 |
private: |
| 10959 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 10960 |
VULKAN_HPP_NAMESPACE::Image m_image = {}; |
| 10961 |
const AllocationCallbacks * m_allocator = {}; |
| 10962 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 10963 |
}; |
| 10964 |
|
| 10965 |
template <> |
| 10966 |
struct isVulkanRAIIHandleType<Image> |
| 10967 |
{ |
| 10968 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 10969 |
}; |
| 10970 |
|
| 10971 |
// wrapper class for handle VkImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkImageView.html |
| 10972 |
class ImageView |
| 10973 |
{ |
| 10974 |
public: |
| 10975 |
using CType = VkImageView; |
| 10976 |
using CppType = VULKAN_HPP_NAMESPACE::ImageView; |
| 10977 |
|
| 10978 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eImageView; |
| 10979 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eImageView; |
| 10980 |
|
| 10981 |
public: |
| 10982 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 10983 |
ImageView( Device const & device, ImageViewCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10984 |
{ |
| 10985 |
*this = device.createImageView( createInfo, allocator ); |
| 10986 |
} |
| 10987 |
# endif |
| 10988 |
|
| 10989 |
ImageView( Device const & device, VkImageView imageView, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 10990 |
: m_device( device ) |
| 10991 |
, m_imageView( imageView ) |
| 10992 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 10993 |
, m_dispatcher( device.getDispatcher() ) |
| 10994 |
{ |
| 10995 |
} |
| 10996 |
|
| 10997 |
ImageView( std::nullptr_t ) {} |
| 10998 |
|
| 10999 |
~ImageView() |
| 11000 |
{ |
| 11001 |
clear(); |
| 11002 |
} |
| 11003 |
|
| 11004 |
ImageView() = delete; |
| 11005 |
ImageView( ImageView const & ) = delete; |
| 11006 |
|
| 11007 |
ImageView( ImageView && rhs ) VULKAN_HPP_NOEXCEPT |
| 11008 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11009 |
, m_imageView( exchange( rhs.m_imageView, {} ) ) |
| 11010 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11011 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11012 |
{ |
| 11013 |
} |
| 11014 |
|
| 11015 |
ImageView & operator=( ImageView const & ) = delete; |
| 11016 |
|
| 11017 |
ImageView & operator=( ImageView && rhs ) VULKAN_HPP_NOEXCEPT |
| 11018 |
{ |
| 11019 |
if ( this != &rhs ) |
| 11020 |
{ |
| 11021 |
std::swap( m_device, rhs.m_device ); |
| 11022 |
std::swap( m_imageView, rhs.m_imageView ); |
| 11023 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11024 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11025 |
} |
| 11026 |
return *this; |
| 11027 |
} |
| 11028 |
|
| 11029 |
VULKAN_HPP_NAMESPACE::ImageView const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11030 |
{ |
| 11031 |
return m_imageView; |
| 11032 |
} |
| 11033 |
|
| 11034 |
VULKAN_HPP_NAMESPACE::ImageView const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11035 |
{ |
| 11036 |
return std::move( m_imageView ); |
| 11037 |
} |
| 11038 |
|
| 11039 |
operator VULKAN_HPP_NAMESPACE::ImageView() const VULKAN_HPP_NOEXCEPT |
| 11040 |
{ |
| 11041 |
return m_imageView; |
| 11042 |
} |
| 11043 |
|
| 11044 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11045 |
{ |
| 11046 |
if ( m_imageView ) |
| 11047 |
{ |
| 11048 |
getDispatcher()->vkDestroyImageView( |
| 11049 |
static_cast<VkDevice>( m_device ), static_cast<VkImageView>( m_imageView ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11050 |
} |
| 11051 |
m_device = nullptr; |
| 11052 |
m_imageView = nullptr; |
| 11053 |
m_allocator = nullptr; |
| 11054 |
m_dispatcher = nullptr; |
| 11055 |
} |
| 11056 |
|
| 11057 |
VULKAN_HPP_NAMESPACE::ImageView release() |
| 11058 |
{ |
| 11059 |
m_device = nullptr; |
| 11060 |
m_allocator = nullptr; |
| 11061 |
m_dispatcher = nullptr; |
| 11062 |
return exchange( m_imageView, nullptr ); |
| 11063 |
} |
| 11064 |
|
| 11065 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11066 |
{ |
| 11067 |
return m_device; |
| 11068 |
} |
| 11069 |
|
| 11070 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11071 |
{ |
| 11072 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11073 |
return m_dispatcher; |
| 11074 |
} |
| 11075 |
|
| 11076 |
void swap( ImageView & rhs ) VULKAN_HPP_NOEXCEPT |
| 11077 |
{ |
| 11078 |
std::swap( m_device, rhs.m_device ); |
| 11079 |
std::swap( m_imageView, rhs.m_imageView ); |
| 11080 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11081 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11082 |
} |
| 11083 |
|
| 11084 |
//=== VK_NVX_image_view_handle === |
| 11085 |
|
| 11086 |
// wrapper function for command vkGetImageViewAddressNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewAddressNVX.html |
| 11087 |
VULKAN_HPP_NODISCARD typename ResultValueType<ImageViewAddressPropertiesNVX>::type getAddressNVX() const; |
| 11088 |
|
| 11089 |
private: |
| 11090 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11091 |
VULKAN_HPP_NAMESPACE::ImageView m_imageView = {}; |
| 11092 |
const AllocationCallbacks * m_allocator = {}; |
| 11093 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11094 |
}; |
| 11095 |
|
| 11096 |
template <> |
| 11097 |
struct isVulkanRAIIHandleType<ImageView> |
| 11098 |
{ |
| 11099 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11100 |
}; |
| 11101 |
|
| 11102 |
// wrapper class for handle VkIndirectCommandsLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkIndirectCommandsLayoutEXT.html |
| 11103 |
class IndirectCommandsLayoutEXT |
| 11104 |
{ |
| 11105 |
public: |
| 11106 |
using CType = VkIndirectCommandsLayoutEXT; |
| 11107 |
using CppType = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT; |
| 11108 |
|
| 11109 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eIndirectCommandsLayoutEXT; |
| 11110 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 11111 |
|
| 11112 |
public: |
| 11113 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11114 |
IndirectCommandsLayoutEXT( Device const & device, |
| 11115 |
IndirectCommandsLayoutCreateInfoEXT const & createInfo, |
| 11116 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11117 |
{ |
| 11118 |
*this = device.createIndirectCommandsLayoutEXT( createInfo, allocator ); |
| 11119 |
} |
| 11120 |
# endif |
| 11121 |
|
| 11122 |
IndirectCommandsLayoutEXT( Device const & device, |
| 11123 |
VkIndirectCommandsLayoutEXT indirectCommandsLayout, |
| 11124 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11125 |
: m_device( device ) |
| 11126 |
, m_indirectCommandsLayoutEXT( indirectCommandsLayout ) |
| 11127 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 11128 |
, m_dispatcher( device.getDispatcher() ) |
| 11129 |
{ |
| 11130 |
} |
| 11131 |
|
| 11132 |
IndirectCommandsLayoutEXT( std::nullptr_t ) {} |
| 11133 |
|
| 11134 |
~IndirectCommandsLayoutEXT() |
| 11135 |
{ |
| 11136 |
clear(); |
| 11137 |
} |
| 11138 |
|
| 11139 |
IndirectCommandsLayoutEXT() = delete; |
| 11140 |
IndirectCommandsLayoutEXT( IndirectCommandsLayoutEXT const & ) = delete; |
| 11141 |
|
| 11142 |
IndirectCommandsLayoutEXT( IndirectCommandsLayoutEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 11143 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11144 |
, m_indirectCommandsLayoutEXT( exchange( rhs.m_indirectCommandsLayoutEXT, {} ) ) |
| 11145 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11146 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11147 |
{ |
| 11148 |
} |
| 11149 |
|
| 11150 |
IndirectCommandsLayoutEXT & operator=( IndirectCommandsLayoutEXT const & ) = delete; |
| 11151 |
|
| 11152 |
IndirectCommandsLayoutEXT & operator=( IndirectCommandsLayoutEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 11153 |
{ |
| 11154 |
if ( this != &rhs ) |
| 11155 |
{ |
| 11156 |
std::swap( m_device, rhs.m_device ); |
| 11157 |
std::swap( m_indirectCommandsLayoutEXT, rhs.m_indirectCommandsLayoutEXT ); |
| 11158 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11159 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11160 |
} |
| 11161 |
return *this; |
| 11162 |
} |
| 11163 |
|
| 11164 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11165 |
{ |
| 11166 |
return m_indirectCommandsLayoutEXT; |
| 11167 |
} |
| 11168 |
|
| 11169 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11170 |
{ |
| 11171 |
return std::move( m_indirectCommandsLayoutEXT ); |
| 11172 |
} |
| 11173 |
|
| 11174 |
operator VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT() const VULKAN_HPP_NOEXCEPT |
| 11175 |
{ |
| 11176 |
return m_indirectCommandsLayoutEXT; |
| 11177 |
} |
| 11178 |
|
| 11179 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11180 |
{ |
| 11181 |
if ( m_indirectCommandsLayoutEXT ) |
| 11182 |
{ |
| 11183 |
getDispatcher()->vkDestroyIndirectCommandsLayoutEXT( static_cast<VkDevice>( m_device ), |
| 11184 |
static_cast<VkIndirectCommandsLayoutEXT>( m_indirectCommandsLayoutEXT ), |
| 11185 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11186 |
} |
| 11187 |
m_device = nullptr; |
| 11188 |
m_indirectCommandsLayoutEXT = nullptr; |
| 11189 |
m_allocator = nullptr; |
| 11190 |
m_dispatcher = nullptr; |
| 11191 |
} |
| 11192 |
|
| 11193 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT release() |
| 11194 |
{ |
| 11195 |
m_device = nullptr; |
| 11196 |
m_allocator = nullptr; |
| 11197 |
m_dispatcher = nullptr; |
| 11198 |
return exchange( m_indirectCommandsLayoutEXT, nullptr ); |
| 11199 |
} |
| 11200 |
|
| 11201 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11202 |
{ |
| 11203 |
return m_device; |
| 11204 |
} |
| 11205 |
|
| 11206 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11207 |
{ |
| 11208 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11209 |
return m_dispatcher; |
| 11210 |
} |
| 11211 |
|
| 11212 |
void swap( IndirectCommandsLayoutEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 11213 |
{ |
| 11214 |
std::swap( m_device, rhs.m_device ); |
| 11215 |
std::swap( m_indirectCommandsLayoutEXT, rhs.m_indirectCommandsLayoutEXT ); |
| 11216 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11217 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11218 |
} |
| 11219 |
|
| 11220 |
private: |
| 11221 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11222 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT m_indirectCommandsLayoutEXT = {}; |
| 11223 |
const AllocationCallbacks * m_allocator = {}; |
| 11224 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11225 |
}; |
| 11226 |
|
| 11227 |
template <> |
| 11228 |
struct isVulkanRAIIHandleType<IndirectCommandsLayoutEXT> |
| 11229 |
{ |
| 11230 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11231 |
}; |
| 11232 |
|
| 11233 |
// wrapper class for handle VkIndirectCommandsLayoutNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkIndirectCommandsLayoutNV.html |
| 11234 |
class IndirectCommandsLayoutNV |
| 11235 |
{ |
| 11236 |
public: |
| 11237 |
using CType = VkIndirectCommandsLayoutNV; |
| 11238 |
using CppType = VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV; |
| 11239 |
|
| 11240 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eIndirectCommandsLayoutNV; |
| 11241 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 11242 |
|
| 11243 |
public: |
| 11244 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11245 |
IndirectCommandsLayoutNV( Device const & device, |
| 11246 |
IndirectCommandsLayoutCreateInfoNV const & createInfo, |
| 11247 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11248 |
{ |
| 11249 |
*this = device.createIndirectCommandsLayoutNV( createInfo, allocator ); |
| 11250 |
} |
| 11251 |
# endif |
| 11252 |
|
| 11253 |
IndirectCommandsLayoutNV( Device const & device, |
| 11254 |
VkIndirectCommandsLayoutNV indirectCommandsLayout, |
| 11255 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11256 |
: m_device( device ) |
| 11257 |
, m_indirectCommandsLayoutNV( indirectCommandsLayout ) |
| 11258 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 11259 |
, m_dispatcher( device.getDispatcher() ) |
| 11260 |
{ |
| 11261 |
} |
| 11262 |
|
| 11263 |
IndirectCommandsLayoutNV( std::nullptr_t ) {} |
| 11264 |
|
| 11265 |
~IndirectCommandsLayoutNV() |
| 11266 |
{ |
| 11267 |
clear(); |
| 11268 |
} |
| 11269 |
|
| 11270 |
IndirectCommandsLayoutNV() = delete; |
| 11271 |
IndirectCommandsLayoutNV( IndirectCommandsLayoutNV const & ) = delete; |
| 11272 |
|
| 11273 |
IndirectCommandsLayoutNV( IndirectCommandsLayoutNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 11274 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11275 |
, m_indirectCommandsLayoutNV( exchange( rhs.m_indirectCommandsLayoutNV, {} ) ) |
| 11276 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11277 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11278 |
{ |
| 11279 |
} |
| 11280 |
|
| 11281 |
IndirectCommandsLayoutNV & operator=( IndirectCommandsLayoutNV const & ) = delete; |
| 11282 |
|
| 11283 |
IndirectCommandsLayoutNV & operator=( IndirectCommandsLayoutNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 11284 |
{ |
| 11285 |
if ( this != &rhs ) |
| 11286 |
{ |
| 11287 |
std::swap( m_device, rhs.m_device ); |
| 11288 |
std::swap( m_indirectCommandsLayoutNV, rhs.m_indirectCommandsLayoutNV ); |
| 11289 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11290 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11291 |
} |
| 11292 |
return *this; |
| 11293 |
} |
| 11294 |
|
| 11295 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11296 |
{ |
| 11297 |
return m_indirectCommandsLayoutNV; |
| 11298 |
} |
| 11299 |
|
| 11300 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11301 |
{ |
| 11302 |
return std::move( m_indirectCommandsLayoutNV ); |
| 11303 |
} |
| 11304 |
|
| 11305 |
operator VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV() const VULKAN_HPP_NOEXCEPT |
| 11306 |
{ |
| 11307 |
return m_indirectCommandsLayoutNV; |
| 11308 |
} |
| 11309 |
|
| 11310 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11311 |
{ |
| 11312 |
if ( m_indirectCommandsLayoutNV ) |
| 11313 |
{ |
| 11314 |
getDispatcher()->vkDestroyIndirectCommandsLayoutNV( static_cast<VkDevice>( m_device ), |
| 11315 |
static_cast<VkIndirectCommandsLayoutNV>( m_indirectCommandsLayoutNV ), |
| 11316 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11317 |
} |
| 11318 |
m_device = nullptr; |
| 11319 |
m_indirectCommandsLayoutNV = nullptr; |
| 11320 |
m_allocator = nullptr; |
| 11321 |
m_dispatcher = nullptr; |
| 11322 |
} |
| 11323 |
|
| 11324 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV release() |
| 11325 |
{ |
| 11326 |
m_device = nullptr; |
| 11327 |
m_allocator = nullptr; |
| 11328 |
m_dispatcher = nullptr; |
| 11329 |
return exchange( m_indirectCommandsLayoutNV, nullptr ); |
| 11330 |
} |
| 11331 |
|
| 11332 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11333 |
{ |
| 11334 |
return m_device; |
| 11335 |
} |
| 11336 |
|
| 11337 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11338 |
{ |
| 11339 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11340 |
return m_dispatcher; |
| 11341 |
} |
| 11342 |
|
| 11343 |
void swap( IndirectCommandsLayoutNV & rhs ) VULKAN_HPP_NOEXCEPT |
| 11344 |
{ |
| 11345 |
std::swap( m_device, rhs.m_device ); |
| 11346 |
std::swap( m_indirectCommandsLayoutNV, rhs.m_indirectCommandsLayoutNV ); |
| 11347 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11348 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11349 |
} |
| 11350 |
|
| 11351 |
private: |
| 11352 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11353 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV m_indirectCommandsLayoutNV = {}; |
| 11354 |
const AllocationCallbacks * m_allocator = {}; |
| 11355 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11356 |
}; |
| 11357 |
|
| 11358 |
template <> |
| 11359 |
struct isVulkanRAIIHandleType<IndirectCommandsLayoutNV> |
| 11360 |
{ |
| 11361 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11362 |
}; |
| 11363 |
|
| 11364 |
// wrapper class for handle VkIndirectExecutionSetEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkIndirectExecutionSetEXT.html |
| 11365 |
class IndirectExecutionSetEXT |
| 11366 |
{ |
| 11367 |
public: |
| 11368 |
using CType = VkIndirectExecutionSetEXT; |
| 11369 |
using CppType = VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT; |
| 11370 |
|
| 11371 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eIndirectExecutionSetEXT; |
| 11372 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 11373 |
|
| 11374 |
public: |
| 11375 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11376 |
IndirectExecutionSetEXT( Device const & device, |
| 11377 |
IndirectExecutionSetCreateInfoEXT const & createInfo, |
| 11378 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11379 |
{ |
| 11380 |
*this = device.createIndirectExecutionSetEXT( createInfo, allocator ); |
| 11381 |
} |
| 11382 |
# endif |
| 11383 |
|
| 11384 |
IndirectExecutionSetEXT( Device const & device, VkIndirectExecutionSetEXT indirectExecutionSet, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11385 |
: m_device( device ) |
| 11386 |
, m_indirectExecutionSetEXT( indirectExecutionSet ) |
| 11387 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 11388 |
, m_dispatcher( device.getDispatcher() ) |
| 11389 |
{ |
| 11390 |
} |
| 11391 |
|
| 11392 |
IndirectExecutionSetEXT( std::nullptr_t ) {} |
| 11393 |
|
| 11394 |
~IndirectExecutionSetEXT() |
| 11395 |
{ |
| 11396 |
clear(); |
| 11397 |
} |
| 11398 |
|
| 11399 |
IndirectExecutionSetEXT() = delete; |
| 11400 |
IndirectExecutionSetEXT( IndirectExecutionSetEXT const & ) = delete; |
| 11401 |
|
| 11402 |
IndirectExecutionSetEXT( IndirectExecutionSetEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 11403 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11404 |
, m_indirectExecutionSetEXT( exchange( rhs.m_indirectExecutionSetEXT, {} ) ) |
| 11405 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11406 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11407 |
{ |
| 11408 |
} |
| 11409 |
|
| 11410 |
IndirectExecutionSetEXT & operator=( IndirectExecutionSetEXT const & ) = delete; |
| 11411 |
|
| 11412 |
IndirectExecutionSetEXT & operator=( IndirectExecutionSetEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 11413 |
{ |
| 11414 |
if ( this != &rhs ) |
| 11415 |
{ |
| 11416 |
std::swap( m_device, rhs.m_device ); |
| 11417 |
std::swap( m_indirectExecutionSetEXT, rhs.m_indirectExecutionSetEXT ); |
| 11418 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11419 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11420 |
} |
| 11421 |
return *this; |
| 11422 |
} |
| 11423 |
|
| 11424 |
VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11425 |
{ |
| 11426 |
return m_indirectExecutionSetEXT; |
| 11427 |
} |
| 11428 |
|
| 11429 |
VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11430 |
{ |
| 11431 |
return std::move( m_indirectExecutionSetEXT ); |
| 11432 |
} |
| 11433 |
|
| 11434 |
operator VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT() const VULKAN_HPP_NOEXCEPT |
| 11435 |
{ |
| 11436 |
return m_indirectExecutionSetEXT; |
| 11437 |
} |
| 11438 |
|
| 11439 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11440 |
{ |
| 11441 |
if ( m_indirectExecutionSetEXT ) |
| 11442 |
{ |
| 11443 |
getDispatcher()->vkDestroyIndirectExecutionSetEXT( static_cast<VkDevice>( m_device ), |
| 11444 |
static_cast<VkIndirectExecutionSetEXT>( m_indirectExecutionSetEXT ), |
| 11445 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11446 |
} |
| 11447 |
m_device = nullptr; |
| 11448 |
m_indirectExecutionSetEXT = nullptr; |
| 11449 |
m_allocator = nullptr; |
| 11450 |
m_dispatcher = nullptr; |
| 11451 |
} |
| 11452 |
|
| 11453 |
VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT release() |
| 11454 |
{ |
| 11455 |
m_device = nullptr; |
| 11456 |
m_allocator = nullptr; |
| 11457 |
m_dispatcher = nullptr; |
| 11458 |
return exchange( m_indirectExecutionSetEXT, nullptr ); |
| 11459 |
} |
| 11460 |
|
| 11461 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11462 |
{ |
| 11463 |
return m_device; |
| 11464 |
} |
| 11465 |
|
| 11466 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11467 |
{ |
| 11468 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11469 |
return m_dispatcher; |
| 11470 |
} |
| 11471 |
|
| 11472 |
void swap( IndirectExecutionSetEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 11473 |
{ |
| 11474 |
std::swap( m_device, rhs.m_device ); |
| 11475 |
std::swap( m_indirectExecutionSetEXT, rhs.m_indirectExecutionSetEXT ); |
| 11476 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11477 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11478 |
} |
| 11479 |
|
| 11480 |
//=== VK_EXT_device_generated_commands === |
| 11481 |
|
| 11482 |
// wrapper function for command vkUpdateIndirectExecutionSetPipelineEXT, see |
| 11483 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html |
| 11484 |
void updatePipeline( ArrayProxy<const WriteIndirectExecutionSetPipelineEXT> const & executionSetWrites ) const VULKAN_HPP_NOEXCEPT; |
| 11485 |
|
| 11486 |
// wrapper function for command vkUpdateIndirectExecutionSetShaderEXT, see |
| 11487 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetShaderEXT.html |
| 11488 |
void updateShader( ArrayProxy<const WriteIndirectExecutionSetShaderEXT> const & executionSetWrites ) const VULKAN_HPP_NOEXCEPT; |
| 11489 |
|
| 11490 |
private: |
| 11491 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11492 |
VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT m_indirectExecutionSetEXT = {}; |
| 11493 |
const AllocationCallbacks * m_allocator = {}; |
| 11494 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11495 |
}; |
| 11496 |
|
| 11497 |
template <> |
| 11498 |
struct isVulkanRAIIHandleType<IndirectExecutionSetEXT> |
| 11499 |
{ |
| 11500 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11501 |
}; |
| 11502 |
|
| 11503 |
// wrapper class for handle VkMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkMicromapEXT.html |
| 11504 |
class MicromapEXT |
| 11505 |
{ |
| 11506 |
public: |
| 11507 |
using CType = VkMicromapEXT; |
| 11508 |
using CppType = VULKAN_HPP_NAMESPACE::MicromapEXT; |
| 11509 |
|
| 11510 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eMicromapEXT; |
| 11511 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 11512 |
|
| 11513 |
public: |
| 11514 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11515 |
MicromapEXT( Device const & device, MicromapCreateInfoEXT const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11516 |
{ |
| 11517 |
*this = device.createMicromapEXT( createInfo, allocator ); |
| 11518 |
} |
| 11519 |
# endif |
| 11520 |
|
| 11521 |
MicromapEXT( Device const & device, VkMicromapEXT micromap, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11522 |
: m_device( device ) |
| 11523 |
, m_micromapEXT( micromap ) |
| 11524 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 11525 |
, m_dispatcher( device.getDispatcher() ) |
| 11526 |
{ |
| 11527 |
} |
| 11528 |
|
| 11529 |
MicromapEXT( std::nullptr_t ) {} |
| 11530 |
|
| 11531 |
~MicromapEXT() |
| 11532 |
{ |
| 11533 |
clear(); |
| 11534 |
} |
| 11535 |
|
| 11536 |
MicromapEXT() = delete; |
| 11537 |
MicromapEXT( MicromapEXT const & ) = delete; |
| 11538 |
|
| 11539 |
MicromapEXT( MicromapEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 11540 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11541 |
, m_micromapEXT( exchange( rhs.m_micromapEXT, {} ) ) |
| 11542 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11543 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11544 |
{ |
| 11545 |
} |
| 11546 |
|
| 11547 |
MicromapEXT & operator=( MicromapEXT const & ) = delete; |
| 11548 |
|
| 11549 |
MicromapEXT & operator=( MicromapEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 11550 |
{ |
| 11551 |
if ( this != &rhs ) |
| 11552 |
{ |
| 11553 |
std::swap( m_device, rhs.m_device ); |
| 11554 |
std::swap( m_micromapEXT, rhs.m_micromapEXT ); |
| 11555 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11556 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11557 |
} |
| 11558 |
return *this; |
| 11559 |
} |
| 11560 |
|
| 11561 |
VULKAN_HPP_NAMESPACE::MicromapEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11562 |
{ |
| 11563 |
return m_micromapEXT; |
| 11564 |
} |
| 11565 |
|
| 11566 |
VULKAN_HPP_NAMESPACE::MicromapEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11567 |
{ |
| 11568 |
return std::move( m_micromapEXT ); |
| 11569 |
} |
| 11570 |
|
| 11571 |
operator VULKAN_HPP_NAMESPACE::MicromapEXT() const VULKAN_HPP_NOEXCEPT |
| 11572 |
{ |
| 11573 |
return m_micromapEXT; |
| 11574 |
} |
| 11575 |
|
| 11576 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11577 |
{ |
| 11578 |
if ( m_micromapEXT ) |
| 11579 |
{ |
| 11580 |
getDispatcher()->vkDestroyMicromapEXT( |
| 11581 |
static_cast<VkDevice>( m_device ), static_cast<VkMicromapEXT>( m_micromapEXT ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11582 |
} |
| 11583 |
m_device = nullptr; |
| 11584 |
m_micromapEXT = nullptr; |
| 11585 |
m_allocator = nullptr; |
| 11586 |
m_dispatcher = nullptr; |
| 11587 |
} |
| 11588 |
|
| 11589 |
VULKAN_HPP_NAMESPACE::MicromapEXT release() |
| 11590 |
{ |
| 11591 |
m_device = nullptr; |
| 11592 |
m_allocator = nullptr; |
| 11593 |
m_dispatcher = nullptr; |
| 11594 |
return exchange( m_micromapEXT, nullptr ); |
| 11595 |
} |
| 11596 |
|
| 11597 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11598 |
{ |
| 11599 |
return m_device; |
| 11600 |
} |
| 11601 |
|
| 11602 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11603 |
{ |
| 11604 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11605 |
return m_dispatcher; |
| 11606 |
} |
| 11607 |
|
| 11608 |
void swap( MicromapEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 11609 |
{ |
| 11610 |
std::swap( m_device, rhs.m_device ); |
| 11611 |
std::swap( m_micromapEXT, rhs.m_micromapEXT ); |
| 11612 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11613 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11614 |
} |
| 11615 |
|
| 11616 |
private: |
| 11617 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11618 |
VULKAN_HPP_NAMESPACE::MicromapEXT m_micromapEXT = {}; |
| 11619 |
const AllocationCallbacks * m_allocator = {}; |
| 11620 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11621 |
}; |
| 11622 |
|
| 11623 |
template <> |
| 11624 |
struct isVulkanRAIIHandleType<MicromapEXT> |
| 11625 |
{ |
| 11626 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11627 |
}; |
| 11628 |
|
| 11629 |
// wrapper class for handle VkOpticalFlowSessionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkOpticalFlowSessionNV.html |
| 11630 |
class OpticalFlowSessionNV |
| 11631 |
{ |
| 11632 |
public: |
| 11633 |
using CType = VkOpticalFlowSessionNV; |
| 11634 |
using CppType = VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV; |
| 11635 |
|
| 11636 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eOpticalFlowSessionNV; |
| 11637 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 11638 |
|
| 11639 |
public: |
| 11640 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11641 |
OpticalFlowSessionNV( Device const & device, OpticalFlowSessionCreateInfoNV const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11642 |
{ |
| 11643 |
*this = device.createOpticalFlowSessionNV( createInfo, allocator ); |
| 11644 |
} |
| 11645 |
# endif |
| 11646 |
|
| 11647 |
OpticalFlowSessionNV( Device const & device, VkOpticalFlowSessionNV session, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11648 |
: m_device( device ) |
| 11649 |
, m_opticalFlowSessionNV( session ) |
| 11650 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 11651 |
, m_dispatcher( device.getDispatcher() ) |
| 11652 |
{ |
| 11653 |
} |
| 11654 |
|
| 11655 |
OpticalFlowSessionNV( std::nullptr_t ) {} |
| 11656 |
|
| 11657 |
~OpticalFlowSessionNV() |
| 11658 |
{ |
| 11659 |
clear(); |
| 11660 |
} |
| 11661 |
|
| 11662 |
OpticalFlowSessionNV() = delete; |
| 11663 |
OpticalFlowSessionNV( OpticalFlowSessionNV const & ) = delete; |
| 11664 |
|
| 11665 |
OpticalFlowSessionNV( OpticalFlowSessionNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 11666 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11667 |
, m_opticalFlowSessionNV( exchange( rhs.m_opticalFlowSessionNV, {} ) ) |
| 11668 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11669 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11670 |
{ |
| 11671 |
} |
| 11672 |
|
| 11673 |
OpticalFlowSessionNV & operator=( OpticalFlowSessionNV const & ) = delete; |
| 11674 |
|
| 11675 |
OpticalFlowSessionNV & operator=( OpticalFlowSessionNV && rhs ) VULKAN_HPP_NOEXCEPT |
| 11676 |
{ |
| 11677 |
if ( this != &rhs ) |
| 11678 |
{ |
| 11679 |
std::swap( m_device, rhs.m_device ); |
| 11680 |
std::swap( m_opticalFlowSessionNV, rhs.m_opticalFlowSessionNV ); |
| 11681 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11682 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11683 |
} |
| 11684 |
return *this; |
| 11685 |
} |
| 11686 |
|
| 11687 |
VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11688 |
{ |
| 11689 |
return m_opticalFlowSessionNV; |
| 11690 |
} |
| 11691 |
|
| 11692 |
VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11693 |
{ |
| 11694 |
return std::move( m_opticalFlowSessionNV ); |
| 11695 |
} |
| 11696 |
|
| 11697 |
operator VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV() const VULKAN_HPP_NOEXCEPT |
| 11698 |
{ |
| 11699 |
return m_opticalFlowSessionNV; |
| 11700 |
} |
| 11701 |
|
| 11702 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11703 |
{ |
| 11704 |
if ( m_opticalFlowSessionNV ) |
| 11705 |
{ |
| 11706 |
getDispatcher()->vkDestroyOpticalFlowSessionNV( static_cast<VkDevice>( m_device ), |
| 11707 |
static_cast<VkOpticalFlowSessionNV>( m_opticalFlowSessionNV ), |
| 11708 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11709 |
} |
| 11710 |
m_device = nullptr; |
| 11711 |
m_opticalFlowSessionNV = nullptr; |
| 11712 |
m_allocator = nullptr; |
| 11713 |
m_dispatcher = nullptr; |
| 11714 |
} |
| 11715 |
|
| 11716 |
VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV release() |
| 11717 |
{ |
| 11718 |
m_device = nullptr; |
| 11719 |
m_allocator = nullptr; |
| 11720 |
m_dispatcher = nullptr; |
| 11721 |
return exchange( m_opticalFlowSessionNV, nullptr ); |
| 11722 |
} |
| 11723 |
|
| 11724 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11725 |
{ |
| 11726 |
return m_device; |
| 11727 |
} |
| 11728 |
|
| 11729 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11730 |
{ |
| 11731 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11732 |
return m_dispatcher; |
| 11733 |
} |
| 11734 |
|
| 11735 |
void swap( OpticalFlowSessionNV & rhs ) VULKAN_HPP_NOEXCEPT |
| 11736 |
{ |
| 11737 |
std::swap( m_device, rhs.m_device ); |
| 11738 |
std::swap( m_opticalFlowSessionNV, rhs.m_opticalFlowSessionNV ); |
| 11739 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11740 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11741 |
} |
| 11742 |
|
| 11743 |
//=== VK_NV_optical_flow === |
| 11744 |
|
| 11745 |
// wrapper function for command vkBindOpticalFlowSessionImageNV, see |
| 11746 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindOpticalFlowSessionImageNV.html |
| 11747 |
typename ResultValueType<void>::type |
| 11748 |
bindImage( OpticalFlowSessionBindingPointNV bindingPoint, VULKAN_HPP_NAMESPACE::ImageView view, ImageLayout layout ) const; |
| 11749 |
|
| 11750 |
private: |
| 11751 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11752 |
VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV m_opticalFlowSessionNV = {}; |
| 11753 |
const AllocationCallbacks * m_allocator = {}; |
| 11754 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11755 |
}; |
| 11756 |
|
| 11757 |
template <> |
| 11758 |
struct isVulkanRAIIHandleType<OpticalFlowSessionNV> |
| 11759 |
{ |
| 11760 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11761 |
}; |
| 11762 |
|
| 11763 |
// wrapper class for handle VkPerformanceConfigurationINTEL, see |
| 11764 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/VkPerformanceConfigurationINTEL.html |
| 11765 |
class PerformanceConfigurationINTEL |
| 11766 |
{ |
| 11767 |
public: |
| 11768 |
using CType = VkPerformanceConfigurationINTEL; |
| 11769 |
using CppType = VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL; |
| 11770 |
|
| 11771 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePerformanceConfigurationINTEL; |
| 11772 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 11773 |
|
| 11774 |
public: |
| 11775 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11776 |
PerformanceConfigurationINTEL( Device const & device, PerformanceConfigurationAcquireInfoINTEL const & acquireInfo ) |
| 11777 |
{ |
| 11778 |
*this = device.acquirePerformanceConfigurationINTEL( acquireInfo ); |
| 11779 |
} |
| 11780 |
# endif |
| 11781 |
|
| 11782 |
PerformanceConfigurationINTEL( Device const & device, VkPerformanceConfigurationINTEL configuration ) |
| 11783 |
: m_device( device ), m_performanceConfigurationINTEL( configuration ), m_dispatcher( device.getDispatcher() ) |
| 11784 |
{ |
| 11785 |
} |
| 11786 |
|
| 11787 |
PerformanceConfigurationINTEL( std::nullptr_t ) {} |
| 11788 |
|
| 11789 |
~PerformanceConfigurationINTEL() |
| 11790 |
{ |
| 11791 |
clear(); |
| 11792 |
} |
| 11793 |
|
| 11794 |
PerformanceConfigurationINTEL() = delete; |
| 11795 |
PerformanceConfigurationINTEL( PerformanceConfigurationINTEL const & ) = delete; |
| 11796 |
|
| 11797 |
PerformanceConfigurationINTEL( PerformanceConfigurationINTEL && rhs ) VULKAN_HPP_NOEXCEPT |
| 11798 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11799 |
, m_performanceConfigurationINTEL( exchange( rhs.m_performanceConfigurationINTEL, {} ) ) |
| 11800 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11801 |
{ |
| 11802 |
} |
| 11803 |
|
| 11804 |
PerformanceConfigurationINTEL & operator=( PerformanceConfigurationINTEL const & ) = delete; |
| 11805 |
|
| 11806 |
PerformanceConfigurationINTEL & operator=( PerformanceConfigurationINTEL && rhs ) VULKAN_HPP_NOEXCEPT |
| 11807 |
{ |
| 11808 |
if ( this != &rhs ) |
| 11809 |
{ |
| 11810 |
std::swap( m_device, rhs.m_device ); |
| 11811 |
std::swap( m_performanceConfigurationINTEL, rhs.m_performanceConfigurationINTEL ); |
| 11812 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11813 |
} |
| 11814 |
return *this; |
| 11815 |
} |
| 11816 |
|
| 11817 |
VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11818 |
{ |
| 11819 |
return m_performanceConfigurationINTEL; |
| 11820 |
} |
| 11821 |
|
| 11822 |
VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11823 |
{ |
| 11824 |
return std::move( m_performanceConfigurationINTEL ); |
| 11825 |
} |
| 11826 |
|
| 11827 |
operator VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL() const VULKAN_HPP_NOEXCEPT |
| 11828 |
{ |
| 11829 |
return m_performanceConfigurationINTEL; |
| 11830 |
} |
| 11831 |
|
| 11832 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11833 |
{ |
| 11834 |
if ( m_performanceConfigurationINTEL ) |
| 11835 |
{ |
| 11836 |
getDispatcher()->vkReleasePerformanceConfigurationINTEL( static_cast<VkDevice>( m_device ), |
| 11837 |
static_cast<VkPerformanceConfigurationINTEL>( m_performanceConfigurationINTEL ) ); |
| 11838 |
} |
| 11839 |
m_device = nullptr; |
| 11840 |
m_performanceConfigurationINTEL = nullptr; |
| 11841 |
m_dispatcher = nullptr; |
| 11842 |
} |
| 11843 |
|
| 11844 |
VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL release() |
| 11845 |
{ |
| 11846 |
m_device = nullptr; |
| 11847 |
m_dispatcher = nullptr; |
| 11848 |
return exchange( m_performanceConfigurationINTEL, nullptr ); |
| 11849 |
} |
| 11850 |
|
| 11851 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11852 |
{ |
| 11853 |
return m_device; |
| 11854 |
} |
| 11855 |
|
| 11856 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11857 |
{ |
| 11858 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11859 |
return m_dispatcher; |
| 11860 |
} |
| 11861 |
|
| 11862 |
void swap( PerformanceConfigurationINTEL & rhs ) VULKAN_HPP_NOEXCEPT |
| 11863 |
{ |
| 11864 |
std::swap( m_device, rhs.m_device ); |
| 11865 |
std::swap( m_performanceConfigurationINTEL, rhs.m_performanceConfigurationINTEL ); |
| 11866 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11867 |
} |
| 11868 |
|
| 11869 |
private: |
| 11870 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 11871 |
VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL m_performanceConfigurationINTEL = {}; |
| 11872 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 11873 |
}; |
| 11874 |
|
| 11875 |
template <> |
| 11876 |
struct isVulkanRAIIHandleType<PerformanceConfigurationINTEL> |
| 11877 |
{ |
| 11878 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 11879 |
}; |
| 11880 |
|
| 11881 |
// wrapper class for handle VkPipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPipelineCache.html |
| 11882 |
class PipelineCache |
| 11883 |
{ |
| 11884 |
public: |
| 11885 |
using CType = VkPipelineCache; |
| 11886 |
using CppType = VULKAN_HPP_NAMESPACE::PipelineCache; |
| 11887 |
|
| 11888 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePipelineCache; |
| 11889 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::ePipelineCache; |
| 11890 |
|
| 11891 |
public: |
| 11892 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 11893 |
PipelineCache( Device const & device, PipelineCacheCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11894 |
{ |
| 11895 |
*this = device.createPipelineCache( createInfo, allocator ); |
| 11896 |
} |
| 11897 |
# endif |
| 11898 |
|
| 11899 |
PipelineCache( Device const & device, VkPipelineCache pipelineCache, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 11900 |
: m_device( device ) |
| 11901 |
, m_pipelineCache( pipelineCache ) |
| 11902 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 11903 |
, m_dispatcher( device.getDispatcher() ) |
| 11904 |
{ |
| 11905 |
} |
| 11906 |
|
| 11907 |
PipelineCache( std::nullptr_t ) {} |
| 11908 |
|
| 11909 |
~PipelineCache() |
| 11910 |
{ |
| 11911 |
clear(); |
| 11912 |
} |
| 11913 |
|
| 11914 |
PipelineCache() = delete; |
| 11915 |
PipelineCache( PipelineCache const & ) = delete; |
| 11916 |
|
| 11917 |
PipelineCache( PipelineCache && rhs ) VULKAN_HPP_NOEXCEPT |
| 11918 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 11919 |
, m_pipelineCache( exchange( rhs.m_pipelineCache, {} ) ) |
| 11920 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 11921 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 11922 |
{ |
| 11923 |
} |
| 11924 |
|
| 11925 |
PipelineCache & operator=( PipelineCache const & ) = delete; |
| 11926 |
|
| 11927 |
PipelineCache & operator=( PipelineCache && rhs ) VULKAN_HPP_NOEXCEPT |
| 11928 |
{ |
| 11929 |
if ( this != &rhs ) |
| 11930 |
{ |
| 11931 |
std::swap( m_device, rhs.m_device ); |
| 11932 |
std::swap( m_pipelineCache, rhs.m_pipelineCache ); |
| 11933 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11934 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11935 |
} |
| 11936 |
return *this; |
| 11937 |
} |
| 11938 |
|
| 11939 |
VULKAN_HPP_NAMESPACE::PipelineCache const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 11940 |
{ |
| 11941 |
return m_pipelineCache; |
| 11942 |
} |
| 11943 |
|
| 11944 |
VULKAN_HPP_NAMESPACE::PipelineCache const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 11945 |
{ |
| 11946 |
return std::move( m_pipelineCache ); |
| 11947 |
} |
| 11948 |
|
| 11949 |
operator VULKAN_HPP_NAMESPACE::PipelineCache() const VULKAN_HPP_NOEXCEPT |
| 11950 |
{ |
| 11951 |
return m_pipelineCache; |
| 11952 |
} |
| 11953 |
|
| 11954 |
void clear() VULKAN_HPP_NOEXCEPT |
| 11955 |
{ |
| 11956 |
if ( m_pipelineCache ) |
| 11957 |
{ |
| 11958 |
getDispatcher()->vkDestroyPipelineCache( static_cast<VkDevice>( m_device ), |
| 11959 |
static_cast<VkPipelineCache>( m_pipelineCache ), |
| 11960 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 11961 |
} |
| 11962 |
m_device = nullptr; |
| 11963 |
m_pipelineCache = nullptr; |
| 11964 |
m_allocator = nullptr; |
| 11965 |
m_dispatcher = nullptr; |
| 11966 |
} |
| 11967 |
|
| 11968 |
VULKAN_HPP_NAMESPACE::PipelineCache release() |
| 11969 |
{ |
| 11970 |
m_device = nullptr; |
| 11971 |
m_allocator = nullptr; |
| 11972 |
m_dispatcher = nullptr; |
| 11973 |
return exchange( m_pipelineCache, nullptr ); |
| 11974 |
} |
| 11975 |
|
| 11976 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 11977 |
{ |
| 11978 |
return m_device; |
| 11979 |
} |
| 11980 |
|
| 11981 |
detail::DeviceDispatcher const * getDispatcher() const |
| 11982 |
{ |
| 11983 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 11984 |
return m_dispatcher; |
| 11985 |
} |
| 11986 |
|
| 11987 |
void swap( PipelineCache & rhs ) VULKAN_HPP_NOEXCEPT |
| 11988 |
{ |
| 11989 |
std::swap( m_device, rhs.m_device ); |
| 11990 |
std::swap( m_pipelineCache, rhs.m_pipelineCache ); |
| 11991 |
std::swap( m_allocator, rhs.m_allocator ); |
| 11992 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 11993 |
} |
| 11994 |
|
| 11995 |
//=== VK_VERSION_1_0 === |
| 11996 |
|
| 11997 |
// wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html |
| 11998 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<uint8_t>>::type getData() const; |
| 11999 |
|
| 12000 |
// wrapper function for command vkMergePipelineCaches, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergePipelineCaches.html |
| 12001 |
typename ResultValueType<void>::type merge( ArrayProxy<const VULKAN_HPP_NAMESPACE::PipelineCache> const & srcCaches ) const; |
| 12002 |
|
| 12003 |
private: |
| 12004 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 12005 |
VULKAN_HPP_NAMESPACE::PipelineCache m_pipelineCache = {}; |
| 12006 |
const AllocationCallbacks * m_allocator = {}; |
| 12007 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 12008 |
}; |
| 12009 |
|
| 12010 |
template <> |
| 12011 |
struct isVulkanRAIIHandleType<PipelineCache> |
| 12012 |
{ |
| 12013 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 12014 |
}; |
| 12015 |
|
| 12016 |
// wrapper class for handle VkPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPipeline.html |
| 12017 |
class Pipeline |
| 12018 |
{ |
| 12019 |
public: |
| 12020 |
using CType = VkPipeline; |
| 12021 |
using CppType = VULKAN_HPP_NAMESPACE::Pipeline; |
| 12022 |
|
| 12023 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePipeline; |
| 12024 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::ePipeline; |
| 12025 |
|
| 12026 |
public: |
| 12027 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12028 |
Pipeline( Device const & device, |
| 12029 |
Optional<const PipelineCache> const & pipelineCache, |
| 12030 |
ComputePipelineCreateInfo const & createInfo, |
| 12031 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12032 |
{ |
| 12033 |
*this = device.createComputePipeline( pipelineCache, createInfo, allocator ); |
| 12034 |
} |
| 12035 |
# endif |
| 12036 |
|
| 12037 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12038 |
Pipeline( Device const & device, |
| 12039 |
Optional<const DeferredOperationKHR> const & deferredOperation, |
| 12040 |
Optional<const PipelineCache> const & pipelineCache, |
| 12041 |
DataGraphPipelineCreateInfoARM const & createInfo, |
| 12042 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12043 |
{ |
| 12044 |
*this = device.createDataGraphPipelineARM( deferredOperation, pipelineCache, createInfo, allocator ); |
| 12045 |
} |
| 12046 |
# endif |
| 12047 |
|
| 12048 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12049 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 12050 |
Pipeline( Device const & device, |
| 12051 |
Optional<const PipelineCache> const & pipelineCache, |
| 12052 |
ExecutionGraphPipelineCreateInfoAMDX const & createInfo, |
| 12053 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12054 |
{ |
| 12055 |
*this = device.createExecutionGraphPipelineAMDX( pipelineCache, createInfo, allocator ); |
| 12056 |
} |
| 12057 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 12058 |
# endif |
| 12059 |
|
| 12060 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12061 |
Pipeline( Device const & device, |
| 12062 |
Optional<const PipelineCache> const & pipelineCache, |
| 12063 |
GraphicsPipelineCreateInfo const & createInfo, |
| 12064 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12065 |
{ |
| 12066 |
*this = device.createGraphicsPipeline( pipelineCache, createInfo, allocator ); |
| 12067 |
} |
| 12068 |
# endif |
| 12069 |
|
| 12070 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12071 |
Pipeline( Device const & device, |
| 12072 |
Optional<const DeferredOperationKHR> const & deferredOperation, |
| 12073 |
Optional<const PipelineCache> const & pipelineCache, |
| 12074 |
RayTracingPipelineCreateInfoKHR const & createInfo, |
| 12075 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12076 |
{ |
| 12077 |
*this = device.createRayTracingPipelineKHR( deferredOperation, pipelineCache, createInfo, allocator ); |
| 12078 |
} |
| 12079 |
# endif |
| 12080 |
|
| 12081 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12082 |
Pipeline( Device const & device, |
| 12083 |
Optional<const PipelineCache> const & pipelineCache, |
| 12084 |
RayTracingPipelineCreateInfoNV const & createInfo, |
| 12085 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12086 |
{ |
| 12087 |
*this = device.createRayTracingPipelineNV( pipelineCache, createInfo, allocator ); |
| 12088 |
} |
| 12089 |
# endif |
| 12090 |
|
| 12091 |
Pipeline( Device const & device, VkPipeline pipeline, Optional<const AllocationCallbacks> allocator = nullptr, Result successCode = Result::eSuccess ) |
| 12092 |
: m_device( device ) |
| 12093 |
, m_pipeline( pipeline ) |
| 12094 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 12095 |
, m_constructorSuccessCode( successCode ) |
| 12096 |
, m_dispatcher( device.getDispatcher() ) |
| 12097 |
{ |
| 12098 |
} |
| 12099 |
|
| 12100 |
Pipeline( std::nullptr_t ) {} |
| 12101 |
|
| 12102 |
~Pipeline() |
| 12103 |
{ |
| 12104 |
clear(); |
| 12105 |
} |
| 12106 |
|
| 12107 |
Pipeline() = delete; |
| 12108 |
Pipeline( Pipeline const & ) = delete; |
| 12109 |
|
| 12110 |
Pipeline( Pipeline && rhs ) VULKAN_HPP_NOEXCEPT |
| 12111 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 12112 |
, m_pipeline( exchange( rhs.m_pipeline, {} ) ) |
| 12113 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 12114 |
, m_constructorSuccessCode( exchange( rhs.m_constructorSuccessCode, {} ) ) |
| 12115 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 12116 |
{ |
| 12117 |
} |
| 12118 |
|
| 12119 |
Pipeline & operator=( Pipeline const & ) = delete; |
| 12120 |
|
| 12121 |
Pipeline & operator=( Pipeline && rhs ) VULKAN_HPP_NOEXCEPT |
| 12122 |
{ |
| 12123 |
if ( this != &rhs ) |
| 12124 |
{ |
| 12125 |
std::swap( m_device, rhs.m_device ); |
| 12126 |
std::swap( m_pipeline, rhs.m_pipeline ); |
| 12127 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12128 |
std::swap( m_constructorSuccessCode, rhs.m_constructorSuccessCode ); |
| 12129 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12130 |
} |
| 12131 |
return *this; |
| 12132 |
} |
| 12133 |
|
| 12134 |
VULKAN_HPP_NAMESPACE::Pipeline const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 12135 |
{ |
| 12136 |
return m_pipeline; |
| 12137 |
} |
| 12138 |
|
| 12139 |
VULKAN_HPP_NAMESPACE::Pipeline const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 12140 |
{ |
| 12141 |
return std::move( m_pipeline ); |
| 12142 |
} |
| 12143 |
|
| 12144 |
operator VULKAN_HPP_NAMESPACE::Pipeline() const VULKAN_HPP_NOEXCEPT |
| 12145 |
{ |
| 12146 |
return m_pipeline; |
| 12147 |
} |
| 12148 |
|
| 12149 |
void clear() VULKAN_HPP_NOEXCEPT |
| 12150 |
{ |
| 12151 |
if ( m_pipeline ) |
| 12152 |
{ |
| 12153 |
getDispatcher()->vkDestroyPipeline( |
| 12154 |
static_cast<VkDevice>( m_device ), static_cast<VkPipeline>( m_pipeline ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 12155 |
} |
| 12156 |
m_device = nullptr; |
| 12157 |
m_pipeline = nullptr; |
| 12158 |
m_allocator = nullptr; |
| 12159 |
m_constructorSuccessCode = Result::eErrorUnknown; |
| 12160 |
m_dispatcher = nullptr; |
| 12161 |
} |
| 12162 |
|
| 12163 |
VULKAN_HPP_NAMESPACE::Pipeline release() |
| 12164 |
{ |
| 12165 |
m_device = nullptr; |
| 12166 |
m_allocator = nullptr; |
| 12167 |
m_constructorSuccessCode = Result::eErrorUnknown; |
| 12168 |
m_dispatcher = nullptr; |
| 12169 |
return exchange( m_pipeline, nullptr ); |
| 12170 |
} |
| 12171 |
|
| 12172 |
Result getConstructorSuccessCode() const |
| 12173 |
{ |
| 12174 |
return m_constructorSuccessCode; |
| 12175 |
} |
| 12176 |
|
| 12177 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 12178 |
{ |
| 12179 |
return m_device; |
| 12180 |
} |
| 12181 |
|
| 12182 |
detail::DeviceDispatcher const * getDispatcher() const |
| 12183 |
{ |
| 12184 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 12185 |
return m_dispatcher; |
| 12186 |
} |
| 12187 |
|
| 12188 |
void swap( Pipeline & rhs ) VULKAN_HPP_NOEXCEPT |
| 12189 |
{ |
| 12190 |
std::swap( m_device, rhs.m_device ); |
| 12191 |
std::swap( m_pipeline, rhs.m_pipeline ); |
| 12192 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12193 |
std::swap( m_constructorSuccessCode, rhs.m_constructorSuccessCode ); |
| 12194 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12195 |
} |
| 12196 |
|
| 12197 |
//=== VK_AMD_shader_info === |
| 12198 |
|
| 12199 |
// wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html |
| 12200 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<uint8_t>>::type getShaderInfoAMD( ShaderStageFlagBits shaderStage, |
| 12201 |
ShaderInfoTypeAMD infoType ) const; |
| 12202 |
|
| 12203 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 12204 |
//=== VK_AMDX_shader_enqueue === |
| 12205 |
|
| 12206 |
// wrapper function for command vkGetExecutionGraphPipelineScratchSizeAMDX, see |
| 12207 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineScratchSizeAMDX.html |
| 12208 |
VULKAN_HPP_NODISCARD typename ResultValueType<ExecutionGraphPipelineScratchSizeAMDX>::type getExecutionGraphScratchSizeAMDX() const; |
| 12209 |
|
| 12210 |
// wrapper function for command vkGetExecutionGraphPipelineNodeIndexAMDX, see |
| 12211 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineNodeIndexAMDX.html |
| 12212 |
VULKAN_HPP_NODISCARD typename ResultValueType<uint32_t>::type |
| 12213 |
getExecutionGraphNodeIndexAMDX( const PipelineShaderStageNodeCreateInfoAMDX & nodeInfo ) const; |
| 12214 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 12215 |
|
| 12216 |
//=== VK_KHR_ray_tracing_pipeline === |
| 12217 |
|
| 12218 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see |
| 12219 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html |
| 12220 |
template <typename DataType> |
| 12221 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataType>>::type |
| 12222 |
getRayTracingShaderGroupHandlesKHR( uint32_t firstGroup, uint32_t groupCount, size_t dataSize ) const; |
| 12223 |
|
| 12224 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see |
| 12225 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html |
| 12226 |
template <typename DataType> |
| 12227 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type getRayTracingShaderGroupHandleKHR( uint32_t firstGroup, uint32_t groupCount ) const; |
| 12228 |
|
| 12229 |
// wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see |
| 12230 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html |
| 12231 |
template <typename DataType> |
| 12232 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataType>>::type |
| 12233 |
getRayTracingCaptureReplayShaderGroupHandlesKHR( uint32_t firstGroup, uint32_t groupCount, size_t dataSize ) const; |
| 12234 |
|
| 12235 |
// wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see |
| 12236 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html |
| 12237 |
template <typename DataType> |
| 12238 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type getRayTracingCaptureReplayShaderGroupHandleKHR( uint32_t firstGroup, |
| 12239 |
uint32_t groupCount ) const; |
| 12240 |
|
| 12241 |
// wrapper function for command vkGetRayTracingShaderGroupStackSizeKHR, see |
| 12242 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupStackSizeKHR.html |
| 12243 |
VULKAN_HPP_NODISCARD DeviceSize getRayTracingShaderGroupStackSizeKHR( uint32_t group, ShaderGroupShaderKHR groupShader ) const VULKAN_HPP_NOEXCEPT; |
| 12244 |
|
| 12245 |
//=== VK_NV_ray_tracing === |
| 12246 |
|
| 12247 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see |
| 12248 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html |
| 12249 |
template <typename DataType> |
| 12250 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<DataType>>::type |
| 12251 |
getRayTracingShaderGroupHandlesNV( uint32_t firstGroup, uint32_t groupCount, size_t dataSize ) const; |
| 12252 |
|
| 12253 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see |
| 12254 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html |
| 12255 |
template <typename DataType> |
| 12256 |
VULKAN_HPP_NODISCARD typename ResultValueType<DataType>::type getRayTracingShaderGroupHandleNV( uint32_t firstGroup, uint32_t groupCount ) const; |
| 12257 |
|
| 12258 |
// wrapper function for command vkCompileDeferredNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCompileDeferredNV.html |
| 12259 |
typename ResultValueType<void>::type compileDeferredNV( uint32_t shader ) const; |
| 12260 |
|
| 12261 |
private: |
| 12262 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 12263 |
VULKAN_HPP_NAMESPACE::Pipeline m_pipeline = {}; |
| 12264 |
const AllocationCallbacks * m_allocator = {}; |
| 12265 |
Result m_constructorSuccessCode = Result::eErrorUnknown; |
| 12266 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 12267 |
}; |
| 12268 |
|
| 12269 |
template <> |
| 12270 |
struct isVulkanRAIIHandleType<Pipeline> |
| 12271 |
{ |
| 12272 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 12273 |
}; |
| 12274 |
|
| 12275 |
class Pipelines : public std::vector<Pipeline> |
| 12276 |
{ |
| 12277 |
public: |
| 12278 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12279 |
Pipelines( Device const & device, |
| 12280 |
Optional<const PipelineCache> const & pipelineCache, |
| 12281 |
ArrayProxy<ComputePipelineCreateInfo> const & createInfos, |
| 12282 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12283 |
{ |
| 12284 |
*this = device.createComputePipelines( pipelineCache, createInfos, allocator ); |
| 12285 |
} |
| 12286 |
# endif |
| 12287 |
|
| 12288 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12289 |
Pipelines( Device const & device, |
| 12290 |
Optional<const DeferredOperationKHR> const & deferredOperation, |
| 12291 |
Optional<const PipelineCache> const & pipelineCache, |
| 12292 |
ArrayProxy<DataGraphPipelineCreateInfoARM> const & createInfos, |
| 12293 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12294 |
{ |
| 12295 |
*this = device.createDataGraphPipelinesARM( deferredOperation, pipelineCache, createInfos, allocator ); |
| 12296 |
} |
| 12297 |
# endif |
| 12298 |
|
| 12299 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12300 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 12301 |
Pipelines( Device const & device, |
| 12302 |
Optional<const PipelineCache> const & pipelineCache, |
| 12303 |
ArrayProxy<ExecutionGraphPipelineCreateInfoAMDX> const & createInfos, |
| 12304 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12305 |
{ |
| 12306 |
*this = device.createExecutionGraphPipelinesAMDX( pipelineCache, createInfos, allocator ); |
| 12307 |
} |
| 12308 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 12309 |
# endif |
| 12310 |
|
| 12311 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12312 |
Pipelines( Device const & device, |
| 12313 |
Optional<const PipelineCache> const & pipelineCache, |
| 12314 |
ArrayProxy<GraphicsPipelineCreateInfo> const & createInfos, |
| 12315 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12316 |
{ |
| 12317 |
*this = device.createGraphicsPipelines( pipelineCache, createInfos, allocator ); |
| 12318 |
} |
| 12319 |
# endif |
| 12320 |
|
| 12321 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12322 |
Pipelines( Device const & device, |
| 12323 |
Optional<const DeferredOperationKHR> const & deferredOperation, |
| 12324 |
Optional<const PipelineCache> const & pipelineCache, |
| 12325 |
ArrayProxy<RayTracingPipelineCreateInfoKHR> const & createInfos, |
| 12326 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12327 |
{ |
| 12328 |
*this = device.createRayTracingPipelinesKHR( deferredOperation, pipelineCache, createInfos, allocator ); |
| 12329 |
} |
| 12330 |
# endif |
| 12331 |
|
| 12332 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12333 |
Pipelines( Device const & device, |
| 12334 |
Optional<const PipelineCache> const & pipelineCache, |
| 12335 |
ArrayProxy<RayTracingPipelineCreateInfoNV> const & createInfos, |
| 12336 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12337 |
{ |
| 12338 |
*this = device.createRayTracingPipelinesNV( pipelineCache, createInfos, allocator ); |
| 12339 |
} |
| 12340 |
# endif |
| 12341 |
|
| 12342 |
Pipelines( std::nullptr_t ) {} |
| 12343 |
|
| 12344 |
Pipelines() = delete; |
| 12345 |
Pipelines( Pipelines const & ) = delete; |
| 12346 |
Pipelines( Pipelines && rhs ) = default; |
| 12347 |
Pipelines & operator=( Pipelines const & ) = delete; |
| 12348 |
Pipelines & operator=( Pipelines && rhs ) = default; |
| 12349 |
|
| 12350 |
Pipelines( std::vector<Pipeline> && rhs ) |
| 12351 |
{ |
| 12352 |
std::swap( *this, rhs ); |
| 12353 |
} |
| 12354 |
}; |
| 12355 |
|
| 12356 |
// wrapper class for handle VkPipelineBinaryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPipelineBinaryKHR.html |
| 12357 |
class PipelineBinaryKHR |
| 12358 |
{ |
| 12359 |
public: |
| 12360 |
using CType = VkPipelineBinaryKHR; |
| 12361 |
using CppType = VULKAN_HPP_NAMESPACE::PipelineBinaryKHR; |
| 12362 |
|
| 12363 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePipelineBinaryKHR; |
| 12364 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 12365 |
|
| 12366 |
public: |
| 12367 |
PipelineBinaryKHR( Device const & device, |
| 12368 |
VkPipelineBinaryKHR pipelineBinary, |
| 12369 |
Optional<const AllocationCallbacks> allocator = nullptr, |
| 12370 |
Result successCode = Result::eSuccess ) |
| 12371 |
: m_device( device ) |
| 12372 |
, m_pipelineBinaryKHR( pipelineBinary ) |
| 12373 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 12374 |
, m_constructorSuccessCode( successCode ) |
| 12375 |
, m_dispatcher( device.getDispatcher() ) |
| 12376 |
{ |
| 12377 |
} |
| 12378 |
|
| 12379 |
PipelineBinaryKHR( std::nullptr_t ) {} |
| 12380 |
|
| 12381 |
~PipelineBinaryKHR() |
| 12382 |
{ |
| 12383 |
clear(); |
| 12384 |
} |
| 12385 |
|
| 12386 |
PipelineBinaryKHR() = delete; |
| 12387 |
PipelineBinaryKHR( PipelineBinaryKHR const & ) = delete; |
| 12388 |
|
| 12389 |
PipelineBinaryKHR( PipelineBinaryKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 12390 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 12391 |
, m_pipelineBinaryKHR( exchange( rhs.m_pipelineBinaryKHR, {} ) ) |
| 12392 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 12393 |
, m_constructorSuccessCode( exchange( rhs.m_constructorSuccessCode, {} ) ) |
| 12394 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 12395 |
{ |
| 12396 |
} |
| 12397 |
|
| 12398 |
PipelineBinaryKHR & operator=( PipelineBinaryKHR const & ) = delete; |
| 12399 |
|
| 12400 |
PipelineBinaryKHR & operator=( PipelineBinaryKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 12401 |
{ |
| 12402 |
if ( this != &rhs ) |
| 12403 |
{ |
| 12404 |
std::swap( m_device, rhs.m_device ); |
| 12405 |
std::swap( m_pipelineBinaryKHR, rhs.m_pipelineBinaryKHR ); |
| 12406 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12407 |
std::swap( m_constructorSuccessCode, rhs.m_constructorSuccessCode ); |
| 12408 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12409 |
} |
| 12410 |
return *this; |
| 12411 |
} |
| 12412 |
|
| 12413 |
VULKAN_HPP_NAMESPACE::PipelineBinaryKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 12414 |
{ |
| 12415 |
return m_pipelineBinaryKHR; |
| 12416 |
} |
| 12417 |
|
| 12418 |
VULKAN_HPP_NAMESPACE::PipelineBinaryKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 12419 |
{ |
| 12420 |
return std::move( m_pipelineBinaryKHR ); |
| 12421 |
} |
| 12422 |
|
| 12423 |
operator VULKAN_HPP_NAMESPACE::PipelineBinaryKHR() const VULKAN_HPP_NOEXCEPT |
| 12424 |
{ |
| 12425 |
return m_pipelineBinaryKHR; |
| 12426 |
} |
| 12427 |
|
| 12428 |
void clear() VULKAN_HPP_NOEXCEPT |
| 12429 |
{ |
| 12430 |
if ( m_pipelineBinaryKHR ) |
| 12431 |
{ |
| 12432 |
getDispatcher()->vkDestroyPipelineBinaryKHR( static_cast<VkDevice>( m_device ), |
| 12433 |
static_cast<VkPipelineBinaryKHR>( m_pipelineBinaryKHR ), |
| 12434 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 12435 |
} |
| 12436 |
m_device = nullptr; |
| 12437 |
m_pipelineBinaryKHR = nullptr; |
| 12438 |
m_allocator = nullptr; |
| 12439 |
m_constructorSuccessCode = Result::eErrorUnknown; |
| 12440 |
m_dispatcher = nullptr; |
| 12441 |
} |
| 12442 |
|
| 12443 |
VULKAN_HPP_NAMESPACE::PipelineBinaryKHR release() |
| 12444 |
{ |
| 12445 |
m_device = nullptr; |
| 12446 |
m_allocator = nullptr; |
| 12447 |
m_constructorSuccessCode = Result::eErrorUnknown; |
| 12448 |
m_dispatcher = nullptr; |
| 12449 |
return exchange( m_pipelineBinaryKHR, nullptr ); |
| 12450 |
} |
| 12451 |
|
| 12452 |
Result getConstructorSuccessCode() const |
| 12453 |
{ |
| 12454 |
return m_constructorSuccessCode; |
| 12455 |
} |
| 12456 |
|
| 12457 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 12458 |
{ |
| 12459 |
return m_device; |
| 12460 |
} |
| 12461 |
|
| 12462 |
detail::DeviceDispatcher const * getDispatcher() const |
| 12463 |
{ |
| 12464 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 12465 |
return m_dispatcher; |
| 12466 |
} |
| 12467 |
|
| 12468 |
void swap( PipelineBinaryKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 12469 |
{ |
| 12470 |
std::swap( m_device, rhs.m_device ); |
| 12471 |
std::swap( m_pipelineBinaryKHR, rhs.m_pipelineBinaryKHR ); |
| 12472 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12473 |
std::swap( m_constructorSuccessCode, rhs.m_constructorSuccessCode ); |
| 12474 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12475 |
} |
| 12476 |
|
| 12477 |
private: |
| 12478 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 12479 |
VULKAN_HPP_NAMESPACE::PipelineBinaryKHR m_pipelineBinaryKHR = {}; |
| 12480 |
const AllocationCallbacks * m_allocator = {}; |
| 12481 |
Result m_constructorSuccessCode = Result::eErrorUnknown; |
| 12482 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 12483 |
}; |
| 12484 |
|
| 12485 |
template <> |
| 12486 |
struct isVulkanRAIIHandleType<PipelineBinaryKHR> |
| 12487 |
{ |
| 12488 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 12489 |
}; |
| 12490 |
|
| 12491 |
class PipelineBinaryKHRs : public std::vector<PipelineBinaryKHR> |
| 12492 |
{ |
| 12493 |
public: |
| 12494 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12495 |
PipelineBinaryKHRs( Device const & device, PipelineBinaryCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12496 |
{ |
| 12497 |
*this = device.createPipelineBinariesKHR( createInfo, allocator ); |
| 12498 |
} |
| 12499 |
# endif |
| 12500 |
|
| 12501 |
PipelineBinaryKHRs( std::nullptr_t ) {} |
| 12502 |
|
| 12503 |
PipelineBinaryKHRs() = delete; |
| 12504 |
PipelineBinaryKHRs( PipelineBinaryKHRs const & ) = delete; |
| 12505 |
PipelineBinaryKHRs( PipelineBinaryKHRs && rhs ) = default; |
| 12506 |
PipelineBinaryKHRs & operator=( PipelineBinaryKHRs const & ) = delete; |
| 12507 |
PipelineBinaryKHRs & operator=( PipelineBinaryKHRs && rhs ) = default; |
| 12508 |
|
| 12509 |
PipelineBinaryKHRs( std::vector<PipelineBinaryKHR> && rhs ) |
| 12510 |
{ |
| 12511 |
std::swap( *this, rhs ); |
| 12512 |
} |
| 12513 |
}; |
| 12514 |
|
| 12515 |
// wrapper class for handle VkPipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPipelineLayout.html |
| 12516 |
class PipelineLayout |
| 12517 |
{ |
| 12518 |
public: |
| 12519 |
using CType = VkPipelineLayout; |
| 12520 |
using CppType = VULKAN_HPP_NAMESPACE::PipelineLayout; |
| 12521 |
|
| 12522 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePipelineLayout; |
| 12523 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::ePipelineLayout; |
| 12524 |
|
| 12525 |
public: |
| 12526 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12527 |
PipelineLayout( Device const & device, PipelineLayoutCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12528 |
{ |
| 12529 |
*this = device.createPipelineLayout( createInfo, allocator ); |
| 12530 |
} |
| 12531 |
# endif |
| 12532 |
|
| 12533 |
PipelineLayout( Device const & device, VkPipelineLayout pipelineLayout, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12534 |
: m_device( device ) |
| 12535 |
, m_pipelineLayout( pipelineLayout ) |
| 12536 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 12537 |
, m_dispatcher( device.getDispatcher() ) |
| 12538 |
{ |
| 12539 |
} |
| 12540 |
|
| 12541 |
PipelineLayout( std::nullptr_t ) {} |
| 12542 |
|
| 12543 |
~PipelineLayout() |
| 12544 |
{ |
| 12545 |
clear(); |
| 12546 |
} |
| 12547 |
|
| 12548 |
PipelineLayout() = delete; |
| 12549 |
PipelineLayout( PipelineLayout const & ) = delete; |
| 12550 |
|
| 12551 |
PipelineLayout( PipelineLayout && rhs ) VULKAN_HPP_NOEXCEPT |
| 12552 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 12553 |
, m_pipelineLayout( exchange( rhs.m_pipelineLayout, {} ) ) |
| 12554 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 12555 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 12556 |
{ |
| 12557 |
} |
| 12558 |
|
| 12559 |
PipelineLayout & operator=( PipelineLayout const & ) = delete; |
| 12560 |
|
| 12561 |
PipelineLayout & operator=( PipelineLayout && rhs ) VULKAN_HPP_NOEXCEPT |
| 12562 |
{ |
| 12563 |
if ( this != &rhs ) |
| 12564 |
{ |
| 12565 |
std::swap( m_device, rhs.m_device ); |
| 12566 |
std::swap( m_pipelineLayout, rhs.m_pipelineLayout ); |
| 12567 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12568 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12569 |
} |
| 12570 |
return *this; |
| 12571 |
} |
| 12572 |
|
| 12573 |
VULKAN_HPP_NAMESPACE::PipelineLayout const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 12574 |
{ |
| 12575 |
return m_pipelineLayout; |
| 12576 |
} |
| 12577 |
|
| 12578 |
VULKAN_HPP_NAMESPACE::PipelineLayout const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 12579 |
{ |
| 12580 |
return std::move( m_pipelineLayout ); |
| 12581 |
} |
| 12582 |
|
| 12583 |
operator VULKAN_HPP_NAMESPACE::PipelineLayout() const VULKAN_HPP_NOEXCEPT |
| 12584 |
{ |
| 12585 |
return m_pipelineLayout; |
| 12586 |
} |
| 12587 |
|
| 12588 |
void clear() VULKAN_HPP_NOEXCEPT |
| 12589 |
{ |
| 12590 |
if ( m_pipelineLayout ) |
| 12591 |
{ |
| 12592 |
getDispatcher()->vkDestroyPipelineLayout( static_cast<VkDevice>( m_device ), |
| 12593 |
static_cast<VkPipelineLayout>( m_pipelineLayout ), |
| 12594 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 12595 |
} |
| 12596 |
m_device = nullptr; |
| 12597 |
m_pipelineLayout = nullptr; |
| 12598 |
m_allocator = nullptr; |
| 12599 |
m_dispatcher = nullptr; |
| 12600 |
} |
| 12601 |
|
| 12602 |
VULKAN_HPP_NAMESPACE::PipelineLayout release() |
| 12603 |
{ |
| 12604 |
m_device = nullptr; |
| 12605 |
m_allocator = nullptr; |
| 12606 |
m_dispatcher = nullptr; |
| 12607 |
return exchange( m_pipelineLayout, nullptr ); |
| 12608 |
} |
| 12609 |
|
| 12610 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 12611 |
{ |
| 12612 |
return m_device; |
| 12613 |
} |
| 12614 |
|
| 12615 |
detail::DeviceDispatcher const * getDispatcher() const |
| 12616 |
{ |
| 12617 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 12618 |
return m_dispatcher; |
| 12619 |
} |
| 12620 |
|
| 12621 |
void swap( PipelineLayout & rhs ) VULKAN_HPP_NOEXCEPT |
| 12622 |
{ |
| 12623 |
std::swap( m_device, rhs.m_device ); |
| 12624 |
std::swap( m_pipelineLayout, rhs.m_pipelineLayout ); |
| 12625 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12626 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12627 |
} |
| 12628 |
|
| 12629 |
private: |
| 12630 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 12631 |
VULKAN_HPP_NAMESPACE::PipelineLayout m_pipelineLayout = {}; |
| 12632 |
const AllocationCallbacks * m_allocator = {}; |
| 12633 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 12634 |
}; |
| 12635 |
|
| 12636 |
template <> |
| 12637 |
struct isVulkanRAIIHandleType<PipelineLayout> |
| 12638 |
{ |
| 12639 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 12640 |
}; |
| 12641 |
|
| 12642 |
// wrapper class for handle VkPrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkPrivateDataSlot.html |
| 12643 |
class PrivateDataSlot |
| 12644 |
{ |
| 12645 |
public: |
| 12646 |
using CType = VkPrivateDataSlot; |
| 12647 |
using CppType = VULKAN_HPP_NAMESPACE::PrivateDataSlot; |
| 12648 |
|
| 12649 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::ePrivateDataSlot; |
| 12650 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 12651 |
|
| 12652 |
public: |
| 12653 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12654 |
PrivateDataSlot( Device const & device, PrivateDataSlotCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12655 |
{ |
| 12656 |
*this = device.createPrivateDataSlot( createInfo, allocator ); |
| 12657 |
} |
| 12658 |
# endif |
| 12659 |
|
| 12660 |
PrivateDataSlot( Device const & device, VkPrivateDataSlot privateDataSlot, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12661 |
: m_device( device ) |
| 12662 |
, m_privateDataSlot( privateDataSlot ) |
| 12663 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 12664 |
, m_dispatcher( device.getDispatcher() ) |
| 12665 |
{ |
| 12666 |
} |
| 12667 |
|
| 12668 |
PrivateDataSlot( std::nullptr_t ) {} |
| 12669 |
|
| 12670 |
~PrivateDataSlot() |
| 12671 |
{ |
| 12672 |
clear(); |
| 12673 |
} |
| 12674 |
|
| 12675 |
PrivateDataSlot() = delete; |
| 12676 |
PrivateDataSlot( PrivateDataSlot const & ) = delete; |
| 12677 |
|
| 12678 |
PrivateDataSlot( PrivateDataSlot && rhs ) VULKAN_HPP_NOEXCEPT |
| 12679 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 12680 |
, m_privateDataSlot( exchange( rhs.m_privateDataSlot, {} ) ) |
| 12681 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 12682 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 12683 |
{ |
| 12684 |
} |
| 12685 |
|
| 12686 |
PrivateDataSlot & operator=( PrivateDataSlot const & ) = delete; |
| 12687 |
|
| 12688 |
PrivateDataSlot & operator=( PrivateDataSlot && rhs ) VULKAN_HPP_NOEXCEPT |
| 12689 |
{ |
| 12690 |
if ( this != &rhs ) |
| 12691 |
{ |
| 12692 |
std::swap( m_device, rhs.m_device ); |
| 12693 |
std::swap( m_privateDataSlot, rhs.m_privateDataSlot ); |
| 12694 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12695 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12696 |
} |
| 12697 |
return *this; |
| 12698 |
} |
| 12699 |
|
| 12700 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 12701 |
{ |
| 12702 |
return m_privateDataSlot; |
| 12703 |
} |
| 12704 |
|
| 12705 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 12706 |
{ |
| 12707 |
return std::move( m_privateDataSlot ); |
| 12708 |
} |
| 12709 |
|
| 12710 |
operator VULKAN_HPP_NAMESPACE::PrivateDataSlot() const VULKAN_HPP_NOEXCEPT |
| 12711 |
{ |
| 12712 |
return m_privateDataSlot; |
| 12713 |
} |
| 12714 |
|
| 12715 |
void clear() VULKAN_HPP_NOEXCEPT |
| 12716 |
{ |
| 12717 |
if ( m_privateDataSlot ) |
| 12718 |
{ |
| 12719 |
getDispatcher()->vkDestroyPrivateDataSlot( static_cast<VkDevice>( m_device ), |
| 12720 |
static_cast<VkPrivateDataSlot>( m_privateDataSlot ), |
| 12721 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 12722 |
} |
| 12723 |
m_device = nullptr; |
| 12724 |
m_privateDataSlot = nullptr; |
| 12725 |
m_allocator = nullptr; |
| 12726 |
m_dispatcher = nullptr; |
| 12727 |
} |
| 12728 |
|
| 12729 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot release() |
| 12730 |
{ |
| 12731 |
m_device = nullptr; |
| 12732 |
m_allocator = nullptr; |
| 12733 |
m_dispatcher = nullptr; |
| 12734 |
return exchange( m_privateDataSlot, nullptr ); |
| 12735 |
} |
| 12736 |
|
| 12737 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 12738 |
{ |
| 12739 |
return m_device; |
| 12740 |
} |
| 12741 |
|
| 12742 |
detail::DeviceDispatcher const * getDispatcher() const |
| 12743 |
{ |
| 12744 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 12745 |
return m_dispatcher; |
| 12746 |
} |
| 12747 |
|
| 12748 |
void swap( PrivateDataSlot & rhs ) VULKAN_HPP_NOEXCEPT |
| 12749 |
{ |
| 12750 |
std::swap( m_device, rhs.m_device ); |
| 12751 |
std::swap( m_privateDataSlot, rhs.m_privateDataSlot ); |
| 12752 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12753 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12754 |
} |
| 12755 |
|
| 12756 |
private: |
| 12757 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 12758 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot m_privateDataSlot = {}; |
| 12759 |
const AllocationCallbacks * m_allocator = {}; |
| 12760 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 12761 |
}; |
| 12762 |
|
| 12763 |
template <> |
| 12764 |
struct isVulkanRAIIHandleType<PrivateDataSlot> |
| 12765 |
{ |
| 12766 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 12767 |
}; |
| 12768 |
|
| 12769 |
// wrapper class for handle VkQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkQueryPool.html |
| 12770 |
class QueryPool |
| 12771 |
{ |
| 12772 |
public: |
| 12773 |
using CType = VkQueryPool; |
| 12774 |
using CppType = VULKAN_HPP_NAMESPACE::QueryPool; |
| 12775 |
|
| 12776 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eQueryPool; |
| 12777 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eQueryPool; |
| 12778 |
|
| 12779 |
public: |
| 12780 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12781 |
QueryPool( Device const & device, QueryPoolCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12782 |
{ |
| 12783 |
*this = device.createQueryPool( createInfo, allocator ); |
| 12784 |
} |
| 12785 |
# endif |
| 12786 |
|
| 12787 |
QueryPool( Device const & device, VkQueryPool queryPool, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 12788 |
: m_device( device ) |
| 12789 |
, m_queryPool( queryPool ) |
| 12790 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 12791 |
, m_dispatcher( device.getDispatcher() ) |
| 12792 |
{ |
| 12793 |
} |
| 12794 |
|
| 12795 |
QueryPool( std::nullptr_t ) {} |
| 12796 |
|
| 12797 |
~QueryPool() |
| 12798 |
{ |
| 12799 |
clear(); |
| 12800 |
} |
| 12801 |
|
| 12802 |
QueryPool() = delete; |
| 12803 |
QueryPool( QueryPool const & ) = delete; |
| 12804 |
|
| 12805 |
QueryPool( QueryPool && rhs ) VULKAN_HPP_NOEXCEPT |
| 12806 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 12807 |
, m_queryPool( exchange( rhs.m_queryPool, {} ) ) |
| 12808 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 12809 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 12810 |
{ |
| 12811 |
} |
| 12812 |
|
| 12813 |
QueryPool & operator=( QueryPool const & ) = delete; |
| 12814 |
|
| 12815 |
QueryPool & operator=( QueryPool && rhs ) VULKAN_HPP_NOEXCEPT |
| 12816 |
{ |
| 12817 |
if ( this != &rhs ) |
| 12818 |
{ |
| 12819 |
std::swap( m_device, rhs.m_device ); |
| 12820 |
std::swap( m_queryPool, rhs.m_queryPool ); |
| 12821 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12822 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12823 |
} |
| 12824 |
return *this; |
| 12825 |
} |
| 12826 |
|
| 12827 |
VULKAN_HPP_NAMESPACE::QueryPool const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 12828 |
{ |
| 12829 |
return m_queryPool; |
| 12830 |
} |
| 12831 |
|
| 12832 |
VULKAN_HPP_NAMESPACE::QueryPool const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 12833 |
{ |
| 12834 |
return std::move( m_queryPool ); |
| 12835 |
} |
| 12836 |
|
| 12837 |
operator VULKAN_HPP_NAMESPACE::QueryPool() const VULKAN_HPP_NOEXCEPT |
| 12838 |
{ |
| 12839 |
return m_queryPool; |
| 12840 |
} |
| 12841 |
|
| 12842 |
void clear() VULKAN_HPP_NOEXCEPT |
| 12843 |
{ |
| 12844 |
if ( m_queryPool ) |
| 12845 |
{ |
| 12846 |
getDispatcher()->vkDestroyQueryPool( |
| 12847 |
static_cast<VkDevice>( m_device ), static_cast<VkQueryPool>( m_queryPool ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 12848 |
} |
| 12849 |
m_device = nullptr; |
| 12850 |
m_queryPool = nullptr; |
| 12851 |
m_allocator = nullptr; |
| 12852 |
m_dispatcher = nullptr; |
| 12853 |
} |
| 12854 |
|
| 12855 |
VULKAN_HPP_NAMESPACE::QueryPool release() |
| 12856 |
{ |
| 12857 |
m_device = nullptr; |
| 12858 |
m_allocator = nullptr; |
| 12859 |
m_dispatcher = nullptr; |
| 12860 |
return exchange( m_queryPool, nullptr ); |
| 12861 |
} |
| 12862 |
|
| 12863 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 12864 |
{ |
| 12865 |
return m_device; |
| 12866 |
} |
| 12867 |
|
| 12868 |
detail::DeviceDispatcher const * getDispatcher() const |
| 12869 |
{ |
| 12870 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 12871 |
return m_dispatcher; |
| 12872 |
} |
| 12873 |
|
| 12874 |
void swap( QueryPool & rhs ) VULKAN_HPP_NOEXCEPT |
| 12875 |
{ |
| 12876 |
std::swap( m_device, rhs.m_device ); |
| 12877 |
std::swap( m_queryPool, rhs.m_queryPool ); |
| 12878 |
std::swap( m_allocator, rhs.m_allocator ); |
| 12879 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12880 |
} |
| 12881 |
|
| 12882 |
//=== VK_VERSION_1_0 === |
| 12883 |
|
| 12884 |
// wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html |
| 12885 |
template <typename DataType> |
| 12886 |
VULKAN_HPP_NODISCARD ResultValue<std::vector<DataType>> getResults( |
| 12887 |
uint32_t firstQuery, uint32_t queryCount, size_t dataSize, DeviceSize stride, QueryResultFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 12888 |
|
| 12889 |
// wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html |
| 12890 |
template <typename DataType> |
| 12891 |
VULKAN_HPP_NODISCARD ResultValue<DataType> |
| 12892 |
getResult( uint32_t firstQuery, uint32_t queryCount, DeviceSize stride, QueryResultFlags flags VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 12893 |
|
| 12894 |
//=== VK_VERSION_1_2 === |
| 12895 |
|
| 12896 |
// wrapper function for command vkResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPool.html |
| 12897 |
void reset( uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT; |
| 12898 |
|
| 12899 |
//=== VK_EXT_host_query_reset === |
| 12900 |
|
| 12901 |
// wrapper function for command vkResetQueryPoolEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPoolEXT.html |
| 12902 |
void resetEXT( uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT; |
| 12903 |
|
| 12904 |
private: |
| 12905 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 12906 |
VULKAN_HPP_NAMESPACE::QueryPool m_queryPool = {}; |
| 12907 |
const AllocationCallbacks * m_allocator = {}; |
| 12908 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 12909 |
}; |
| 12910 |
|
| 12911 |
template <> |
| 12912 |
struct isVulkanRAIIHandleType<QueryPool> |
| 12913 |
{ |
| 12914 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 12915 |
}; |
| 12916 |
|
| 12917 |
// wrapper class for handle VkQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkQueue.html |
| 12918 |
class Queue |
| 12919 |
{ |
| 12920 |
public: |
| 12921 |
using CType = VkQueue; |
| 12922 |
using CppType = VULKAN_HPP_NAMESPACE::Queue; |
| 12923 |
|
| 12924 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eQueue; |
| 12925 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eQueue; |
| 12926 |
|
| 12927 |
public: |
| 12928 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12929 |
Queue( Device const & device, uint32_t queueFamilyIndex, uint32_t queueIndex ) |
| 12930 |
{ |
| 12931 |
*this = device.getQueue( queueFamilyIndex, queueIndex ); |
| 12932 |
} |
| 12933 |
# endif |
| 12934 |
|
| 12935 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 12936 |
Queue( Device const & device, DeviceQueueInfo2 const & queueInfo ) |
| 12937 |
{ |
| 12938 |
*this = device.getQueue2( queueInfo ); |
| 12939 |
} |
| 12940 |
# endif |
| 12941 |
|
| 12942 |
Queue( Device const & device, VkQueue queue ) : m_queue( queue ), m_dispatcher( device.getDispatcher() ) {} |
| 12943 |
|
| 12944 |
Queue( std::nullptr_t ) {} |
| 12945 |
|
| 12946 |
~Queue() |
| 12947 |
{ |
| 12948 |
clear(); |
| 12949 |
} |
| 12950 |
|
| 12951 |
Queue() = delete; |
| 12952 |
|
| 12953 |
Queue( Queue const & rhs ) : m_queue( rhs.m_queue ), m_dispatcher( rhs.m_dispatcher ) {} |
| 12954 |
|
| 12955 |
Queue( Queue && rhs ) VULKAN_HPP_NOEXCEPT |
| 12956 |
: m_queue( exchange( rhs.m_queue, {} ) ) |
| 12957 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 12958 |
{ |
| 12959 |
} |
| 12960 |
|
| 12961 |
Queue & operator=( Queue const & rhs ) |
| 12962 |
{ |
| 12963 |
m_queue = rhs.m_queue; |
| 12964 |
m_dispatcher = rhs.m_dispatcher; |
| 12965 |
return *this; |
| 12966 |
} |
| 12967 |
|
| 12968 |
Queue & operator=( Queue && rhs ) VULKAN_HPP_NOEXCEPT |
| 12969 |
{ |
| 12970 |
if ( this != &rhs ) |
| 12971 |
{ |
| 12972 |
std::swap( m_queue, rhs.m_queue ); |
| 12973 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 12974 |
} |
| 12975 |
return *this; |
| 12976 |
} |
| 12977 |
|
| 12978 |
VULKAN_HPP_NAMESPACE::Queue const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 12979 |
{ |
| 12980 |
return m_queue; |
| 12981 |
} |
| 12982 |
|
| 12983 |
VULKAN_HPP_NAMESPACE::Queue const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 12984 |
{ |
| 12985 |
return std::move( m_queue ); |
| 12986 |
} |
| 12987 |
|
| 12988 |
operator VULKAN_HPP_NAMESPACE::Queue() const VULKAN_HPP_NOEXCEPT |
| 12989 |
{ |
| 12990 |
return m_queue; |
| 12991 |
} |
| 12992 |
|
| 12993 |
void clear() VULKAN_HPP_NOEXCEPT |
| 12994 |
{ |
| 12995 |
m_queue = nullptr; |
| 12996 |
m_dispatcher = nullptr; |
| 12997 |
} |
| 12998 |
|
| 12999 |
VULKAN_HPP_NAMESPACE::Queue release() |
| 13000 |
{ |
| 13001 |
m_dispatcher = nullptr; |
| 13002 |
return exchange( m_queue, nullptr ); |
| 13003 |
} |
| 13004 |
|
| 13005 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13006 |
{ |
| 13007 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13008 |
return m_dispatcher; |
| 13009 |
} |
| 13010 |
|
| 13011 |
void swap( Queue & rhs ) VULKAN_HPP_NOEXCEPT |
| 13012 |
{ |
| 13013 |
std::swap( m_queue, rhs.m_queue ); |
| 13014 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13015 |
} |
| 13016 |
|
| 13017 |
//=== VK_VERSION_1_0 === |
| 13018 |
|
| 13019 |
// wrapper function for command vkQueueSubmit, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit.html |
| 13020 |
typename ResultValueType<void>::type submit( ArrayProxy<const SubmitInfo> const & submits, |
| 13021 |
VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 13022 |
|
| 13023 |
// wrapper function for command vkQueueWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueWaitIdle.html |
| 13024 |
typename ResultValueType<void>::type waitIdle() const; |
| 13025 |
|
| 13026 |
// wrapper function for command vkQueueBindSparse, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBindSparse.html |
| 13027 |
typename ResultValueType<void>::type bindSparse( ArrayProxy<const BindSparseInfo> const & bindInfo, |
| 13028 |
VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 13029 |
|
| 13030 |
//=== VK_VERSION_1_3 === |
| 13031 |
|
| 13032 |
// wrapper function for command vkQueueSubmit2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2.html |
| 13033 |
typename ResultValueType<void>::type submit2( ArrayProxy<const SubmitInfo2> const & submits, |
| 13034 |
VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 13035 |
|
| 13036 |
//=== VK_KHR_swapchain === |
| 13037 |
|
| 13038 |
// wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html |
| 13039 |
VULKAN_HPP_NODISCARD Result presentKHR( const PresentInfoKHR & presentInfo ) const; |
| 13040 |
|
| 13041 |
//=== VK_EXT_debug_utils === |
| 13042 |
|
| 13043 |
// wrapper function for command vkQueueBeginDebugUtilsLabelEXT, see |
| 13044 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBeginDebugUtilsLabelEXT.html |
| 13045 |
void beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT; |
| 13046 |
|
| 13047 |
// wrapper function for command vkQueueEndDebugUtilsLabelEXT, see |
| 13048 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueEndDebugUtilsLabelEXT.html |
| 13049 |
void endDebugUtilsLabelEXT() const VULKAN_HPP_NOEXCEPT; |
| 13050 |
|
| 13051 |
// wrapper function for command vkQueueInsertDebugUtilsLabelEXT, see |
| 13052 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueInsertDebugUtilsLabelEXT.html |
| 13053 |
void insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT; |
| 13054 |
|
| 13055 |
//=== VK_NV_device_diagnostic_checkpoints === |
| 13056 |
|
| 13057 |
// wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html |
| 13058 |
VULKAN_HPP_NODISCARD std::vector<CheckpointDataNV> getCheckpointDataNV() const; |
| 13059 |
|
| 13060 |
// wrapper function for command vkGetQueueCheckpointData2NV, see |
| 13061 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html |
| 13062 |
VULKAN_HPP_NODISCARD std::vector<CheckpointData2NV> getCheckpointData2NV() const; |
| 13063 |
|
| 13064 |
//=== VK_INTEL_performance_query === |
| 13065 |
|
| 13066 |
// wrapper function for command vkQueueSetPerformanceConfigurationINTEL, see |
| 13067 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerformanceConfigurationINTEL.html |
| 13068 |
typename ResultValueType<void>::type setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration ) const; |
| 13069 |
|
| 13070 |
//=== VK_KHR_synchronization2 === |
| 13071 |
|
| 13072 |
// wrapper function for command vkQueueSubmit2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2KHR.html |
| 13073 |
typename ResultValueType<void>::type submit2KHR( ArrayProxy<const SubmitInfo2> const & submits, |
| 13074 |
VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 13075 |
|
| 13076 |
//=== VK_NV_low_latency2 === |
| 13077 |
|
| 13078 |
// wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html |
| 13079 |
void notifyOutOfBandNV( const OutOfBandQueueTypeInfoNV & queueTypeInfo ) const VULKAN_HPP_NOEXCEPT; |
| 13080 |
|
| 13081 |
private: |
| 13082 |
VULKAN_HPP_NAMESPACE::Queue m_queue = {}; |
| 13083 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13084 |
}; |
| 13085 |
|
| 13086 |
template <> |
| 13087 |
struct isVulkanRAIIHandleType<Queue> |
| 13088 |
{ |
| 13089 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13090 |
}; |
| 13091 |
|
| 13092 |
// wrapper class for handle VkRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkRenderPass.html |
| 13093 |
class RenderPass |
| 13094 |
{ |
| 13095 |
public: |
| 13096 |
using CType = VkRenderPass; |
| 13097 |
using CppType = VULKAN_HPP_NAMESPACE::RenderPass; |
| 13098 |
|
| 13099 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eRenderPass; |
| 13100 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eRenderPass; |
| 13101 |
|
| 13102 |
public: |
| 13103 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13104 |
RenderPass( Device const & device, RenderPassCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13105 |
{ |
| 13106 |
*this = device.createRenderPass( createInfo, allocator ); |
| 13107 |
} |
| 13108 |
# endif |
| 13109 |
|
| 13110 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13111 |
RenderPass( Device const & device, RenderPassCreateInfo2 const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13112 |
{ |
| 13113 |
*this = device.createRenderPass2( createInfo, allocator ); |
| 13114 |
} |
| 13115 |
# endif |
| 13116 |
|
| 13117 |
RenderPass( Device const & device, VkRenderPass renderPass, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13118 |
: m_device( device ) |
| 13119 |
, m_renderPass( renderPass ) |
| 13120 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 13121 |
, m_dispatcher( device.getDispatcher() ) |
| 13122 |
{ |
| 13123 |
} |
| 13124 |
|
| 13125 |
RenderPass( std::nullptr_t ) {} |
| 13126 |
|
| 13127 |
~RenderPass() |
| 13128 |
{ |
| 13129 |
clear(); |
| 13130 |
} |
| 13131 |
|
| 13132 |
RenderPass() = delete; |
| 13133 |
RenderPass( RenderPass const & ) = delete; |
| 13134 |
|
| 13135 |
RenderPass( RenderPass && rhs ) VULKAN_HPP_NOEXCEPT |
| 13136 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 13137 |
, m_renderPass( exchange( rhs.m_renderPass, {} ) ) |
| 13138 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 13139 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 13140 |
{ |
| 13141 |
} |
| 13142 |
|
| 13143 |
RenderPass & operator=( RenderPass const & ) = delete; |
| 13144 |
|
| 13145 |
RenderPass & operator=( RenderPass && rhs ) VULKAN_HPP_NOEXCEPT |
| 13146 |
{ |
| 13147 |
if ( this != &rhs ) |
| 13148 |
{ |
| 13149 |
std::swap( m_device, rhs.m_device ); |
| 13150 |
std::swap( m_renderPass, rhs.m_renderPass ); |
| 13151 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13152 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13153 |
} |
| 13154 |
return *this; |
| 13155 |
} |
| 13156 |
|
| 13157 |
VULKAN_HPP_NAMESPACE::RenderPass const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 13158 |
{ |
| 13159 |
return m_renderPass; |
| 13160 |
} |
| 13161 |
|
| 13162 |
VULKAN_HPP_NAMESPACE::RenderPass const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 13163 |
{ |
| 13164 |
return std::move( m_renderPass ); |
| 13165 |
} |
| 13166 |
|
| 13167 |
operator VULKAN_HPP_NAMESPACE::RenderPass() const VULKAN_HPP_NOEXCEPT |
| 13168 |
{ |
| 13169 |
return m_renderPass; |
| 13170 |
} |
| 13171 |
|
| 13172 |
void clear() VULKAN_HPP_NOEXCEPT |
| 13173 |
{ |
| 13174 |
if ( m_renderPass ) |
| 13175 |
{ |
| 13176 |
getDispatcher()->vkDestroyRenderPass( |
| 13177 |
static_cast<VkDevice>( m_device ), static_cast<VkRenderPass>( m_renderPass ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 13178 |
} |
| 13179 |
m_device = nullptr; |
| 13180 |
m_renderPass = nullptr; |
| 13181 |
m_allocator = nullptr; |
| 13182 |
m_dispatcher = nullptr; |
| 13183 |
} |
| 13184 |
|
| 13185 |
VULKAN_HPP_NAMESPACE::RenderPass release() |
| 13186 |
{ |
| 13187 |
m_device = nullptr; |
| 13188 |
m_allocator = nullptr; |
| 13189 |
m_dispatcher = nullptr; |
| 13190 |
return exchange( m_renderPass, nullptr ); |
| 13191 |
} |
| 13192 |
|
| 13193 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 13194 |
{ |
| 13195 |
return m_device; |
| 13196 |
} |
| 13197 |
|
| 13198 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13199 |
{ |
| 13200 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13201 |
return m_dispatcher; |
| 13202 |
} |
| 13203 |
|
| 13204 |
void swap( RenderPass & rhs ) VULKAN_HPP_NOEXCEPT |
| 13205 |
{ |
| 13206 |
std::swap( m_device, rhs.m_device ); |
| 13207 |
std::swap( m_renderPass, rhs.m_renderPass ); |
| 13208 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13209 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13210 |
} |
| 13211 |
|
| 13212 |
//=== VK_VERSION_1_0 === |
| 13213 |
|
| 13214 |
// wrapper function for command vkGetRenderAreaGranularity, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderAreaGranularity.html |
| 13215 |
VULKAN_HPP_NODISCARD Extent2D getRenderAreaGranularity() const VULKAN_HPP_NOEXCEPT; |
| 13216 |
|
| 13217 |
//=== VK_HUAWEI_subpass_shading === |
| 13218 |
|
| 13219 |
// wrapper function for command vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, see |
| 13220 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html |
| 13221 |
VULKAN_HPP_NODISCARD typename ResultValueType<Extent2D>::type getSubpassShadingMaxWorkgroupSizeHUAWEI() const; |
| 13222 |
|
| 13223 |
private: |
| 13224 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 13225 |
VULKAN_HPP_NAMESPACE::RenderPass m_renderPass = {}; |
| 13226 |
const AllocationCallbacks * m_allocator = {}; |
| 13227 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13228 |
}; |
| 13229 |
|
| 13230 |
template <> |
| 13231 |
struct isVulkanRAIIHandleType<RenderPass> |
| 13232 |
{ |
| 13233 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13234 |
}; |
| 13235 |
|
| 13236 |
// wrapper class for handle VkSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkSampler.html |
| 13237 |
class Sampler |
| 13238 |
{ |
| 13239 |
public: |
| 13240 |
using CType = VkSampler; |
| 13241 |
using CppType = VULKAN_HPP_NAMESPACE::Sampler; |
| 13242 |
|
| 13243 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eSampler; |
| 13244 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eSampler; |
| 13245 |
|
| 13246 |
public: |
| 13247 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13248 |
Sampler( Device const & device, SamplerCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13249 |
{ |
| 13250 |
*this = device.createSampler( createInfo, allocator ); |
| 13251 |
} |
| 13252 |
# endif |
| 13253 |
|
| 13254 |
Sampler( Device const & device, VkSampler sampler, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13255 |
: m_device( device ), m_sampler( sampler ), m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ), m_dispatcher( device.getDispatcher() ) |
| 13256 |
{ |
| 13257 |
} |
| 13258 |
|
| 13259 |
Sampler( std::nullptr_t ) {} |
| 13260 |
|
| 13261 |
~Sampler() |
| 13262 |
{ |
| 13263 |
clear(); |
| 13264 |
} |
| 13265 |
|
| 13266 |
Sampler() = delete; |
| 13267 |
Sampler( Sampler const & ) = delete; |
| 13268 |
|
| 13269 |
Sampler( Sampler && rhs ) VULKAN_HPP_NOEXCEPT |
| 13270 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 13271 |
, m_sampler( exchange( rhs.m_sampler, {} ) ) |
| 13272 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 13273 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 13274 |
{ |
| 13275 |
} |
| 13276 |
|
| 13277 |
Sampler & operator=( Sampler const & ) = delete; |
| 13278 |
|
| 13279 |
Sampler & operator=( Sampler && rhs ) VULKAN_HPP_NOEXCEPT |
| 13280 |
{ |
| 13281 |
if ( this != &rhs ) |
| 13282 |
{ |
| 13283 |
std::swap( m_device, rhs.m_device ); |
| 13284 |
std::swap( m_sampler, rhs.m_sampler ); |
| 13285 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13286 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13287 |
} |
| 13288 |
return *this; |
| 13289 |
} |
| 13290 |
|
| 13291 |
VULKAN_HPP_NAMESPACE::Sampler const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 13292 |
{ |
| 13293 |
return m_sampler; |
| 13294 |
} |
| 13295 |
|
| 13296 |
VULKAN_HPP_NAMESPACE::Sampler const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 13297 |
{ |
| 13298 |
return std::move( m_sampler ); |
| 13299 |
} |
| 13300 |
|
| 13301 |
operator VULKAN_HPP_NAMESPACE::Sampler() const VULKAN_HPP_NOEXCEPT |
| 13302 |
{ |
| 13303 |
return m_sampler; |
| 13304 |
} |
| 13305 |
|
| 13306 |
void clear() VULKAN_HPP_NOEXCEPT |
| 13307 |
{ |
| 13308 |
if ( m_sampler ) |
| 13309 |
{ |
| 13310 |
getDispatcher()->vkDestroySampler( |
| 13311 |
static_cast<VkDevice>( m_device ), static_cast<VkSampler>( m_sampler ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 13312 |
} |
| 13313 |
m_device = nullptr; |
| 13314 |
m_sampler = nullptr; |
| 13315 |
m_allocator = nullptr; |
| 13316 |
m_dispatcher = nullptr; |
| 13317 |
} |
| 13318 |
|
| 13319 |
VULKAN_HPP_NAMESPACE::Sampler release() |
| 13320 |
{ |
| 13321 |
m_device = nullptr; |
| 13322 |
m_allocator = nullptr; |
| 13323 |
m_dispatcher = nullptr; |
| 13324 |
return exchange( m_sampler, nullptr ); |
| 13325 |
} |
| 13326 |
|
| 13327 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 13328 |
{ |
| 13329 |
return m_device; |
| 13330 |
} |
| 13331 |
|
| 13332 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13333 |
{ |
| 13334 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13335 |
return m_dispatcher; |
| 13336 |
} |
| 13337 |
|
| 13338 |
void swap( Sampler & rhs ) VULKAN_HPP_NOEXCEPT |
| 13339 |
{ |
| 13340 |
std::swap( m_device, rhs.m_device ); |
| 13341 |
std::swap( m_sampler, rhs.m_sampler ); |
| 13342 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13343 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13344 |
} |
| 13345 |
|
| 13346 |
private: |
| 13347 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 13348 |
VULKAN_HPP_NAMESPACE::Sampler m_sampler = {}; |
| 13349 |
const AllocationCallbacks * m_allocator = {}; |
| 13350 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13351 |
}; |
| 13352 |
|
| 13353 |
template <> |
| 13354 |
struct isVulkanRAIIHandleType<Sampler> |
| 13355 |
{ |
| 13356 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13357 |
}; |
| 13358 |
|
| 13359 |
// wrapper class for handle VkSamplerYcbcrConversion, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkSamplerYcbcrConversion.html |
| 13360 |
class SamplerYcbcrConversion |
| 13361 |
{ |
| 13362 |
public: |
| 13363 |
using CType = VkSamplerYcbcrConversion; |
| 13364 |
using CppType = VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion; |
| 13365 |
|
| 13366 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eSamplerYcbcrConversion; |
| 13367 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eSamplerYcbcrConversion; |
| 13368 |
|
| 13369 |
public: |
| 13370 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13371 |
SamplerYcbcrConversion( Device const & device, |
| 13372 |
SamplerYcbcrConversionCreateInfo const & createInfo, |
| 13373 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13374 |
{ |
| 13375 |
*this = device.createSamplerYcbcrConversion( createInfo, allocator ); |
| 13376 |
} |
| 13377 |
# endif |
| 13378 |
|
| 13379 |
SamplerYcbcrConversion( Device const & device, VkSamplerYcbcrConversion ycbcrConversion, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13380 |
: m_device( device ) |
| 13381 |
, m_samplerYcbcrConversion( ycbcrConversion ) |
| 13382 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 13383 |
, m_dispatcher( device.getDispatcher() ) |
| 13384 |
{ |
| 13385 |
} |
| 13386 |
|
| 13387 |
SamplerYcbcrConversion( std::nullptr_t ) {} |
| 13388 |
|
| 13389 |
~SamplerYcbcrConversion() |
| 13390 |
{ |
| 13391 |
clear(); |
| 13392 |
} |
| 13393 |
|
| 13394 |
SamplerYcbcrConversion() = delete; |
| 13395 |
SamplerYcbcrConversion( SamplerYcbcrConversion const & ) = delete; |
| 13396 |
|
| 13397 |
SamplerYcbcrConversion( SamplerYcbcrConversion && rhs ) VULKAN_HPP_NOEXCEPT |
| 13398 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 13399 |
, m_samplerYcbcrConversion( exchange( rhs.m_samplerYcbcrConversion, {} ) ) |
| 13400 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 13401 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 13402 |
{ |
| 13403 |
} |
| 13404 |
|
| 13405 |
SamplerYcbcrConversion & operator=( SamplerYcbcrConversion const & ) = delete; |
| 13406 |
|
| 13407 |
SamplerYcbcrConversion & operator=( SamplerYcbcrConversion && rhs ) VULKAN_HPP_NOEXCEPT |
| 13408 |
{ |
| 13409 |
if ( this != &rhs ) |
| 13410 |
{ |
| 13411 |
std::swap( m_device, rhs.m_device ); |
| 13412 |
std::swap( m_samplerYcbcrConversion, rhs.m_samplerYcbcrConversion ); |
| 13413 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13414 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13415 |
} |
| 13416 |
return *this; |
| 13417 |
} |
| 13418 |
|
| 13419 |
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 13420 |
{ |
| 13421 |
return m_samplerYcbcrConversion; |
| 13422 |
} |
| 13423 |
|
| 13424 |
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 13425 |
{ |
| 13426 |
return std::move( m_samplerYcbcrConversion ); |
| 13427 |
} |
| 13428 |
|
| 13429 |
operator VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion() const VULKAN_HPP_NOEXCEPT |
| 13430 |
{ |
| 13431 |
return m_samplerYcbcrConversion; |
| 13432 |
} |
| 13433 |
|
| 13434 |
void clear() VULKAN_HPP_NOEXCEPT |
| 13435 |
{ |
| 13436 |
if ( m_samplerYcbcrConversion ) |
| 13437 |
{ |
| 13438 |
getDispatcher()->vkDestroySamplerYcbcrConversion( static_cast<VkDevice>( m_device ), |
| 13439 |
static_cast<VkSamplerYcbcrConversion>( m_samplerYcbcrConversion ), |
| 13440 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 13441 |
} |
| 13442 |
m_device = nullptr; |
| 13443 |
m_samplerYcbcrConversion = nullptr; |
| 13444 |
m_allocator = nullptr; |
| 13445 |
m_dispatcher = nullptr; |
| 13446 |
} |
| 13447 |
|
| 13448 |
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion release() |
| 13449 |
{ |
| 13450 |
m_device = nullptr; |
| 13451 |
m_allocator = nullptr; |
| 13452 |
m_dispatcher = nullptr; |
| 13453 |
return exchange( m_samplerYcbcrConversion, nullptr ); |
| 13454 |
} |
| 13455 |
|
| 13456 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 13457 |
{ |
| 13458 |
return m_device; |
| 13459 |
} |
| 13460 |
|
| 13461 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13462 |
{ |
| 13463 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13464 |
return m_dispatcher; |
| 13465 |
} |
| 13466 |
|
| 13467 |
void swap( SamplerYcbcrConversion & rhs ) VULKAN_HPP_NOEXCEPT |
| 13468 |
{ |
| 13469 |
std::swap( m_device, rhs.m_device ); |
| 13470 |
std::swap( m_samplerYcbcrConversion, rhs.m_samplerYcbcrConversion ); |
| 13471 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13472 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13473 |
} |
| 13474 |
|
| 13475 |
private: |
| 13476 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 13477 |
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion m_samplerYcbcrConversion = {}; |
| 13478 |
const AllocationCallbacks * m_allocator = {}; |
| 13479 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13480 |
}; |
| 13481 |
|
| 13482 |
template <> |
| 13483 |
struct isVulkanRAIIHandleType<SamplerYcbcrConversion> |
| 13484 |
{ |
| 13485 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13486 |
}; |
| 13487 |
|
| 13488 |
// wrapper class for handle VkSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkSemaphore.html |
| 13489 |
class Semaphore |
| 13490 |
{ |
| 13491 |
public: |
| 13492 |
using CType = VkSemaphore; |
| 13493 |
using CppType = VULKAN_HPP_NAMESPACE::Semaphore; |
| 13494 |
|
| 13495 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eSemaphore; |
| 13496 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eSemaphore; |
| 13497 |
|
| 13498 |
public: |
| 13499 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13500 |
Semaphore( Device const & device, SemaphoreCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13501 |
{ |
| 13502 |
*this = device.createSemaphore( createInfo, allocator ); |
| 13503 |
} |
| 13504 |
# endif |
| 13505 |
|
| 13506 |
Semaphore( Device const & device, VkSemaphore semaphore, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13507 |
: m_device( device ) |
| 13508 |
, m_semaphore( semaphore ) |
| 13509 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 13510 |
, m_dispatcher( device.getDispatcher() ) |
| 13511 |
{ |
| 13512 |
} |
| 13513 |
|
| 13514 |
Semaphore( std::nullptr_t ) {} |
| 13515 |
|
| 13516 |
~Semaphore() |
| 13517 |
{ |
| 13518 |
clear(); |
| 13519 |
} |
| 13520 |
|
| 13521 |
Semaphore() = delete; |
| 13522 |
Semaphore( Semaphore const & ) = delete; |
| 13523 |
|
| 13524 |
Semaphore( Semaphore && rhs ) VULKAN_HPP_NOEXCEPT |
| 13525 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 13526 |
, m_semaphore( exchange( rhs.m_semaphore, {} ) ) |
| 13527 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 13528 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 13529 |
{ |
| 13530 |
} |
| 13531 |
|
| 13532 |
Semaphore & operator=( Semaphore const & ) = delete; |
| 13533 |
|
| 13534 |
Semaphore & operator=( Semaphore && rhs ) VULKAN_HPP_NOEXCEPT |
| 13535 |
{ |
| 13536 |
if ( this != &rhs ) |
| 13537 |
{ |
| 13538 |
std::swap( m_device, rhs.m_device ); |
| 13539 |
std::swap( m_semaphore, rhs.m_semaphore ); |
| 13540 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13541 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13542 |
} |
| 13543 |
return *this; |
| 13544 |
} |
| 13545 |
|
| 13546 |
VULKAN_HPP_NAMESPACE::Semaphore const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 13547 |
{ |
| 13548 |
return m_semaphore; |
| 13549 |
} |
| 13550 |
|
| 13551 |
VULKAN_HPP_NAMESPACE::Semaphore const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 13552 |
{ |
| 13553 |
return std::move( m_semaphore ); |
| 13554 |
} |
| 13555 |
|
| 13556 |
operator VULKAN_HPP_NAMESPACE::Semaphore() const VULKAN_HPP_NOEXCEPT |
| 13557 |
{ |
| 13558 |
return m_semaphore; |
| 13559 |
} |
| 13560 |
|
| 13561 |
void clear() VULKAN_HPP_NOEXCEPT |
| 13562 |
{ |
| 13563 |
if ( m_semaphore ) |
| 13564 |
{ |
| 13565 |
getDispatcher()->vkDestroySemaphore( |
| 13566 |
static_cast<VkDevice>( m_device ), static_cast<VkSemaphore>( m_semaphore ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 13567 |
} |
| 13568 |
m_device = nullptr; |
| 13569 |
m_semaphore = nullptr; |
| 13570 |
m_allocator = nullptr; |
| 13571 |
m_dispatcher = nullptr; |
| 13572 |
} |
| 13573 |
|
| 13574 |
VULKAN_HPP_NAMESPACE::Semaphore release() |
| 13575 |
{ |
| 13576 |
m_device = nullptr; |
| 13577 |
m_allocator = nullptr; |
| 13578 |
m_dispatcher = nullptr; |
| 13579 |
return exchange( m_semaphore, nullptr ); |
| 13580 |
} |
| 13581 |
|
| 13582 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 13583 |
{ |
| 13584 |
return m_device; |
| 13585 |
} |
| 13586 |
|
| 13587 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13588 |
{ |
| 13589 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13590 |
return m_dispatcher; |
| 13591 |
} |
| 13592 |
|
| 13593 |
void swap( Semaphore & rhs ) VULKAN_HPP_NOEXCEPT |
| 13594 |
{ |
| 13595 |
std::swap( m_device, rhs.m_device ); |
| 13596 |
std::swap( m_semaphore, rhs.m_semaphore ); |
| 13597 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13598 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13599 |
} |
| 13600 |
|
| 13601 |
//=== VK_VERSION_1_2 === |
| 13602 |
|
| 13603 |
// wrapper function for command vkGetSemaphoreCounterValue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValue.html |
| 13604 |
VULKAN_HPP_NODISCARD typename ResultValueType<uint64_t>::type getCounterValue() const; |
| 13605 |
|
| 13606 |
//=== VK_KHR_timeline_semaphore === |
| 13607 |
|
| 13608 |
// wrapper function for command vkGetSemaphoreCounterValueKHR, see |
| 13609 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValueKHR.html |
| 13610 |
VULKAN_HPP_NODISCARD typename ResultValueType<uint64_t>::type getCounterValueKHR() const; |
| 13611 |
|
| 13612 |
private: |
| 13613 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 13614 |
VULKAN_HPP_NAMESPACE::Semaphore m_semaphore = {}; |
| 13615 |
const AllocationCallbacks * m_allocator = {}; |
| 13616 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13617 |
}; |
| 13618 |
|
| 13619 |
template <> |
| 13620 |
struct isVulkanRAIIHandleType<Semaphore> |
| 13621 |
{ |
| 13622 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13623 |
}; |
| 13624 |
|
| 13625 |
// wrapper class for handle VkShaderEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkShaderEXT.html |
| 13626 |
class ShaderEXT |
| 13627 |
{ |
| 13628 |
public: |
| 13629 |
using CType = VkShaderEXT; |
| 13630 |
using CppType = VULKAN_HPP_NAMESPACE::ShaderEXT; |
| 13631 |
|
| 13632 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eShaderEXT; |
| 13633 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 13634 |
|
| 13635 |
public: |
| 13636 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13637 |
ShaderEXT( Device const & device, ShaderCreateInfoEXT const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13638 |
{ |
| 13639 |
*this = device.createShaderEXT( createInfo, allocator ); |
| 13640 |
} |
| 13641 |
# endif |
| 13642 |
|
| 13643 |
ShaderEXT( Device const & device, VkShaderEXT shader, Optional<const AllocationCallbacks> allocator = nullptr, Result successCode = Result::eSuccess ) |
| 13644 |
: m_device( device ) |
| 13645 |
, m_shaderEXT( shader ) |
| 13646 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 13647 |
, m_constructorSuccessCode( successCode ) |
| 13648 |
, m_dispatcher( device.getDispatcher() ) |
| 13649 |
{ |
| 13650 |
} |
| 13651 |
|
| 13652 |
ShaderEXT( std::nullptr_t ) {} |
| 13653 |
|
| 13654 |
~ShaderEXT() |
| 13655 |
{ |
| 13656 |
clear(); |
| 13657 |
} |
| 13658 |
|
| 13659 |
ShaderEXT() = delete; |
| 13660 |
ShaderEXT( ShaderEXT const & ) = delete; |
| 13661 |
|
| 13662 |
ShaderEXT( ShaderEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 13663 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 13664 |
, m_shaderEXT( exchange( rhs.m_shaderEXT, {} ) ) |
| 13665 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 13666 |
, m_constructorSuccessCode( exchange( rhs.m_constructorSuccessCode, {} ) ) |
| 13667 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 13668 |
{ |
| 13669 |
} |
| 13670 |
|
| 13671 |
ShaderEXT & operator=( ShaderEXT const & ) = delete; |
| 13672 |
|
| 13673 |
ShaderEXT & operator=( ShaderEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 13674 |
{ |
| 13675 |
if ( this != &rhs ) |
| 13676 |
{ |
| 13677 |
std::swap( m_device, rhs.m_device ); |
| 13678 |
std::swap( m_shaderEXT, rhs.m_shaderEXT ); |
| 13679 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13680 |
std::swap( m_constructorSuccessCode, rhs.m_constructorSuccessCode ); |
| 13681 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13682 |
} |
| 13683 |
return *this; |
| 13684 |
} |
| 13685 |
|
| 13686 |
VULKAN_HPP_NAMESPACE::ShaderEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 13687 |
{ |
| 13688 |
return m_shaderEXT; |
| 13689 |
} |
| 13690 |
|
| 13691 |
VULKAN_HPP_NAMESPACE::ShaderEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 13692 |
{ |
| 13693 |
return std::move( m_shaderEXT ); |
| 13694 |
} |
| 13695 |
|
| 13696 |
operator VULKAN_HPP_NAMESPACE::ShaderEXT() const VULKAN_HPP_NOEXCEPT |
| 13697 |
{ |
| 13698 |
return m_shaderEXT; |
| 13699 |
} |
| 13700 |
|
| 13701 |
void clear() VULKAN_HPP_NOEXCEPT |
| 13702 |
{ |
| 13703 |
if ( m_shaderEXT ) |
| 13704 |
{ |
| 13705 |
getDispatcher()->vkDestroyShaderEXT( |
| 13706 |
static_cast<VkDevice>( m_device ), static_cast<VkShaderEXT>( m_shaderEXT ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 13707 |
} |
| 13708 |
m_device = nullptr; |
| 13709 |
m_shaderEXT = nullptr; |
| 13710 |
m_allocator = nullptr; |
| 13711 |
m_constructorSuccessCode = Result::eErrorUnknown; |
| 13712 |
m_dispatcher = nullptr; |
| 13713 |
} |
| 13714 |
|
| 13715 |
VULKAN_HPP_NAMESPACE::ShaderEXT release() |
| 13716 |
{ |
| 13717 |
m_device = nullptr; |
| 13718 |
m_allocator = nullptr; |
| 13719 |
m_constructorSuccessCode = Result::eErrorUnknown; |
| 13720 |
m_dispatcher = nullptr; |
| 13721 |
return exchange( m_shaderEXT, nullptr ); |
| 13722 |
} |
| 13723 |
|
| 13724 |
Result getConstructorSuccessCode() const |
| 13725 |
{ |
| 13726 |
return m_constructorSuccessCode; |
| 13727 |
} |
| 13728 |
|
| 13729 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 13730 |
{ |
| 13731 |
return m_device; |
| 13732 |
} |
| 13733 |
|
| 13734 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13735 |
{ |
| 13736 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13737 |
return m_dispatcher; |
| 13738 |
} |
| 13739 |
|
| 13740 |
void swap( ShaderEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 13741 |
{ |
| 13742 |
std::swap( m_device, rhs.m_device ); |
| 13743 |
std::swap( m_shaderEXT, rhs.m_shaderEXT ); |
| 13744 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13745 |
std::swap( m_constructorSuccessCode, rhs.m_constructorSuccessCode ); |
| 13746 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13747 |
} |
| 13748 |
|
| 13749 |
//=== VK_EXT_shader_object === |
| 13750 |
|
| 13751 |
// wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html |
| 13752 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<uint8_t>>::type getBinaryData() const; |
| 13753 |
|
| 13754 |
private: |
| 13755 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 13756 |
VULKAN_HPP_NAMESPACE::ShaderEXT m_shaderEXT = {}; |
| 13757 |
const AllocationCallbacks * m_allocator = {}; |
| 13758 |
Result m_constructorSuccessCode = Result::eErrorUnknown; |
| 13759 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13760 |
}; |
| 13761 |
|
| 13762 |
template <> |
| 13763 |
struct isVulkanRAIIHandleType<ShaderEXT> |
| 13764 |
{ |
| 13765 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13766 |
}; |
| 13767 |
|
| 13768 |
class ShaderEXTs : public std::vector<ShaderEXT> |
| 13769 |
{ |
| 13770 |
public: |
| 13771 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13772 |
ShaderEXTs( Device const & device, ArrayProxy<ShaderCreateInfoEXT> const & createInfos, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13773 |
{ |
| 13774 |
*this = device.createShadersEXT( createInfos, allocator ); |
| 13775 |
} |
| 13776 |
# endif |
| 13777 |
|
| 13778 |
ShaderEXTs( std::nullptr_t ) {} |
| 13779 |
|
| 13780 |
ShaderEXTs() = delete; |
| 13781 |
ShaderEXTs( ShaderEXTs const & ) = delete; |
| 13782 |
ShaderEXTs( ShaderEXTs && rhs ) = default; |
| 13783 |
ShaderEXTs & operator=( ShaderEXTs const & ) = delete; |
| 13784 |
ShaderEXTs & operator=( ShaderEXTs && rhs ) = default; |
| 13785 |
|
| 13786 |
ShaderEXTs( std::vector<ShaderEXT> && rhs ) |
| 13787 |
{ |
| 13788 |
std::swap( *this, rhs ); |
| 13789 |
} |
| 13790 |
}; |
| 13791 |
|
| 13792 |
// wrapper class for handle VkShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkShaderModule.html |
| 13793 |
class ShaderModule |
| 13794 |
{ |
| 13795 |
public: |
| 13796 |
using CType = VkShaderModule; |
| 13797 |
using CppType = VULKAN_HPP_NAMESPACE::ShaderModule; |
| 13798 |
|
| 13799 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eShaderModule; |
| 13800 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eShaderModule; |
| 13801 |
|
| 13802 |
public: |
| 13803 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13804 |
ShaderModule( Device const & device, ShaderModuleCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13805 |
{ |
| 13806 |
*this = device.createShaderModule( createInfo, allocator ); |
| 13807 |
} |
| 13808 |
# endif |
| 13809 |
|
| 13810 |
ShaderModule( Device const & device, VkShaderModule shaderModule, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13811 |
: m_device( device ) |
| 13812 |
, m_shaderModule( shaderModule ) |
| 13813 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 13814 |
, m_dispatcher( device.getDispatcher() ) |
| 13815 |
{ |
| 13816 |
} |
| 13817 |
|
| 13818 |
ShaderModule( std::nullptr_t ) {} |
| 13819 |
|
| 13820 |
~ShaderModule() |
| 13821 |
{ |
| 13822 |
clear(); |
| 13823 |
} |
| 13824 |
|
| 13825 |
ShaderModule() = delete; |
| 13826 |
ShaderModule( ShaderModule const & ) = delete; |
| 13827 |
|
| 13828 |
ShaderModule( ShaderModule && rhs ) VULKAN_HPP_NOEXCEPT |
| 13829 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 13830 |
, m_shaderModule( exchange( rhs.m_shaderModule, {} ) ) |
| 13831 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 13832 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 13833 |
{ |
| 13834 |
} |
| 13835 |
|
| 13836 |
ShaderModule & operator=( ShaderModule const & ) = delete; |
| 13837 |
|
| 13838 |
ShaderModule & operator=( ShaderModule && rhs ) VULKAN_HPP_NOEXCEPT |
| 13839 |
{ |
| 13840 |
if ( this != &rhs ) |
| 13841 |
{ |
| 13842 |
std::swap( m_device, rhs.m_device ); |
| 13843 |
std::swap( m_shaderModule, rhs.m_shaderModule ); |
| 13844 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13845 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13846 |
} |
| 13847 |
return *this; |
| 13848 |
} |
| 13849 |
|
| 13850 |
VULKAN_HPP_NAMESPACE::ShaderModule const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 13851 |
{ |
| 13852 |
return m_shaderModule; |
| 13853 |
} |
| 13854 |
|
| 13855 |
VULKAN_HPP_NAMESPACE::ShaderModule const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 13856 |
{ |
| 13857 |
return std::move( m_shaderModule ); |
| 13858 |
} |
| 13859 |
|
| 13860 |
operator VULKAN_HPP_NAMESPACE::ShaderModule() const VULKAN_HPP_NOEXCEPT |
| 13861 |
{ |
| 13862 |
return m_shaderModule; |
| 13863 |
} |
| 13864 |
|
| 13865 |
void clear() VULKAN_HPP_NOEXCEPT |
| 13866 |
{ |
| 13867 |
if ( m_shaderModule ) |
| 13868 |
{ |
| 13869 |
getDispatcher()->vkDestroyShaderModule( |
| 13870 |
static_cast<VkDevice>( m_device ), static_cast<VkShaderModule>( m_shaderModule ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 13871 |
} |
| 13872 |
m_device = nullptr; |
| 13873 |
m_shaderModule = nullptr; |
| 13874 |
m_allocator = nullptr; |
| 13875 |
m_dispatcher = nullptr; |
| 13876 |
} |
| 13877 |
|
| 13878 |
VULKAN_HPP_NAMESPACE::ShaderModule release() |
| 13879 |
{ |
| 13880 |
m_device = nullptr; |
| 13881 |
m_allocator = nullptr; |
| 13882 |
m_dispatcher = nullptr; |
| 13883 |
return exchange( m_shaderModule, nullptr ); |
| 13884 |
} |
| 13885 |
|
| 13886 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 13887 |
{ |
| 13888 |
return m_device; |
| 13889 |
} |
| 13890 |
|
| 13891 |
detail::DeviceDispatcher const * getDispatcher() const |
| 13892 |
{ |
| 13893 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 13894 |
return m_dispatcher; |
| 13895 |
} |
| 13896 |
|
| 13897 |
void swap( ShaderModule & rhs ) VULKAN_HPP_NOEXCEPT |
| 13898 |
{ |
| 13899 |
std::swap( m_device, rhs.m_device ); |
| 13900 |
std::swap( m_shaderModule, rhs.m_shaderModule ); |
| 13901 |
std::swap( m_allocator, rhs.m_allocator ); |
| 13902 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 13903 |
} |
| 13904 |
|
| 13905 |
//=== VK_EXT_shader_module_identifier === |
| 13906 |
|
| 13907 |
// wrapper function for command vkGetShaderModuleIdentifierEXT, see |
| 13908 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleIdentifierEXT.html |
| 13909 |
VULKAN_HPP_NODISCARD ShaderModuleIdentifierEXT getIdentifierEXT() const VULKAN_HPP_NOEXCEPT; |
| 13910 |
|
| 13911 |
private: |
| 13912 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 13913 |
VULKAN_HPP_NAMESPACE::ShaderModule m_shaderModule = {}; |
| 13914 |
const AllocationCallbacks * m_allocator = {}; |
| 13915 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 13916 |
}; |
| 13917 |
|
| 13918 |
template <> |
| 13919 |
struct isVulkanRAIIHandleType<ShaderModule> |
| 13920 |
{ |
| 13921 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 13922 |
}; |
| 13923 |
|
| 13924 |
// wrapper class for handle VkSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkSurfaceKHR.html |
| 13925 |
class SurfaceKHR |
| 13926 |
{ |
| 13927 |
public: |
| 13928 |
using CType = VkSurfaceKHR; |
| 13929 |
using CppType = VULKAN_HPP_NAMESPACE::SurfaceKHR; |
| 13930 |
|
| 13931 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eSurfaceKHR; |
| 13932 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eSurfaceKHR; |
| 13933 |
|
| 13934 |
public: |
| 13935 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13936 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 13937 |
SurfaceKHR( Instance const & instance, AndroidSurfaceCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13938 |
{ |
| 13939 |
*this = instance.createAndroidSurfaceKHR( createInfo, allocator ); |
| 13940 |
} |
| 13941 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 13942 |
# endif |
| 13943 |
|
| 13944 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13945 |
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) |
| 13946 |
SurfaceKHR( Instance const & instance, DirectFBSurfaceCreateInfoEXT const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13947 |
{ |
| 13948 |
*this = instance.createDirectFBSurfaceEXT( createInfo, allocator ); |
| 13949 |
} |
| 13950 |
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ |
| 13951 |
# endif |
| 13952 |
|
| 13953 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13954 |
SurfaceKHR( Instance const & instance, DisplaySurfaceCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13955 |
{ |
| 13956 |
*this = instance.createDisplayPlaneSurfaceKHR( createInfo, allocator ); |
| 13957 |
} |
| 13958 |
# endif |
| 13959 |
|
| 13960 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13961 |
SurfaceKHR( Instance const & instance, HeadlessSurfaceCreateInfoEXT const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13962 |
{ |
| 13963 |
*this = instance.createHeadlessSurfaceEXT( createInfo, allocator ); |
| 13964 |
} |
| 13965 |
# endif |
| 13966 |
|
| 13967 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13968 |
# if defined( VK_USE_PLATFORM_IOS_MVK ) |
| 13969 |
SurfaceKHR( Instance const & instance, IOSSurfaceCreateInfoMVK const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13970 |
{ |
| 13971 |
*this = instance.createIOSSurfaceMVK( createInfo, allocator ); |
| 13972 |
} |
| 13973 |
# endif /*VK_USE_PLATFORM_IOS_MVK*/ |
| 13974 |
# endif |
| 13975 |
|
| 13976 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13977 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 13978 |
SurfaceKHR( Instance const & instance, ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13979 |
{ |
| 13980 |
*this = instance.createImagePipeSurfaceFUCHSIA( createInfo, allocator ); |
| 13981 |
} |
| 13982 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 13983 |
# endif |
| 13984 |
|
| 13985 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13986 |
# if defined( VK_USE_PLATFORM_MACOS_MVK ) |
| 13987 |
SurfaceKHR( Instance const & instance, MacOSSurfaceCreateInfoMVK const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13988 |
{ |
| 13989 |
*this = instance.createMacOSSurfaceMVK( createInfo, allocator ); |
| 13990 |
} |
| 13991 |
# endif /*VK_USE_PLATFORM_MACOS_MVK*/ |
| 13992 |
# endif |
| 13993 |
|
| 13994 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 13995 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 13996 |
SurfaceKHR( Instance const & instance, MetalSurfaceCreateInfoEXT const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 13997 |
{ |
| 13998 |
*this = instance.createMetalSurfaceEXT( createInfo, allocator ); |
| 13999 |
} |
| 14000 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 14001 |
# endif |
| 14002 |
|
| 14003 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14004 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 14005 |
SurfaceKHR( Instance const & instance, ScreenSurfaceCreateInfoQNX const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14006 |
{ |
| 14007 |
*this = instance.createScreenSurfaceQNX( createInfo, allocator ); |
| 14008 |
} |
| 14009 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 14010 |
# endif |
| 14011 |
|
| 14012 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14013 |
# if defined( VK_USE_PLATFORM_GGP ) |
| 14014 |
SurfaceKHR( Instance const & instance, StreamDescriptorSurfaceCreateInfoGGP const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14015 |
{ |
| 14016 |
*this = instance.createStreamDescriptorSurfaceGGP( createInfo, allocator ); |
| 14017 |
} |
| 14018 |
# endif /*VK_USE_PLATFORM_GGP*/ |
| 14019 |
# endif |
| 14020 |
|
| 14021 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14022 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 14023 |
SurfaceKHR( Instance const & instance, SurfaceCreateInfoOHOS const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14024 |
{ |
| 14025 |
*this = instance.createSurfaceOHOS( createInfo, allocator ); |
| 14026 |
} |
| 14027 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 14028 |
# endif |
| 14029 |
|
| 14030 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14031 |
# if defined( VK_USE_PLATFORM_VI_NN ) |
| 14032 |
SurfaceKHR( Instance const & instance, ViSurfaceCreateInfoNN const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14033 |
{ |
| 14034 |
*this = instance.createViSurfaceNN( createInfo, allocator ); |
| 14035 |
} |
| 14036 |
# endif /*VK_USE_PLATFORM_VI_NN*/ |
| 14037 |
# endif |
| 14038 |
|
| 14039 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14040 |
# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) |
| 14041 |
SurfaceKHR( Instance const & instance, WaylandSurfaceCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14042 |
{ |
| 14043 |
*this = instance.createWaylandSurfaceKHR( createInfo, allocator ); |
| 14044 |
} |
| 14045 |
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ |
| 14046 |
# endif |
| 14047 |
|
| 14048 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14049 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 14050 |
SurfaceKHR( Instance const & instance, Win32SurfaceCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14051 |
{ |
| 14052 |
*this = instance.createWin32SurfaceKHR( createInfo, allocator ); |
| 14053 |
} |
| 14054 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 14055 |
# endif |
| 14056 |
|
| 14057 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14058 |
# if defined( VK_USE_PLATFORM_XCB_KHR ) |
| 14059 |
SurfaceKHR( Instance const & instance, XcbSurfaceCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14060 |
{ |
| 14061 |
*this = instance.createXcbSurfaceKHR( createInfo, allocator ); |
| 14062 |
} |
| 14063 |
# endif /*VK_USE_PLATFORM_XCB_KHR*/ |
| 14064 |
# endif |
| 14065 |
|
| 14066 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14067 |
# if defined( VK_USE_PLATFORM_XLIB_KHR ) |
| 14068 |
SurfaceKHR( Instance const & instance, XlibSurfaceCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14069 |
{ |
| 14070 |
*this = instance.createXlibSurfaceKHR( createInfo, allocator ); |
| 14071 |
} |
| 14072 |
# endif /*VK_USE_PLATFORM_XLIB_KHR*/ |
| 14073 |
# endif |
| 14074 |
|
| 14075 |
SurfaceKHR( Instance const & instance, VkSurfaceKHR surface, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14076 |
: m_instance( instance ) |
| 14077 |
, m_surfaceKHR( surface ) |
| 14078 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14079 |
, m_dispatcher( instance.getDispatcher() ) |
| 14080 |
{ |
| 14081 |
} |
| 14082 |
|
| 14083 |
SurfaceKHR( std::nullptr_t ) {} |
| 14084 |
|
| 14085 |
~SurfaceKHR() |
| 14086 |
{ |
| 14087 |
clear(); |
| 14088 |
} |
| 14089 |
|
| 14090 |
SurfaceKHR() = delete; |
| 14091 |
SurfaceKHR( SurfaceKHR const & ) = delete; |
| 14092 |
|
| 14093 |
SurfaceKHR( SurfaceKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14094 |
: m_instance( exchange( rhs.m_instance, {} ) ) |
| 14095 |
, m_surfaceKHR( exchange( rhs.m_surfaceKHR, {} ) ) |
| 14096 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 14097 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 14098 |
{ |
| 14099 |
} |
| 14100 |
|
| 14101 |
SurfaceKHR & operator=( SurfaceKHR const & ) = delete; |
| 14102 |
|
| 14103 |
SurfaceKHR & operator=( SurfaceKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14104 |
{ |
| 14105 |
if ( this != &rhs ) |
| 14106 |
{ |
| 14107 |
std::swap( m_instance, rhs.m_instance ); |
| 14108 |
std::swap( m_surfaceKHR, rhs.m_surfaceKHR ); |
| 14109 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14110 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14111 |
} |
| 14112 |
return *this; |
| 14113 |
} |
| 14114 |
|
| 14115 |
VULKAN_HPP_NAMESPACE::SurfaceKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 14116 |
{ |
| 14117 |
return m_surfaceKHR; |
| 14118 |
} |
| 14119 |
|
| 14120 |
VULKAN_HPP_NAMESPACE::SurfaceKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 14121 |
{ |
| 14122 |
return std::move( m_surfaceKHR ); |
| 14123 |
} |
| 14124 |
|
| 14125 |
operator VULKAN_HPP_NAMESPACE::SurfaceKHR() const VULKAN_HPP_NOEXCEPT |
| 14126 |
{ |
| 14127 |
return m_surfaceKHR; |
| 14128 |
} |
| 14129 |
|
| 14130 |
void clear() VULKAN_HPP_NOEXCEPT |
| 14131 |
{ |
| 14132 |
if ( m_surfaceKHR ) |
| 14133 |
{ |
| 14134 |
getDispatcher()->vkDestroySurfaceKHR( |
| 14135 |
static_cast<VkInstance>( m_instance ), static_cast<VkSurfaceKHR>( m_surfaceKHR ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 14136 |
} |
| 14137 |
m_instance = nullptr; |
| 14138 |
m_surfaceKHR = nullptr; |
| 14139 |
m_allocator = nullptr; |
| 14140 |
m_dispatcher = nullptr; |
| 14141 |
} |
| 14142 |
|
| 14143 |
VULKAN_HPP_NAMESPACE::SurfaceKHR release() |
| 14144 |
{ |
| 14145 |
m_instance = nullptr; |
| 14146 |
m_allocator = nullptr; |
| 14147 |
m_dispatcher = nullptr; |
| 14148 |
return exchange( m_surfaceKHR, nullptr ); |
| 14149 |
} |
| 14150 |
|
| 14151 |
VULKAN_HPP_NAMESPACE::Instance getInstance() const |
| 14152 |
{ |
| 14153 |
return m_instance; |
| 14154 |
} |
| 14155 |
|
| 14156 |
detail::InstanceDispatcher const * getDispatcher() const |
| 14157 |
{ |
| 14158 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 14159 |
return m_dispatcher; |
| 14160 |
} |
| 14161 |
|
| 14162 |
void swap( SurfaceKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 14163 |
{ |
| 14164 |
std::swap( m_instance, rhs.m_instance ); |
| 14165 |
std::swap( m_surfaceKHR, rhs.m_surfaceKHR ); |
| 14166 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14167 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14168 |
} |
| 14169 |
|
| 14170 |
private: |
| 14171 |
VULKAN_HPP_NAMESPACE::Instance m_instance = {}; |
| 14172 |
VULKAN_HPP_NAMESPACE::SurfaceKHR m_surfaceKHR = {}; |
| 14173 |
const AllocationCallbacks * m_allocator = {}; |
| 14174 |
detail::InstanceDispatcher const * m_dispatcher = nullptr; |
| 14175 |
}; |
| 14176 |
|
| 14177 |
template <> |
| 14178 |
struct isVulkanRAIIHandleType<SurfaceKHR> |
| 14179 |
{ |
| 14180 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 14181 |
}; |
| 14182 |
|
| 14183 |
// wrapper class for handle VkSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkSwapchainKHR.html |
| 14184 |
class SwapchainKHR |
| 14185 |
{ |
| 14186 |
public: |
| 14187 |
using CType = VkSwapchainKHR; |
| 14188 |
using CppType = VULKAN_HPP_NAMESPACE::SwapchainKHR; |
| 14189 |
|
| 14190 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eSwapchainKHR; |
| 14191 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eSwapchainKHR; |
| 14192 |
|
| 14193 |
public: |
| 14194 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14195 |
SwapchainKHR( Device const & device, SwapchainCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14196 |
{ |
| 14197 |
*this = device.createSwapchainKHR( createInfo, allocator ); |
| 14198 |
} |
| 14199 |
# endif |
| 14200 |
|
| 14201 |
SwapchainKHR( Device const & device, VkSwapchainKHR swapchain, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14202 |
: m_device( device ) |
| 14203 |
, m_swapchainKHR( swapchain ) |
| 14204 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14205 |
, m_dispatcher( device.getDispatcher() ) |
| 14206 |
{ |
| 14207 |
} |
| 14208 |
|
| 14209 |
SwapchainKHR( std::nullptr_t ) {} |
| 14210 |
|
| 14211 |
~SwapchainKHR() |
| 14212 |
{ |
| 14213 |
clear(); |
| 14214 |
} |
| 14215 |
|
| 14216 |
SwapchainKHR() = delete; |
| 14217 |
SwapchainKHR( SwapchainKHR const & ) = delete; |
| 14218 |
|
| 14219 |
SwapchainKHR( SwapchainKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14220 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 14221 |
, m_swapchainKHR( exchange( rhs.m_swapchainKHR, {} ) ) |
| 14222 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 14223 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 14224 |
{ |
| 14225 |
} |
| 14226 |
|
| 14227 |
SwapchainKHR & operator=( SwapchainKHR const & ) = delete; |
| 14228 |
|
| 14229 |
SwapchainKHR & operator=( SwapchainKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14230 |
{ |
| 14231 |
if ( this != &rhs ) |
| 14232 |
{ |
| 14233 |
std::swap( m_device, rhs.m_device ); |
| 14234 |
std::swap( m_swapchainKHR, rhs.m_swapchainKHR ); |
| 14235 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14236 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14237 |
} |
| 14238 |
return *this; |
| 14239 |
} |
| 14240 |
|
| 14241 |
VULKAN_HPP_NAMESPACE::SwapchainKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 14242 |
{ |
| 14243 |
return m_swapchainKHR; |
| 14244 |
} |
| 14245 |
|
| 14246 |
VULKAN_HPP_NAMESPACE::SwapchainKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 14247 |
{ |
| 14248 |
return std::move( m_swapchainKHR ); |
| 14249 |
} |
| 14250 |
|
| 14251 |
operator VULKAN_HPP_NAMESPACE::SwapchainKHR() const VULKAN_HPP_NOEXCEPT |
| 14252 |
{ |
| 14253 |
return m_swapchainKHR; |
| 14254 |
} |
| 14255 |
|
| 14256 |
void clear() VULKAN_HPP_NOEXCEPT |
| 14257 |
{ |
| 14258 |
if ( m_swapchainKHR ) |
| 14259 |
{ |
| 14260 |
getDispatcher()->vkDestroySwapchainKHR( |
| 14261 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 14262 |
} |
| 14263 |
m_device = nullptr; |
| 14264 |
m_swapchainKHR = nullptr; |
| 14265 |
m_allocator = nullptr; |
| 14266 |
m_dispatcher = nullptr; |
| 14267 |
} |
| 14268 |
|
| 14269 |
VULKAN_HPP_NAMESPACE::SwapchainKHR release() |
| 14270 |
{ |
| 14271 |
m_device = nullptr; |
| 14272 |
m_allocator = nullptr; |
| 14273 |
m_dispatcher = nullptr; |
| 14274 |
return exchange( m_swapchainKHR, nullptr ); |
| 14275 |
} |
| 14276 |
|
| 14277 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 14278 |
{ |
| 14279 |
return m_device; |
| 14280 |
} |
| 14281 |
|
| 14282 |
detail::DeviceDispatcher const * getDispatcher() const |
| 14283 |
{ |
| 14284 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 14285 |
return m_dispatcher; |
| 14286 |
} |
| 14287 |
|
| 14288 |
void swap( SwapchainKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 14289 |
{ |
| 14290 |
std::swap( m_device, rhs.m_device ); |
| 14291 |
std::swap( m_swapchainKHR, rhs.m_swapchainKHR ); |
| 14292 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14293 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14294 |
} |
| 14295 |
|
| 14296 |
//=== VK_KHR_swapchain === |
| 14297 |
|
| 14298 |
// wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html |
| 14299 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<VULKAN_HPP_NAMESPACE::Image>>::type getImages() const; |
| 14300 |
|
| 14301 |
// wrapper function for command vkAcquireNextImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImageKHR.html |
| 14302 |
VULKAN_HPP_NODISCARD ResultValue<uint32_t> acquireNextImage( uint64_t timeout, |
| 14303 |
VULKAN_HPP_NAMESPACE::Semaphore semaphore VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ), |
| 14304 |
VULKAN_HPP_NAMESPACE::Fence fence VULKAN_HPP_DEFAULT_ASSIGNMENT( {} ) ) const; |
| 14305 |
|
| 14306 |
//=== VK_EXT_display_control === |
| 14307 |
|
| 14308 |
// wrapper function for command vkGetSwapchainCounterEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainCounterEXT.html |
| 14309 |
VULKAN_HPP_NODISCARD |
| 14310 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 14311 |
ResultValue<uint64_t> |
| 14312 |
# else |
| 14313 |
typename ResultValueType<uint64_t>::type |
| 14314 |
# endif |
| 14315 |
getCounterEXT( SurfaceCounterFlagBitsEXT counter ) const; |
| 14316 |
|
| 14317 |
//=== VK_GOOGLE_display_timing === |
| 14318 |
|
| 14319 |
// wrapper function for command vkGetRefreshCycleDurationGOOGLE, see |
| 14320 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRefreshCycleDurationGOOGLE.html |
| 14321 |
VULKAN_HPP_NODISCARD typename ResultValueType<RefreshCycleDurationGOOGLE>::type getRefreshCycleDurationGOOGLE() const; |
| 14322 |
|
| 14323 |
// wrapper function for command vkGetPastPresentationTimingGOOGLE, see |
| 14324 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html |
| 14325 |
VULKAN_HPP_NODISCARD |
| 14326 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 14327 |
ResultValue<std::vector<PastPresentationTimingGOOGLE>> |
| 14328 |
# else |
| 14329 |
typename ResultValueType<std::vector<PastPresentationTimingGOOGLE>>::type |
| 14330 |
# endif |
| 14331 |
getPastPresentationTimingGOOGLE() const; |
| 14332 |
|
| 14333 |
//=== VK_KHR_shared_presentable_image === |
| 14334 |
|
| 14335 |
// wrapper function for command vkGetSwapchainStatusKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainStatusKHR.html |
| 14336 |
VULKAN_HPP_NODISCARD Result getStatus() const; |
| 14337 |
|
| 14338 |
//=== VK_EXT_present_timing === |
| 14339 |
|
| 14340 |
// wrapper function for command vkSetSwapchainPresentTimingQueueSizeEXT, see |
| 14341 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetSwapchainPresentTimingQueueSizeEXT.html |
| 14342 |
VULKAN_HPP_NODISCARD Result setPresentTimingQueueSizeEXT( uint32_t size ) const; |
| 14343 |
|
| 14344 |
// wrapper function for command vkGetSwapchainTimingPropertiesEXT, see |
| 14345 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimingPropertiesEXT.html |
| 14346 |
VULKAN_HPP_NODISCARD ResultValue<std::pair<SwapchainTimingPropertiesEXT, uint64_t>> getTimingPropertiesEXT() const; |
| 14347 |
|
| 14348 |
// wrapper function for command vkGetSwapchainTimeDomainPropertiesEXT, see |
| 14349 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimeDomainPropertiesEXT.html |
| 14350 |
VULKAN_HPP_NODISCARD Result getTimeDomainPropertiesEXT( SwapchainTimeDomainPropertiesEXT * pSwapchainTimeDomainProperties, |
| 14351 |
uint64_t * pTimeDomainsCounter ) const VULKAN_HPP_NOEXCEPT; |
| 14352 |
|
| 14353 |
//=== VK_AMD_display_native_hdr === |
| 14354 |
|
| 14355 |
// wrapper function for command vkSetLocalDimmingAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLocalDimmingAMD.html |
| 14356 |
void setLocalDimmingAMD( Bool32 localDimmingEnable ) const VULKAN_HPP_NOEXCEPT; |
| 14357 |
|
| 14358 |
//=== VK_KHR_present_wait === |
| 14359 |
|
| 14360 |
// wrapper function for command vkWaitForPresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresentKHR.html |
| 14361 |
VULKAN_HPP_NODISCARD Result waitForPresent( uint64_t presentId, uint64_t timeout ) const; |
| 14362 |
|
| 14363 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 14364 |
//=== VK_EXT_full_screen_exclusive === |
| 14365 |
|
| 14366 |
// wrapper function for command vkAcquireFullScreenExclusiveModeEXT, see |
| 14367 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireFullScreenExclusiveModeEXT.html |
| 14368 |
typename ResultValueType<void>::type acquireFullScreenExclusiveModeEXT() const; |
| 14369 |
|
| 14370 |
// wrapper function for command vkReleaseFullScreenExclusiveModeEXT, see |
| 14371 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseFullScreenExclusiveModeEXT.html |
| 14372 |
typename ResultValueType<void>::type releaseFullScreenExclusiveModeEXT() const; |
| 14373 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 14374 |
|
| 14375 |
//=== VK_KHR_present_wait2 === |
| 14376 |
|
| 14377 |
// wrapper function for command vkWaitForPresent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresent2KHR.html |
| 14378 |
VULKAN_HPP_NODISCARD Result waitForPresent2( const PresentWait2InfoKHR & presentWait2Info ) const; |
| 14379 |
|
| 14380 |
//=== VK_NV_low_latency2 === |
| 14381 |
|
| 14382 |
// wrapper function for command vkSetLatencySleepModeNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeNV.html |
| 14383 |
typename ResultValueType<void>::type setLatencySleepModeNV( const LatencySleepModeInfoNV & sleepModeInfo ) const; |
| 14384 |
|
| 14385 |
// wrapper function for command vkLatencySleepNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepNV.html |
| 14386 |
typename ResultValueType<void>::type latencySleepNV( const LatencySleepInfoNV & sleepInfo ) const; |
| 14387 |
|
| 14388 |
// wrapper function for command vkSetLatencyMarkerNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerNV.html |
| 14389 |
void setLatencyMarkerNV( const SetLatencyMarkerInfoNV & latencyMarkerInfo ) const VULKAN_HPP_NOEXCEPT; |
| 14390 |
|
| 14391 |
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html |
| 14392 |
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::LatencyTimingsFrameReportNV> getLatencyTimingsNV() const; |
| 14393 |
|
| 14394 |
private: |
| 14395 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 14396 |
VULKAN_HPP_NAMESPACE::SwapchainKHR m_swapchainKHR = {}; |
| 14397 |
const AllocationCallbacks * m_allocator = {}; |
| 14398 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 14399 |
}; |
| 14400 |
|
| 14401 |
template <> |
| 14402 |
struct isVulkanRAIIHandleType<SwapchainKHR> |
| 14403 |
{ |
| 14404 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 14405 |
}; |
| 14406 |
|
| 14407 |
class SwapchainKHRs : public std::vector<SwapchainKHR> |
| 14408 |
{ |
| 14409 |
public: |
| 14410 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14411 |
SwapchainKHRs( Device const & device, ArrayProxy<SwapchainCreateInfoKHR> const & createInfos, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14412 |
{ |
| 14413 |
*this = device.createSharedSwapchainsKHR( createInfos, allocator ); |
| 14414 |
} |
| 14415 |
# endif |
| 14416 |
|
| 14417 |
SwapchainKHRs( std::nullptr_t ) {} |
| 14418 |
|
| 14419 |
SwapchainKHRs() = delete; |
| 14420 |
SwapchainKHRs( SwapchainKHRs const & ) = delete; |
| 14421 |
SwapchainKHRs( SwapchainKHRs && rhs ) = default; |
| 14422 |
SwapchainKHRs & operator=( SwapchainKHRs const & ) = delete; |
| 14423 |
SwapchainKHRs & operator=( SwapchainKHRs && rhs ) = default; |
| 14424 |
|
| 14425 |
SwapchainKHRs( std::vector<SwapchainKHR> && rhs ) |
| 14426 |
{ |
| 14427 |
std::swap( *this, rhs ); |
| 14428 |
} |
| 14429 |
}; |
| 14430 |
|
| 14431 |
// wrapper class for handle VkTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkTensorARM.html |
| 14432 |
class TensorARM |
| 14433 |
{ |
| 14434 |
public: |
| 14435 |
using CType = VkTensorARM; |
| 14436 |
using CppType = VULKAN_HPP_NAMESPACE::TensorARM; |
| 14437 |
|
| 14438 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eTensorARM; |
| 14439 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 14440 |
|
| 14441 |
public: |
| 14442 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14443 |
TensorARM( Device const & device, TensorCreateInfoARM const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14444 |
{ |
| 14445 |
*this = device.createTensorARM( createInfo, allocator ); |
| 14446 |
} |
| 14447 |
# endif |
| 14448 |
|
| 14449 |
TensorARM( Device const & device, VkTensorARM tensor, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14450 |
: m_device( device ) |
| 14451 |
, m_tensorARM( tensor ) |
| 14452 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14453 |
, m_dispatcher( device.getDispatcher() ) |
| 14454 |
{ |
| 14455 |
} |
| 14456 |
|
| 14457 |
TensorARM( std::nullptr_t ) {} |
| 14458 |
|
| 14459 |
~TensorARM() |
| 14460 |
{ |
| 14461 |
clear(); |
| 14462 |
} |
| 14463 |
|
| 14464 |
TensorARM() = delete; |
| 14465 |
TensorARM( TensorARM const & ) = delete; |
| 14466 |
|
| 14467 |
TensorARM( TensorARM && rhs ) VULKAN_HPP_NOEXCEPT |
| 14468 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 14469 |
, m_tensorARM( exchange( rhs.m_tensorARM, {} ) ) |
| 14470 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 14471 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 14472 |
{ |
| 14473 |
} |
| 14474 |
|
| 14475 |
TensorARM & operator=( TensorARM const & ) = delete; |
| 14476 |
|
| 14477 |
TensorARM & operator=( TensorARM && rhs ) VULKAN_HPP_NOEXCEPT |
| 14478 |
{ |
| 14479 |
if ( this != &rhs ) |
| 14480 |
{ |
| 14481 |
std::swap( m_device, rhs.m_device ); |
| 14482 |
std::swap( m_tensorARM, rhs.m_tensorARM ); |
| 14483 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14484 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14485 |
} |
| 14486 |
return *this; |
| 14487 |
} |
| 14488 |
|
| 14489 |
VULKAN_HPP_NAMESPACE::TensorARM const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 14490 |
{ |
| 14491 |
return m_tensorARM; |
| 14492 |
} |
| 14493 |
|
| 14494 |
VULKAN_HPP_NAMESPACE::TensorARM const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 14495 |
{ |
| 14496 |
return std::move( m_tensorARM ); |
| 14497 |
} |
| 14498 |
|
| 14499 |
operator VULKAN_HPP_NAMESPACE::TensorARM() const VULKAN_HPP_NOEXCEPT |
| 14500 |
{ |
| 14501 |
return m_tensorARM; |
| 14502 |
} |
| 14503 |
|
| 14504 |
void clear() VULKAN_HPP_NOEXCEPT |
| 14505 |
{ |
| 14506 |
if ( m_tensorARM ) |
| 14507 |
{ |
| 14508 |
getDispatcher()->vkDestroyTensorARM( |
| 14509 |
static_cast<VkDevice>( m_device ), static_cast<VkTensorARM>( m_tensorARM ), reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 14510 |
} |
| 14511 |
m_device = nullptr; |
| 14512 |
m_tensorARM = nullptr; |
| 14513 |
m_allocator = nullptr; |
| 14514 |
m_dispatcher = nullptr; |
| 14515 |
} |
| 14516 |
|
| 14517 |
VULKAN_HPP_NAMESPACE::TensorARM release() |
| 14518 |
{ |
| 14519 |
m_device = nullptr; |
| 14520 |
m_allocator = nullptr; |
| 14521 |
m_dispatcher = nullptr; |
| 14522 |
return exchange( m_tensorARM, nullptr ); |
| 14523 |
} |
| 14524 |
|
| 14525 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 14526 |
{ |
| 14527 |
return m_device; |
| 14528 |
} |
| 14529 |
|
| 14530 |
detail::DeviceDispatcher const * getDispatcher() const |
| 14531 |
{ |
| 14532 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 14533 |
return m_dispatcher; |
| 14534 |
} |
| 14535 |
|
| 14536 |
void swap( TensorARM & rhs ) VULKAN_HPP_NOEXCEPT |
| 14537 |
{ |
| 14538 |
std::swap( m_device, rhs.m_device ); |
| 14539 |
std::swap( m_tensorARM, rhs.m_tensorARM ); |
| 14540 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14541 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14542 |
} |
| 14543 |
|
| 14544 |
private: |
| 14545 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 14546 |
VULKAN_HPP_NAMESPACE::TensorARM m_tensorARM = {}; |
| 14547 |
const AllocationCallbacks * m_allocator = {}; |
| 14548 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 14549 |
}; |
| 14550 |
|
| 14551 |
template <> |
| 14552 |
struct isVulkanRAIIHandleType<TensorARM> |
| 14553 |
{ |
| 14554 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 14555 |
}; |
| 14556 |
|
| 14557 |
// wrapper class for handle VkTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkTensorViewARM.html |
| 14558 |
class TensorViewARM |
| 14559 |
{ |
| 14560 |
public: |
| 14561 |
using CType = VkTensorViewARM; |
| 14562 |
using CppType = VULKAN_HPP_NAMESPACE::TensorViewARM; |
| 14563 |
|
| 14564 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eTensorViewARM; |
| 14565 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 14566 |
|
| 14567 |
public: |
| 14568 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14569 |
TensorViewARM( Device const & device, TensorViewCreateInfoARM const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14570 |
{ |
| 14571 |
*this = device.createTensorViewARM( createInfo, allocator ); |
| 14572 |
} |
| 14573 |
# endif |
| 14574 |
|
| 14575 |
TensorViewARM( Device const & device, VkTensorViewARM tensorView, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14576 |
: m_device( device ) |
| 14577 |
, m_tensorViewARM( tensorView ) |
| 14578 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14579 |
, m_dispatcher( device.getDispatcher() ) |
| 14580 |
{ |
| 14581 |
} |
| 14582 |
|
| 14583 |
TensorViewARM( std::nullptr_t ) {} |
| 14584 |
|
| 14585 |
~TensorViewARM() |
| 14586 |
{ |
| 14587 |
clear(); |
| 14588 |
} |
| 14589 |
|
| 14590 |
TensorViewARM() = delete; |
| 14591 |
TensorViewARM( TensorViewARM const & ) = delete; |
| 14592 |
|
| 14593 |
TensorViewARM( TensorViewARM && rhs ) VULKAN_HPP_NOEXCEPT |
| 14594 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 14595 |
, m_tensorViewARM( exchange( rhs.m_tensorViewARM, {} ) ) |
| 14596 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 14597 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 14598 |
{ |
| 14599 |
} |
| 14600 |
|
| 14601 |
TensorViewARM & operator=( TensorViewARM const & ) = delete; |
| 14602 |
|
| 14603 |
TensorViewARM & operator=( TensorViewARM && rhs ) VULKAN_HPP_NOEXCEPT |
| 14604 |
{ |
| 14605 |
if ( this != &rhs ) |
| 14606 |
{ |
| 14607 |
std::swap( m_device, rhs.m_device ); |
| 14608 |
std::swap( m_tensorViewARM, rhs.m_tensorViewARM ); |
| 14609 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14610 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14611 |
} |
| 14612 |
return *this; |
| 14613 |
} |
| 14614 |
|
| 14615 |
VULKAN_HPP_NAMESPACE::TensorViewARM const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 14616 |
{ |
| 14617 |
return m_tensorViewARM; |
| 14618 |
} |
| 14619 |
|
| 14620 |
VULKAN_HPP_NAMESPACE::TensorViewARM const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 14621 |
{ |
| 14622 |
return std::move( m_tensorViewARM ); |
| 14623 |
} |
| 14624 |
|
| 14625 |
operator VULKAN_HPP_NAMESPACE::TensorViewARM() const VULKAN_HPP_NOEXCEPT |
| 14626 |
{ |
| 14627 |
return m_tensorViewARM; |
| 14628 |
} |
| 14629 |
|
| 14630 |
void clear() VULKAN_HPP_NOEXCEPT |
| 14631 |
{ |
| 14632 |
if ( m_tensorViewARM ) |
| 14633 |
{ |
| 14634 |
getDispatcher()->vkDestroyTensorViewARM( static_cast<VkDevice>( m_device ), |
| 14635 |
static_cast<VkTensorViewARM>( m_tensorViewARM ), |
| 14636 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 14637 |
} |
| 14638 |
m_device = nullptr; |
| 14639 |
m_tensorViewARM = nullptr; |
| 14640 |
m_allocator = nullptr; |
| 14641 |
m_dispatcher = nullptr; |
| 14642 |
} |
| 14643 |
|
| 14644 |
VULKAN_HPP_NAMESPACE::TensorViewARM release() |
| 14645 |
{ |
| 14646 |
m_device = nullptr; |
| 14647 |
m_allocator = nullptr; |
| 14648 |
m_dispatcher = nullptr; |
| 14649 |
return exchange( m_tensorViewARM, nullptr ); |
| 14650 |
} |
| 14651 |
|
| 14652 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 14653 |
{ |
| 14654 |
return m_device; |
| 14655 |
} |
| 14656 |
|
| 14657 |
detail::DeviceDispatcher const * getDispatcher() const |
| 14658 |
{ |
| 14659 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 14660 |
return m_dispatcher; |
| 14661 |
} |
| 14662 |
|
| 14663 |
void swap( TensorViewARM & rhs ) VULKAN_HPP_NOEXCEPT |
| 14664 |
{ |
| 14665 |
std::swap( m_device, rhs.m_device ); |
| 14666 |
std::swap( m_tensorViewARM, rhs.m_tensorViewARM ); |
| 14667 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14668 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14669 |
} |
| 14670 |
|
| 14671 |
private: |
| 14672 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 14673 |
VULKAN_HPP_NAMESPACE::TensorViewARM m_tensorViewARM = {}; |
| 14674 |
const AllocationCallbacks * m_allocator = {}; |
| 14675 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 14676 |
}; |
| 14677 |
|
| 14678 |
template <> |
| 14679 |
struct isVulkanRAIIHandleType<TensorViewARM> |
| 14680 |
{ |
| 14681 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 14682 |
}; |
| 14683 |
|
| 14684 |
// wrapper class for handle VkValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkValidationCacheEXT.html |
| 14685 |
class ValidationCacheEXT |
| 14686 |
{ |
| 14687 |
public: |
| 14688 |
using CType = VkValidationCacheEXT; |
| 14689 |
using CppType = VULKAN_HPP_NAMESPACE::ValidationCacheEXT; |
| 14690 |
|
| 14691 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eValidationCacheEXT; |
| 14692 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eValidationCacheEXT; |
| 14693 |
|
| 14694 |
public: |
| 14695 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14696 |
ValidationCacheEXT( Device const & device, ValidationCacheCreateInfoEXT const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14697 |
{ |
| 14698 |
*this = device.createValidationCacheEXT( createInfo, allocator ); |
| 14699 |
} |
| 14700 |
# endif |
| 14701 |
|
| 14702 |
ValidationCacheEXT( Device const & device, VkValidationCacheEXT validationCache, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14703 |
: m_device( device ) |
| 14704 |
, m_validationCacheEXT( validationCache ) |
| 14705 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14706 |
, m_dispatcher( device.getDispatcher() ) |
| 14707 |
{ |
| 14708 |
} |
| 14709 |
|
| 14710 |
ValidationCacheEXT( std::nullptr_t ) {} |
| 14711 |
|
| 14712 |
~ValidationCacheEXT() |
| 14713 |
{ |
| 14714 |
clear(); |
| 14715 |
} |
| 14716 |
|
| 14717 |
ValidationCacheEXT() = delete; |
| 14718 |
ValidationCacheEXT( ValidationCacheEXT const & ) = delete; |
| 14719 |
|
| 14720 |
ValidationCacheEXT( ValidationCacheEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 14721 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 14722 |
, m_validationCacheEXT( exchange( rhs.m_validationCacheEXT, {} ) ) |
| 14723 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 14724 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 14725 |
{ |
| 14726 |
} |
| 14727 |
|
| 14728 |
ValidationCacheEXT & operator=( ValidationCacheEXT const & ) = delete; |
| 14729 |
|
| 14730 |
ValidationCacheEXT & operator=( ValidationCacheEXT && rhs ) VULKAN_HPP_NOEXCEPT |
| 14731 |
{ |
| 14732 |
if ( this != &rhs ) |
| 14733 |
{ |
| 14734 |
std::swap( m_device, rhs.m_device ); |
| 14735 |
std::swap( m_validationCacheEXT, rhs.m_validationCacheEXT ); |
| 14736 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14737 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14738 |
} |
| 14739 |
return *this; |
| 14740 |
} |
| 14741 |
|
| 14742 |
VULKAN_HPP_NAMESPACE::ValidationCacheEXT const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 14743 |
{ |
| 14744 |
return m_validationCacheEXT; |
| 14745 |
} |
| 14746 |
|
| 14747 |
VULKAN_HPP_NAMESPACE::ValidationCacheEXT const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 14748 |
{ |
| 14749 |
return std::move( m_validationCacheEXT ); |
| 14750 |
} |
| 14751 |
|
| 14752 |
operator VULKAN_HPP_NAMESPACE::ValidationCacheEXT() const VULKAN_HPP_NOEXCEPT |
| 14753 |
{ |
| 14754 |
return m_validationCacheEXT; |
| 14755 |
} |
| 14756 |
|
| 14757 |
void clear() VULKAN_HPP_NOEXCEPT |
| 14758 |
{ |
| 14759 |
if ( m_validationCacheEXT ) |
| 14760 |
{ |
| 14761 |
getDispatcher()->vkDestroyValidationCacheEXT( static_cast<VkDevice>( m_device ), |
| 14762 |
static_cast<VkValidationCacheEXT>( m_validationCacheEXT ), |
| 14763 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 14764 |
} |
| 14765 |
m_device = nullptr; |
| 14766 |
m_validationCacheEXT = nullptr; |
| 14767 |
m_allocator = nullptr; |
| 14768 |
m_dispatcher = nullptr; |
| 14769 |
} |
| 14770 |
|
| 14771 |
VULKAN_HPP_NAMESPACE::ValidationCacheEXT release() |
| 14772 |
{ |
| 14773 |
m_device = nullptr; |
| 14774 |
m_allocator = nullptr; |
| 14775 |
m_dispatcher = nullptr; |
| 14776 |
return exchange( m_validationCacheEXT, nullptr ); |
| 14777 |
} |
| 14778 |
|
| 14779 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 14780 |
{ |
| 14781 |
return m_device; |
| 14782 |
} |
| 14783 |
|
| 14784 |
detail::DeviceDispatcher const * getDispatcher() const |
| 14785 |
{ |
| 14786 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 14787 |
return m_dispatcher; |
| 14788 |
} |
| 14789 |
|
| 14790 |
void swap( ValidationCacheEXT & rhs ) VULKAN_HPP_NOEXCEPT |
| 14791 |
{ |
| 14792 |
std::swap( m_device, rhs.m_device ); |
| 14793 |
std::swap( m_validationCacheEXT, rhs.m_validationCacheEXT ); |
| 14794 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14795 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14796 |
} |
| 14797 |
|
| 14798 |
//=== VK_EXT_validation_cache === |
| 14799 |
|
| 14800 |
// wrapper function for command vkMergeValidationCachesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergeValidationCachesEXT.html |
| 14801 |
typename ResultValueType<void>::type merge( ArrayProxy<const VULKAN_HPP_NAMESPACE::ValidationCacheEXT> const & srcCaches ) const; |
| 14802 |
|
| 14803 |
// wrapper function for command vkGetValidationCacheDataEXT, see |
| 14804 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html |
| 14805 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<uint8_t>>::type getData() const; |
| 14806 |
|
| 14807 |
private: |
| 14808 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 14809 |
VULKAN_HPP_NAMESPACE::ValidationCacheEXT m_validationCacheEXT = {}; |
| 14810 |
const AllocationCallbacks * m_allocator = {}; |
| 14811 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 14812 |
}; |
| 14813 |
|
| 14814 |
template <> |
| 14815 |
struct isVulkanRAIIHandleType<ValidationCacheEXT> |
| 14816 |
{ |
| 14817 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 14818 |
}; |
| 14819 |
|
| 14820 |
// wrapper class for handle VkVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkVideoSessionKHR.html |
| 14821 |
class VideoSessionKHR |
| 14822 |
{ |
| 14823 |
public: |
| 14824 |
using CType = VkVideoSessionKHR; |
| 14825 |
using CppType = VULKAN_HPP_NAMESPACE::VideoSessionKHR; |
| 14826 |
|
| 14827 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eVideoSessionKHR; |
| 14828 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 14829 |
|
| 14830 |
public: |
| 14831 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14832 |
VideoSessionKHR( Device const & device, VideoSessionCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14833 |
{ |
| 14834 |
*this = device.createVideoSessionKHR( createInfo, allocator ); |
| 14835 |
} |
| 14836 |
# endif |
| 14837 |
|
| 14838 |
VideoSessionKHR( Device const & device, VkVideoSessionKHR videoSession, Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14839 |
: m_device( device ) |
| 14840 |
, m_videoSessionKHR( videoSession ) |
| 14841 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14842 |
, m_dispatcher( device.getDispatcher() ) |
| 14843 |
{ |
| 14844 |
} |
| 14845 |
|
| 14846 |
VideoSessionKHR( std::nullptr_t ) {} |
| 14847 |
|
| 14848 |
~VideoSessionKHR() |
| 14849 |
{ |
| 14850 |
clear(); |
| 14851 |
} |
| 14852 |
|
| 14853 |
VideoSessionKHR() = delete; |
| 14854 |
VideoSessionKHR( VideoSessionKHR const & ) = delete; |
| 14855 |
|
| 14856 |
VideoSessionKHR( VideoSessionKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14857 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 14858 |
, m_videoSessionKHR( exchange( rhs.m_videoSessionKHR, {} ) ) |
| 14859 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 14860 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 14861 |
{ |
| 14862 |
} |
| 14863 |
|
| 14864 |
VideoSessionKHR & operator=( VideoSessionKHR const & ) = delete; |
| 14865 |
|
| 14866 |
VideoSessionKHR & operator=( VideoSessionKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14867 |
{ |
| 14868 |
if ( this != &rhs ) |
| 14869 |
{ |
| 14870 |
std::swap( m_device, rhs.m_device ); |
| 14871 |
std::swap( m_videoSessionKHR, rhs.m_videoSessionKHR ); |
| 14872 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14873 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14874 |
} |
| 14875 |
return *this; |
| 14876 |
} |
| 14877 |
|
| 14878 |
VULKAN_HPP_NAMESPACE::VideoSessionKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 14879 |
{ |
| 14880 |
return m_videoSessionKHR; |
| 14881 |
} |
| 14882 |
|
| 14883 |
VULKAN_HPP_NAMESPACE::VideoSessionKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 14884 |
{ |
| 14885 |
return std::move( m_videoSessionKHR ); |
| 14886 |
} |
| 14887 |
|
| 14888 |
operator VULKAN_HPP_NAMESPACE::VideoSessionKHR() const VULKAN_HPP_NOEXCEPT |
| 14889 |
{ |
| 14890 |
return m_videoSessionKHR; |
| 14891 |
} |
| 14892 |
|
| 14893 |
void clear() VULKAN_HPP_NOEXCEPT |
| 14894 |
{ |
| 14895 |
if ( m_videoSessionKHR ) |
| 14896 |
{ |
| 14897 |
getDispatcher()->vkDestroyVideoSessionKHR( static_cast<VkDevice>( m_device ), |
| 14898 |
static_cast<VkVideoSessionKHR>( m_videoSessionKHR ), |
| 14899 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 14900 |
} |
| 14901 |
m_device = nullptr; |
| 14902 |
m_videoSessionKHR = nullptr; |
| 14903 |
m_allocator = nullptr; |
| 14904 |
m_dispatcher = nullptr; |
| 14905 |
} |
| 14906 |
|
| 14907 |
VULKAN_HPP_NAMESPACE::VideoSessionKHR release() |
| 14908 |
{ |
| 14909 |
m_device = nullptr; |
| 14910 |
m_allocator = nullptr; |
| 14911 |
m_dispatcher = nullptr; |
| 14912 |
return exchange( m_videoSessionKHR, nullptr ); |
| 14913 |
} |
| 14914 |
|
| 14915 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 14916 |
{ |
| 14917 |
return m_device; |
| 14918 |
} |
| 14919 |
|
| 14920 |
detail::DeviceDispatcher const * getDispatcher() const |
| 14921 |
{ |
| 14922 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 14923 |
return m_dispatcher; |
| 14924 |
} |
| 14925 |
|
| 14926 |
void swap( VideoSessionKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 14927 |
{ |
| 14928 |
std::swap( m_device, rhs.m_device ); |
| 14929 |
std::swap( m_videoSessionKHR, rhs.m_videoSessionKHR ); |
| 14930 |
std::swap( m_allocator, rhs.m_allocator ); |
| 14931 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 14932 |
} |
| 14933 |
|
| 14934 |
//=== VK_KHR_video_queue === |
| 14935 |
|
| 14936 |
// wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see |
| 14937 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html |
| 14938 |
VULKAN_HPP_NODISCARD typename ResultValueType<std::vector<VideoSessionMemoryRequirementsKHR>>::type getMemoryRequirements() const; |
| 14939 |
|
| 14940 |
// wrapper function for command vkBindVideoSessionMemoryKHR, see |
| 14941 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindVideoSessionMemoryKHR.html |
| 14942 |
typename ResultValueType<void>::type bindMemory( ArrayProxy<const BindVideoSessionMemoryInfoKHR> const & bindSessionMemoryInfos ) const; |
| 14943 |
|
| 14944 |
private: |
| 14945 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 14946 |
VULKAN_HPP_NAMESPACE::VideoSessionKHR m_videoSessionKHR = {}; |
| 14947 |
const AllocationCallbacks * m_allocator = {}; |
| 14948 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 14949 |
}; |
| 14950 |
|
| 14951 |
template <> |
| 14952 |
struct isVulkanRAIIHandleType<VideoSessionKHR> |
| 14953 |
{ |
| 14954 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 14955 |
}; |
| 14956 |
|
| 14957 |
// wrapper class for handle VkVideoSessionParametersKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/VkVideoSessionParametersKHR.html |
| 14958 |
class VideoSessionParametersKHR |
| 14959 |
{ |
| 14960 |
public: |
| 14961 |
using CType = VkVideoSessionParametersKHR; |
| 14962 |
using CppType = VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR; |
| 14963 |
|
| 14964 |
static VULKAN_HPP_CONST_OR_CONSTEXPR ObjectType objectType = ObjectType::eVideoSessionParametersKHR; |
| 14965 |
static VULKAN_HPP_CONST_OR_CONSTEXPR DebugReportObjectTypeEXT debugReportObjectType = DebugReportObjectTypeEXT::eUnknown; |
| 14966 |
|
| 14967 |
public: |
| 14968 |
# if !defined( VULKAN_HPP_NO_EXCEPTIONS ) |
| 14969 |
VideoSessionParametersKHR( Device const & device, |
| 14970 |
VideoSessionParametersCreateInfoKHR const & createInfo, |
| 14971 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14972 |
{ |
| 14973 |
*this = device.createVideoSessionParametersKHR( createInfo, allocator ); |
| 14974 |
} |
| 14975 |
# endif |
| 14976 |
|
| 14977 |
VideoSessionParametersKHR( Device const & device, |
| 14978 |
VkVideoSessionParametersKHR videoSessionParameters, |
| 14979 |
Optional<const AllocationCallbacks> allocator = nullptr ) |
| 14980 |
: m_device( device ) |
| 14981 |
, m_videoSessionParametersKHR( videoSessionParameters ) |
| 14982 |
, m_allocator( static_cast<const AllocationCallbacks *>( allocator ) ) |
| 14983 |
, m_dispatcher( device.getDispatcher() ) |
| 14984 |
{ |
| 14985 |
} |
| 14986 |
|
| 14987 |
VideoSessionParametersKHR( std::nullptr_t ) {} |
| 14988 |
|
| 14989 |
~VideoSessionParametersKHR() |
| 14990 |
{ |
| 14991 |
clear(); |
| 14992 |
} |
| 14993 |
|
| 14994 |
VideoSessionParametersKHR() = delete; |
| 14995 |
VideoSessionParametersKHR( VideoSessionParametersKHR const & ) = delete; |
| 14996 |
|
| 14997 |
VideoSessionParametersKHR( VideoSessionParametersKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 14998 |
: m_device( exchange( rhs.m_device, {} ) ) |
| 14999 |
, m_videoSessionParametersKHR( exchange( rhs.m_videoSessionParametersKHR, {} ) ) |
| 15000 |
, m_allocator( exchange( rhs.m_allocator, {} ) ) |
| 15001 |
, m_dispatcher( exchange( rhs.m_dispatcher, nullptr ) ) |
| 15002 |
{ |
| 15003 |
} |
| 15004 |
|
| 15005 |
VideoSessionParametersKHR & operator=( VideoSessionParametersKHR const & ) = delete; |
| 15006 |
|
| 15007 |
VideoSessionParametersKHR & operator=( VideoSessionParametersKHR && rhs ) VULKAN_HPP_NOEXCEPT |
| 15008 |
{ |
| 15009 |
if ( this != &rhs ) |
| 15010 |
{ |
| 15011 |
std::swap( m_device, rhs.m_device ); |
| 15012 |
std::swap( m_videoSessionParametersKHR, rhs.m_videoSessionParametersKHR ); |
| 15013 |
std::swap( m_allocator, rhs.m_allocator ); |
| 15014 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 15015 |
} |
| 15016 |
return *this; |
| 15017 |
} |
| 15018 |
|
| 15019 |
VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR const & operator*() const & VULKAN_HPP_NOEXCEPT |
| 15020 |
{ |
| 15021 |
return m_videoSessionParametersKHR; |
| 15022 |
} |
| 15023 |
|
| 15024 |
VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR const && operator*() const && VULKAN_HPP_NOEXCEPT |
| 15025 |
{ |
| 15026 |
return std::move( m_videoSessionParametersKHR ); |
| 15027 |
} |
| 15028 |
|
| 15029 |
operator VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR() const VULKAN_HPP_NOEXCEPT |
| 15030 |
{ |
| 15031 |
return m_videoSessionParametersKHR; |
| 15032 |
} |
| 15033 |
|
| 15034 |
void clear() VULKAN_HPP_NOEXCEPT |
| 15035 |
{ |
| 15036 |
if ( m_videoSessionParametersKHR ) |
| 15037 |
{ |
| 15038 |
getDispatcher()->vkDestroyVideoSessionParametersKHR( static_cast<VkDevice>( m_device ), |
| 15039 |
static_cast<VkVideoSessionParametersKHR>( m_videoSessionParametersKHR ), |
| 15040 |
reinterpret_cast<const VkAllocationCallbacks *>( m_allocator ) ); |
| 15041 |
} |
| 15042 |
m_device = nullptr; |
| 15043 |
m_videoSessionParametersKHR = nullptr; |
| 15044 |
m_allocator = nullptr; |
| 15045 |
m_dispatcher = nullptr; |
| 15046 |
} |
| 15047 |
|
| 15048 |
VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR release() |
| 15049 |
{ |
| 15050 |
m_device = nullptr; |
| 15051 |
m_allocator = nullptr; |
| 15052 |
m_dispatcher = nullptr; |
| 15053 |
return exchange( m_videoSessionParametersKHR, nullptr ); |
| 15054 |
} |
| 15055 |
|
| 15056 |
VULKAN_HPP_NAMESPACE::Device getDevice() const |
| 15057 |
{ |
| 15058 |
return m_device; |
| 15059 |
} |
| 15060 |
|
| 15061 |
detail::DeviceDispatcher const * getDispatcher() const |
| 15062 |
{ |
| 15063 |
VULKAN_HPP_ASSERT( m_dispatcher->getVkHeaderVersion() == VK_HEADER_VERSION ); |
| 15064 |
return m_dispatcher; |
| 15065 |
} |
| 15066 |
|
| 15067 |
void swap( VideoSessionParametersKHR & rhs ) VULKAN_HPP_NOEXCEPT |
| 15068 |
{ |
| 15069 |
std::swap( m_device, rhs.m_device ); |
| 15070 |
std::swap( m_videoSessionParametersKHR, rhs.m_videoSessionParametersKHR ); |
| 15071 |
std::swap( m_allocator, rhs.m_allocator ); |
| 15072 |
std::swap( m_dispatcher, rhs.m_dispatcher ); |
| 15073 |
} |
| 15074 |
|
| 15075 |
//=== VK_KHR_video_queue === |
| 15076 |
|
| 15077 |
// wrapper function for command vkUpdateVideoSessionParametersKHR, see |
| 15078 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateVideoSessionParametersKHR.html |
| 15079 |
typename ResultValueType<void>::type update( const VideoSessionParametersUpdateInfoKHR & updateInfo ) const; |
| 15080 |
|
| 15081 |
private: |
| 15082 |
VULKAN_HPP_NAMESPACE::Device m_device = {}; |
| 15083 |
VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR m_videoSessionParametersKHR = {}; |
| 15084 |
const AllocationCallbacks * m_allocator = {}; |
| 15085 |
detail::DeviceDispatcher const * m_dispatcher = nullptr; |
| 15086 |
}; |
| 15087 |
|
| 15088 |
template <> |
| 15089 |
struct isVulkanRAIIHandleType<VideoSessionParametersKHR> |
| 15090 |
{ |
| 15091 |
static VULKAN_HPP_CONST_OR_CONSTEXPR bool value = true; |
| 15092 |
}; |
| 15093 |
|
| 15094 |
// operators to compare VULKAN_HPP_NAMESPACE::raii-handles |
| 15095 |
# if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) |
| 15096 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15097 |
auto operator<=>( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT |
| 15098 |
{ |
| 15099 |
return *a <=> *b; |
| 15100 |
} |
| 15101 |
# else |
| 15102 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15103 |
bool operator<( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT |
| 15104 |
{ |
| 15105 |
return *a < *b; |
| 15106 |
} |
| 15107 |
# endif |
| 15108 |
|
| 15109 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15110 |
bool operator==( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT |
| 15111 |
{ |
| 15112 |
return *a == *b; |
| 15113 |
} |
| 15114 |
|
| 15115 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15116 |
bool operator!=( T const & a, T const & b ) VULKAN_HPP_NOEXCEPT |
| 15117 |
{ |
| 15118 |
return *a != *b; |
| 15119 |
} |
| 15120 |
|
| 15121 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15122 |
bool operator==( const T & v, std::nullptr_t ) VULKAN_HPP_NOEXCEPT |
| 15123 |
{ |
| 15124 |
return !*v; |
| 15125 |
} |
| 15126 |
|
| 15127 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15128 |
bool operator==( std::nullptr_t, const T & v ) VULKAN_HPP_NOEXCEPT |
| 15129 |
{ |
| 15130 |
return !*v; |
| 15131 |
} |
| 15132 |
|
| 15133 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15134 |
bool operator!=( const T & v, std::nullptr_t ) VULKAN_HPP_NOEXCEPT |
| 15135 |
{ |
| 15136 |
return *v; |
| 15137 |
} |
| 15138 |
|
| 15139 |
template <typename T, typename std::enable_if<isVulkanRAIIHandleType<T>::value, bool>::type = 0> |
| 15140 |
bool operator!=( std::nullptr_t, const T & v ) VULKAN_HPP_NOEXCEPT |
| 15141 |
{ |
| 15142 |
return *v; |
| 15143 |
} |
| 15144 |
|
| 15145 |
//=========================== |
| 15146 |
//=== COMMAND Definitions === |
| 15147 |
//=========================== |
| 15148 |
|
| 15149 |
//=== VK_VERSION_1_0 === |
| 15150 |
|
| 15151 |
// wrapper function for command vkCreateInstance, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateInstance.html |
| 15152 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Instance>::type |
| 15153 |
Context::createInstance( InstanceCreateInfo const & createInfo, |
| 15154 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15155 |
{ |
| 15156 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateInstance && "Function <vkCreateInstance> requires <VK_VERSION_1_0>" ); |
| 15157 |
|
| 15158 |
VULKAN_HPP_NAMESPACE::Instance instance; |
| 15159 |
Result result = static_cast<Result>( getDispatcher()->vkCreateInstance( reinterpret_cast<const VkInstanceCreateInfo *>( &createInfo ), |
| 15160 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15161 |
reinterpret_cast<VkInstance *>( &instance ) ) ); |
| 15162 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Context::createInstance" ); |
| 15163 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Instance( *this, *reinterpret_cast<VkInstance *>( &instance ), allocator ) ); |
| 15164 |
} |
| 15165 |
|
| 15166 |
// wrapper function for command vkEnumeratePhysicalDevices, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDevices.html |
| 15167 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDevice>>::type Instance::enumeratePhysicalDevices() const |
| 15168 |
{ |
| 15169 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumeratePhysicalDevices && "Function <vkEnumeratePhysicalDevices> requires <VK_VERSION_1_0>" ); |
| 15170 |
|
| 15171 |
std::vector<VULKAN_HPP_NAMESPACE::PhysicalDevice> physicalDevices; |
| 15172 |
uint32_t physicalDeviceCount; |
| 15173 |
Result result; |
| 15174 |
do |
| 15175 |
{ |
| 15176 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDevices( static_cast<VkInstance>( m_instance ), &physicalDeviceCount, nullptr ) ); |
| 15177 |
if ( ( result == Result::eSuccess ) && physicalDeviceCount ) |
| 15178 |
{ |
| 15179 |
physicalDevices.resize( physicalDeviceCount ); |
| 15180 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDevices( |
| 15181 |
static_cast<VkInstance>( m_instance ), &physicalDeviceCount, reinterpret_cast<VkPhysicalDevice *>( physicalDevices.data() ) ) ); |
| 15182 |
} |
| 15183 |
} while ( result == Result::eIncomplete ); |
| 15184 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::enumeratePhysicalDevices" ); |
| 15185 |
std::vector<PhysicalDevice> physicalDevicesRAII; |
| 15186 |
if ( result == Result::eSuccess ) |
| 15187 |
{ |
| 15188 |
physicalDevicesRAII.reserve( physicalDevices.size() ); |
| 15189 |
for ( auto & physicalDevice : physicalDevices ) |
| 15190 |
{ |
| 15191 |
physicalDevicesRAII.emplace_back( *this, *reinterpret_cast<VkPhysicalDevice *>( &physicalDevice ) ); |
| 15192 |
} |
| 15193 |
} |
| 15194 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( physicalDevicesRAII ) ); |
| 15195 |
} |
| 15196 |
|
| 15197 |
// wrapper function for command vkGetPhysicalDeviceFeatures, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures.html |
| 15198 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceFeatures PhysicalDevice::getFeatures() const VULKAN_HPP_NOEXCEPT |
| 15199 |
{ |
| 15200 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFeatures && "Function <vkGetPhysicalDeviceFeatures> requires <VK_VERSION_1_0>" ); |
| 15201 |
|
| 15202 |
PhysicalDeviceFeatures features; |
| 15203 |
getDispatcher()->vkGetPhysicalDeviceFeatures( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15204 |
reinterpret_cast<VkPhysicalDeviceFeatures *>( &features ) ); |
| 15205 |
|
| 15206 |
return features; |
| 15207 |
} |
| 15208 |
|
| 15209 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties, see |
| 15210 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties.html |
| 15211 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties PhysicalDevice::getFormatProperties( Format format ) const VULKAN_HPP_NOEXCEPT |
| 15212 |
{ |
| 15213 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties && "Function <vkGetPhysicalDeviceFormatProperties> requires <VK_VERSION_1_0>" ); |
| 15214 |
|
| 15215 |
FormatProperties formatProperties; |
| 15216 |
getDispatcher()->vkGetPhysicalDeviceFormatProperties( |
| 15217 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties *>( &formatProperties ) ); |
| 15218 |
|
| 15219 |
return formatProperties; |
| 15220 |
} |
| 15221 |
|
| 15222 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties, see |
| 15223 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties.html |
| 15224 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageFormatProperties>::type |
| 15225 |
PhysicalDevice::getImageFormatProperties( Format format, ImageType type, ImageTiling tiling, ImageUsageFlags usage, ImageCreateFlags flags ) const |
| 15226 |
{ |
| 15227 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties && |
| 15228 |
"Function <vkGetPhysicalDeviceImageFormatProperties> requires <VK_VERSION_1_0>" ); |
| 15229 |
|
| 15230 |
ImageFormatProperties imageFormatProperties; |
| 15231 |
Result result = static_cast<Result>( |
| 15232 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15233 |
static_cast<VkFormat>( format ), |
| 15234 |
static_cast<VkImageType>( type ), |
| 15235 |
static_cast<VkImageTiling>( tiling ), |
| 15236 |
static_cast<VkImageUsageFlags>( usage ), |
| 15237 |
static_cast<VkImageCreateFlags>( flags ), |
| 15238 |
reinterpret_cast<VkImageFormatProperties *>( &imageFormatProperties ) ) ); |
| 15239 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties" ); |
| 15240 |
|
| 15241 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( imageFormatProperties ) ); |
| 15242 |
} |
| 15243 |
|
| 15244 |
// wrapper function for command vkGetPhysicalDeviceProperties, see |
| 15245 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties.html |
| 15246 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties PhysicalDevice::getProperties() const VULKAN_HPP_NOEXCEPT |
| 15247 |
{ |
| 15248 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties && "Function <vkGetPhysicalDeviceProperties> requires <VK_VERSION_1_0>" ); |
| 15249 |
|
| 15250 |
PhysicalDeviceProperties properties; |
| 15251 |
getDispatcher()->vkGetPhysicalDeviceProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15252 |
reinterpret_cast<VkPhysicalDeviceProperties *>( &properties ) ); |
| 15253 |
|
| 15254 |
return properties; |
| 15255 |
} |
| 15256 |
|
| 15257 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties, see |
| 15258 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html |
| 15259 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<QueueFamilyProperties> PhysicalDevice::getQueueFamilyProperties() const |
| 15260 |
{ |
| 15261 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties && |
| 15262 |
"Function <vkGetPhysicalDeviceQueueFamilyProperties> requires <VK_VERSION_1_0>" ); |
| 15263 |
|
| 15264 |
std::vector<QueueFamilyProperties> queueFamilyProperties; |
| 15265 |
uint32_t queueFamilyPropertyCount; |
| 15266 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); |
| 15267 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 15268 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15269 |
&queueFamilyPropertyCount, |
| 15270 |
reinterpret_cast<VkQueueFamilyProperties *>( queueFamilyProperties.data() ) ); |
| 15271 |
|
| 15272 |
VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); |
| 15273 |
if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) |
| 15274 |
{ |
| 15275 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 15276 |
} |
| 15277 |
return queueFamilyProperties; |
| 15278 |
} |
| 15279 |
|
| 15280 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties, see |
| 15281 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties.html |
| 15282 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties PhysicalDevice::getMemoryProperties() const VULKAN_HPP_NOEXCEPT |
| 15283 |
{ |
| 15284 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceMemoryProperties && "Function <vkGetPhysicalDeviceMemoryProperties> requires <VK_VERSION_1_0>" ); |
| 15285 |
|
| 15286 |
PhysicalDeviceMemoryProperties memoryProperties; |
| 15287 |
getDispatcher()->vkGetPhysicalDeviceMemoryProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15288 |
reinterpret_cast<VkPhysicalDeviceMemoryProperties *>( &memoryProperties ) ); |
| 15289 |
|
| 15290 |
return memoryProperties; |
| 15291 |
} |
| 15292 |
|
| 15293 |
// wrapper function for command vkGetInstanceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetInstanceProcAddr.html |
| 15294 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PFN_VoidFunction Instance::getProcAddr( const std::string & name ) const VULKAN_HPP_NOEXCEPT |
| 15295 |
{ |
| 15296 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetInstanceProcAddr && "Function <vkGetInstanceProcAddr> requires <VK_VERSION_1_0>" ); |
| 15297 |
|
| 15298 |
PFN_vkVoidFunction result = getDispatcher()->vkGetInstanceProcAddr( static_cast<VkInstance>( m_instance ), name.c_str() ); |
| 15299 |
|
| 15300 |
return result; |
| 15301 |
} |
| 15302 |
|
| 15303 |
// wrapper function for command vkGetDeviceProcAddr, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceProcAddr.html |
| 15304 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PFN_VoidFunction Device::getProcAddr( const std::string & name ) const VULKAN_HPP_NOEXCEPT |
| 15305 |
{ |
| 15306 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceProcAddr && "Function <vkGetDeviceProcAddr> requires <VK_VERSION_1_0>" ); |
| 15307 |
|
| 15308 |
PFN_vkVoidFunction result = getDispatcher()->vkGetDeviceProcAddr( static_cast<VkDevice>( m_device ), name.c_str() ); |
| 15309 |
|
| 15310 |
return result; |
| 15311 |
} |
| 15312 |
|
| 15313 |
// wrapper function for command vkCreateDevice, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDevice.html |
| 15314 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Device>::type |
| 15315 |
PhysicalDevice::createDevice( DeviceCreateInfo const & createInfo, |
| 15316 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15317 |
{ |
| 15318 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDevice && "Function <vkCreateDevice> requires <VK_VERSION_1_0>" ); |
| 15319 |
|
| 15320 |
VULKAN_HPP_NAMESPACE::Device device; |
| 15321 |
Result result = static_cast<Result>( getDispatcher()->vkCreateDevice( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15322 |
reinterpret_cast<const VkDeviceCreateInfo *>( &createInfo ), |
| 15323 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15324 |
reinterpret_cast<VkDevice *>( &device ) ) ); |
| 15325 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::createDevice" ); |
| 15326 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Device( *this, *reinterpret_cast<VkDevice *>( &device ), allocator ) ); |
| 15327 |
} |
| 15328 |
|
| 15329 |
// wrapper function for command vkEnumerateInstanceExtensionProperties, see |
| 15330 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceExtensionProperties.html |
| 15331 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<ExtensionProperties>>::type |
| 15332 |
Context::enumerateInstanceExtensionProperties( Optional<const std::string> layerName ) const |
| 15333 |
{ |
| 15334 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumerateInstanceExtensionProperties && |
| 15335 |
"Function <vkEnumerateInstanceExtensionProperties> requires <VK_VERSION_1_0>" ); |
| 15336 |
|
| 15337 |
std::vector<ExtensionProperties> properties; |
| 15338 |
uint32_t propertyCount; |
| 15339 |
Result result; |
| 15340 |
do |
| 15341 |
{ |
| 15342 |
result = |
| 15343 |
static_cast<Result>( getDispatcher()->vkEnumerateInstanceExtensionProperties( layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); |
| 15344 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 15345 |
{ |
| 15346 |
properties.resize( propertyCount ); |
| 15347 |
result = static_cast<Result>( getDispatcher()->vkEnumerateInstanceExtensionProperties( |
| 15348 |
layerName ? layerName->c_str() : nullptr, &propertyCount, reinterpret_cast<VkExtensionProperties *>( properties.data() ) ) ); |
| 15349 |
} |
| 15350 |
} while ( result == Result::eIncomplete ); |
| 15351 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Context::enumerateInstanceExtensionProperties" ); |
| 15352 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 15353 |
if ( propertyCount < properties.size() ) |
| 15354 |
{ |
| 15355 |
properties.resize( propertyCount ); |
| 15356 |
} |
| 15357 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 15358 |
} |
| 15359 |
|
| 15360 |
// wrapper function for command vkEnumerateDeviceExtensionProperties, see |
| 15361 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceExtensionProperties.html |
| 15362 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<ExtensionProperties>>::type |
| 15363 |
PhysicalDevice::enumerateDeviceExtensionProperties( Optional<const std::string> layerName ) const |
| 15364 |
{ |
| 15365 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumerateDeviceExtensionProperties && "Function <vkEnumerateDeviceExtensionProperties> requires <VK_VERSION_1_0>" ); |
| 15366 |
|
| 15367 |
std::vector<ExtensionProperties> properties; |
| 15368 |
uint32_t propertyCount; |
| 15369 |
Result result; |
| 15370 |
do |
| 15371 |
{ |
| 15372 |
result = static_cast<Result>( getDispatcher()->vkEnumerateDeviceExtensionProperties( |
| 15373 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), layerName ? layerName->c_str() : nullptr, &propertyCount, nullptr ) ); |
| 15374 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 15375 |
{ |
| 15376 |
properties.resize( propertyCount ); |
| 15377 |
result = |
| 15378 |
static_cast<Result>( getDispatcher()->vkEnumerateDeviceExtensionProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15379 |
layerName ? layerName->c_str() : nullptr, |
| 15380 |
&propertyCount, |
| 15381 |
reinterpret_cast<VkExtensionProperties *>( properties.data() ) ) ); |
| 15382 |
} |
| 15383 |
} while ( result == Result::eIncomplete ); |
| 15384 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceExtensionProperties" ); |
| 15385 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 15386 |
if ( propertyCount < properties.size() ) |
| 15387 |
{ |
| 15388 |
properties.resize( propertyCount ); |
| 15389 |
} |
| 15390 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 15391 |
} |
| 15392 |
|
| 15393 |
// wrapper function for command vkEnumerateInstanceLayerProperties, see |
| 15394 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceLayerProperties.html |
| 15395 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<LayerProperties>>::type Context::enumerateInstanceLayerProperties() const |
| 15396 |
{ |
| 15397 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumerateInstanceLayerProperties && "Function <vkEnumerateInstanceLayerProperties> requires <VK_VERSION_1_0>" ); |
| 15398 |
|
| 15399 |
std::vector<LayerProperties> properties; |
| 15400 |
uint32_t propertyCount; |
| 15401 |
Result result; |
| 15402 |
do |
| 15403 |
{ |
| 15404 |
result = static_cast<Result>( getDispatcher()->vkEnumerateInstanceLayerProperties( &propertyCount, nullptr ) ); |
| 15405 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 15406 |
{ |
| 15407 |
properties.resize( propertyCount ); |
| 15408 |
result = static_cast<Result>( |
| 15409 |
getDispatcher()->vkEnumerateInstanceLayerProperties( &propertyCount, reinterpret_cast<VkLayerProperties *>( properties.data() ) ) ); |
| 15410 |
} |
| 15411 |
} while ( result == Result::eIncomplete ); |
| 15412 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Context::enumerateInstanceLayerProperties" ); |
| 15413 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 15414 |
if ( propertyCount < properties.size() ) |
| 15415 |
{ |
| 15416 |
properties.resize( propertyCount ); |
| 15417 |
} |
| 15418 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 15419 |
} |
| 15420 |
|
| 15421 |
// wrapper function for command vkEnumerateDeviceLayerProperties, see |
| 15422 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateDeviceLayerProperties.html |
| 15423 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<LayerProperties>>::type PhysicalDevice::enumerateDeviceLayerProperties() const |
| 15424 |
{ |
| 15425 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumerateDeviceLayerProperties && "Function <vkEnumerateDeviceLayerProperties> requires <VK_VERSION_1_0>" ); |
| 15426 |
|
| 15427 |
std::vector<LayerProperties> properties; |
| 15428 |
uint32_t propertyCount; |
| 15429 |
Result result; |
| 15430 |
do |
| 15431 |
{ |
| 15432 |
result = static_cast<Result>( |
| 15433 |
getDispatcher()->vkEnumerateDeviceLayerProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 15434 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 15435 |
{ |
| 15436 |
properties.resize( propertyCount ); |
| 15437 |
result = static_cast<Result>( getDispatcher()->vkEnumerateDeviceLayerProperties( |
| 15438 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkLayerProperties *>( properties.data() ) ) ); |
| 15439 |
} |
| 15440 |
} while ( result == Result::eIncomplete ); |
| 15441 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::enumerateDeviceLayerProperties" ); |
| 15442 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 15443 |
if ( propertyCount < properties.size() ) |
| 15444 |
{ |
| 15445 |
properties.resize( propertyCount ); |
| 15446 |
} |
| 15447 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 15448 |
} |
| 15449 |
|
| 15450 |
// wrapper function for command vkGetDeviceQueue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue.html |
| 15451 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Queue Device::getQueue( uint32_t queueFamilyIndex, uint32_t queueIndex ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15452 |
{ |
| 15453 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceQueue && "Function <vkGetDeviceQueue> requires <VK_VERSION_1_0>" ); |
| 15454 |
|
| 15455 |
VULKAN_HPP_NAMESPACE::Queue queue; |
| 15456 |
getDispatcher()->vkGetDeviceQueue( static_cast<VkDevice>( m_device ), queueFamilyIndex, queueIndex, reinterpret_cast<VkQueue *>( &queue ) ); |
| 15457 |
|
| 15458 |
return Queue( *this, *reinterpret_cast<VkQueue *>( &queue ) ); |
| 15459 |
} |
| 15460 |
|
| 15461 |
// wrapper function for command vkQueueSubmit, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit.html |
| 15462 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Queue::submit( ArrayProxy<const SubmitInfo> const & submits, |
| 15463 |
VULKAN_HPP_NAMESPACE::Fence fence ) const |
| 15464 |
{ |
| 15465 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueSubmit && "Function <vkQueueSubmit> requires <VK_VERSION_1_0>" ); |
| 15466 |
|
| 15467 |
Result result = static_cast<Result>( getDispatcher()->vkQueueSubmit( |
| 15468 |
static_cast<VkQueue>( m_queue ), submits.size(), reinterpret_cast<const VkSubmitInfo *>( submits.data() ), static_cast<VkFence>( fence ) ) ); |
| 15469 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::submit" ); |
| 15470 |
|
| 15471 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15472 |
} |
| 15473 |
|
| 15474 |
// wrapper function for command vkQueueWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueWaitIdle.html |
| 15475 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Queue::waitIdle() const |
| 15476 |
{ |
| 15477 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueWaitIdle && "Function <vkQueueWaitIdle> requires <VK_VERSION_1_0>" ); |
| 15478 |
|
| 15479 |
Result result = static_cast<Result>( getDispatcher()->vkQueueWaitIdle( static_cast<VkQueue>( m_queue ) ) ); |
| 15480 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::waitIdle" ); |
| 15481 |
|
| 15482 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15483 |
} |
| 15484 |
|
| 15485 |
// wrapper function for command vkDeviceWaitIdle, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeviceWaitIdle.html |
| 15486 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::waitIdle() const |
| 15487 |
{ |
| 15488 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDeviceWaitIdle && "Function <vkDeviceWaitIdle> requires <VK_VERSION_1_0>" ); |
| 15489 |
|
| 15490 |
Result result = static_cast<Result>( getDispatcher()->vkDeviceWaitIdle( static_cast<VkDevice>( m_device ) ) ); |
| 15491 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::waitIdle" ); |
| 15492 |
|
| 15493 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15494 |
} |
| 15495 |
|
| 15496 |
// wrapper function for command vkAllocateMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateMemory.html |
| 15497 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DeviceMemory>::type |
| 15498 |
Device::allocateMemory( MemoryAllocateInfo const & allocateInfo, |
| 15499 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15500 |
{ |
| 15501 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAllocateMemory && "Function <vkAllocateMemory> requires <VK_VERSION_1_0>" ); |
| 15502 |
|
| 15503 |
VULKAN_HPP_NAMESPACE::DeviceMemory memory; |
| 15504 |
Result result = static_cast<Result>( getDispatcher()->vkAllocateMemory( static_cast<VkDevice>( m_device ), |
| 15505 |
reinterpret_cast<const VkMemoryAllocateInfo *>( &allocateInfo ), |
| 15506 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15507 |
reinterpret_cast<VkDeviceMemory *>( &memory ) ) ); |
| 15508 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::allocateMemory" ); |
| 15509 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, DeviceMemory( *this, *reinterpret_cast<VkDeviceMemory *>( &memory ), allocator ) ); |
| 15510 |
} |
| 15511 |
|
| 15512 |
// wrapper function for command vkMapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory.html |
| 15513 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<void *>::type |
| 15514 |
DeviceMemory::mapMemory( DeviceSize offset, DeviceSize size, MemoryMapFlags flags ) const |
| 15515 |
{ |
| 15516 |
VULKAN_HPP_ASSERT( getDispatcher()->vkMapMemory && "Function <vkMapMemory> requires <VK_VERSION_1_0>" ); |
| 15517 |
|
| 15518 |
void * pData; |
| 15519 |
Result result = static_cast<Result>( getDispatcher()->vkMapMemory( static_cast<VkDevice>( m_device ), |
| 15520 |
static_cast<VkDeviceMemory>( m_deviceMemory ), |
| 15521 |
static_cast<VkDeviceSize>( offset ), |
| 15522 |
static_cast<VkDeviceSize>( size ), |
| 15523 |
static_cast<VkMemoryMapFlags>( flags ), |
| 15524 |
&pData ) ); |
| 15525 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DeviceMemory::mapMemory" ); |
| 15526 |
|
| 15527 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pData ) ); |
| 15528 |
} |
| 15529 |
|
| 15530 |
// wrapper function for command vkUnmapMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory.html |
| 15531 |
VULKAN_HPP_INLINE void DeviceMemory::unmapMemory() const VULKAN_HPP_NOEXCEPT |
| 15532 |
{ |
| 15533 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUnmapMemory && "Function <vkUnmapMemory> requires <VK_VERSION_1_0>" ); |
| 15534 |
|
| 15535 |
getDispatcher()->vkUnmapMemory( static_cast<VkDevice>( m_device ), static_cast<VkDeviceMemory>( m_deviceMemory ) ); |
| 15536 |
} |
| 15537 |
|
| 15538 |
// wrapper function for command vkFlushMappedMemoryRanges, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkFlushMappedMemoryRanges.html |
| 15539 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::flushMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> const & memoryRanges ) const |
| 15540 |
{ |
| 15541 |
VULKAN_HPP_ASSERT( getDispatcher()->vkFlushMappedMemoryRanges && "Function <vkFlushMappedMemoryRanges> requires <VK_VERSION_1_0>" ); |
| 15542 |
|
| 15543 |
Result result = static_cast<Result>( getDispatcher()->vkFlushMappedMemoryRanges( |
| 15544 |
static_cast<VkDevice>( m_device ), memoryRanges.size(), reinterpret_cast<const VkMappedMemoryRange *>( memoryRanges.data() ) ) ); |
| 15545 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::flushMappedMemoryRanges" ); |
| 15546 |
|
| 15547 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15548 |
} |
| 15549 |
|
| 15550 |
// wrapper function for command vkInvalidateMappedMemoryRanges, see |
| 15551 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkInvalidateMappedMemoryRanges.html |
| 15552 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 15553 |
Device::invalidateMappedMemoryRanges( ArrayProxy<const MappedMemoryRange> const & memoryRanges ) const |
| 15554 |
{ |
| 15555 |
VULKAN_HPP_ASSERT( getDispatcher()->vkInvalidateMappedMemoryRanges && "Function <vkInvalidateMappedMemoryRanges> requires <VK_VERSION_1_0>" ); |
| 15556 |
|
| 15557 |
Result result = static_cast<Result>( getDispatcher()->vkInvalidateMappedMemoryRanges( |
| 15558 |
static_cast<VkDevice>( m_device ), memoryRanges.size(), reinterpret_cast<const VkMappedMemoryRange *>( memoryRanges.data() ) ) ); |
| 15559 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::invalidateMappedMemoryRanges" ); |
| 15560 |
|
| 15561 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15562 |
} |
| 15563 |
|
| 15564 |
// wrapper function for command vkGetDeviceMemoryCommitment, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryCommitment.html |
| 15565 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize DeviceMemory::getCommitment() const VULKAN_HPP_NOEXCEPT |
| 15566 |
{ |
| 15567 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceMemoryCommitment && "Function <vkGetDeviceMemoryCommitment> requires <VK_VERSION_1_0>" ); |
| 15568 |
|
| 15569 |
DeviceSize committedMemoryInBytes; |
| 15570 |
getDispatcher()->vkGetDeviceMemoryCommitment( |
| 15571 |
static_cast<VkDevice>( m_device ), static_cast<VkDeviceMemory>( m_deviceMemory ), reinterpret_cast<VkDeviceSize *>( &committedMemoryInBytes ) ); |
| 15572 |
|
| 15573 |
return committedMemoryInBytes; |
| 15574 |
} |
| 15575 |
|
| 15576 |
// wrapper function for command vkBindBufferMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory.html |
| 15577 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Buffer::bindMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, DeviceSize memoryOffset ) const |
| 15578 |
{ |
| 15579 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindBufferMemory && "Function <vkBindBufferMemory> requires <VK_VERSION_1_0>" ); |
| 15580 |
|
| 15581 |
Result result = static_cast<Result>( getDispatcher()->vkBindBufferMemory( static_cast<VkDevice>( m_device ), |
| 15582 |
static_cast<VkBuffer>( m_buffer ), |
| 15583 |
static_cast<VkDeviceMemory>( memory ), |
| 15584 |
static_cast<VkDeviceSize>( memoryOffset ) ) ); |
| 15585 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Buffer::bindMemory" ); |
| 15586 |
|
| 15587 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15588 |
} |
| 15589 |
|
| 15590 |
// wrapper function for command vkBindImageMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory.html |
| 15591 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Image::bindMemory( VULKAN_HPP_NAMESPACE::DeviceMemory memory, DeviceSize memoryOffset ) const |
| 15592 |
{ |
| 15593 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindImageMemory && "Function <vkBindImageMemory> requires <VK_VERSION_1_0>" ); |
| 15594 |
|
| 15595 |
Result result = static_cast<Result>( getDispatcher()->vkBindImageMemory( static_cast<VkDevice>( m_device ), |
| 15596 |
static_cast<VkImage>( m_image ), |
| 15597 |
static_cast<VkDeviceMemory>( memory ), |
| 15598 |
static_cast<VkDeviceSize>( memoryOffset ) ) ); |
| 15599 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Image::bindMemory" ); |
| 15600 |
|
| 15601 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15602 |
} |
| 15603 |
|
| 15604 |
// wrapper function for command vkGetBufferMemoryRequirements, see |
| 15605 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements.html |
| 15606 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements Buffer::getMemoryRequirements() const VULKAN_HPP_NOEXCEPT |
| 15607 |
{ |
| 15608 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferMemoryRequirements && "Function <vkGetBufferMemoryRequirements> requires <VK_VERSION_1_0>" ); |
| 15609 |
|
| 15610 |
MemoryRequirements memoryRequirements; |
| 15611 |
getDispatcher()->vkGetBufferMemoryRequirements( |
| 15612 |
static_cast<VkDevice>( m_device ), static_cast<VkBuffer>( m_buffer ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); |
| 15613 |
|
| 15614 |
return memoryRequirements; |
| 15615 |
} |
| 15616 |
|
| 15617 |
// wrapper function for command vkGetImageMemoryRequirements, see |
| 15618 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements.html |
| 15619 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements Image::getMemoryRequirements() const VULKAN_HPP_NOEXCEPT |
| 15620 |
{ |
| 15621 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageMemoryRequirements && "Function <vkGetImageMemoryRequirements> requires <VK_VERSION_1_0>" ); |
| 15622 |
|
| 15623 |
MemoryRequirements memoryRequirements; |
| 15624 |
getDispatcher()->vkGetImageMemoryRequirements( |
| 15625 |
static_cast<VkDevice>( m_device ), static_cast<VkImage>( m_image ), reinterpret_cast<VkMemoryRequirements *>( &memoryRequirements ) ); |
| 15626 |
|
| 15627 |
return memoryRequirements; |
| 15628 |
} |
| 15629 |
|
| 15630 |
// wrapper function for command vkGetImageSparseMemoryRequirements, see |
| 15631 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements.html |
| 15632 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements> Image::getSparseMemoryRequirements() const |
| 15633 |
{ |
| 15634 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageSparseMemoryRequirements && "Function <vkGetImageSparseMemoryRequirements> requires <VK_VERSION_1_0>" ); |
| 15635 |
|
| 15636 |
std::vector<SparseImageMemoryRequirements> sparseMemoryRequirements; |
| 15637 |
uint32_t sparseMemoryRequirementCount; |
| 15638 |
getDispatcher()->vkGetImageSparseMemoryRequirements( |
| 15639 |
static_cast<VkDevice>( m_device ), static_cast<VkImage>( m_image ), &sparseMemoryRequirementCount, nullptr ); |
| 15640 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 15641 |
getDispatcher()->vkGetImageSparseMemoryRequirements( static_cast<VkDevice>( m_device ), |
| 15642 |
static_cast<VkImage>( m_image ), |
| 15643 |
&sparseMemoryRequirementCount, |
| 15644 |
reinterpret_cast<VkSparseImageMemoryRequirements *>( sparseMemoryRequirements.data() ) ); |
| 15645 |
|
| 15646 |
VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); |
| 15647 |
if ( sparseMemoryRequirementCount < sparseMemoryRequirements.size() ) |
| 15648 |
{ |
| 15649 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 15650 |
} |
| 15651 |
return sparseMemoryRequirements; |
| 15652 |
} |
| 15653 |
|
| 15654 |
// wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties, see |
| 15655 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html |
| 15656 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties> PhysicalDevice::getSparseImageFormatProperties( |
| 15657 |
Format format, ImageType type, SampleCountFlagBits samples, ImageUsageFlags usage, ImageTiling tiling ) const |
| 15658 |
{ |
| 15659 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties && |
| 15660 |
"Function <vkGetPhysicalDeviceSparseImageFormatProperties> requires <VK_VERSION_1_0>" ); |
| 15661 |
|
| 15662 |
std::vector<SparseImageFormatProperties> properties; |
| 15663 |
uint32_t propertyCount; |
| 15664 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15665 |
static_cast<VkFormat>( format ), |
| 15666 |
static_cast<VkImageType>( type ), |
| 15667 |
static_cast<VkSampleCountFlagBits>( samples ), |
| 15668 |
static_cast<VkImageUsageFlags>( usage ), |
| 15669 |
static_cast<VkImageTiling>( tiling ), |
| 15670 |
&propertyCount, |
| 15671 |
nullptr ); |
| 15672 |
properties.resize( propertyCount ); |
| 15673 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 15674 |
static_cast<VkFormat>( format ), |
| 15675 |
static_cast<VkImageType>( type ), |
| 15676 |
static_cast<VkSampleCountFlagBits>( samples ), |
| 15677 |
static_cast<VkImageUsageFlags>( usage ), |
| 15678 |
static_cast<VkImageTiling>( tiling ), |
| 15679 |
&propertyCount, |
| 15680 |
reinterpret_cast<VkSparseImageFormatProperties *>( properties.data() ) ); |
| 15681 |
|
| 15682 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 15683 |
if ( propertyCount < properties.size() ) |
| 15684 |
{ |
| 15685 |
properties.resize( propertyCount ); |
| 15686 |
} |
| 15687 |
return properties; |
| 15688 |
} |
| 15689 |
|
| 15690 |
// wrapper function for command vkQueueBindSparse, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBindSparse.html |
| 15691 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Queue::bindSparse( ArrayProxy<const BindSparseInfo> const & bindInfo, |
| 15692 |
VULKAN_HPP_NAMESPACE::Fence fence ) const |
| 15693 |
{ |
| 15694 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueBindSparse && "Function <vkQueueBindSparse> requires <VK_VERSION_1_0>" ); |
| 15695 |
|
| 15696 |
Result result = static_cast<Result>( getDispatcher()->vkQueueBindSparse( |
| 15697 |
static_cast<VkQueue>( m_queue ), bindInfo.size(), reinterpret_cast<const VkBindSparseInfo *>( bindInfo.data() ), static_cast<VkFence>( fence ) ) ); |
| 15698 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::bindSparse" ); |
| 15699 |
|
| 15700 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15701 |
} |
| 15702 |
|
| 15703 |
// wrapper function for command vkCreateFence, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFence.html |
| 15704 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Fence>::type |
| 15705 |
Device::createFence( FenceCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15706 |
{ |
| 15707 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateFence && "Function <vkCreateFence> requires <VK_VERSION_1_0>" ); |
| 15708 |
|
| 15709 |
VULKAN_HPP_NAMESPACE::Fence fence; |
| 15710 |
Result result = static_cast<Result>( getDispatcher()->vkCreateFence( static_cast<VkDevice>( m_device ), |
| 15711 |
reinterpret_cast<const VkFenceCreateInfo *>( &createInfo ), |
| 15712 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15713 |
reinterpret_cast<VkFence *>( &fence ) ) ); |
| 15714 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createFence" ); |
| 15715 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Fence( *this, *reinterpret_cast<VkFence *>( &fence ), allocator ) ); |
| 15716 |
} |
| 15717 |
|
| 15718 |
// wrapper function for command vkResetFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetFences.html |
| 15719 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::resetFences( ArrayProxy<const VULKAN_HPP_NAMESPACE::Fence> const & fences ) const |
| 15720 |
{ |
| 15721 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetFences && "Function <vkResetFences> requires <VK_VERSION_1_0>" ); |
| 15722 |
|
| 15723 |
Result result = static_cast<Result>( |
| 15724 |
getDispatcher()->vkResetFences( static_cast<VkDevice>( m_device ), fences.size(), reinterpret_cast<const VkFence *>( fences.data() ) ) ); |
| 15725 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::resetFences" ); |
| 15726 |
|
| 15727 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15728 |
} |
| 15729 |
|
| 15730 |
// wrapper function for command vkGetFenceStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceStatus.html |
| 15731 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Fence::getStatus() const |
| 15732 |
{ |
| 15733 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetFenceStatus && "Function <vkGetFenceStatus> requires <VK_VERSION_1_0>" ); |
| 15734 |
|
| 15735 |
Result result = static_cast<Result>( getDispatcher()->vkGetFenceStatus( static_cast<VkDevice>( m_device ), static_cast<VkFence>( m_fence ) ) ); |
| 15736 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Fence::getStatus", { Result::eSuccess, Result::eNotReady } ); |
| 15737 |
|
| 15738 |
return static_cast<Result>( result ); |
| 15739 |
} |
| 15740 |
|
| 15741 |
// wrapper function for command vkWaitForFences, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForFences.html |
| 15742 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitForFences( ArrayProxy<const VULKAN_HPP_NAMESPACE::Fence> const & fences, |
| 15743 |
Bool32 waitAll, |
| 15744 |
uint64_t timeout ) const |
| 15745 |
{ |
| 15746 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWaitForFences && "Function <vkWaitForFences> requires <VK_VERSION_1_0>" ); |
| 15747 |
|
| 15748 |
Result result = static_cast<Result>( getDispatcher()->vkWaitForFences( |
| 15749 |
static_cast<VkDevice>( m_device ), fences.size(), reinterpret_cast<const VkFence *>( fences.data() ), static_cast<VkBool32>( waitAll ), timeout ) ); |
| 15750 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::waitForFences", { Result::eSuccess, Result::eTimeout } ); |
| 15751 |
|
| 15752 |
return static_cast<Result>( result ); |
| 15753 |
} |
| 15754 |
|
| 15755 |
// wrapper function for command vkCreateSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSemaphore.html |
| 15756 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Semaphore>::type |
| 15757 |
Device::createSemaphore( SemaphoreCreateInfo const & createInfo, |
| 15758 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15759 |
{ |
| 15760 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSemaphore && "Function <vkCreateSemaphore> requires <VK_VERSION_1_0>" ); |
| 15761 |
|
| 15762 |
VULKAN_HPP_NAMESPACE::Semaphore semaphore; |
| 15763 |
Result result = static_cast<Result>( getDispatcher()->vkCreateSemaphore( static_cast<VkDevice>( m_device ), |
| 15764 |
reinterpret_cast<const VkSemaphoreCreateInfo *>( &createInfo ), |
| 15765 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15766 |
reinterpret_cast<VkSemaphore *>( &semaphore ) ) ); |
| 15767 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSemaphore" ); |
| 15768 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Semaphore( *this, *reinterpret_cast<VkSemaphore *>( &semaphore ), allocator ) ); |
| 15769 |
} |
| 15770 |
|
| 15771 |
// wrapper function for command vkCreateQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateQueryPool.html |
| 15772 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<QueryPool>::type |
| 15773 |
Device::createQueryPool( QueryPoolCreateInfo const & createInfo, |
| 15774 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15775 |
{ |
| 15776 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateQueryPool && "Function <vkCreateQueryPool> requires <VK_VERSION_1_0>" ); |
| 15777 |
|
| 15778 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool; |
| 15779 |
Result result = static_cast<Result>( getDispatcher()->vkCreateQueryPool( static_cast<VkDevice>( m_device ), |
| 15780 |
reinterpret_cast<const VkQueryPoolCreateInfo *>( &createInfo ), |
| 15781 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15782 |
reinterpret_cast<VkQueryPool *>( &queryPool ) ) ); |
| 15783 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createQueryPool" ); |
| 15784 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, QueryPool( *this, *reinterpret_cast<VkQueryPool *>( &queryPool ), allocator ) ); |
| 15785 |
} |
| 15786 |
|
| 15787 |
// wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html |
| 15788 |
template <typename DataType> |
| 15789 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue<std::vector<DataType>> |
| 15790 |
QueryPool::getResults( uint32_t firstQuery, uint32_t queryCount, size_t dataSize, DeviceSize stride, QueryResultFlags flags ) const |
| 15791 |
{ |
| 15792 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetQueryPoolResults && "Function <vkGetQueryPoolResults> requires <VK_VERSION_1_0>" ); |
| 15793 |
|
| 15794 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 15795 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 15796 |
Result result = static_cast<Result>( getDispatcher()->vkGetQueryPoolResults( static_cast<VkDevice>( m_device ), |
| 15797 |
static_cast<VkQueryPool>( m_queryPool ), |
| 15798 |
firstQuery, |
| 15799 |
queryCount, |
| 15800 |
data.size() * sizeof( DataType ), |
| 15801 |
reinterpret_cast<void *>( data.data() ), |
| 15802 |
static_cast<VkDeviceSize>( stride ), |
| 15803 |
static_cast<VkQueryResultFlags>( flags ) ) ); |
| 15804 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::QueryPool::getResults", { Result::eSuccess, Result::eNotReady } ); |
| 15805 |
|
| 15806 |
return ResultValue<std::vector<DataType>>( result, std::move( data ) ); |
| 15807 |
} |
| 15808 |
|
| 15809 |
// wrapper function for command vkGetQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueryPoolResults.html |
| 15810 |
template <typename DataType> |
| 15811 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue<DataType> |
| 15812 |
QueryPool::getResult( uint32_t firstQuery, uint32_t queryCount, DeviceSize stride, QueryResultFlags flags ) const |
| 15813 |
{ |
| 15814 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetQueryPoolResults && "Function <vkGetQueryPoolResults> requires <VK_VERSION_1_0>" ); |
| 15815 |
|
| 15816 |
DataType data; |
| 15817 |
Result result = static_cast<Result>( getDispatcher()->vkGetQueryPoolResults( static_cast<VkDevice>( m_device ), |
| 15818 |
static_cast<VkQueryPool>( m_queryPool ), |
| 15819 |
firstQuery, |
| 15820 |
queryCount, |
| 15821 |
sizeof( DataType ), |
| 15822 |
reinterpret_cast<void *>( &data ), |
| 15823 |
static_cast<VkDeviceSize>( stride ), |
| 15824 |
static_cast<VkQueryResultFlags>( flags ) ) ); |
| 15825 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::QueryPool::getResult", { Result::eSuccess, Result::eNotReady } ); |
| 15826 |
|
| 15827 |
return ResultValue<DataType>( result, std::move( data ) ); |
| 15828 |
} |
| 15829 |
|
| 15830 |
// wrapper function for command vkCreateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBuffer.html |
| 15831 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Buffer>::type |
| 15832 |
Device::createBuffer( BufferCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15833 |
{ |
| 15834 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateBuffer && "Function <vkCreateBuffer> requires <VK_VERSION_1_0>" ); |
| 15835 |
|
| 15836 |
VULKAN_HPP_NAMESPACE::Buffer buffer; |
| 15837 |
Result result = static_cast<Result>( getDispatcher()->vkCreateBuffer( static_cast<VkDevice>( m_device ), |
| 15838 |
reinterpret_cast<const VkBufferCreateInfo *>( &createInfo ), |
| 15839 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15840 |
reinterpret_cast<VkBuffer *>( &buffer ) ) ); |
| 15841 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createBuffer" ); |
| 15842 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Buffer( *this, *reinterpret_cast<VkBuffer *>( &buffer ), allocator ) ); |
| 15843 |
} |
| 15844 |
|
| 15845 |
// wrapper function for command vkCreateImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImage.html |
| 15846 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Image>::type |
| 15847 |
Device::createImage( ImageCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15848 |
{ |
| 15849 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateImage && "Function <vkCreateImage> requires <VK_VERSION_1_0>" ); |
| 15850 |
|
| 15851 |
VULKAN_HPP_NAMESPACE::Image image; |
| 15852 |
Result result = static_cast<Result>( getDispatcher()->vkCreateImage( static_cast<VkDevice>( m_device ), |
| 15853 |
reinterpret_cast<const VkImageCreateInfo *>( &createInfo ), |
| 15854 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15855 |
reinterpret_cast<VkImage *>( &image ) ) ); |
| 15856 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createImage" ); |
| 15857 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Image( *this, *reinterpret_cast<VkImage *>( &image ), allocator ) ); |
| 15858 |
} |
| 15859 |
|
| 15860 |
// wrapper function for command vkGetImageSubresourceLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout.html |
| 15861 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout Image::getSubresourceLayout( const ImageSubresource & subresource ) const VULKAN_HPP_NOEXCEPT |
| 15862 |
{ |
| 15863 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageSubresourceLayout && "Function <vkGetImageSubresourceLayout> requires <VK_VERSION_1_0>" ); |
| 15864 |
|
| 15865 |
SubresourceLayout layout; |
| 15866 |
getDispatcher()->vkGetImageSubresourceLayout( static_cast<VkDevice>( m_device ), |
| 15867 |
static_cast<VkImage>( m_image ), |
| 15868 |
reinterpret_cast<const VkImageSubresource *>( &subresource ), |
| 15869 |
reinterpret_cast<VkSubresourceLayout *>( &layout ) ); |
| 15870 |
|
| 15871 |
return layout; |
| 15872 |
} |
| 15873 |
|
| 15874 |
// wrapper function for command vkCreateImageView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImageView.html |
| 15875 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageView>::type |
| 15876 |
Device::createImageView( ImageViewCreateInfo const & createInfo, |
| 15877 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15878 |
{ |
| 15879 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateImageView && "Function <vkCreateImageView> requires <VK_VERSION_1_0>" ); |
| 15880 |
|
| 15881 |
VULKAN_HPP_NAMESPACE::ImageView view; |
| 15882 |
Result result = static_cast<Result>( getDispatcher()->vkCreateImageView( static_cast<VkDevice>( m_device ), |
| 15883 |
reinterpret_cast<const VkImageViewCreateInfo *>( &createInfo ), |
| 15884 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15885 |
reinterpret_cast<VkImageView *>( &view ) ) ); |
| 15886 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createImageView" ); |
| 15887 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, ImageView( *this, *reinterpret_cast<VkImageView *>( &view ), allocator ) ); |
| 15888 |
} |
| 15889 |
|
| 15890 |
// wrapper function for command vkCreateCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCommandPool.html |
| 15891 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<CommandPool>::type |
| 15892 |
Device::createCommandPool( CommandPoolCreateInfo const & createInfo, |
| 15893 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 15894 |
{ |
| 15895 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateCommandPool && "Function <vkCreateCommandPool> requires <VK_VERSION_1_0>" ); |
| 15896 |
|
| 15897 |
VULKAN_HPP_NAMESPACE::CommandPool commandPool; |
| 15898 |
Result result = static_cast<Result>( getDispatcher()->vkCreateCommandPool( static_cast<VkDevice>( m_device ), |
| 15899 |
reinterpret_cast<const VkCommandPoolCreateInfo *>( &createInfo ), |
| 15900 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 15901 |
reinterpret_cast<VkCommandPool *>( &commandPool ) ) ); |
| 15902 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createCommandPool" ); |
| 15903 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, CommandPool( *this, *reinterpret_cast<VkCommandPool *>( &commandPool ), allocator ) ); |
| 15904 |
} |
| 15905 |
|
| 15906 |
// wrapper function for command vkResetCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandPool.html |
| 15907 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type CommandPool::reset( CommandPoolResetFlags flags ) const |
| 15908 |
{ |
| 15909 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetCommandPool && "Function <vkResetCommandPool> requires <VK_VERSION_1_0>" ); |
| 15910 |
|
| 15911 |
Result result = static_cast<Result>( getDispatcher()->vkResetCommandPool( |
| 15912 |
static_cast<VkDevice>( m_device ), static_cast<VkCommandPool>( m_commandPool ), static_cast<VkCommandPoolResetFlags>( flags ) ) ); |
| 15913 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandPool::reset" ); |
| 15914 |
|
| 15915 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15916 |
} |
| 15917 |
|
| 15918 |
// wrapper function for command vkAllocateCommandBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateCommandBuffers.html |
| 15919 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<CommandBuffer>>::type |
| 15920 |
Device::allocateCommandBuffers( CommandBufferAllocateInfo const & allocateInfo ) const |
| 15921 |
{ |
| 15922 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAllocateCommandBuffers && "Function <vkAllocateCommandBuffers> requires <VK_VERSION_1_0>" ); |
| 15923 |
|
| 15924 |
std::vector<VULKAN_HPP_NAMESPACE::CommandBuffer> commandBuffers( allocateInfo.commandBufferCount ); |
| 15925 |
Result result = static_cast<Result>( getDispatcher()->vkAllocateCommandBuffers( static_cast<VkDevice>( m_device ), |
| 15926 |
reinterpret_cast<const VkCommandBufferAllocateInfo *>( &allocateInfo ), |
| 15927 |
reinterpret_cast<VkCommandBuffer *>( commandBuffers.data() ) ) ); |
| 15928 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::allocateCommandBuffers" ); |
| 15929 |
std::vector<CommandBuffer> commandBuffersRAII; |
| 15930 |
if ( result == Result::eSuccess ) |
| 15931 |
{ |
| 15932 |
commandBuffersRAII.reserve( commandBuffers.size() ); |
| 15933 |
for ( auto & commandBuffer : commandBuffers ) |
| 15934 |
{ |
| 15935 |
commandBuffersRAII.emplace_back( |
| 15936 |
*this, *reinterpret_cast<VkCommandBuffer *>( &commandBuffer ), static_cast<VkCommandPool>( allocateInfo.commandPool ) ); |
| 15937 |
} |
| 15938 |
} |
| 15939 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( commandBuffersRAII ) ); |
| 15940 |
} |
| 15941 |
|
| 15942 |
// wrapper function for command vkBeginCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBeginCommandBuffer.html |
| 15943 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type CommandBuffer::begin( const CommandBufferBeginInfo & beginInfo ) const |
| 15944 |
{ |
| 15945 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBeginCommandBuffer && "Function <vkBeginCommandBuffer> requires <VK_VERSION_1_0>" ); |
| 15946 |
|
| 15947 |
Result result = static_cast<Result>( getDispatcher()->vkBeginCommandBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 15948 |
reinterpret_cast<const VkCommandBufferBeginInfo *>( &beginInfo ) ) ); |
| 15949 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandBuffer::begin" ); |
| 15950 |
|
| 15951 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15952 |
} |
| 15953 |
|
| 15954 |
// wrapper function for command vkEndCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEndCommandBuffer.html |
| 15955 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type CommandBuffer::end() const |
| 15956 |
{ |
| 15957 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEndCommandBuffer && "Function <vkEndCommandBuffer> requires <VK_VERSION_1_0>" ); |
| 15958 |
|
| 15959 |
Result result = static_cast<Result>( getDispatcher()->vkEndCommandBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ) ) ); |
| 15960 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandBuffer::end" ); |
| 15961 |
|
| 15962 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15963 |
} |
| 15964 |
|
| 15965 |
// wrapper function for command vkResetCommandBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetCommandBuffer.html |
| 15966 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type CommandBuffer::reset( CommandBufferResetFlags flags ) const |
| 15967 |
{ |
| 15968 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetCommandBuffer && "Function <vkResetCommandBuffer> requires <VK_VERSION_1_0>" ); |
| 15969 |
|
| 15970 |
Result result = static_cast<Result>( |
| 15971 |
getDispatcher()->vkResetCommandBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkCommandBufferResetFlags>( flags ) ) ); |
| 15972 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandBuffer::reset" ); |
| 15973 |
|
| 15974 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 15975 |
} |
| 15976 |
|
| 15977 |
// wrapper function for command vkCmdCopyBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer.html |
| 15978 |
VULKAN_HPP_INLINE void CommandBuffer::copyBuffer( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, |
| 15979 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 15980 |
ArrayProxy<const BufferCopy> const & regions ) const VULKAN_HPP_NOEXCEPT |
| 15981 |
{ |
| 15982 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyBuffer && "Function <vkCmdCopyBuffer> requires <VK_VERSION_1_0>" ); |
| 15983 |
|
| 15984 |
getDispatcher()->vkCmdCopyBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 15985 |
static_cast<VkBuffer>( srcBuffer ), |
| 15986 |
static_cast<VkBuffer>( dstBuffer ), |
| 15987 |
regions.size(), |
| 15988 |
reinterpret_cast<const VkBufferCopy *>( regions.data() ) ); |
| 15989 |
} |
| 15990 |
|
| 15991 |
// wrapper function for command vkCmdCopyImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage.html |
| 15992 |
VULKAN_HPP_INLINE void CommandBuffer::copyImage( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 15993 |
ImageLayout srcImageLayout, |
| 15994 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 15995 |
ImageLayout dstImageLayout, |
| 15996 |
ArrayProxy<const ImageCopy> const & regions ) const VULKAN_HPP_NOEXCEPT |
| 15997 |
{ |
| 15998 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyImage && "Function <vkCmdCopyImage> requires <VK_VERSION_1_0>" ); |
| 15999 |
|
| 16000 |
getDispatcher()->vkCmdCopyImage( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16001 |
static_cast<VkImage>( srcImage ), |
| 16002 |
static_cast<VkImageLayout>( srcImageLayout ), |
| 16003 |
static_cast<VkImage>( dstImage ), |
| 16004 |
static_cast<VkImageLayout>( dstImageLayout ), |
| 16005 |
regions.size(), |
| 16006 |
reinterpret_cast<const VkImageCopy *>( regions.data() ) ); |
| 16007 |
} |
| 16008 |
|
| 16009 |
// wrapper function for command vkCmdCopyBufferToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage.html |
| 16010 |
VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage( VULKAN_HPP_NAMESPACE::Buffer srcBuffer, |
| 16011 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 16012 |
ImageLayout dstImageLayout, |
| 16013 |
ArrayProxy<const BufferImageCopy> const & regions ) const VULKAN_HPP_NOEXCEPT |
| 16014 |
{ |
| 16015 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyBufferToImage && "Function <vkCmdCopyBufferToImage> requires <VK_VERSION_1_0>" ); |
| 16016 |
|
| 16017 |
getDispatcher()->vkCmdCopyBufferToImage( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16018 |
static_cast<VkBuffer>( srcBuffer ), |
| 16019 |
static_cast<VkImage>( dstImage ), |
| 16020 |
static_cast<VkImageLayout>( dstImageLayout ), |
| 16021 |
regions.size(), |
| 16022 |
reinterpret_cast<const VkBufferImageCopy *>( regions.data() ) ); |
| 16023 |
} |
| 16024 |
|
| 16025 |
// wrapper function for command vkCmdCopyImageToBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer.html |
| 16026 |
VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 16027 |
ImageLayout srcImageLayout, |
| 16028 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 16029 |
ArrayProxy<const BufferImageCopy> const & regions ) const VULKAN_HPP_NOEXCEPT |
| 16030 |
{ |
| 16031 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyImageToBuffer && "Function <vkCmdCopyImageToBuffer> requires <VK_VERSION_1_0>" ); |
| 16032 |
|
| 16033 |
getDispatcher()->vkCmdCopyImageToBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16034 |
static_cast<VkImage>( srcImage ), |
| 16035 |
static_cast<VkImageLayout>( srcImageLayout ), |
| 16036 |
static_cast<VkBuffer>( dstBuffer ), |
| 16037 |
regions.size(), |
| 16038 |
reinterpret_cast<const VkBufferImageCopy *>( regions.data() ) ); |
| 16039 |
} |
| 16040 |
|
| 16041 |
// wrapper function for command vkCmdUpdateBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdateBuffer.html |
| 16042 |
template <typename DataType> |
| 16043 |
VULKAN_HPP_INLINE void CommandBuffer::updateBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 16044 |
DeviceSize dstOffset, |
| 16045 |
ArrayProxy<const DataType> const & data ) const VULKAN_HPP_NOEXCEPT |
| 16046 |
{ |
| 16047 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdUpdateBuffer && "Function <vkCmdUpdateBuffer> requires <VK_VERSION_1_0>" ); |
| 16048 |
|
| 16049 |
getDispatcher()->vkCmdUpdateBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16050 |
static_cast<VkBuffer>( dstBuffer ), |
| 16051 |
static_cast<VkDeviceSize>( dstOffset ), |
| 16052 |
data.size() * sizeof( DataType ), |
| 16053 |
reinterpret_cast<const void *>( data.data() ) ); |
| 16054 |
} |
| 16055 |
|
| 16056 |
// wrapper function for command vkCmdFillBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdFillBuffer.html |
| 16057 |
VULKAN_HPP_INLINE void |
| 16058 |
CommandBuffer::fillBuffer( VULKAN_HPP_NAMESPACE::Buffer dstBuffer, DeviceSize dstOffset, DeviceSize size, uint32_t data ) const VULKAN_HPP_NOEXCEPT |
| 16059 |
{ |
| 16060 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdFillBuffer && "Function <vkCmdFillBuffer> requires <VK_VERSION_1_0>" ); |
| 16061 |
|
| 16062 |
getDispatcher()->vkCmdFillBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16063 |
static_cast<VkBuffer>( dstBuffer ), |
| 16064 |
static_cast<VkDeviceSize>( dstOffset ), |
| 16065 |
static_cast<VkDeviceSize>( size ), |
| 16066 |
data ); |
| 16067 |
} |
| 16068 |
|
| 16069 |
// wrapper function for command vkCmdPipelineBarrier, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier.html |
| 16070 |
VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier( PipelineStageFlags srcStageMask, |
| 16071 |
PipelineStageFlags dstStageMask, |
| 16072 |
DependencyFlags dependencyFlags, |
| 16073 |
ArrayProxy<const MemoryBarrier> const & memoryBarriers, |
| 16074 |
ArrayProxy<const BufferMemoryBarrier> const & bufferMemoryBarriers, |
| 16075 |
ArrayProxy<const ImageMemoryBarrier> const & imageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT |
| 16076 |
{ |
| 16077 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPipelineBarrier && "Function <vkCmdPipelineBarrier> requires <VK_VERSION_1_0>" ); |
| 16078 |
|
| 16079 |
getDispatcher()->vkCmdPipelineBarrier( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16080 |
static_cast<VkPipelineStageFlags>( srcStageMask ), |
| 16081 |
static_cast<VkPipelineStageFlags>( dstStageMask ), |
| 16082 |
static_cast<VkDependencyFlags>( dependencyFlags ), |
| 16083 |
memoryBarriers.size(), |
| 16084 |
reinterpret_cast<const VkMemoryBarrier *>( memoryBarriers.data() ), |
| 16085 |
bufferMemoryBarriers.size(), |
| 16086 |
reinterpret_cast<const VkBufferMemoryBarrier *>( bufferMemoryBarriers.data() ), |
| 16087 |
imageMemoryBarriers.size(), |
| 16088 |
reinterpret_cast<const VkImageMemoryBarrier *>( imageMemoryBarriers.data() ) ); |
| 16089 |
} |
| 16090 |
|
| 16091 |
// wrapper function for command vkCmdBeginQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQuery.html |
| 16092 |
VULKAN_HPP_INLINE void |
| 16093 |
CommandBuffer::beginQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, QueryControlFlags flags ) const VULKAN_HPP_NOEXCEPT |
| 16094 |
{ |
| 16095 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginQuery && "Function <vkCmdBeginQuery> requires <VK_VERSION_1_0>" ); |
| 16096 |
|
| 16097 |
getDispatcher()->vkCmdBeginQuery( |
| 16098 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkQueryPool>( queryPool ), query, static_cast<VkQueryControlFlags>( flags ) ); |
| 16099 |
} |
| 16100 |
|
| 16101 |
// wrapper function for command vkCmdEndQuery, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQuery.html |
| 16102 |
VULKAN_HPP_INLINE void CommandBuffer::endQuery( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT |
| 16103 |
{ |
| 16104 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndQuery && "Function <vkCmdEndQuery> requires <VK_VERSION_1_0>" ); |
| 16105 |
|
| 16106 |
getDispatcher()->vkCmdEndQuery( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkQueryPool>( queryPool ), query ); |
| 16107 |
} |
| 16108 |
|
| 16109 |
// wrapper function for command vkCmdResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetQueryPool.html |
| 16110 |
VULKAN_HPP_INLINE void |
| 16111 |
CommandBuffer::resetQueryPool( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT |
| 16112 |
{ |
| 16113 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResetQueryPool && "Function <vkCmdResetQueryPool> requires <VK_VERSION_1_0>" ); |
| 16114 |
|
| 16115 |
getDispatcher()->vkCmdResetQueryPool( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkQueryPool>( queryPool ), firstQuery, queryCount ); |
| 16116 |
} |
| 16117 |
|
| 16118 |
// wrapper function for command vkCmdWriteTimestamp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp.html |
| 16119 |
VULKAN_HPP_INLINE void |
| 16120 |
CommandBuffer::writeTimestamp( PipelineStageFlagBits pipelineStage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT |
| 16121 |
{ |
| 16122 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteTimestamp && "Function <vkCmdWriteTimestamp> requires <VK_VERSION_1_0>" ); |
| 16123 |
|
| 16124 |
getDispatcher()->vkCmdWriteTimestamp( |
| 16125 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPipelineStageFlagBits>( pipelineStage ), static_cast<VkQueryPool>( queryPool ), query ); |
| 16126 |
} |
| 16127 |
|
| 16128 |
// wrapper function for command vkCmdCopyQueryPoolResults, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyQueryPoolResults.html |
| 16129 |
VULKAN_HPP_INLINE void CommandBuffer::copyQueryPoolResults( VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 16130 |
uint32_t firstQuery, |
| 16131 |
uint32_t queryCount, |
| 16132 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 16133 |
DeviceSize dstOffset, |
| 16134 |
DeviceSize stride, |
| 16135 |
QueryResultFlags flags ) const VULKAN_HPP_NOEXCEPT |
| 16136 |
{ |
| 16137 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyQueryPoolResults && "Function <vkCmdCopyQueryPoolResults> requires <VK_VERSION_1_0>" ); |
| 16138 |
|
| 16139 |
getDispatcher()->vkCmdCopyQueryPoolResults( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16140 |
static_cast<VkQueryPool>( queryPool ), |
| 16141 |
firstQuery, |
| 16142 |
queryCount, |
| 16143 |
static_cast<VkBuffer>( dstBuffer ), |
| 16144 |
static_cast<VkDeviceSize>( dstOffset ), |
| 16145 |
static_cast<VkDeviceSize>( stride ), |
| 16146 |
static_cast<VkQueryResultFlags>( flags ) ); |
| 16147 |
} |
| 16148 |
|
| 16149 |
// wrapper function for command vkCmdExecuteCommands, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteCommands.html |
| 16150 |
VULKAN_HPP_INLINE void |
| 16151 |
CommandBuffer::executeCommands( ArrayProxy<const VULKAN_HPP_NAMESPACE::CommandBuffer> const & commandBuffers ) const VULKAN_HPP_NOEXCEPT |
| 16152 |
{ |
| 16153 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdExecuteCommands && "Function <vkCmdExecuteCommands> requires <VK_VERSION_1_0>" ); |
| 16154 |
|
| 16155 |
getDispatcher()->vkCmdExecuteCommands( |
| 16156 |
static_cast<VkCommandBuffer>( m_commandBuffer ), commandBuffers.size(), reinterpret_cast<const VkCommandBuffer *>( commandBuffers.data() ) ); |
| 16157 |
} |
| 16158 |
|
| 16159 |
// wrapper function for command vkCreateEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateEvent.html |
| 16160 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Event>::type |
| 16161 |
Device::createEvent( EventCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16162 |
{ |
| 16163 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateEvent && "Function <vkCreateEvent> requires <VK_VERSION_1_0>" ); |
| 16164 |
|
| 16165 |
VULKAN_HPP_NAMESPACE::Event event; |
| 16166 |
Result result = static_cast<Result>( getDispatcher()->vkCreateEvent( static_cast<VkDevice>( m_device ), |
| 16167 |
reinterpret_cast<const VkEventCreateInfo *>( &createInfo ), |
| 16168 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16169 |
reinterpret_cast<VkEvent *>( &event ) ) ); |
| 16170 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createEvent" ); |
| 16171 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Event( *this, *reinterpret_cast<VkEvent *>( &event ), allocator ) ); |
| 16172 |
} |
| 16173 |
|
| 16174 |
// wrapper function for command vkGetEventStatus, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEventStatus.html |
| 16175 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Event::getStatus() const |
| 16176 |
{ |
| 16177 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetEventStatus && "Function <vkGetEventStatus> requires <VK_VERSION_1_0>" ); |
| 16178 |
|
| 16179 |
Result result = static_cast<Result>( getDispatcher()->vkGetEventStatus( static_cast<VkDevice>( m_device ), static_cast<VkEvent>( m_event ) ) ); |
| 16180 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Event::getStatus", { Result::eEventSet, Result::eEventReset } ); |
| 16181 |
|
| 16182 |
return static_cast<Result>( result ); |
| 16183 |
} |
| 16184 |
|
| 16185 |
// wrapper function for command vkSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetEvent.html |
| 16186 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Event::set() const |
| 16187 |
{ |
| 16188 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetEvent && "Function <vkSetEvent> requires <VK_VERSION_1_0>" ); |
| 16189 |
|
| 16190 |
Result result = static_cast<Result>( getDispatcher()->vkSetEvent( static_cast<VkDevice>( m_device ), static_cast<VkEvent>( m_event ) ) ); |
| 16191 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Event::set" ); |
| 16192 |
|
| 16193 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 16194 |
} |
| 16195 |
|
| 16196 |
// wrapper function for command vkResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetEvent.html |
| 16197 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Event::reset() const |
| 16198 |
{ |
| 16199 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetEvent && "Function <vkResetEvent> requires <VK_VERSION_1_0>" ); |
| 16200 |
|
| 16201 |
Result result = static_cast<Result>( getDispatcher()->vkResetEvent( static_cast<VkDevice>( m_device ), static_cast<VkEvent>( m_event ) ) ); |
| 16202 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Event::reset" ); |
| 16203 |
|
| 16204 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 16205 |
} |
| 16206 |
|
| 16207 |
// wrapper function for command vkCreateBufferView, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferView.html |
| 16208 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<BufferView>::type |
| 16209 |
Device::createBufferView( BufferViewCreateInfo const & createInfo, |
| 16210 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16211 |
{ |
| 16212 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateBufferView && "Function <vkCreateBufferView> requires <VK_VERSION_1_0>" ); |
| 16213 |
|
| 16214 |
VULKAN_HPP_NAMESPACE::BufferView view; |
| 16215 |
Result result = static_cast<Result>( getDispatcher()->vkCreateBufferView( static_cast<VkDevice>( m_device ), |
| 16216 |
reinterpret_cast<const VkBufferViewCreateInfo *>( &createInfo ), |
| 16217 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16218 |
reinterpret_cast<VkBufferView *>( &view ) ) ); |
| 16219 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createBufferView" ); |
| 16220 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, BufferView( *this, *reinterpret_cast<VkBufferView *>( &view ), allocator ) ); |
| 16221 |
} |
| 16222 |
|
| 16223 |
// wrapper function for command vkCreateShaderModule, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShaderModule.html |
| 16224 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ShaderModule>::type |
| 16225 |
Device::createShaderModule( ShaderModuleCreateInfo const & createInfo, |
| 16226 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16227 |
{ |
| 16228 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateShaderModule && "Function <vkCreateShaderModule> requires <VK_VERSION_1_0>" ); |
| 16229 |
|
| 16230 |
VULKAN_HPP_NAMESPACE::ShaderModule shaderModule; |
| 16231 |
Result result = static_cast<Result>( getDispatcher()->vkCreateShaderModule( static_cast<VkDevice>( m_device ), |
| 16232 |
reinterpret_cast<const VkShaderModuleCreateInfo *>( &createInfo ), |
| 16233 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16234 |
reinterpret_cast<VkShaderModule *>( &shaderModule ) ) ); |
| 16235 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createShaderModule" ); |
| 16236 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, |
| 16237 |
ShaderModule( *this, *reinterpret_cast<VkShaderModule *>( &shaderModule ), allocator ) ); |
| 16238 |
} |
| 16239 |
|
| 16240 |
// wrapper function for command vkCreatePipelineCache, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineCache.html |
| 16241 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PipelineCache>::type |
| 16242 |
Device::createPipelineCache( PipelineCacheCreateInfo const & createInfo, |
| 16243 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16244 |
{ |
| 16245 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreatePipelineCache && "Function <vkCreatePipelineCache> requires <VK_VERSION_1_0>" ); |
| 16246 |
|
| 16247 |
VULKAN_HPP_NAMESPACE::PipelineCache pipelineCache; |
| 16248 |
Result result = static_cast<Result>( getDispatcher()->vkCreatePipelineCache( static_cast<VkDevice>( m_device ), |
| 16249 |
reinterpret_cast<const VkPipelineCacheCreateInfo *>( &createInfo ), |
| 16250 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16251 |
reinterpret_cast<VkPipelineCache *>( &pipelineCache ) ) ); |
| 16252 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createPipelineCache" ); |
| 16253 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, |
| 16254 |
PipelineCache( *this, *reinterpret_cast<VkPipelineCache *>( &pipelineCache ), allocator ) ); |
| 16255 |
} |
| 16256 |
|
| 16257 |
// wrapper function for command vkGetPipelineCacheData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineCacheData.html |
| 16258 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t>>::type PipelineCache::getData() const |
| 16259 |
{ |
| 16260 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineCacheData && "Function <vkGetPipelineCacheData> requires <VK_VERSION_1_0>" ); |
| 16261 |
|
| 16262 |
std::vector<uint8_t> data; |
| 16263 |
size_t dataSize; |
| 16264 |
Result result; |
| 16265 |
do |
| 16266 |
{ |
| 16267 |
result = static_cast<Result>( |
| 16268 |
getDispatcher()->vkGetPipelineCacheData( static_cast<VkDevice>( m_device ), static_cast<VkPipelineCache>( m_pipelineCache ), &dataSize, nullptr ) ); |
| 16269 |
if ( ( result == Result::eSuccess ) && dataSize ) |
| 16270 |
{ |
| 16271 |
data.resize( dataSize ); |
| 16272 |
result = static_cast<Result>( getDispatcher()->vkGetPipelineCacheData( |
| 16273 |
static_cast<VkDevice>( m_device ), static_cast<VkPipelineCache>( m_pipelineCache ), &dataSize, reinterpret_cast<void *>( data.data() ) ) ); |
| 16274 |
} |
| 16275 |
} while ( result == Result::eIncomplete ); |
| 16276 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PipelineCache::getData" ); |
| 16277 |
VULKAN_HPP_ASSERT( dataSize <= data.size() ); |
| 16278 |
if ( dataSize < data.size() ) |
| 16279 |
{ |
| 16280 |
data.resize( dataSize ); |
| 16281 |
} |
| 16282 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 16283 |
} |
| 16284 |
|
| 16285 |
// wrapper function for command vkMergePipelineCaches, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergePipelineCaches.html |
| 16286 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type PipelineCache::merge( ArrayProxy<const VULKAN_HPP_NAMESPACE::PipelineCache> const & srcCaches ) const |
| 16287 |
{ |
| 16288 |
VULKAN_HPP_ASSERT( getDispatcher()->vkMergePipelineCaches && "Function <vkMergePipelineCaches> requires <VK_VERSION_1_0>" ); |
| 16289 |
|
| 16290 |
Result result = static_cast<Result>( getDispatcher()->vkMergePipelineCaches( static_cast<VkDevice>( m_device ), |
| 16291 |
static_cast<VkPipelineCache>( m_pipelineCache ), |
| 16292 |
srcCaches.size(), |
| 16293 |
reinterpret_cast<const VkPipelineCache *>( srcCaches.data() ) ) ); |
| 16294 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PipelineCache::merge" ); |
| 16295 |
|
| 16296 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 16297 |
} |
| 16298 |
|
| 16299 |
// wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html |
| 16300 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline>>::type |
| 16301 |
Device::createComputePipelines( Optional<const PipelineCache> const & pipelineCache, |
| 16302 |
ArrayProxy<ComputePipelineCreateInfo> const & createInfos, |
| 16303 |
Optional<const AllocationCallbacks> allocator ) const |
| 16304 |
{ |
| 16305 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateComputePipelines && "Function <vkCreateComputePipelines> requires <VK_VERSION_1_0>" ); |
| 16306 |
|
| 16307 |
std::vector<VULKAN_HPP_NAMESPACE::Pipeline> pipelines( createInfos.size() ); |
| 16308 |
Result result = |
| 16309 |
static_cast<Result>( getDispatcher()->vkCreateComputePipelines( static_cast<VkDevice>( m_device ), |
| 16310 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 16311 |
createInfos.size(), |
| 16312 |
reinterpret_cast<const VkComputePipelineCreateInfo *>( createInfos.data() ), |
| 16313 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16314 |
reinterpret_cast<VkPipeline *>( pipelines.data() ) ) ); |
| 16315 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 16316 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createComputePipelines", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 16317 |
std::vector<Pipeline> pipelinesRAII; |
| 16318 |
if ( result == Result::eSuccess ) |
| 16319 |
{ |
| 16320 |
pipelinesRAII.reserve( pipelines.size() ); |
| 16321 |
for ( auto & pipeline : pipelines ) |
| 16322 |
{ |
| 16323 |
pipelinesRAII.emplace_back( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ); |
| 16324 |
} |
| 16325 |
} |
| 16326 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelinesRAII ) ); |
| 16327 |
} |
| 16328 |
|
| 16329 |
// wrapper function for command vkCreateComputePipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateComputePipelines.html |
| 16330 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Pipeline>::type |
| 16331 |
Device::createComputePipeline( Optional<const PipelineCache> const & pipelineCache, |
| 16332 |
ComputePipelineCreateInfo const & createInfo, |
| 16333 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16334 |
{ |
| 16335 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateComputePipelines && "Function <vkCreateComputePipelines> requires <VK_VERSION_1_0>" ); |
| 16336 |
|
| 16337 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline; |
| 16338 |
Result result = static_cast<Result>( getDispatcher()->vkCreateComputePipelines( static_cast<VkDevice>( m_device ), |
| 16339 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 16340 |
1, |
| 16341 |
reinterpret_cast<const VkComputePipelineCreateInfo *>( &createInfo ), |
| 16342 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16343 |
reinterpret_cast<VkPipeline *>( &pipeline ) ) ); |
| 16344 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 16345 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createComputePipeline", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 16346 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Pipeline( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ) ); |
| 16347 |
} |
| 16348 |
|
| 16349 |
// wrapper function for command vkCreatePipelineLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineLayout.html |
| 16350 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PipelineLayout>::type |
| 16351 |
Device::createPipelineLayout( PipelineLayoutCreateInfo const & createInfo, |
| 16352 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16353 |
{ |
| 16354 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreatePipelineLayout && "Function <vkCreatePipelineLayout> requires <VK_VERSION_1_0>" ); |
| 16355 |
|
| 16356 |
VULKAN_HPP_NAMESPACE::PipelineLayout pipelineLayout; |
| 16357 |
Result result = static_cast<Result>( getDispatcher()->vkCreatePipelineLayout( static_cast<VkDevice>( m_device ), |
| 16358 |
reinterpret_cast<const VkPipelineLayoutCreateInfo *>( &createInfo ), |
| 16359 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16360 |
reinterpret_cast<VkPipelineLayout *>( &pipelineLayout ) ) ); |
| 16361 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createPipelineLayout" ); |
| 16362 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 16363 |
result, PipelineLayout( *this, *reinterpret_cast<VkPipelineLayout *>( &pipelineLayout ), allocator ) ); |
| 16364 |
} |
| 16365 |
|
| 16366 |
// wrapper function for command vkCreateSampler, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSampler.html |
| 16367 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Sampler>::type |
| 16368 |
Device::createSampler( SamplerCreateInfo const & createInfo, Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16369 |
{ |
| 16370 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSampler && "Function <vkCreateSampler> requires <VK_VERSION_1_0>" ); |
| 16371 |
|
| 16372 |
VULKAN_HPP_NAMESPACE::Sampler sampler; |
| 16373 |
Result result = static_cast<Result>( getDispatcher()->vkCreateSampler( static_cast<VkDevice>( m_device ), |
| 16374 |
reinterpret_cast<const VkSamplerCreateInfo *>( &createInfo ), |
| 16375 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16376 |
reinterpret_cast<VkSampler *>( &sampler ) ) ); |
| 16377 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSampler" ); |
| 16378 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Sampler( *this, *reinterpret_cast<VkSampler *>( &sampler ), allocator ) ); |
| 16379 |
} |
| 16380 |
|
| 16381 |
// wrapper function for command vkCreateDescriptorSetLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorSetLayout.html |
| 16382 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DescriptorSetLayout>::type |
| 16383 |
Device::createDescriptorSetLayout( DescriptorSetLayoutCreateInfo const & createInfo, |
| 16384 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16385 |
{ |
| 16386 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDescriptorSetLayout && "Function <vkCreateDescriptorSetLayout> requires <VK_VERSION_1_0>" ); |
| 16387 |
|
| 16388 |
VULKAN_HPP_NAMESPACE::DescriptorSetLayout setLayout; |
| 16389 |
Result result = |
| 16390 |
static_cast<Result>( getDispatcher()->vkCreateDescriptorSetLayout( static_cast<VkDevice>( m_device ), |
| 16391 |
reinterpret_cast<const VkDescriptorSetLayoutCreateInfo *>( &createInfo ), |
| 16392 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16393 |
reinterpret_cast<VkDescriptorSetLayout *>( &setLayout ) ) ); |
| 16394 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDescriptorSetLayout" ); |
| 16395 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 16396 |
result, DescriptorSetLayout( *this, *reinterpret_cast<VkDescriptorSetLayout *>( &setLayout ), allocator ) ); |
| 16397 |
} |
| 16398 |
|
| 16399 |
// wrapper function for command vkCreateDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorPool.html |
| 16400 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DescriptorPool>::type |
| 16401 |
Device::createDescriptorPool( DescriptorPoolCreateInfo const & createInfo, |
| 16402 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16403 |
{ |
| 16404 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDescriptorPool && "Function <vkCreateDescriptorPool> requires <VK_VERSION_1_0>" ); |
| 16405 |
|
| 16406 |
VULKAN_HPP_NAMESPACE::DescriptorPool descriptorPool; |
| 16407 |
Result result = static_cast<Result>( getDispatcher()->vkCreateDescriptorPool( static_cast<VkDevice>( m_device ), |
| 16408 |
reinterpret_cast<const VkDescriptorPoolCreateInfo *>( &createInfo ), |
| 16409 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16410 |
reinterpret_cast<VkDescriptorPool *>( &descriptorPool ) ) ); |
| 16411 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDescriptorPool" ); |
| 16412 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 16413 |
result, DescriptorPool( *this, *reinterpret_cast<VkDescriptorPool *>( &descriptorPool ), allocator ) ); |
| 16414 |
} |
| 16415 |
|
| 16416 |
// wrapper function for command vkResetDescriptorPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetDescriptorPool.html |
| 16417 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type DescriptorPool::reset( DescriptorPoolResetFlags flags ) const |
| 16418 |
{ |
| 16419 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetDescriptorPool && "Function <vkResetDescriptorPool> requires <VK_VERSION_1_0>" ); |
| 16420 |
|
| 16421 |
Result result = static_cast<Result>( getDispatcher()->vkResetDescriptorPool( |
| 16422 |
static_cast<VkDevice>( m_device ), static_cast<VkDescriptorPool>( m_descriptorPool ), static_cast<VkDescriptorPoolResetFlags>( flags ) ) ); |
| 16423 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DescriptorPool::reset" ); |
| 16424 |
|
| 16425 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 16426 |
} |
| 16427 |
|
| 16428 |
// wrapper function for command vkAllocateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAllocateDescriptorSets.html |
| 16429 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DescriptorSet>>::type |
| 16430 |
Device::allocateDescriptorSets( DescriptorSetAllocateInfo const & allocateInfo ) const |
| 16431 |
{ |
| 16432 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAllocateDescriptorSets && "Function <vkAllocateDescriptorSets> requires <VK_VERSION_1_0>" ); |
| 16433 |
|
| 16434 |
std::vector<VULKAN_HPP_NAMESPACE::DescriptorSet> descriptorSets( allocateInfo.descriptorSetCount ); |
| 16435 |
Result result = static_cast<Result>( getDispatcher()->vkAllocateDescriptorSets( static_cast<VkDevice>( m_device ), |
| 16436 |
reinterpret_cast<const VkDescriptorSetAllocateInfo *>( &allocateInfo ), |
| 16437 |
reinterpret_cast<VkDescriptorSet *>( descriptorSets.data() ) ) ); |
| 16438 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::allocateDescriptorSets" ); |
| 16439 |
std::vector<DescriptorSet> descriptorSetsRAII; |
| 16440 |
if ( result == Result::eSuccess ) |
| 16441 |
{ |
| 16442 |
descriptorSetsRAII.reserve( descriptorSets.size() ); |
| 16443 |
for ( auto & descriptorSet : descriptorSets ) |
| 16444 |
{ |
| 16445 |
descriptorSetsRAII.emplace_back( |
| 16446 |
*this, *reinterpret_cast<VkDescriptorSet *>( &descriptorSet ), static_cast<VkDescriptorPool>( allocateInfo.descriptorPool ) ); |
| 16447 |
} |
| 16448 |
} |
| 16449 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( descriptorSetsRAII ) ); |
| 16450 |
} |
| 16451 |
|
| 16452 |
// wrapper function for command vkUpdateDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSets.html |
| 16453 |
VULKAN_HPP_INLINE void Device::updateDescriptorSets( ArrayProxy<const WriteDescriptorSet> const & descriptorWrites, |
| 16454 |
ArrayProxy<const CopyDescriptorSet> const & descriptorCopies ) const VULKAN_HPP_NOEXCEPT |
| 16455 |
{ |
| 16456 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateDescriptorSets && "Function <vkUpdateDescriptorSets> requires <VK_VERSION_1_0>" ); |
| 16457 |
|
| 16458 |
getDispatcher()->vkUpdateDescriptorSets( static_cast<VkDevice>( m_device ), |
| 16459 |
descriptorWrites.size(), |
| 16460 |
reinterpret_cast<const VkWriteDescriptorSet *>( descriptorWrites.data() ), |
| 16461 |
descriptorCopies.size(), |
| 16462 |
reinterpret_cast<const VkCopyDescriptorSet *>( descriptorCopies.data() ) ); |
| 16463 |
} |
| 16464 |
|
| 16465 |
// wrapper function for command vkCmdBindPipeline, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipeline.html |
| 16466 |
VULKAN_HPP_INLINE void CommandBuffer::bindPipeline( PipelineBindPoint pipelineBindPoint, VULKAN_HPP_NAMESPACE::Pipeline pipeline ) const VULKAN_HPP_NOEXCEPT |
| 16467 |
{ |
| 16468 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindPipeline && "Function <vkCmdBindPipeline> requires <VK_VERSION_1_0>" ); |
| 16469 |
|
| 16470 |
getDispatcher()->vkCmdBindPipeline( |
| 16471 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( pipeline ) ); |
| 16472 |
} |
| 16473 |
|
| 16474 |
// wrapper function for command vkCmdBindDescriptorSets, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets.html |
| 16475 |
VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets( PipelineBindPoint pipelineBindPoint, |
| 16476 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 16477 |
uint32_t firstSet, |
| 16478 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::DescriptorSet> const & descriptorSets, |
| 16479 |
ArrayProxy<const uint32_t> const & dynamicOffsets ) const VULKAN_HPP_NOEXCEPT |
| 16480 |
{ |
| 16481 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindDescriptorSets && "Function <vkCmdBindDescriptorSets> requires <VK_VERSION_1_0>" ); |
| 16482 |
|
| 16483 |
getDispatcher()->vkCmdBindDescriptorSets( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16484 |
static_cast<VkPipelineBindPoint>( pipelineBindPoint ), |
| 16485 |
static_cast<VkPipelineLayout>( layout ), |
| 16486 |
firstSet, |
| 16487 |
descriptorSets.size(), |
| 16488 |
reinterpret_cast<const VkDescriptorSet *>( descriptorSets.data() ), |
| 16489 |
dynamicOffsets.size(), |
| 16490 |
dynamicOffsets.data() ); |
| 16491 |
} |
| 16492 |
|
| 16493 |
// wrapper function for command vkCmdClearColorImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearColorImage.html |
| 16494 |
VULKAN_HPP_INLINE void CommandBuffer::clearColorImage( VULKAN_HPP_NAMESPACE::Image image, |
| 16495 |
ImageLayout imageLayout, |
| 16496 |
const ClearColorValue & color, |
| 16497 |
ArrayProxy<const ImageSubresourceRange> const & ranges ) const VULKAN_HPP_NOEXCEPT |
| 16498 |
{ |
| 16499 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdClearColorImage && "Function <vkCmdClearColorImage> requires <VK_VERSION_1_0>" ); |
| 16500 |
|
| 16501 |
getDispatcher()->vkCmdClearColorImage( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16502 |
static_cast<VkImage>( image ), |
| 16503 |
static_cast<VkImageLayout>( imageLayout ), |
| 16504 |
reinterpret_cast<const VkClearColorValue *>( &color ), |
| 16505 |
ranges.size(), |
| 16506 |
reinterpret_cast<const VkImageSubresourceRange *>( ranges.data() ) ); |
| 16507 |
} |
| 16508 |
|
| 16509 |
// wrapper function for command vkCmdDispatch, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatch.html |
| 16510 |
VULKAN_HPP_INLINE void CommandBuffer::dispatch( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT |
| 16511 |
{ |
| 16512 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatch && "Function <vkCmdDispatch> requires <VK_VERSION_1_0>" ); |
| 16513 |
|
| 16514 |
getDispatcher()->vkCmdDispatch( static_cast<VkCommandBuffer>( m_commandBuffer ), groupCountX, groupCountY, groupCountZ ); |
| 16515 |
} |
| 16516 |
|
| 16517 |
// wrapper function for command vkCmdDispatchIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchIndirect.html |
| 16518 |
VULKAN_HPP_INLINE void CommandBuffer::dispatchIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset ) const VULKAN_HPP_NOEXCEPT |
| 16519 |
{ |
| 16520 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchIndirect && "Function <vkCmdDispatchIndirect> requires <VK_VERSION_1_0>" ); |
| 16521 |
|
| 16522 |
getDispatcher()->vkCmdDispatchIndirect( |
| 16523 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ) ); |
| 16524 |
} |
| 16525 |
|
| 16526 |
// wrapper function for command vkCmdSetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent.html |
| 16527 |
VULKAN_HPP_INLINE void CommandBuffer::setEvent( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags stageMask ) const VULKAN_HPP_NOEXCEPT |
| 16528 |
{ |
| 16529 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetEvent && "Function <vkCmdSetEvent> requires <VK_VERSION_1_0>" ); |
| 16530 |
|
| 16531 |
getDispatcher()->vkCmdSetEvent( |
| 16532 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) ); |
| 16533 |
} |
| 16534 |
|
| 16535 |
// wrapper function for command vkCmdResetEvent, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent.html |
| 16536 |
VULKAN_HPP_INLINE void CommandBuffer::resetEvent( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags stageMask ) const VULKAN_HPP_NOEXCEPT |
| 16537 |
{ |
| 16538 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResetEvent && "Function <vkCmdResetEvent> requires <VK_VERSION_1_0>" ); |
| 16539 |
|
| 16540 |
getDispatcher()->vkCmdResetEvent( |
| 16541 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags>( stageMask ) ); |
| 16542 |
} |
| 16543 |
|
| 16544 |
// wrapper function for command vkCmdWaitEvents, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents.html |
| 16545 |
VULKAN_HPP_INLINE void CommandBuffer::waitEvents( ArrayProxy<const VULKAN_HPP_NAMESPACE::Event> const & events, |
| 16546 |
PipelineStageFlags srcStageMask, |
| 16547 |
PipelineStageFlags dstStageMask, |
| 16548 |
ArrayProxy<const MemoryBarrier> const & memoryBarriers, |
| 16549 |
ArrayProxy<const BufferMemoryBarrier> const & bufferMemoryBarriers, |
| 16550 |
ArrayProxy<const ImageMemoryBarrier> const & imageMemoryBarriers ) const VULKAN_HPP_NOEXCEPT |
| 16551 |
{ |
| 16552 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWaitEvents && "Function <vkCmdWaitEvents> requires <VK_VERSION_1_0>" ); |
| 16553 |
|
| 16554 |
getDispatcher()->vkCmdWaitEvents( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16555 |
events.size(), |
| 16556 |
reinterpret_cast<const VkEvent *>( events.data() ), |
| 16557 |
static_cast<VkPipelineStageFlags>( srcStageMask ), |
| 16558 |
static_cast<VkPipelineStageFlags>( dstStageMask ), |
| 16559 |
memoryBarriers.size(), |
| 16560 |
reinterpret_cast<const VkMemoryBarrier *>( memoryBarriers.data() ), |
| 16561 |
bufferMemoryBarriers.size(), |
| 16562 |
reinterpret_cast<const VkBufferMemoryBarrier *>( bufferMemoryBarriers.data() ), |
| 16563 |
imageMemoryBarriers.size(), |
| 16564 |
reinterpret_cast<const VkImageMemoryBarrier *>( imageMemoryBarriers.data() ) ); |
| 16565 |
} |
| 16566 |
|
| 16567 |
// wrapper function for command vkCmdPushConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants.html |
| 16568 |
template <typename ValuesType> |
| 16569 |
VULKAN_HPP_INLINE void CommandBuffer::pushConstants( VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 16570 |
ShaderStageFlags stageFlags, |
| 16571 |
uint32_t offset, |
| 16572 |
ArrayProxy<const ValuesType> const & values ) const VULKAN_HPP_NOEXCEPT |
| 16573 |
{ |
| 16574 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushConstants && "Function <vkCmdPushConstants> requires <VK_VERSION_1_0>" ); |
| 16575 |
|
| 16576 |
getDispatcher()->vkCmdPushConstants( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16577 |
static_cast<VkPipelineLayout>( layout ), |
| 16578 |
static_cast<VkShaderStageFlags>( stageFlags ), |
| 16579 |
offset, |
| 16580 |
values.size() * sizeof( ValuesType ), |
| 16581 |
reinterpret_cast<const void *>( values.data() ) ); |
| 16582 |
} |
| 16583 |
|
| 16584 |
// wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html |
| 16585 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline>>::type |
| 16586 |
Device::createGraphicsPipelines( Optional<const PipelineCache> const & pipelineCache, |
| 16587 |
ArrayProxy<GraphicsPipelineCreateInfo> const & createInfos, |
| 16588 |
Optional<const AllocationCallbacks> allocator ) const |
| 16589 |
{ |
| 16590 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateGraphicsPipelines && "Function <vkCreateGraphicsPipelines> requires <VK_VERSION_1_0>" ); |
| 16591 |
|
| 16592 |
std::vector<VULKAN_HPP_NAMESPACE::Pipeline> pipelines( createInfos.size() ); |
| 16593 |
Result result = |
| 16594 |
static_cast<Result>( getDispatcher()->vkCreateGraphicsPipelines( static_cast<VkDevice>( m_device ), |
| 16595 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 16596 |
createInfos.size(), |
| 16597 |
reinterpret_cast<const VkGraphicsPipelineCreateInfo *>( createInfos.data() ), |
| 16598 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16599 |
reinterpret_cast<VkPipeline *>( pipelines.data() ) ) ); |
| 16600 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 16601 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createGraphicsPipelines", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 16602 |
std::vector<Pipeline> pipelinesRAII; |
| 16603 |
if ( result == Result::eSuccess ) |
| 16604 |
{ |
| 16605 |
pipelinesRAII.reserve( pipelines.size() ); |
| 16606 |
for ( auto & pipeline : pipelines ) |
| 16607 |
{ |
| 16608 |
pipelinesRAII.emplace_back( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ); |
| 16609 |
} |
| 16610 |
} |
| 16611 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelinesRAII ) ); |
| 16612 |
} |
| 16613 |
|
| 16614 |
// wrapper function for command vkCreateGraphicsPipelines, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateGraphicsPipelines.html |
| 16615 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Pipeline>::type |
| 16616 |
Device::createGraphicsPipeline( Optional<const PipelineCache> const & pipelineCache, |
| 16617 |
GraphicsPipelineCreateInfo const & createInfo, |
| 16618 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16619 |
{ |
| 16620 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateGraphicsPipelines && "Function <vkCreateGraphicsPipelines> requires <VK_VERSION_1_0>" ); |
| 16621 |
|
| 16622 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline; |
| 16623 |
Result result = static_cast<Result>( getDispatcher()->vkCreateGraphicsPipelines( static_cast<VkDevice>( m_device ), |
| 16624 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 16625 |
1, |
| 16626 |
reinterpret_cast<const VkGraphicsPipelineCreateInfo *>( &createInfo ), |
| 16627 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16628 |
reinterpret_cast<VkPipeline *>( &pipeline ) ) ); |
| 16629 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 16630 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createGraphicsPipeline", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 16631 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Pipeline( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ) ); |
| 16632 |
} |
| 16633 |
|
| 16634 |
// wrapper function for command vkCreateFramebuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateFramebuffer.html |
| 16635 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Framebuffer>::type |
| 16636 |
Device::createFramebuffer( FramebufferCreateInfo const & createInfo, |
| 16637 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16638 |
{ |
| 16639 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateFramebuffer && "Function <vkCreateFramebuffer> requires <VK_VERSION_1_0>" ); |
| 16640 |
|
| 16641 |
VULKAN_HPP_NAMESPACE::Framebuffer framebuffer; |
| 16642 |
Result result = static_cast<Result>( getDispatcher()->vkCreateFramebuffer( static_cast<VkDevice>( m_device ), |
| 16643 |
reinterpret_cast<const VkFramebufferCreateInfo *>( &createInfo ), |
| 16644 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16645 |
reinterpret_cast<VkFramebuffer *>( &framebuffer ) ) ); |
| 16646 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createFramebuffer" ); |
| 16647 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Framebuffer( *this, *reinterpret_cast<VkFramebuffer *>( &framebuffer ), allocator ) ); |
| 16648 |
} |
| 16649 |
|
| 16650 |
// wrapper function for command vkCreateRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass.html |
| 16651 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<RenderPass>::type |
| 16652 |
Device::createRenderPass( RenderPassCreateInfo const & createInfo, |
| 16653 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 16654 |
{ |
| 16655 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRenderPass && "Function <vkCreateRenderPass> requires <VK_VERSION_1_0>" ); |
| 16656 |
|
| 16657 |
VULKAN_HPP_NAMESPACE::RenderPass renderPass; |
| 16658 |
Result result = static_cast<Result>( getDispatcher()->vkCreateRenderPass( static_cast<VkDevice>( m_device ), |
| 16659 |
reinterpret_cast<const VkRenderPassCreateInfo *>( &createInfo ), |
| 16660 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 16661 |
reinterpret_cast<VkRenderPass *>( &renderPass ) ) ); |
| 16662 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRenderPass" ); |
| 16663 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, RenderPass( *this, *reinterpret_cast<VkRenderPass *>( &renderPass ), allocator ) ); |
| 16664 |
} |
| 16665 |
|
| 16666 |
// wrapper function for command vkGetRenderAreaGranularity, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderAreaGranularity.html |
| 16667 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Extent2D RenderPass::getRenderAreaGranularity() const VULKAN_HPP_NOEXCEPT |
| 16668 |
{ |
| 16669 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRenderAreaGranularity && "Function <vkGetRenderAreaGranularity> requires <VK_VERSION_1_0>" ); |
| 16670 |
|
| 16671 |
Extent2D granularity; |
| 16672 |
getDispatcher()->vkGetRenderAreaGranularity( |
| 16673 |
static_cast<VkDevice>( m_device ), static_cast<VkRenderPass>( m_renderPass ), reinterpret_cast<VkExtent2D *>( &granularity ) ); |
| 16674 |
|
| 16675 |
return granularity; |
| 16676 |
} |
| 16677 |
|
| 16678 |
// wrapper function for command vkCmdSetViewport, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewport.html |
| 16679 |
VULKAN_HPP_INLINE void CommandBuffer::setViewport( uint32_t firstViewport, ArrayProxy<const Viewport> const & viewports ) const VULKAN_HPP_NOEXCEPT |
| 16680 |
{ |
| 16681 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewport && "Function <vkCmdSetViewport> requires <VK_VERSION_1_0>" ); |
| 16682 |
|
| 16683 |
getDispatcher()->vkCmdSetViewport( |
| 16684 |
static_cast<VkCommandBuffer>( m_commandBuffer ), firstViewport, viewports.size(), reinterpret_cast<const VkViewport *>( viewports.data() ) ); |
| 16685 |
} |
| 16686 |
|
| 16687 |
// wrapper function for command vkCmdSetScissor, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissor.html |
| 16688 |
VULKAN_HPP_INLINE void CommandBuffer::setScissor( uint32_t firstScissor, ArrayProxy<const Rect2D> const & scissors ) const VULKAN_HPP_NOEXCEPT |
| 16689 |
{ |
| 16690 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetScissor && "Function <vkCmdSetScissor> requires <VK_VERSION_1_0>" ); |
| 16691 |
|
| 16692 |
getDispatcher()->vkCmdSetScissor( |
| 16693 |
static_cast<VkCommandBuffer>( m_commandBuffer ), firstScissor, scissors.size(), reinterpret_cast<const VkRect2D *>( scissors.data() ) ); |
| 16694 |
} |
| 16695 |
|
| 16696 |
// wrapper function for command vkCmdSetLineWidth, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineWidth.html |
| 16697 |
VULKAN_HPP_INLINE void CommandBuffer::setLineWidth( float lineWidth ) const VULKAN_HPP_NOEXCEPT |
| 16698 |
{ |
| 16699 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLineWidth && "Function <vkCmdSetLineWidth> requires <VK_VERSION_1_0>" ); |
| 16700 |
|
| 16701 |
getDispatcher()->vkCmdSetLineWidth( static_cast<VkCommandBuffer>( m_commandBuffer ), lineWidth ); |
| 16702 |
} |
| 16703 |
|
| 16704 |
// wrapper function for command vkCmdSetDepthBias, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias.html |
| 16705 |
VULKAN_HPP_INLINE void |
| 16706 |
CommandBuffer::setDepthBias( float depthBiasConstantFactor, float depthBiasClamp, float depthBiasSlopeFactor ) const VULKAN_HPP_NOEXCEPT |
| 16707 |
{ |
| 16708 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBias && "Function <vkCmdSetDepthBias> requires <VK_VERSION_1_0>" ); |
| 16709 |
|
| 16710 |
getDispatcher()->vkCmdSetDepthBias( static_cast<VkCommandBuffer>( m_commandBuffer ), depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor ); |
| 16711 |
} |
| 16712 |
|
| 16713 |
// wrapper function for command vkCmdSetBlendConstants, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetBlendConstants.html |
| 16714 |
VULKAN_HPP_INLINE void CommandBuffer::setBlendConstants( const float blendConstants[4] ) const VULKAN_HPP_NOEXCEPT |
| 16715 |
{ |
| 16716 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetBlendConstants && "Function <vkCmdSetBlendConstants> requires <VK_VERSION_1_0>" ); |
| 16717 |
|
| 16718 |
getDispatcher()->vkCmdSetBlendConstants( static_cast<VkCommandBuffer>( m_commandBuffer ), blendConstants ); |
| 16719 |
} |
| 16720 |
|
| 16721 |
// wrapper function for command vkCmdSetDepthBounds, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBounds.html |
| 16722 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthBounds( float minDepthBounds, float maxDepthBounds ) const VULKAN_HPP_NOEXCEPT |
| 16723 |
{ |
| 16724 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBounds && "Function <vkCmdSetDepthBounds> requires <VK_VERSION_1_0>" ); |
| 16725 |
|
| 16726 |
getDispatcher()->vkCmdSetDepthBounds( static_cast<VkCommandBuffer>( m_commandBuffer ), minDepthBounds, maxDepthBounds ); |
| 16727 |
} |
| 16728 |
|
| 16729 |
// wrapper function for command vkCmdSetStencilCompareMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilCompareMask.html |
| 16730 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilCompareMask( StencilFaceFlags faceMask, uint32_t compareMask ) const VULKAN_HPP_NOEXCEPT |
| 16731 |
{ |
| 16732 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilCompareMask && "Function <vkCmdSetStencilCompareMask> requires <VK_VERSION_1_0>" ); |
| 16733 |
|
| 16734 |
getDispatcher()->vkCmdSetStencilCompareMask( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkStencilFaceFlags>( faceMask ), compareMask ); |
| 16735 |
} |
| 16736 |
|
| 16737 |
// wrapper function for command vkCmdSetStencilWriteMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilWriteMask.html |
| 16738 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilWriteMask( StencilFaceFlags faceMask, uint32_t writeMask ) const VULKAN_HPP_NOEXCEPT |
| 16739 |
{ |
| 16740 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilWriteMask && "Function <vkCmdSetStencilWriteMask> requires <VK_VERSION_1_0>" ); |
| 16741 |
|
| 16742 |
getDispatcher()->vkCmdSetStencilWriteMask( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkStencilFaceFlags>( faceMask ), writeMask ); |
| 16743 |
} |
| 16744 |
|
| 16745 |
// wrapper function for command vkCmdSetStencilReference, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilReference.html |
| 16746 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilReference( StencilFaceFlags faceMask, uint32_t reference ) const VULKAN_HPP_NOEXCEPT |
| 16747 |
{ |
| 16748 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilReference && "Function <vkCmdSetStencilReference> requires <VK_VERSION_1_0>" ); |
| 16749 |
|
| 16750 |
getDispatcher()->vkCmdSetStencilReference( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkStencilFaceFlags>( faceMask ), reference ); |
| 16751 |
} |
| 16752 |
|
| 16753 |
// wrapper function for command vkCmdBindIndexBuffer, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer.html |
| 16754 |
VULKAN_HPP_INLINE void |
| 16755 |
CommandBuffer::bindIndexBuffer( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, IndexType indexType ) const VULKAN_HPP_NOEXCEPT |
| 16756 |
{ |
| 16757 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindIndexBuffer && "Function <vkCmdBindIndexBuffer> requires <VK_VERSION_1_0>" ); |
| 16758 |
|
| 16759 |
getDispatcher()->vkCmdBindIndexBuffer( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16760 |
static_cast<VkBuffer>( buffer ), |
| 16761 |
static_cast<VkDeviceSize>( offset ), |
| 16762 |
static_cast<VkIndexType>( indexType ) ); |
| 16763 |
} |
| 16764 |
|
| 16765 |
// wrapper function for command vkCmdBindVertexBuffers, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers.html |
| 16766 |
VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers( uint32_t firstBinding, |
| 16767 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 16768 |
ArrayProxy<const DeviceSize> const & offsets ) const |
| 16769 |
{ |
| 16770 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindVertexBuffers && "Function <vkCmdBindVertexBuffers> requires <VK_VERSION_1_0>" ); |
| 16771 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 16772 |
VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); |
| 16773 |
# else |
| 16774 |
if ( buffers.size() != offsets.size() ) |
| 16775 |
{ |
| 16776 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers: buffers.size() != offsets.size()" ); |
| 16777 |
} |
| 16778 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 16779 |
|
| 16780 |
getDispatcher()->vkCmdBindVertexBuffers( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16781 |
firstBinding, |
| 16782 |
buffers.size(), |
| 16783 |
reinterpret_cast<const VkBuffer *>( buffers.data() ), |
| 16784 |
reinterpret_cast<const VkDeviceSize *>( offsets.data() ) ); |
| 16785 |
} |
| 16786 |
|
| 16787 |
// wrapper function for command vkCmdDraw, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDraw.html |
| 16788 |
VULKAN_HPP_INLINE void |
| 16789 |
CommandBuffer::draw( uint32_t vertexCount, uint32_t instanceCount, uint32_t firstVertex, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT |
| 16790 |
{ |
| 16791 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDraw && "Function <vkCmdDraw> requires <VK_VERSION_1_0>" ); |
| 16792 |
|
| 16793 |
getDispatcher()->vkCmdDraw( static_cast<VkCommandBuffer>( m_commandBuffer ), vertexCount, instanceCount, firstVertex, firstInstance ); |
| 16794 |
} |
| 16795 |
|
| 16796 |
// wrapper function for command vkCmdDrawIndexed, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexed.html |
| 16797 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndexed( |
| 16798 |
uint32_t indexCount, uint32_t instanceCount, uint32_t firstIndex, int32_t vertexOffset, uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT |
| 16799 |
{ |
| 16800 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndexed && "Function <vkCmdDrawIndexed> requires <VK_VERSION_1_0>" ); |
| 16801 |
|
| 16802 |
getDispatcher()->vkCmdDrawIndexed( static_cast<VkCommandBuffer>( m_commandBuffer ), indexCount, instanceCount, firstIndex, vertexOffset, firstInstance ); |
| 16803 |
} |
| 16804 |
|
| 16805 |
// wrapper function for command vkCmdDrawIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirect.html |
| 16806 |
VULKAN_HPP_INLINE void |
| 16807 |
CommandBuffer::drawIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, uint32_t drawCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 16808 |
{ |
| 16809 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndirect && "Function <vkCmdDrawIndirect> requires <VK_VERSION_1_0>" ); |
| 16810 |
|
| 16811 |
getDispatcher()->vkCmdDrawIndirect( |
| 16812 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ), drawCount, stride ); |
| 16813 |
} |
| 16814 |
|
| 16815 |
// wrapper function for command vkCmdDrawIndexedIndirect, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirect.html |
| 16816 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirect( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 16817 |
DeviceSize offset, |
| 16818 |
uint32_t drawCount, |
| 16819 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 16820 |
{ |
| 16821 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndexedIndirect && "Function <vkCmdDrawIndexedIndirect> requires <VK_VERSION_1_0>" ); |
| 16822 |
|
| 16823 |
getDispatcher()->vkCmdDrawIndexedIndirect( |
| 16824 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ), drawCount, stride ); |
| 16825 |
} |
| 16826 |
|
| 16827 |
// wrapper function for command vkCmdBlitImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage.html |
| 16828 |
VULKAN_HPP_INLINE void CommandBuffer::blitImage( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 16829 |
ImageLayout srcImageLayout, |
| 16830 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 16831 |
ImageLayout dstImageLayout, |
| 16832 |
ArrayProxy<const ImageBlit> const & regions, |
| 16833 |
Filter filter ) const VULKAN_HPP_NOEXCEPT |
| 16834 |
{ |
| 16835 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBlitImage && "Function <vkCmdBlitImage> requires <VK_VERSION_1_0>" ); |
| 16836 |
|
| 16837 |
getDispatcher()->vkCmdBlitImage( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16838 |
static_cast<VkImage>( srcImage ), |
| 16839 |
static_cast<VkImageLayout>( srcImageLayout ), |
| 16840 |
static_cast<VkImage>( dstImage ), |
| 16841 |
static_cast<VkImageLayout>( dstImageLayout ), |
| 16842 |
regions.size(), |
| 16843 |
reinterpret_cast<const VkImageBlit *>( regions.data() ), |
| 16844 |
static_cast<VkFilter>( filter ) ); |
| 16845 |
} |
| 16846 |
|
| 16847 |
// wrapper function for command vkCmdClearDepthStencilImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearDepthStencilImage.html |
| 16848 |
VULKAN_HPP_INLINE void CommandBuffer::clearDepthStencilImage( VULKAN_HPP_NAMESPACE::Image image, |
| 16849 |
ImageLayout imageLayout, |
| 16850 |
const ClearDepthStencilValue & depthStencil, |
| 16851 |
ArrayProxy<const ImageSubresourceRange> const & ranges ) const VULKAN_HPP_NOEXCEPT |
| 16852 |
{ |
| 16853 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdClearDepthStencilImage && "Function <vkCmdClearDepthStencilImage> requires <VK_VERSION_1_0>" ); |
| 16854 |
|
| 16855 |
getDispatcher()->vkCmdClearDepthStencilImage( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16856 |
static_cast<VkImage>( image ), |
| 16857 |
static_cast<VkImageLayout>( imageLayout ), |
| 16858 |
reinterpret_cast<const VkClearDepthStencilValue *>( &depthStencil ), |
| 16859 |
ranges.size(), |
| 16860 |
reinterpret_cast<const VkImageSubresourceRange *>( ranges.data() ) ); |
| 16861 |
} |
| 16862 |
|
| 16863 |
// wrapper function for command vkCmdClearAttachments, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdClearAttachments.html |
| 16864 |
VULKAN_HPP_INLINE void CommandBuffer::clearAttachments( ArrayProxy<const ClearAttachment> const & attachments, |
| 16865 |
ArrayProxy<const ClearRect> const & rects ) const VULKAN_HPP_NOEXCEPT |
| 16866 |
{ |
| 16867 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdClearAttachments && "Function <vkCmdClearAttachments> requires <VK_VERSION_1_0>" ); |
| 16868 |
|
| 16869 |
getDispatcher()->vkCmdClearAttachments( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16870 |
attachments.size(), |
| 16871 |
reinterpret_cast<const VkClearAttachment *>( attachments.data() ), |
| 16872 |
rects.size(), |
| 16873 |
reinterpret_cast<const VkClearRect *>( rects.data() ) ); |
| 16874 |
} |
| 16875 |
|
| 16876 |
// wrapper function for command vkCmdResolveImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage.html |
| 16877 |
VULKAN_HPP_INLINE void CommandBuffer::resolveImage( VULKAN_HPP_NAMESPACE::Image srcImage, |
| 16878 |
ImageLayout srcImageLayout, |
| 16879 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 16880 |
ImageLayout dstImageLayout, |
| 16881 |
ArrayProxy<const ImageResolve> const & regions ) const VULKAN_HPP_NOEXCEPT |
| 16882 |
{ |
| 16883 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResolveImage && "Function <vkCmdResolveImage> requires <VK_VERSION_1_0>" ); |
| 16884 |
|
| 16885 |
getDispatcher()->vkCmdResolveImage( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16886 |
static_cast<VkImage>( srcImage ), |
| 16887 |
static_cast<VkImageLayout>( srcImageLayout ), |
| 16888 |
static_cast<VkImage>( dstImage ), |
| 16889 |
static_cast<VkImageLayout>( dstImageLayout ), |
| 16890 |
regions.size(), |
| 16891 |
reinterpret_cast<const VkImageResolve *>( regions.data() ) ); |
| 16892 |
} |
| 16893 |
|
| 16894 |
// wrapper function for command vkCmdBeginRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass.html |
| 16895 |
VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass( const RenderPassBeginInfo & renderPassBegin, SubpassContents contents ) const VULKAN_HPP_NOEXCEPT |
| 16896 |
{ |
| 16897 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginRenderPass && "Function <vkCmdBeginRenderPass> requires <VK_VERSION_1_0>" ); |
| 16898 |
|
| 16899 |
getDispatcher()->vkCmdBeginRenderPass( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 16900 |
reinterpret_cast<const VkRenderPassBeginInfo *>( &renderPassBegin ), |
| 16901 |
static_cast<VkSubpassContents>( contents ) ); |
| 16902 |
} |
| 16903 |
|
| 16904 |
// wrapper function for command vkCmdNextSubpass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass.html |
| 16905 |
VULKAN_HPP_INLINE void CommandBuffer::nextSubpass( SubpassContents contents ) const VULKAN_HPP_NOEXCEPT |
| 16906 |
{ |
| 16907 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdNextSubpass && "Function <vkCmdNextSubpass> requires <VK_VERSION_1_0>" ); |
| 16908 |
|
| 16909 |
getDispatcher()->vkCmdNextSubpass( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkSubpassContents>( contents ) ); |
| 16910 |
} |
| 16911 |
|
| 16912 |
// wrapper function for command vkCmdEndRenderPass, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass.html |
| 16913 |
VULKAN_HPP_INLINE void CommandBuffer::endRenderPass() const VULKAN_HPP_NOEXCEPT |
| 16914 |
{ |
| 16915 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRenderPass && "Function <vkCmdEndRenderPass> requires <VK_VERSION_1_0>" ); |
| 16916 |
|
| 16917 |
getDispatcher()->vkCmdEndRenderPass( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 16918 |
} |
| 16919 |
|
| 16920 |
//=== VK_VERSION_1_1 === |
| 16921 |
|
| 16922 |
// wrapper function for command vkEnumerateInstanceVersion, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumerateInstanceVersion.html |
| 16923 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<uint32_t>::type Context::enumerateInstanceVersion() const |
| 16924 |
{ |
| 16925 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumerateInstanceVersion && "Function <vkEnumerateInstanceVersion> requires <VK_VERSION_1_1>" ); |
| 16926 |
|
| 16927 |
uint32_t apiVersion; |
| 16928 |
Result result = static_cast<Result>( getDispatcher()->vkEnumerateInstanceVersion( &apiVersion ) ); |
| 16929 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Context::enumerateInstanceVersion" ); |
| 16930 |
|
| 16931 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( apiVersion ) ); |
| 16932 |
} |
| 16933 |
|
| 16934 |
// wrapper function for command vkBindBufferMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2.html |
| 16935 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::bindBufferMemory2( ArrayProxy<const BindBufferMemoryInfo> const & bindInfos ) const |
| 16936 |
{ |
| 16937 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindBufferMemory2 && "Function <vkBindBufferMemory2> requires <VK_KHR_bind_memory2> or <VK_VERSION_1_1>" ); |
| 16938 |
|
| 16939 |
Result result = static_cast<Result>( getDispatcher()->vkBindBufferMemory2( |
| 16940 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindBufferMemoryInfo *>( bindInfos.data() ) ) ); |
| 16941 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindBufferMemory2" ); |
| 16942 |
|
| 16943 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 16944 |
} |
| 16945 |
|
| 16946 |
// wrapper function for command vkBindImageMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2.html |
| 16947 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::bindImageMemory2( ArrayProxy<const BindImageMemoryInfo> const & bindInfos ) const |
| 16948 |
{ |
| 16949 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindImageMemory2 && "Function <vkBindImageMemory2> requires <VK_KHR_bind_memory2> or <VK_VERSION_1_1>" ); |
| 16950 |
|
| 16951 |
Result result = static_cast<Result>( getDispatcher()->vkBindImageMemory2( |
| 16952 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindImageMemoryInfo *>( bindInfos.data() ) ) ); |
| 16953 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindImageMemory2" ); |
| 16954 |
|
| 16955 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 16956 |
} |
| 16957 |
|
| 16958 |
// wrapper function for command vkGetDeviceGroupPeerMemoryFeatures, see |
| 16959 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeatures.html |
| 16960 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeatures( uint32_t heapIndex, |
| 16961 |
uint32_t localDeviceIndex, |
| 16962 |
uint32_t remoteDeviceIndex ) const VULKAN_HPP_NOEXCEPT |
| 16963 |
{ |
| 16964 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceGroupPeerMemoryFeatures && |
| 16965 |
"Function <vkGetDeviceGroupPeerMemoryFeatures> requires <VK_KHR_device_group> or <VK_VERSION_1_1>" ); |
| 16966 |
|
| 16967 |
PeerMemoryFeatureFlags peerMemoryFeatures; |
| 16968 |
getDispatcher()->vkGetDeviceGroupPeerMemoryFeatures( static_cast<VkDevice>( m_device ), |
| 16969 |
heapIndex, |
| 16970 |
localDeviceIndex, |
| 16971 |
remoteDeviceIndex, |
| 16972 |
reinterpret_cast<VkPeerMemoryFeatureFlags *>( &peerMemoryFeatures ) ); |
| 16973 |
|
| 16974 |
return peerMemoryFeatures; |
| 16975 |
} |
| 16976 |
|
| 16977 |
// wrapper function for command vkCmdSetDeviceMask, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMask.html |
| 16978 |
VULKAN_HPP_INLINE void CommandBuffer::setDeviceMask( uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT |
| 16979 |
{ |
| 16980 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDeviceMask && "Function <vkCmdSetDeviceMask> requires <VK_KHR_device_group> or <VK_VERSION_1_1>" ); |
| 16981 |
|
| 16982 |
getDispatcher()->vkCmdSetDeviceMask( static_cast<VkCommandBuffer>( m_commandBuffer ), deviceMask ); |
| 16983 |
} |
| 16984 |
|
| 16985 |
// wrapper function for command vkEnumeratePhysicalDeviceGroups, see |
| 16986 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroups.html |
| 16987 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceGroupProperties>>::type |
| 16988 |
Instance::enumeratePhysicalDeviceGroups() const |
| 16989 |
{ |
| 16990 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumeratePhysicalDeviceGroups && |
| 16991 |
"Function <vkEnumeratePhysicalDeviceGroups> requires <VK_KHR_device_group_creation> or <VK_VERSION_1_1>" ); |
| 16992 |
|
| 16993 |
std::vector<PhysicalDeviceGroupProperties> physicalDeviceGroupProperties; |
| 16994 |
uint32_t physicalDeviceGroupCount; |
| 16995 |
Result result; |
| 16996 |
do |
| 16997 |
{ |
| 16998 |
result = |
| 16999 |
static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDeviceGroups( static_cast<VkInstance>( m_instance ), &physicalDeviceGroupCount, nullptr ) ); |
| 17000 |
if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) |
| 17001 |
{ |
| 17002 |
physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); |
| 17003 |
result = static_cast<Result>( |
| 17004 |
getDispatcher()->vkEnumeratePhysicalDeviceGroups( static_cast<VkInstance>( m_instance ), |
| 17005 |
&physicalDeviceGroupCount, |
| 17006 |
reinterpret_cast<VkPhysicalDeviceGroupProperties *>( physicalDeviceGroupProperties.data() ) ) ); |
| 17007 |
} |
| 17008 |
} while ( result == Result::eIncomplete ); |
| 17009 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroups" ); |
| 17010 |
VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); |
| 17011 |
if ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) |
| 17012 |
{ |
| 17013 |
physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); |
| 17014 |
} |
| 17015 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( physicalDeviceGroupProperties ) ); |
| 17016 |
} |
| 17017 |
|
| 17018 |
// wrapper function for command vkGetImageMemoryRequirements2, see |
| 17019 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html |
| 17020 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 17021 |
Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 17022 |
{ |
| 17023 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageMemoryRequirements2 && |
| 17024 |
"Function <vkGetImageMemoryRequirements2> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 17025 |
|
| 17026 |
MemoryRequirements2 memoryRequirements; |
| 17027 |
getDispatcher()->vkGetImageMemoryRequirements2( static_cast<VkDevice>( m_device ), |
| 17028 |
reinterpret_cast<const VkImageMemoryRequirementsInfo2 *>( &info ), |
| 17029 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17030 |
|
| 17031 |
return memoryRequirements; |
| 17032 |
} |
| 17033 |
|
| 17034 |
// wrapper function for command vkGetImageMemoryRequirements2, see |
| 17035 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2.html |
| 17036 |
template <typename X, typename Y, typename... Z> |
| 17037 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 17038 |
Device::getImageMemoryRequirements2( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 17039 |
{ |
| 17040 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageMemoryRequirements2 && |
| 17041 |
"Function <vkGetImageMemoryRequirements2> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 17042 |
|
| 17043 |
StructureChain<X, Y, Z...> structureChain; |
| 17044 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 17045 |
getDispatcher()->vkGetImageMemoryRequirements2( static_cast<VkDevice>( m_device ), |
| 17046 |
reinterpret_cast<const VkImageMemoryRequirementsInfo2 *>( &info ), |
| 17047 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17048 |
|
| 17049 |
return structureChain; |
| 17050 |
} |
| 17051 |
|
| 17052 |
// wrapper function for command vkGetBufferMemoryRequirements2, see |
| 17053 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html |
| 17054 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 17055 |
Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 17056 |
{ |
| 17057 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferMemoryRequirements2 && |
| 17058 |
"Function <vkGetBufferMemoryRequirements2> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 17059 |
|
| 17060 |
MemoryRequirements2 memoryRequirements; |
| 17061 |
getDispatcher()->vkGetBufferMemoryRequirements2( static_cast<VkDevice>( m_device ), |
| 17062 |
reinterpret_cast<const VkBufferMemoryRequirementsInfo2 *>( &info ), |
| 17063 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17064 |
|
| 17065 |
return memoryRequirements; |
| 17066 |
} |
| 17067 |
|
| 17068 |
// wrapper function for command vkGetBufferMemoryRequirements2, see |
| 17069 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2.html |
| 17070 |
template <typename X, typename Y, typename... Z> |
| 17071 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 17072 |
Device::getBufferMemoryRequirements2( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 17073 |
{ |
| 17074 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferMemoryRequirements2 && |
| 17075 |
"Function <vkGetBufferMemoryRequirements2> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 17076 |
|
| 17077 |
StructureChain<X, Y, Z...> structureChain; |
| 17078 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 17079 |
getDispatcher()->vkGetBufferMemoryRequirements2( static_cast<VkDevice>( m_device ), |
| 17080 |
reinterpret_cast<const VkBufferMemoryRequirementsInfo2 *>( &info ), |
| 17081 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17082 |
|
| 17083 |
return structureChain; |
| 17084 |
} |
| 17085 |
|
| 17086 |
// wrapper function for command vkGetImageSparseMemoryRequirements2, see |
| 17087 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2.html |
| 17088 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2> |
| 17089 |
Device::getImageSparseMemoryRequirements2( const ImageSparseMemoryRequirementsInfo2 & info ) const |
| 17090 |
{ |
| 17091 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageSparseMemoryRequirements2 && |
| 17092 |
"Function <vkGetImageSparseMemoryRequirements2> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 17093 |
|
| 17094 |
std::vector<SparseImageMemoryRequirements2> sparseMemoryRequirements; |
| 17095 |
uint32_t sparseMemoryRequirementCount; |
| 17096 |
getDispatcher()->vkGetImageSparseMemoryRequirements2( |
| 17097 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2 *>( &info ), &sparseMemoryRequirementCount, nullptr ); |
| 17098 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 17099 |
getDispatcher()->vkGetImageSparseMemoryRequirements2( static_cast<VkDevice>( m_device ), |
| 17100 |
reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2 *>( &info ), |
| 17101 |
&sparseMemoryRequirementCount, |
| 17102 |
reinterpret_cast<VkSparseImageMemoryRequirements2 *>( sparseMemoryRequirements.data() ) ); |
| 17103 |
|
| 17104 |
VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); |
| 17105 |
if ( sparseMemoryRequirementCount < sparseMemoryRequirements.size() ) |
| 17106 |
{ |
| 17107 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 17108 |
} |
| 17109 |
return sparseMemoryRequirements; |
| 17110 |
} |
| 17111 |
|
| 17112 |
// wrapper function for command vkGetPhysicalDeviceFeatures2, see |
| 17113 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html |
| 17114 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2() const VULKAN_HPP_NOEXCEPT |
| 17115 |
{ |
| 17116 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFeatures2 && |
| 17117 |
"Function <vkGetPhysicalDeviceFeatures2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17118 |
|
| 17119 |
PhysicalDeviceFeatures2 features; |
| 17120 |
getDispatcher()->vkGetPhysicalDeviceFeatures2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17121 |
reinterpret_cast<VkPhysicalDeviceFeatures2 *>( &features ) ); |
| 17122 |
|
| 17123 |
return features; |
| 17124 |
} |
| 17125 |
|
| 17126 |
// wrapper function for command vkGetPhysicalDeviceFeatures2, see |
| 17127 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2.html |
| 17128 |
template <typename X, typename Y, typename... Z> |
| 17129 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getFeatures2() const VULKAN_HPP_NOEXCEPT |
| 17130 |
{ |
| 17131 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFeatures2 && |
| 17132 |
"Function <vkGetPhysicalDeviceFeatures2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17133 |
|
| 17134 |
StructureChain<X, Y, Z...> structureChain; |
| 17135 |
PhysicalDeviceFeatures2 & features = structureChain.template get<PhysicalDeviceFeatures2>(); |
| 17136 |
getDispatcher()->vkGetPhysicalDeviceFeatures2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17137 |
reinterpret_cast<VkPhysicalDeviceFeatures2 *>( &features ) ); |
| 17138 |
|
| 17139 |
return structureChain; |
| 17140 |
} |
| 17141 |
|
| 17142 |
// wrapper function for command vkGetPhysicalDeviceProperties2, see |
| 17143 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html |
| 17144 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2() const VULKAN_HPP_NOEXCEPT |
| 17145 |
{ |
| 17146 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties2 && |
| 17147 |
"Function <vkGetPhysicalDeviceProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17148 |
|
| 17149 |
PhysicalDeviceProperties2 properties; |
| 17150 |
getDispatcher()->vkGetPhysicalDeviceProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17151 |
reinterpret_cast<VkPhysicalDeviceProperties2 *>( &properties ) ); |
| 17152 |
|
| 17153 |
return properties; |
| 17154 |
} |
| 17155 |
|
| 17156 |
// wrapper function for command vkGetPhysicalDeviceProperties2, see |
| 17157 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2.html |
| 17158 |
template <typename X, typename Y, typename... Z> |
| 17159 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getProperties2() const VULKAN_HPP_NOEXCEPT |
| 17160 |
{ |
| 17161 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties2 && |
| 17162 |
"Function <vkGetPhysicalDeviceProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17163 |
|
| 17164 |
StructureChain<X, Y, Z...> structureChain; |
| 17165 |
PhysicalDeviceProperties2 & properties = structureChain.template get<PhysicalDeviceProperties2>(); |
| 17166 |
getDispatcher()->vkGetPhysicalDeviceProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17167 |
reinterpret_cast<VkPhysicalDeviceProperties2 *>( &properties ) ); |
| 17168 |
|
| 17169 |
return structureChain; |
| 17170 |
} |
| 17171 |
|
| 17172 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see |
| 17173 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html |
| 17174 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT |
| 17175 |
{ |
| 17176 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties2 && |
| 17177 |
"Function <vkGetPhysicalDeviceFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17178 |
|
| 17179 |
FormatProperties2 formatProperties; |
| 17180 |
getDispatcher()->vkGetPhysicalDeviceFormatProperties2( |
| 17181 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); |
| 17182 |
|
| 17183 |
return formatProperties; |
| 17184 |
} |
| 17185 |
|
| 17186 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2, see |
| 17187 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2.html |
| 17188 |
template <typename X, typename Y, typename... Z> |
| 17189 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getFormatProperties2( Format format ) const VULKAN_HPP_NOEXCEPT |
| 17190 |
{ |
| 17191 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties2 && |
| 17192 |
"Function <vkGetPhysicalDeviceFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17193 |
|
| 17194 |
StructureChain<X, Y, Z...> structureChain; |
| 17195 |
FormatProperties2 & formatProperties = structureChain.template get<FormatProperties2>(); |
| 17196 |
getDispatcher()->vkGetPhysicalDeviceFormatProperties2( |
| 17197 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); |
| 17198 |
|
| 17199 |
return structureChain; |
| 17200 |
} |
| 17201 |
|
| 17202 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see |
| 17203 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html |
| 17204 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2( |
| 17205 |
const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT |
| 17206 |
{ |
| 17207 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2 && |
| 17208 |
"Function <vkGetPhysicalDeviceImageFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17209 |
return static_cast<Result>( |
| 17210 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17211 |
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( pImageFormatInfo ), |
| 17212 |
reinterpret_cast<VkImageFormatProperties2 *>( pImageFormatProperties ) ) ); |
| 17213 |
} |
| 17214 |
|
| 17215 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see |
| 17216 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html |
| 17217 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageFormatProperties2>::type |
| 17218 |
PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const |
| 17219 |
{ |
| 17220 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2 && |
| 17221 |
"Function <vkGetPhysicalDeviceImageFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17222 |
|
| 17223 |
ImageFormatProperties2 imageFormatProperties; |
| 17224 |
Result result = static_cast<Result>( |
| 17225 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17226 |
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( &imageFormatInfo ), |
| 17227 |
reinterpret_cast<VkImageFormatProperties2 *>( &imageFormatProperties ) ) ); |
| 17228 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); |
| 17229 |
|
| 17230 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( imageFormatProperties ) ); |
| 17231 |
} |
| 17232 |
|
| 17233 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2, see |
| 17234 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2.html |
| 17235 |
template <typename X, typename Y, typename... Z> |
| 17236 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 17237 |
PhysicalDevice::getImageFormatProperties2( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const |
| 17238 |
{ |
| 17239 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2 && |
| 17240 |
"Function <vkGetPhysicalDeviceImageFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17241 |
|
| 17242 |
StructureChain<X, Y, Z...> structureChain; |
| 17243 |
ImageFormatProperties2 & imageFormatProperties = structureChain.template get<ImageFormatProperties2>(); |
| 17244 |
Result result = static_cast<Result>( |
| 17245 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17246 |
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( &imageFormatInfo ), |
| 17247 |
reinterpret_cast<VkImageFormatProperties2 *>( &imageFormatProperties ) ) ); |
| 17248 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2" ); |
| 17249 |
|
| 17250 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 17251 |
} |
| 17252 |
|
| 17253 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see |
| 17254 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html |
| 17255 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<QueueFamilyProperties2> PhysicalDevice::getQueueFamilyProperties2() const |
| 17256 |
{ |
| 17257 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2 && |
| 17258 |
"Function <vkGetPhysicalDeviceQueueFamilyProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17259 |
|
| 17260 |
std::vector<QueueFamilyProperties2> queueFamilyProperties; |
| 17261 |
uint32_t queueFamilyPropertyCount; |
| 17262 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); |
| 17263 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 17264 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17265 |
&queueFamilyPropertyCount, |
| 17266 |
reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); |
| 17267 |
|
| 17268 |
VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); |
| 17269 |
if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) |
| 17270 |
{ |
| 17271 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 17272 |
} |
| 17273 |
return queueFamilyProperties; |
| 17274 |
} |
| 17275 |
|
| 17276 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2, see |
| 17277 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html |
| 17278 |
template <typename StructureChain> |
| 17279 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<StructureChain> PhysicalDevice::getQueueFamilyProperties2() const |
| 17280 |
{ |
| 17281 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2 && |
| 17282 |
"Function <vkGetPhysicalDeviceQueueFamilyProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17283 |
|
| 17284 |
std::vector<StructureChain> structureChains; |
| 17285 |
std::vector<QueueFamilyProperties2> queueFamilyProperties; |
| 17286 |
uint32_t queueFamilyPropertyCount; |
| 17287 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); |
| 17288 |
structureChains.resize( queueFamilyPropertyCount ); |
| 17289 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 17290 |
for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) |
| 17291 |
{ |
| 17292 |
queueFamilyProperties[i].pNext = structureChains[i].template get<QueueFamilyProperties2>().pNext; |
| 17293 |
} |
| 17294 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17295 |
&queueFamilyPropertyCount, |
| 17296 |
reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); |
| 17297 |
|
| 17298 |
VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); |
| 17299 |
if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) |
| 17300 |
{ |
| 17301 |
structureChains.resize( queueFamilyPropertyCount ); |
| 17302 |
} |
| 17303 |
for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) |
| 17304 |
{ |
| 17305 |
structureChains[i].template get<QueueFamilyProperties2>() = queueFamilyProperties[i]; |
| 17306 |
} |
| 17307 |
return structureChains; |
| 17308 |
} |
| 17309 |
|
| 17310 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see |
| 17311 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html |
| 17312 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2() const VULKAN_HPP_NOEXCEPT |
| 17313 |
{ |
| 17314 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceMemoryProperties2 && |
| 17315 |
"Function <vkGetPhysicalDeviceMemoryProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17316 |
|
| 17317 |
PhysicalDeviceMemoryProperties2 memoryProperties; |
| 17318 |
getDispatcher()->vkGetPhysicalDeviceMemoryProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17319 |
reinterpret_cast<VkPhysicalDeviceMemoryProperties2 *>( &memoryProperties ) ); |
| 17320 |
|
| 17321 |
return memoryProperties; |
| 17322 |
} |
| 17323 |
|
| 17324 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2, see |
| 17325 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2.html |
| 17326 |
template <typename X, typename Y, typename... Z> |
| 17327 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getMemoryProperties2() const VULKAN_HPP_NOEXCEPT |
| 17328 |
{ |
| 17329 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceMemoryProperties2 && |
| 17330 |
"Function <vkGetPhysicalDeviceMemoryProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17331 |
|
| 17332 |
StructureChain<X, Y, Z...> structureChain; |
| 17333 |
PhysicalDeviceMemoryProperties2 & memoryProperties = structureChain.template get<PhysicalDeviceMemoryProperties2>(); |
| 17334 |
getDispatcher()->vkGetPhysicalDeviceMemoryProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17335 |
reinterpret_cast<VkPhysicalDeviceMemoryProperties2 *>( &memoryProperties ) ); |
| 17336 |
|
| 17337 |
return structureChain; |
| 17338 |
} |
| 17339 |
|
| 17340 |
// wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2, see |
| 17341 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html |
| 17342 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties2> |
| 17343 |
PhysicalDevice::getSparseImageFormatProperties2( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo ) const |
| 17344 |
{ |
| 17345 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties2 && |
| 17346 |
"Function <vkGetPhysicalDeviceSparseImageFormatProperties2> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 17347 |
|
| 17348 |
std::vector<SparseImageFormatProperties2> properties; |
| 17349 |
uint32_t propertyCount; |
| 17350 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17351 |
reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2 *>( &formatInfo ), |
| 17352 |
&propertyCount, |
| 17353 |
nullptr ); |
| 17354 |
properties.resize( propertyCount ); |
| 17355 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties2( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17356 |
reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2 *>( &formatInfo ), |
| 17357 |
&propertyCount, |
| 17358 |
reinterpret_cast<VkSparseImageFormatProperties2 *>( properties.data() ) ); |
| 17359 |
|
| 17360 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 17361 |
if ( propertyCount < properties.size() ) |
| 17362 |
{ |
| 17363 |
properties.resize( propertyCount ); |
| 17364 |
} |
| 17365 |
return properties; |
| 17366 |
} |
| 17367 |
|
| 17368 |
// wrapper function for command vkTrimCommandPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPool.html |
| 17369 |
VULKAN_HPP_INLINE void CommandPool::trim( CommandPoolTrimFlags flags ) const VULKAN_HPP_NOEXCEPT |
| 17370 |
{ |
| 17371 |
VULKAN_HPP_ASSERT( getDispatcher()->vkTrimCommandPool && "Function <vkTrimCommandPool> requires <VK_KHR_maintenance1> or <VK_VERSION_1_1>" ); |
| 17372 |
|
| 17373 |
getDispatcher()->vkTrimCommandPool( |
| 17374 |
static_cast<VkDevice>( m_device ), static_cast<VkCommandPool>( m_commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) ); |
| 17375 |
} |
| 17376 |
|
| 17377 |
// wrapper function for command vkGetDeviceQueue2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceQueue2.html |
| 17378 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Queue Device::getQueue2( DeviceQueueInfo2 const & queueInfo ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 17379 |
{ |
| 17380 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceQueue2 && "Function <vkGetDeviceQueue2> requires <VK_VERSION_1_1>" ); |
| 17381 |
|
| 17382 |
VULKAN_HPP_NAMESPACE::Queue queue; |
| 17383 |
getDispatcher()->vkGetDeviceQueue2( |
| 17384 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDeviceQueueInfo2 *>( &queueInfo ), reinterpret_cast<VkQueue *>( &queue ) ); |
| 17385 |
|
| 17386 |
return Queue( *this, *reinterpret_cast<VkQueue *>( &queue ) ); |
| 17387 |
} |
| 17388 |
|
| 17389 |
// wrapper function for command vkGetPhysicalDeviceExternalBufferProperties, see |
| 17390 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferProperties.html |
| 17391 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalBufferProperties |
| 17392 |
PhysicalDevice::getExternalBufferProperties( const PhysicalDeviceExternalBufferInfo & externalBufferInfo ) const VULKAN_HPP_NOEXCEPT |
| 17393 |
{ |
| 17394 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalBufferProperties && |
| 17395 |
"Function <vkGetPhysicalDeviceExternalBufferProperties> requires <VK_KHR_external_memory_capabilities> or <VK_VERSION_1_1>" ); |
| 17396 |
|
| 17397 |
ExternalBufferProperties externalBufferProperties; |
| 17398 |
getDispatcher()->vkGetPhysicalDeviceExternalBufferProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17399 |
reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo *>( &externalBufferInfo ), |
| 17400 |
reinterpret_cast<VkExternalBufferProperties *>( &externalBufferProperties ) ); |
| 17401 |
|
| 17402 |
return externalBufferProperties; |
| 17403 |
} |
| 17404 |
|
| 17405 |
// wrapper function for command vkGetPhysicalDeviceExternalFenceProperties, see |
| 17406 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFenceProperties.html |
| 17407 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalFenceProperties |
| 17408 |
PhysicalDevice::getExternalFenceProperties( const PhysicalDeviceExternalFenceInfo & externalFenceInfo ) const VULKAN_HPP_NOEXCEPT |
| 17409 |
{ |
| 17410 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalFenceProperties && |
| 17411 |
"Function <vkGetPhysicalDeviceExternalFenceProperties> requires <VK_KHR_external_fence_capabilities> or <VK_VERSION_1_1>" ); |
| 17412 |
|
| 17413 |
ExternalFenceProperties externalFenceProperties; |
| 17414 |
getDispatcher()->vkGetPhysicalDeviceExternalFenceProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17415 |
reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo *>( &externalFenceInfo ), |
| 17416 |
reinterpret_cast<VkExternalFenceProperties *>( &externalFenceProperties ) ); |
| 17417 |
|
| 17418 |
return externalFenceProperties; |
| 17419 |
} |
| 17420 |
|
| 17421 |
// wrapper function for command vkGetPhysicalDeviceExternalSemaphoreProperties, see |
| 17422 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html |
| 17423 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalSemaphoreProperties |
| 17424 |
PhysicalDevice::getExternalSemaphoreProperties( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo ) const VULKAN_HPP_NOEXCEPT |
| 17425 |
{ |
| 17426 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalSemaphoreProperties && |
| 17427 |
"Function <vkGetPhysicalDeviceExternalSemaphoreProperties> requires <VK_KHR_external_semaphore_capabilities> or <VK_VERSION_1_1>" ); |
| 17428 |
|
| 17429 |
ExternalSemaphoreProperties externalSemaphoreProperties; |
| 17430 |
getDispatcher()->vkGetPhysicalDeviceExternalSemaphoreProperties( |
| 17431 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 17432 |
reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo *>( &externalSemaphoreInfo ), |
| 17433 |
reinterpret_cast<VkExternalSemaphoreProperties *>( &externalSemaphoreProperties ) ); |
| 17434 |
|
| 17435 |
return externalSemaphoreProperties; |
| 17436 |
} |
| 17437 |
|
| 17438 |
// wrapper function for command vkCmdDispatchBase, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBase.html |
| 17439 |
VULKAN_HPP_INLINE void CommandBuffer::dispatchBase( uint32_t baseGroupX, |
| 17440 |
uint32_t baseGroupY, |
| 17441 |
uint32_t baseGroupZ, |
| 17442 |
uint32_t groupCountX, |
| 17443 |
uint32_t groupCountY, |
| 17444 |
uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT |
| 17445 |
{ |
| 17446 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchBase && "Function <vkCmdDispatchBase> requires <VK_KHR_device_group> or <VK_VERSION_1_1>" ); |
| 17447 |
|
| 17448 |
getDispatcher()->vkCmdDispatchBase( |
| 17449 |
static_cast<VkCommandBuffer>( m_commandBuffer ), baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); |
| 17450 |
} |
| 17451 |
|
| 17452 |
// wrapper function for command vkCreateDescriptorUpdateTemplate, see |
| 17453 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplate.html |
| 17454 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DescriptorUpdateTemplate>::type |
| 17455 |
Device::createDescriptorUpdateTemplate( DescriptorUpdateTemplateCreateInfo const & createInfo, |
| 17456 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 17457 |
{ |
| 17458 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDescriptorUpdateTemplate && |
| 17459 |
"Function <vkCreateDescriptorUpdateTemplate> requires <VK_KHR_descriptor_update_template> or <VK_VERSION_1_1>" ); |
| 17460 |
|
| 17461 |
VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; |
| 17462 |
Result result = |
| 17463 |
static_cast<Result>( getDispatcher()->vkCreateDescriptorUpdateTemplate( static_cast<VkDevice>( m_device ), |
| 17464 |
reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo *>( &createInfo ), |
| 17465 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 17466 |
reinterpret_cast<VkDescriptorUpdateTemplate *>( &descriptorUpdateTemplate ) ) ); |
| 17467 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplate" ); |
| 17468 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 17469 |
result, DescriptorUpdateTemplate( *this, *reinterpret_cast<VkDescriptorUpdateTemplate *>( &descriptorUpdateTemplate ), allocator ) ); |
| 17470 |
} |
| 17471 |
|
| 17472 |
// wrapper function for command vkUpdateDescriptorSetWithTemplate, see |
| 17473 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplate.html |
| 17474 |
template <typename DataType> |
| 17475 |
VULKAN_HPP_INLINE void DescriptorSet::updateWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 17476 |
DataType const & data ) const VULKAN_HPP_NOEXCEPT |
| 17477 |
{ |
| 17478 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateDescriptorSetWithTemplate && |
| 17479 |
"Function <vkUpdateDescriptorSetWithTemplate> requires <VK_KHR_descriptor_update_template> or <VK_VERSION_1_1>" ); |
| 17480 |
|
| 17481 |
getDispatcher()->vkUpdateDescriptorSetWithTemplate( static_cast<VkDevice>( m_device ), |
| 17482 |
static_cast<VkDescriptorSet>( m_descriptorSet ), |
| 17483 |
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), |
| 17484 |
reinterpret_cast<const void *>( &data ) ); |
| 17485 |
} |
| 17486 |
|
| 17487 |
// wrapper function for command vkGetDescriptorSetLayoutSupport, see |
| 17488 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html |
| 17489 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorSetLayoutSupport |
| 17490 |
Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 17491 |
{ |
| 17492 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutSupport && |
| 17493 |
"Function <vkGetDescriptorSetLayoutSupport> requires <VK_KHR_maintenance3> or <VK_VERSION_1_1>" ); |
| 17494 |
|
| 17495 |
DescriptorSetLayoutSupport support; |
| 17496 |
getDispatcher()->vkGetDescriptorSetLayoutSupport( static_cast<VkDevice>( m_device ), |
| 17497 |
reinterpret_cast<const VkDescriptorSetLayoutCreateInfo *>( &createInfo ), |
| 17498 |
reinterpret_cast<VkDescriptorSetLayoutSupport *>( &support ) ); |
| 17499 |
|
| 17500 |
return support; |
| 17501 |
} |
| 17502 |
|
| 17503 |
// wrapper function for command vkGetDescriptorSetLayoutSupport, see |
| 17504 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupport.html |
| 17505 |
template <typename X, typename Y, typename... Z> |
| 17506 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 17507 |
Device::getDescriptorSetLayoutSupport( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 17508 |
{ |
| 17509 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutSupport && |
| 17510 |
"Function <vkGetDescriptorSetLayoutSupport> requires <VK_KHR_maintenance3> or <VK_VERSION_1_1>" ); |
| 17511 |
|
| 17512 |
StructureChain<X, Y, Z...> structureChain; |
| 17513 |
DescriptorSetLayoutSupport & support = structureChain.template get<DescriptorSetLayoutSupport>(); |
| 17514 |
getDispatcher()->vkGetDescriptorSetLayoutSupport( static_cast<VkDevice>( m_device ), |
| 17515 |
reinterpret_cast<const VkDescriptorSetLayoutCreateInfo *>( &createInfo ), |
| 17516 |
reinterpret_cast<VkDescriptorSetLayoutSupport *>( &support ) ); |
| 17517 |
|
| 17518 |
return structureChain; |
| 17519 |
} |
| 17520 |
|
| 17521 |
// wrapper function for command vkCreateSamplerYcbcrConversion, see |
| 17522 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversion.html |
| 17523 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SamplerYcbcrConversion>::type |
| 17524 |
Device::createSamplerYcbcrConversion( SamplerYcbcrConversionCreateInfo const & createInfo, |
| 17525 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 17526 |
{ |
| 17527 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSamplerYcbcrConversion && |
| 17528 |
"Function <vkCreateSamplerYcbcrConversion> requires <VK_KHR_sampler_ycbcr_conversion> or <VK_VERSION_1_1>" ); |
| 17529 |
|
| 17530 |
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; |
| 17531 |
Result result = |
| 17532 |
static_cast<Result>( getDispatcher()->vkCreateSamplerYcbcrConversion( static_cast<VkDevice>( m_device ), |
| 17533 |
reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo *>( &createInfo ), |
| 17534 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 17535 |
reinterpret_cast<VkSamplerYcbcrConversion *>( &ycbcrConversion ) ) ); |
| 17536 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSamplerYcbcrConversion" ); |
| 17537 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 17538 |
result, SamplerYcbcrConversion( *this, *reinterpret_cast<VkSamplerYcbcrConversion *>( &ycbcrConversion ), allocator ) ); |
| 17539 |
} |
| 17540 |
|
| 17541 |
//=== VK_VERSION_1_2 === |
| 17542 |
|
| 17543 |
// wrapper function for command vkResetQueryPool, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPool.html |
| 17544 |
VULKAN_HPP_INLINE void QueryPool::reset( uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT |
| 17545 |
{ |
| 17546 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetQueryPool && "Function <vkResetQueryPool> requires <VK_EXT_host_query_reset> or <VK_VERSION_1_2>" ); |
| 17547 |
|
| 17548 |
getDispatcher()->vkResetQueryPool( static_cast<VkDevice>( m_device ), static_cast<VkQueryPool>( m_queryPool ), firstQuery, queryCount ); |
| 17549 |
} |
| 17550 |
|
| 17551 |
// wrapper function for command vkGetSemaphoreCounterValue, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValue.html |
| 17552 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<uint64_t>::type Semaphore::getCounterValue() const |
| 17553 |
{ |
| 17554 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSemaphoreCounterValue && |
| 17555 |
"Function <vkGetSemaphoreCounterValue> requires <VK_KHR_timeline_semaphore> or <VK_VERSION_1_2>" ); |
| 17556 |
|
| 17557 |
uint64_t value; |
| 17558 |
Result result = static_cast<Result>( |
| 17559 |
getDispatcher()->vkGetSemaphoreCounterValue( static_cast<VkDevice>( m_device ), static_cast<VkSemaphore>( m_semaphore ), &value ) ); |
| 17560 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Semaphore::getCounterValue" ); |
| 17561 |
|
| 17562 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( value ) ); |
| 17563 |
} |
| 17564 |
|
| 17565 |
// wrapper function for command vkWaitSemaphores, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphores.html |
| 17566 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphores( const SemaphoreWaitInfo & waitInfo, uint64_t timeout ) const |
| 17567 |
{ |
| 17568 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWaitSemaphores && "Function <vkWaitSemaphores> requires <VK_KHR_timeline_semaphore> or <VK_VERSION_1_2>" ); |
| 17569 |
|
| 17570 |
Result result = static_cast<Result>( |
| 17571 |
getDispatcher()->vkWaitSemaphores( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreWaitInfo *>( &waitInfo ), timeout ) ); |
| 17572 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::waitSemaphores", { Result::eSuccess, Result::eTimeout } ); |
| 17573 |
|
| 17574 |
return static_cast<Result>( result ); |
| 17575 |
} |
| 17576 |
|
| 17577 |
// wrapper function for command vkSignalSemaphore, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphore.html |
| 17578 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::signalSemaphore( const SemaphoreSignalInfo & signalInfo ) const |
| 17579 |
{ |
| 17580 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSignalSemaphore && "Function <vkSignalSemaphore> requires <VK_KHR_timeline_semaphore> or <VK_VERSION_1_2>" ); |
| 17581 |
|
| 17582 |
Result result = static_cast<Result>( |
| 17583 |
getDispatcher()->vkSignalSemaphore( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreSignalInfo *>( &signalInfo ) ) ); |
| 17584 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::signalSemaphore" ); |
| 17585 |
|
| 17586 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 17587 |
} |
| 17588 |
|
| 17589 |
// wrapper function for command vkGetBufferDeviceAddress, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddress.html |
| 17590 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddress( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 17591 |
{ |
| 17592 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferDeviceAddress && |
| 17593 |
"Function <vkGetBufferDeviceAddress> requires <VK_EXT_buffer_device_address> or <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 17594 |
|
| 17595 |
VkDeviceAddress result = |
| 17596 |
getDispatcher()->vkGetBufferDeviceAddress( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkBufferDeviceAddressInfo *>( &info ) ); |
| 17597 |
|
| 17598 |
return static_cast<DeviceAddress>( result ); |
| 17599 |
} |
| 17600 |
|
| 17601 |
// wrapper function for command vkGetBufferOpaqueCaptureAddress, see |
| 17602 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddress.html |
| 17603 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddress( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 17604 |
{ |
| 17605 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferOpaqueCaptureAddress && |
| 17606 |
"Function <vkGetBufferOpaqueCaptureAddress> requires <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 17607 |
|
| 17608 |
uint64_t result = |
| 17609 |
getDispatcher()->vkGetBufferOpaqueCaptureAddress( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkBufferDeviceAddressInfo *>( &info ) ); |
| 17610 |
|
| 17611 |
return result; |
| 17612 |
} |
| 17613 |
|
| 17614 |
// wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddress, see |
| 17615 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddress.html |
| 17616 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t |
| 17617 |
Device::getMemoryOpaqueCaptureAddress( const DeviceMemoryOpaqueCaptureAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 17618 |
{ |
| 17619 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceMemoryOpaqueCaptureAddress && |
| 17620 |
"Function <vkGetDeviceMemoryOpaqueCaptureAddress> requires <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 17621 |
|
| 17622 |
uint64_t result = getDispatcher()->vkGetDeviceMemoryOpaqueCaptureAddress( static_cast<VkDevice>( m_device ), |
| 17623 |
reinterpret_cast<const VkDeviceMemoryOpaqueCaptureAddressInfo *>( &info ) ); |
| 17624 |
|
| 17625 |
return result; |
| 17626 |
} |
| 17627 |
|
| 17628 |
// wrapper function for command vkCmdDrawIndirectCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCount.html |
| 17629 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 17630 |
DeviceSize offset, |
| 17631 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 17632 |
DeviceSize countBufferOffset, |
| 17633 |
uint32_t maxDrawCount, |
| 17634 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 17635 |
{ |
| 17636 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndirectCount && |
| 17637 |
"Function <vkCmdDrawIndirectCount> requires <VK_AMD_draw_indirect_count> or <VK_KHR_draw_indirect_count> or <VK_VERSION_1_2>" ); |
| 17638 |
|
| 17639 |
getDispatcher()->vkCmdDrawIndirectCount( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17640 |
static_cast<VkBuffer>( buffer ), |
| 17641 |
static_cast<VkDeviceSize>( offset ), |
| 17642 |
static_cast<VkBuffer>( countBuffer ), |
| 17643 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 17644 |
maxDrawCount, |
| 17645 |
stride ); |
| 17646 |
} |
| 17647 |
|
| 17648 |
// wrapper function for command vkCmdDrawIndexedIndirectCount, see |
| 17649 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCount.html |
| 17650 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCount( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 17651 |
DeviceSize offset, |
| 17652 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 17653 |
DeviceSize countBufferOffset, |
| 17654 |
uint32_t maxDrawCount, |
| 17655 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 17656 |
{ |
| 17657 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndexedIndirectCount && |
| 17658 |
"Function <vkCmdDrawIndexedIndirectCount> requires <VK_AMD_draw_indirect_count> or <VK_KHR_draw_indirect_count> or <VK_VERSION_1_2>" ); |
| 17659 |
|
| 17660 |
getDispatcher()->vkCmdDrawIndexedIndirectCount( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17661 |
static_cast<VkBuffer>( buffer ), |
| 17662 |
static_cast<VkDeviceSize>( offset ), |
| 17663 |
static_cast<VkBuffer>( countBuffer ), |
| 17664 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 17665 |
maxDrawCount, |
| 17666 |
stride ); |
| 17667 |
} |
| 17668 |
|
| 17669 |
// wrapper function for command vkCreateRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2.html |
| 17670 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<RenderPass>::type |
| 17671 |
Device::createRenderPass2( RenderPassCreateInfo2 const & createInfo, |
| 17672 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 17673 |
{ |
| 17674 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRenderPass2 && "Function <vkCreateRenderPass2> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 17675 |
|
| 17676 |
VULKAN_HPP_NAMESPACE::RenderPass renderPass; |
| 17677 |
Result result = static_cast<Result>( getDispatcher()->vkCreateRenderPass2( static_cast<VkDevice>( m_device ), |
| 17678 |
reinterpret_cast<const VkRenderPassCreateInfo2 *>( &createInfo ), |
| 17679 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 17680 |
reinterpret_cast<VkRenderPass *>( &renderPass ) ) ); |
| 17681 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRenderPass2" ); |
| 17682 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, RenderPass( *this, *reinterpret_cast<VkRenderPass *>( &renderPass ), allocator ) ); |
| 17683 |
} |
| 17684 |
|
| 17685 |
// wrapper function for command vkCmdBeginRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2.html |
| 17686 |
VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2( const RenderPassBeginInfo & renderPassBegin, |
| 17687 |
const SubpassBeginInfo & subpassBeginInfo ) const VULKAN_HPP_NOEXCEPT |
| 17688 |
{ |
| 17689 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginRenderPass2 && |
| 17690 |
"Function <vkCmdBeginRenderPass2> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 17691 |
|
| 17692 |
getDispatcher()->vkCmdBeginRenderPass2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17693 |
reinterpret_cast<const VkRenderPassBeginInfo *>( &renderPassBegin ), |
| 17694 |
reinterpret_cast<const VkSubpassBeginInfo *>( &subpassBeginInfo ) ); |
| 17695 |
} |
| 17696 |
|
| 17697 |
// wrapper function for command vkCmdNextSubpass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2.html |
| 17698 |
VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2( const SubpassBeginInfo & subpassBeginInfo, |
| 17699 |
const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 17700 |
{ |
| 17701 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdNextSubpass2 && "Function <vkCmdNextSubpass2> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 17702 |
|
| 17703 |
getDispatcher()->vkCmdNextSubpass2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17704 |
reinterpret_cast<const VkSubpassBeginInfo *>( &subpassBeginInfo ), |
| 17705 |
reinterpret_cast<const VkSubpassEndInfo *>( &subpassEndInfo ) ); |
| 17706 |
} |
| 17707 |
|
| 17708 |
// wrapper function for command vkCmdEndRenderPass2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2.html |
| 17709 |
VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2( const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 17710 |
{ |
| 17711 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRenderPass2 && "Function <vkCmdEndRenderPass2> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 17712 |
|
| 17713 |
getDispatcher()->vkCmdEndRenderPass2( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkSubpassEndInfo *>( &subpassEndInfo ) ); |
| 17714 |
} |
| 17715 |
|
| 17716 |
//=== VK_VERSION_1_3 === |
| 17717 |
|
| 17718 |
// wrapper function for command vkGetPhysicalDeviceToolProperties, see |
| 17719 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolProperties.html |
| 17720 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceToolProperties>>::type PhysicalDevice::getToolProperties() const |
| 17721 |
{ |
| 17722 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceToolProperties && |
| 17723 |
"Function <vkGetPhysicalDeviceToolProperties> requires <VK_EXT_tooling_info> or <VK_VERSION_1_3>" ); |
| 17724 |
|
| 17725 |
std::vector<PhysicalDeviceToolProperties> toolProperties; |
| 17726 |
uint32_t toolCount; |
| 17727 |
Result result; |
| 17728 |
do |
| 17729 |
{ |
| 17730 |
result = |
| 17731 |
static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceToolProperties( static_cast<VkPhysicalDevice>( m_physicalDevice ), &toolCount, nullptr ) ); |
| 17732 |
if ( ( result == Result::eSuccess ) && toolCount ) |
| 17733 |
{ |
| 17734 |
toolProperties.resize( toolCount ); |
| 17735 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceToolProperties( |
| 17736 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &toolCount, reinterpret_cast<VkPhysicalDeviceToolProperties *>( toolProperties.data() ) ) ); |
| 17737 |
} |
| 17738 |
} while ( result == Result::eIncomplete ); |
| 17739 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getToolProperties" ); |
| 17740 |
VULKAN_HPP_ASSERT( toolCount <= toolProperties.size() ); |
| 17741 |
if ( toolCount < toolProperties.size() ) |
| 17742 |
{ |
| 17743 |
toolProperties.resize( toolCount ); |
| 17744 |
} |
| 17745 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( toolProperties ) ); |
| 17746 |
} |
| 17747 |
|
| 17748 |
// wrapper function for command vkCreatePrivateDataSlot, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlot.html |
| 17749 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PrivateDataSlot>::type |
| 17750 |
Device::createPrivateDataSlot( PrivateDataSlotCreateInfo const & createInfo, |
| 17751 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 17752 |
{ |
| 17753 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreatePrivateDataSlot && "Function <vkCreatePrivateDataSlot> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 17754 |
|
| 17755 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot; |
| 17756 |
Result result = static_cast<Result>( getDispatcher()->vkCreatePrivateDataSlot( static_cast<VkDevice>( m_device ), |
| 17757 |
reinterpret_cast<const VkPrivateDataSlotCreateInfo *>( &createInfo ), |
| 17758 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 17759 |
reinterpret_cast<VkPrivateDataSlot *>( &privateDataSlot ) ) ); |
| 17760 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createPrivateDataSlot" ); |
| 17761 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 17762 |
result, PrivateDataSlot( *this, *reinterpret_cast<VkPrivateDataSlot *>( &privateDataSlot ), allocator ) ); |
| 17763 |
} |
| 17764 |
|
| 17765 |
// wrapper function for command vkSetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateData.html |
| 17766 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 17767 |
Device::setPrivateData( ObjectType objectType_, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot, uint64_t data ) const |
| 17768 |
{ |
| 17769 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetPrivateData && "Function <vkSetPrivateData> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 17770 |
|
| 17771 |
Result result = static_cast<Result>( getDispatcher()->vkSetPrivateData( |
| 17772 |
static_cast<VkDevice>( m_device ), static_cast<VkObjectType>( objectType_ ), objectHandle, static_cast<VkPrivateDataSlot>( privateDataSlot ), data ) ); |
| 17773 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::setPrivateData" ); |
| 17774 |
|
| 17775 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 17776 |
} |
| 17777 |
|
| 17778 |
// wrapper function for command vkGetPrivateData, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateData.html |
| 17779 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getPrivateData( ObjectType objectType_, |
| 17780 |
uint64_t objectHandle, |
| 17781 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot ) const VULKAN_HPP_NOEXCEPT |
| 17782 |
{ |
| 17783 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPrivateData && "Function <vkGetPrivateData> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 17784 |
|
| 17785 |
uint64_t data; |
| 17786 |
getDispatcher()->vkGetPrivateData( |
| 17787 |
static_cast<VkDevice>( m_device ), static_cast<VkObjectType>( objectType_ ), objectHandle, static_cast<VkPrivateDataSlot>( privateDataSlot ), &data ); |
| 17788 |
|
| 17789 |
return data; |
| 17790 |
} |
| 17791 |
|
| 17792 |
// wrapper function for command vkCmdPipelineBarrier2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2.html |
| 17793 |
VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2( const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT |
| 17794 |
{ |
| 17795 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPipelineBarrier2 && "Function <vkCmdPipelineBarrier2> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 17796 |
|
| 17797 |
getDispatcher()->vkCmdPipelineBarrier2( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkDependencyInfo *>( &dependencyInfo ) ); |
| 17798 |
} |
| 17799 |
|
| 17800 |
// wrapper function for command vkCmdWriteTimestamp2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2.html |
| 17801 |
VULKAN_HPP_INLINE void |
| 17802 |
CommandBuffer::writeTimestamp2( PipelineStageFlags2 stage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT |
| 17803 |
{ |
| 17804 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteTimestamp2 && "Function <vkCmdWriteTimestamp2> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 17805 |
|
| 17806 |
getDispatcher()->vkCmdWriteTimestamp2( |
| 17807 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPipelineStageFlags2>( stage ), static_cast<VkQueryPool>( queryPool ), query ); |
| 17808 |
} |
| 17809 |
|
| 17810 |
// wrapper function for command vkQueueSubmit2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2.html |
| 17811 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Queue::submit2( ArrayProxy<const SubmitInfo2> const & submits, |
| 17812 |
VULKAN_HPP_NAMESPACE::Fence fence ) const |
| 17813 |
{ |
| 17814 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueSubmit2 && "Function <vkQueueSubmit2> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 17815 |
|
| 17816 |
Result result = static_cast<Result>( getDispatcher()->vkQueueSubmit2( |
| 17817 |
static_cast<VkQueue>( m_queue ), submits.size(), reinterpret_cast<const VkSubmitInfo2 *>( submits.data() ), static_cast<VkFence>( fence ) ) ); |
| 17818 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::submit2" ); |
| 17819 |
|
| 17820 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 17821 |
} |
| 17822 |
|
| 17823 |
// wrapper function for command vkCmdCopyBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2.html |
| 17824 |
VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2( const CopyBufferInfo2 & copyBufferInfo ) const VULKAN_HPP_NOEXCEPT |
| 17825 |
{ |
| 17826 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyBuffer2 && "Function <vkCmdCopyBuffer2> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 17827 |
|
| 17828 |
getDispatcher()->vkCmdCopyBuffer2( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCopyBufferInfo2 *>( ©BufferInfo ) ); |
| 17829 |
} |
| 17830 |
|
| 17831 |
// wrapper function for command vkCmdCopyImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2.html |
| 17832 |
VULKAN_HPP_INLINE void CommandBuffer::copyImage2( const CopyImageInfo2 & copyImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 17833 |
{ |
| 17834 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyImage2 && "Function <vkCmdCopyImage2> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 17835 |
|
| 17836 |
getDispatcher()->vkCmdCopyImage2( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCopyImageInfo2 *>( ©ImageInfo ) ); |
| 17837 |
} |
| 17838 |
|
| 17839 |
// wrapper function for command vkCmdCopyBufferToImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2.html |
| 17840 |
VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2( const CopyBufferToImageInfo2 & copyBufferToImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 17841 |
{ |
| 17842 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyBufferToImage2 && |
| 17843 |
"Function <vkCmdCopyBufferToImage2> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 17844 |
|
| 17845 |
getDispatcher()->vkCmdCopyBufferToImage2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17846 |
reinterpret_cast<const VkCopyBufferToImageInfo2 *>( ©BufferToImageInfo ) ); |
| 17847 |
} |
| 17848 |
|
| 17849 |
// wrapper function for command vkCmdCopyImageToBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2.html |
| 17850 |
VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2( const CopyImageToBufferInfo2 & copyImageToBufferInfo ) const VULKAN_HPP_NOEXCEPT |
| 17851 |
{ |
| 17852 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyImageToBuffer2 && |
| 17853 |
"Function <vkCmdCopyImageToBuffer2> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 17854 |
|
| 17855 |
getDispatcher()->vkCmdCopyImageToBuffer2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17856 |
reinterpret_cast<const VkCopyImageToBufferInfo2 *>( ©ImageToBufferInfo ) ); |
| 17857 |
} |
| 17858 |
|
| 17859 |
// wrapper function for command vkGetDeviceBufferMemoryRequirements, see |
| 17860 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html |
| 17861 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 17862 |
Device::getBufferMemoryRequirements( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 17863 |
{ |
| 17864 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceBufferMemoryRequirements && |
| 17865 |
"Function <vkGetDeviceBufferMemoryRequirements> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 17866 |
|
| 17867 |
MemoryRequirements2 memoryRequirements; |
| 17868 |
getDispatcher()->vkGetDeviceBufferMemoryRequirements( static_cast<VkDevice>( m_device ), |
| 17869 |
reinterpret_cast<const VkDeviceBufferMemoryRequirements *>( &info ), |
| 17870 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17871 |
|
| 17872 |
return memoryRequirements; |
| 17873 |
} |
| 17874 |
|
| 17875 |
// wrapper function for command vkGetDeviceBufferMemoryRequirements, see |
| 17876 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirements.html |
| 17877 |
template <typename X, typename Y, typename... Z> |
| 17878 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 17879 |
Device::getBufferMemoryRequirements( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 17880 |
{ |
| 17881 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceBufferMemoryRequirements && |
| 17882 |
"Function <vkGetDeviceBufferMemoryRequirements> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 17883 |
|
| 17884 |
StructureChain<X, Y, Z...> structureChain; |
| 17885 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 17886 |
getDispatcher()->vkGetDeviceBufferMemoryRequirements( static_cast<VkDevice>( m_device ), |
| 17887 |
reinterpret_cast<const VkDeviceBufferMemoryRequirements *>( &info ), |
| 17888 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17889 |
|
| 17890 |
return structureChain; |
| 17891 |
} |
| 17892 |
|
| 17893 |
// wrapper function for command vkGetDeviceImageMemoryRequirements, see |
| 17894 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html |
| 17895 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 17896 |
Device::getImageMemoryRequirements( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 17897 |
{ |
| 17898 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageMemoryRequirements && |
| 17899 |
"Function <vkGetDeviceImageMemoryRequirements> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 17900 |
|
| 17901 |
MemoryRequirements2 memoryRequirements; |
| 17902 |
getDispatcher()->vkGetDeviceImageMemoryRequirements( static_cast<VkDevice>( m_device ), |
| 17903 |
reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), |
| 17904 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17905 |
|
| 17906 |
return memoryRequirements; |
| 17907 |
} |
| 17908 |
|
| 17909 |
// wrapper function for command vkGetDeviceImageMemoryRequirements, see |
| 17910 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirements.html |
| 17911 |
template <typename X, typename Y, typename... Z> |
| 17912 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 17913 |
Device::getImageMemoryRequirements( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 17914 |
{ |
| 17915 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageMemoryRequirements && |
| 17916 |
"Function <vkGetDeviceImageMemoryRequirements> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 17917 |
|
| 17918 |
StructureChain<X, Y, Z...> structureChain; |
| 17919 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 17920 |
getDispatcher()->vkGetDeviceImageMemoryRequirements( static_cast<VkDevice>( m_device ), |
| 17921 |
reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), |
| 17922 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 17923 |
|
| 17924 |
return structureChain; |
| 17925 |
} |
| 17926 |
|
| 17927 |
// wrapper function for command vkGetDeviceImageSparseMemoryRequirements, see |
| 17928 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirements.html |
| 17929 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2> |
| 17930 |
Device::getImageSparseMemoryRequirements( const DeviceImageMemoryRequirements & info ) const |
| 17931 |
{ |
| 17932 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageSparseMemoryRequirements && |
| 17933 |
"Function <vkGetDeviceImageSparseMemoryRequirements> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 17934 |
|
| 17935 |
std::vector<SparseImageMemoryRequirements2> sparseMemoryRequirements; |
| 17936 |
uint32_t sparseMemoryRequirementCount; |
| 17937 |
getDispatcher()->vkGetDeviceImageSparseMemoryRequirements( |
| 17938 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), &sparseMemoryRequirementCount, nullptr ); |
| 17939 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 17940 |
getDispatcher()->vkGetDeviceImageSparseMemoryRequirements( static_cast<VkDevice>( m_device ), |
| 17941 |
reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), |
| 17942 |
&sparseMemoryRequirementCount, |
| 17943 |
reinterpret_cast<VkSparseImageMemoryRequirements2 *>( sparseMemoryRequirements.data() ) ); |
| 17944 |
|
| 17945 |
VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); |
| 17946 |
if ( sparseMemoryRequirementCount < sparseMemoryRequirements.size() ) |
| 17947 |
{ |
| 17948 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 17949 |
} |
| 17950 |
return sparseMemoryRequirements; |
| 17951 |
} |
| 17952 |
|
| 17953 |
// wrapper function for command vkCmdSetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2.html |
| 17954 |
VULKAN_HPP_INLINE void CommandBuffer::setEvent2( VULKAN_HPP_NAMESPACE::Event event, const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT |
| 17955 |
{ |
| 17956 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetEvent2 && "Function <vkCmdSetEvent2> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 17957 |
|
| 17958 |
getDispatcher()->vkCmdSetEvent2( |
| 17959 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkEvent>( event ), reinterpret_cast<const VkDependencyInfo *>( &dependencyInfo ) ); |
| 17960 |
} |
| 17961 |
|
| 17962 |
// wrapper function for command vkCmdResetEvent2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2.html |
| 17963 |
VULKAN_HPP_INLINE void CommandBuffer::resetEvent2( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags2 stageMask ) const VULKAN_HPP_NOEXCEPT |
| 17964 |
{ |
| 17965 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResetEvent2 && "Function <vkCmdResetEvent2> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 17966 |
|
| 17967 |
getDispatcher()->vkCmdResetEvent2( |
| 17968 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags2>( stageMask ) ); |
| 17969 |
} |
| 17970 |
|
| 17971 |
// wrapper function for command vkCmdWaitEvents2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2.html |
| 17972 |
VULKAN_HPP_INLINE void CommandBuffer::waitEvents2( ArrayProxy<const VULKAN_HPP_NAMESPACE::Event> const & events, |
| 17973 |
ArrayProxy<const DependencyInfo> const & dependencyInfos ) const |
| 17974 |
{ |
| 17975 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWaitEvents2 && "Function <vkCmdWaitEvents2> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 17976 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 17977 |
VULKAN_HPP_ASSERT( events.size() == dependencyInfos.size() ); |
| 17978 |
# else |
| 17979 |
if ( events.size() != dependencyInfos.size() ) |
| 17980 |
{ |
| 17981 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::waitEvents2: events.size() != dependencyInfos.size()" ); |
| 17982 |
} |
| 17983 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 17984 |
|
| 17985 |
getDispatcher()->vkCmdWaitEvents2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 17986 |
events.size(), |
| 17987 |
reinterpret_cast<const VkEvent *>( events.data() ), |
| 17988 |
reinterpret_cast<const VkDependencyInfo *>( dependencyInfos.data() ) ); |
| 17989 |
} |
| 17990 |
|
| 17991 |
// wrapper function for command vkCmdBlitImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2.html |
| 17992 |
VULKAN_HPP_INLINE void CommandBuffer::blitImage2( const BlitImageInfo2 & blitImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 17993 |
{ |
| 17994 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBlitImage2 && "Function <vkCmdBlitImage2> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 17995 |
|
| 17996 |
getDispatcher()->vkCmdBlitImage2( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkBlitImageInfo2 *>( &blitImageInfo ) ); |
| 17997 |
} |
| 17998 |
|
| 17999 |
// wrapper function for command vkCmdResolveImage2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2.html |
| 18000 |
VULKAN_HPP_INLINE void CommandBuffer::resolveImage2( const ResolveImageInfo2 & resolveImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 18001 |
{ |
| 18002 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResolveImage2 && "Function <vkCmdResolveImage2> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 18003 |
|
| 18004 |
getDispatcher()->vkCmdResolveImage2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18005 |
reinterpret_cast<const VkResolveImageInfo2 *>( &resolveImageInfo ) ); |
| 18006 |
} |
| 18007 |
|
| 18008 |
// wrapper function for command vkCmdBeginRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRendering.html |
| 18009 |
VULKAN_HPP_INLINE void CommandBuffer::beginRendering( const RenderingInfo & renderingInfo ) const VULKAN_HPP_NOEXCEPT |
| 18010 |
{ |
| 18011 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginRendering && "Function <vkCmdBeginRendering> requires <VK_KHR_dynamic_rendering> or <VK_VERSION_1_3>" ); |
| 18012 |
|
| 18013 |
getDispatcher()->vkCmdBeginRendering( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkRenderingInfo *>( &renderingInfo ) ); |
| 18014 |
} |
| 18015 |
|
| 18016 |
// wrapper function for command vkCmdEndRendering, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering.html |
| 18017 |
VULKAN_HPP_INLINE void CommandBuffer::endRendering() const VULKAN_HPP_NOEXCEPT |
| 18018 |
{ |
| 18019 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRendering && "Function <vkCmdEndRendering> requires <VK_KHR_dynamic_rendering> or <VK_VERSION_1_3>" ); |
| 18020 |
|
| 18021 |
getDispatcher()->vkCmdEndRendering( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 18022 |
} |
| 18023 |
|
| 18024 |
// wrapper function for command vkCmdSetCullMode, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullMode.html |
| 18025 |
VULKAN_HPP_INLINE void CommandBuffer::setCullMode( CullModeFlags cullMode ) const VULKAN_HPP_NOEXCEPT |
| 18026 |
{ |
| 18027 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCullMode && |
| 18028 |
"Function <vkCmdSetCullMode> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18029 |
|
| 18030 |
getDispatcher()->vkCmdSetCullMode( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkCullModeFlags>( cullMode ) ); |
| 18031 |
} |
| 18032 |
|
| 18033 |
// wrapper function for command vkCmdSetFrontFace, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFace.html |
| 18034 |
VULKAN_HPP_INLINE void CommandBuffer::setFrontFace( FrontFace frontFace ) const VULKAN_HPP_NOEXCEPT |
| 18035 |
{ |
| 18036 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetFrontFace && |
| 18037 |
"Function <vkCmdSetFrontFace> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18038 |
|
| 18039 |
getDispatcher()->vkCmdSetFrontFace( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkFrontFace>( frontFace ) ); |
| 18040 |
} |
| 18041 |
|
| 18042 |
// wrapper function for command vkCmdSetPrimitiveTopology, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopology.html |
| 18043 |
VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveTopology( PrimitiveTopology primitiveTopology ) const VULKAN_HPP_NOEXCEPT |
| 18044 |
{ |
| 18045 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPrimitiveTopology && |
| 18046 |
"Function <vkCmdSetPrimitiveTopology> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18047 |
|
| 18048 |
getDispatcher()->vkCmdSetPrimitiveTopology( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPrimitiveTopology>( primitiveTopology ) ); |
| 18049 |
} |
| 18050 |
|
| 18051 |
// wrapper function for command vkCmdSetViewportWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCount.html |
| 18052 |
VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCount( ArrayProxy<const Viewport> const & viewports ) const VULKAN_HPP_NOEXCEPT |
| 18053 |
{ |
| 18054 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewportWithCount && |
| 18055 |
"Function <vkCmdSetViewportWithCount> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18056 |
|
| 18057 |
getDispatcher()->vkCmdSetViewportWithCount( |
| 18058 |
static_cast<VkCommandBuffer>( m_commandBuffer ), viewports.size(), reinterpret_cast<const VkViewport *>( viewports.data() ) ); |
| 18059 |
} |
| 18060 |
|
| 18061 |
// wrapper function for command vkCmdSetScissorWithCount, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCount.html |
| 18062 |
VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCount( ArrayProxy<const Rect2D> const & scissors ) const VULKAN_HPP_NOEXCEPT |
| 18063 |
{ |
| 18064 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetScissorWithCount && |
| 18065 |
"Function <vkCmdSetScissorWithCount> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18066 |
|
| 18067 |
getDispatcher()->vkCmdSetScissorWithCount( |
| 18068 |
static_cast<VkCommandBuffer>( m_commandBuffer ), scissors.size(), reinterpret_cast<const VkRect2D *>( scissors.data() ) ); |
| 18069 |
} |
| 18070 |
|
| 18071 |
// wrapper function for command vkCmdBindVertexBuffers2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2.html |
| 18072 |
VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2( uint32_t firstBinding, |
| 18073 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 18074 |
ArrayProxy<const DeviceSize> const & offsets, |
| 18075 |
ArrayProxy<const DeviceSize> const & sizes, |
| 18076 |
ArrayProxy<const DeviceSize> const & strides ) const |
| 18077 |
{ |
| 18078 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindVertexBuffers2 && |
| 18079 |
"Function <vkCmdBindVertexBuffers2> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18080 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 18081 |
VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); |
| 18082 |
VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); |
| 18083 |
VULKAN_HPP_ASSERT( strides.empty() || buffers.size() == strides.size() ); |
| 18084 |
# else |
| 18085 |
if ( buffers.size() != offsets.size() ) |
| 18086 |
{ |
| 18087 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2: buffers.size() != offsets.size()" ); |
| 18088 |
} |
| 18089 |
if ( !sizes.empty() && buffers.size() != sizes.size() ) |
| 18090 |
{ |
| 18091 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2: buffers.size() != sizes.size()" ); |
| 18092 |
} |
| 18093 |
if ( !strides.empty() && buffers.size() != strides.size() ) |
| 18094 |
{ |
| 18095 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2: buffers.size() != strides.size()" ); |
| 18096 |
} |
| 18097 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 18098 |
|
| 18099 |
getDispatcher()->vkCmdBindVertexBuffers2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18100 |
firstBinding, |
| 18101 |
buffers.size(), |
| 18102 |
reinterpret_cast<const VkBuffer *>( buffers.data() ), |
| 18103 |
reinterpret_cast<const VkDeviceSize *>( offsets.data() ), |
| 18104 |
reinterpret_cast<const VkDeviceSize *>( sizes.data() ), |
| 18105 |
reinterpret_cast<const VkDeviceSize *>( strides.data() ) ); |
| 18106 |
} |
| 18107 |
|
| 18108 |
// wrapper function for command vkCmdSetDepthTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnable.html |
| 18109 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthTestEnable( Bool32 depthTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 18110 |
{ |
| 18111 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthTestEnable && |
| 18112 |
"Function <vkCmdSetDepthTestEnable> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18113 |
|
| 18114 |
getDispatcher()->vkCmdSetDepthTestEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthTestEnable ) ); |
| 18115 |
} |
| 18116 |
|
| 18117 |
// wrapper function for command vkCmdSetDepthWriteEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnable.html |
| 18118 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthWriteEnable( Bool32 depthWriteEnable ) const VULKAN_HPP_NOEXCEPT |
| 18119 |
{ |
| 18120 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthWriteEnable && |
| 18121 |
"Function <vkCmdSetDepthWriteEnable> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18122 |
|
| 18123 |
getDispatcher()->vkCmdSetDepthWriteEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthWriteEnable ) ); |
| 18124 |
} |
| 18125 |
|
| 18126 |
// wrapper function for command vkCmdSetDepthCompareOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOp.html |
| 18127 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOp( CompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT |
| 18128 |
{ |
| 18129 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthCompareOp && |
| 18130 |
"Function <vkCmdSetDepthCompareOp> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18131 |
|
| 18132 |
getDispatcher()->vkCmdSetDepthCompareOp( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkCompareOp>( depthCompareOp ) ); |
| 18133 |
} |
| 18134 |
|
| 18135 |
// wrapper function for command vkCmdSetDepthBoundsTestEnable, see |
| 18136 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnable.html |
| 18137 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthBoundsTestEnable( Bool32 depthBoundsTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 18138 |
{ |
| 18139 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBoundsTestEnable && |
| 18140 |
"Function <vkCmdSetDepthBoundsTestEnable> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18141 |
|
| 18142 |
getDispatcher()->vkCmdSetDepthBoundsTestEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthBoundsTestEnable ) ); |
| 18143 |
} |
| 18144 |
|
| 18145 |
// wrapper function for command vkCmdSetStencilTestEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnable.html |
| 18146 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilTestEnable( Bool32 stencilTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 18147 |
{ |
| 18148 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilTestEnable && |
| 18149 |
"Function <vkCmdSetStencilTestEnable> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18150 |
|
| 18151 |
getDispatcher()->vkCmdSetStencilTestEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( stencilTestEnable ) ); |
| 18152 |
} |
| 18153 |
|
| 18154 |
// wrapper function for command vkCmdSetStencilOp, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOp.html |
| 18155 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilOp( |
| 18156 |
StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, StencilOp depthFailOp, CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT |
| 18157 |
{ |
| 18158 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilOp && |
| 18159 |
"Function <vkCmdSetStencilOp> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18160 |
|
| 18161 |
getDispatcher()->vkCmdSetStencilOp( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18162 |
static_cast<VkStencilFaceFlags>( faceMask ), |
| 18163 |
static_cast<VkStencilOp>( failOp ), |
| 18164 |
static_cast<VkStencilOp>( passOp ), |
| 18165 |
static_cast<VkStencilOp>( depthFailOp ), |
| 18166 |
static_cast<VkCompareOp>( compareOp ) ); |
| 18167 |
} |
| 18168 |
|
| 18169 |
// wrapper function for command vkCmdSetRasterizerDiscardEnable, see |
| 18170 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnable.html |
| 18171 |
VULKAN_HPP_INLINE void CommandBuffer::setRasterizerDiscardEnable( Bool32 rasterizerDiscardEnable ) const VULKAN_HPP_NOEXCEPT |
| 18172 |
{ |
| 18173 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRasterizerDiscardEnable && |
| 18174 |
"Function <vkCmdSetRasterizerDiscardEnable> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18175 |
|
| 18176 |
getDispatcher()->vkCmdSetRasterizerDiscardEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( rasterizerDiscardEnable ) ); |
| 18177 |
} |
| 18178 |
|
| 18179 |
// wrapper function for command vkCmdSetDepthBiasEnable, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnable.html |
| 18180 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthBiasEnable( Bool32 depthBiasEnable ) const VULKAN_HPP_NOEXCEPT |
| 18181 |
{ |
| 18182 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBiasEnable && |
| 18183 |
"Function <vkCmdSetDepthBiasEnable> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18184 |
|
| 18185 |
getDispatcher()->vkCmdSetDepthBiasEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthBiasEnable ) ); |
| 18186 |
} |
| 18187 |
|
| 18188 |
// wrapper function for command vkCmdSetPrimitiveRestartEnable, see |
| 18189 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnable.html |
| 18190 |
VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveRestartEnable( Bool32 primitiveRestartEnable ) const VULKAN_HPP_NOEXCEPT |
| 18191 |
{ |
| 18192 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPrimitiveRestartEnable && |
| 18193 |
"Function <vkCmdSetPrimitiveRestartEnable> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 18194 |
|
| 18195 |
getDispatcher()->vkCmdSetPrimitiveRestartEnable( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( primitiveRestartEnable ) ); |
| 18196 |
} |
| 18197 |
|
| 18198 |
//=== VK_VERSION_1_4 === |
| 18199 |
|
| 18200 |
// wrapper function for command vkMapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2.html |
| 18201 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<void *>::type Device::mapMemory2( const MemoryMapInfo & memoryMapInfo ) const |
| 18202 |
{ |
| 18203 |
VULKAN_HPP_ASSERT( getDispatcher()->vkMapMemory2 && "Function <vkMapMemory2> requires <VK_KHR_map_memory2> or <VK_VERSION_1_4>" ); |
| 18204 |
|
| 18205 |
void * pData; |
| 18206 |
Result result = static_cast<Result>( |
| 18207 |
getDispatcher()->vkMapMemory2( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryMapInfo *>( &memoryMapInfo ), &pData ) ); |
| 18208 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::mapMemory2" ); |
| 18209 |
|
| 18210 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pData ) ); |
| 18211 |
} |
| 18212 |
|
| 18213 |
// wrapper function for command vkUnmapMemory2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2.html |
| 18214 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::unmapMemory2( const MemoryUnmapInfo & memoryUnmapInfo ) const |
| 18215 |
{ |
| 18216 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUnmapMemory2 && "Function <vkUnmapMemory2> requires <VK_KHR_map_memory2> or <VK_VERSION_1_4>" ); |
| 18217 |
|
| 18218 |
Result result = static_cast<Result>( |
| 18219 |
getDispatcher()->vkUnmapMemory2( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryUnmapInfo *>( &memoryUnmapInfo ) ) ); |
| 18220 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::unmapMemory2" ); |
| 18221 |
|
| 18222 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 18223 |
} |
| 18224 |
|
| 18225 |
// wrapper function for command vkGetDeviceImageSubresourceLayout, see |
| 18226 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html |
| 18227 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 |
| 18228 |
Device::getImageSubresourceLayout( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 18229 |
{ |
| 18230 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageSubresourceLayout && |
| 18231 |
"Function <vkGetDeviceImageSubresourceLayout> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 18232 |
|
| 18233 |
SubresourceLayout2 layout; |
| 18234 |
getDispatcher()->vkGetDeviceImageSubresourceLayout( static_cast<VkDevice>( m_device ), |
| 18235 |
reinterpret_cast<const VkDeviceImageSubresourceInfo *>( &info ), |
| 18236 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 18237 |
|
| 18238 |
return layout; |
| 18239 |
} |
| 18240 |
|
| 18241 |
// wrapper function for command vkGetDeviceImageSubresourceLayout, see |
| 18242 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayout.html |
| 18243 |
template <typename X, typename Y, typename... Z> |
| 18244 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 18245 |
Device::getImageSubresourceLayout( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 18246 |
{ |
| 18247 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageSubresourceLayout && |
| 18248 |
"Function <vkGetDeviceImageSubresourceLayout> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 18249 |
|
| 18250 |
StructureChain<X, Y, Z...> structureChain; |
| 18251 |
SubresourceLayout2 & layout = structureChain.template get<SubresourceLayout2>(); |
| 18252 |
getDispatcher()->vkGetDeviceImageSubresourceLayout( static_cast<VkDevice>( m_device ), |
| 18253 |
reinterpret_cast<const VkDeviceImageSubresourceInfo *>( &info ), |
| 18254 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 18255 |
|
| 18256 |
return structureChain; |
| 18257 |
} |
| 18258 |
|
| 18259 |
// wrapper function for command vkGetImageSubresourceLayout2, see |
| 18260 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html |
| 18261 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Image::getSubresourceLayout2( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT |
| 18262 |
{ |
| 18263 |
VULKAN_HPP_ASSERT( |
| 18264 |
getDispatcher()->vkGetImageSubresourceLayout2 && |
| 18265 |
"Function <vkGetImageSubresourceLayout2> requires <VK_EXT_host_image_copy> or <VK_EXT_image_compression_control> or <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 18266 |
|
| 18267 |
SubresourceLayout2 layout; |
| 18268 |
getDispatcher()->vkGetImageSubresourceLayout2( static_cast<VkDevice>( m_device ), |
| 18269 |
static_cast<VkImage>( m_image ), |
| 18270 |
reinterpret_cast<const VkImageSubresource2 *>( &subresource ), |
| 18271 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 18272 |
|
| 18273 |
return layout; |
| 18274 |
} |
| 18275 |
|
| 18276 |
// wrapper function for command vkGetImageSubresourceLayout2, see |
| 18277 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2.html |
| 18278 |
template <typename X, typename Y, typename... Z> |
| 18279 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 18280 |
Image::getSubresourceLayout2( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT |
| 18281 |
{ |
| 18282 |
VULKAN_HPP_ASSERT( |
| 18283 |
getDispatcher()->vkGetImageSubresourceLayout2 && |
| 18284 |
"Function <vkGetImageSubresourceLayout2> requires <VK_EXT_host_image_copy> or <VK_EXT_image_compression_control> or <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 18285 |
|
| 18286 |
StructureChain<X, Y, Z...> structureChain; |
| 18287 |
SubresourceLayout2 & layout = structureChain.template get<SubresourceLayout2>(); |
| 18288 |
getDispatcher()->vkGetImageSubresourceLayout2( static_cast<VkDevice>( m_device ), |
| 18289 |
static_cast<VkImage>( m_image ), |
| 18290 |
reinterpret_cast<const VkImageSubresource2 *>( &subresource ), |
| 18291 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 18292 |
|
| 18293 |
return structureChain; |
| 18294 |
} |
| 18295 |
|
| 18296 |
// wrapper function for command vkCopyMemoryToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImage.html |
| 18297 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::copyMemoryToImage( const CopyMemoryToImageInfo & copyMemoryToImageInfo ) const |
| 18298 |
{ |
| 18299 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyMemoryToImage && "Function <vkCopyMemoryToImage> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 18300 |
|
| 18301 |
Result result = static_cast<Result>( getDispatcher()->vkCopyMemoryToImage( |
| 18302 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkCopyMemoryToImageInfo *>( ©MemoryToImageInfo ) ) ); |
| 18303 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyMemoryToImage" ); |
| 18304 |
|
| 18305 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 18306 |
} |
| 18307 |
|
| 18308 |
// wrapper function for command vkCopyImageToMemory, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemory.html |
| 18309 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::copyImageToMemory( const CopyImageToMemoryInfo & copyImageToMemoryInfo ) const |
| 18310 |
{ |
| 18311 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyImageToMemory && "Function <vkCopyImageToMemory> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 18312 |
|
| 18313 |
Result result = static_cast<Result>( getDispatcher()->vkCopyImageToMemory( |
| 18314 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkCopyImageToMemoryInfo *>( ©ImageToMemoryInfo ) ) ); |
| 18315 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyImageToMemory" ); |
| 18316 |
|
| 18317 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 18318 |
} |
| 18319 |
|
| 18320 |
// wrapper function for command vkCopyImageToImage, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImage.html |
| 18321 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::copyImageToImage( const CopyImageToImageInfo & copyImageToImageInfo ) const |
| 18322 |
{ |
| 18323 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyImageToImage && "Function <vkCopyImageToImage> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 18324 |
|
| 18325 |
Result result = static_cast<Result>( |
| 18326 |
getDispatcher()->vkCopyImageToImage( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkCopyImageToImageInfo *>( ©ImageToImageInfo ) ) ); |
| 18327 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyImageToImage" ); |
| 18328 |
|
| 18329 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 18330 |
} |
| 18331 |
|
| 18332 |
// wrapper function for command vkTransitionImageLayout, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayout.html |
| 18333 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 18334 |
Device::transitionImageLayout( ArrayProxy<const HostImageLayoutTransitionInfo> const & transitions ) const |
| 18335 |
{ |
| 18336 |
VULKAN_HPP_ASSERT( getDispatcher()->vkTransitionImageLayout && |
| 18337 |
"Function <vkTransitionImageLayout> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 18338 |
|
| 18339 |
Result result = static_cast<Result>( getDispatcher()->vkTransitionImageLayout( |
| 18340 |
static_cast<VkDevice>( m_device ), transitions.size(), reinterpret_cast<const VkHostImageLayoutTransitionInfo *>( transitions.data() ) ) ); |
| 18341 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::transitionImageLayout" ); |
| 18342 |
|
| 18343 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 18344 |
} |
| 18345 |
|
| 18346 |
// wrapper function for command vkCmdPushDescriptorSet, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet.html |
| 18347 |
VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet( PipelineBindPoint pipelineBindPoint, |
| 18348 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 18349 |
uint32_t set, |
| 18350 |
ArrayProxy<const WriteDescriptorSet> const & descriptorWrites ) const VULKAN_HPP_NOEXCEPT |
| 18351 |
{ |
| 18352 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDescriptorSet && "Function <vkCmdPushDescriptorSet> requires <VK_KHR_push_descriptor> or <VK_VERSION_1_4>" ); |
| 18353 |
|
| 18354 |
getDispatcher()->vkCmdPushDescriptorSet( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18355 |
static_cast<VkPipelineBindPoint>( pipelineBindPoint ), |
| 18356 |
static_cast<VkPipelineLayout>( layout ), |
| 18357 |
set, |
| 18358 |
descriptorWrites.size(), |
| 18359 |
reinterpret_cast<const VkWriteDescriptorSet *>( descriptorWrites.data() ) ); |
| 18360 |
} |
| 18361 |
|
| 18362 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplate, see |
| 18363 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate.html |
| 18364 |
template <typename DataType> |
| 18365 |
VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplate( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 18366 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 18367 |
uint32_t set, |
| 18368 |
DataType const & data ) const VULKAN_HPP_NOEXCEPT |
| 18369 |
{ |
| 18370 |
VULKAN_HPP_ASSERT( |
| 18371 |
getDispatcher()->vkCmdPushDescriptorSetWithTemplate && |
| 18372 |
"Function <vkCmdPushDescriptorSetWithTemplate> requires <VK_KHR_descriptor_update_template> or <VK_KHR_push_descriptor> or <VK_VERSION_1_4>" ); |
| 18373 |
|
| 18374 |
getDispatcher()->vkCmdPushDescriptorSetWithTemplate( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18375 |
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), |
| 18376 |
static_cast<VkPipelineLayout>( layout ), |
| 18377 |
set, |
| 18378 |
reinterpret_cast<const void *>( &data ) ); |
| 18379 |
} |
| 18380 |
|
| 18381 |
// wrapper function for command vkCmdBindDescriptorSets2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2.html |
| 18382 |
VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets2( const BindDescriptorSetsInfo & bindDescriptorSetsInfo ) const VULKAN_HPP_NOEXCEPT |
| 18383 |
{ |
| 18384 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindDescriptorSets2 && |
| 18385 |
"Function <vkCmdBindDescriptorSets2> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 18386 |
|
| 18387 |
getDispatcher()->vkCmdBindDescriptorSets2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18388 |
reinterpret_cast<const VkBindDescriptorSetsInfo *>( &bindDescriptorSetsInfo ) ); |
| 18389 |
} |
| 18390 |
|
| 18391 |
// wrapper function for command vkCmdPushConstants2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2.html |
| 18392 |
VULKAN_HPP_INLINE void CommandBuffer::pushConstants2( const PushConstantsInfo & pushConstantsInfo ) const VULKAN_HPP_NOEXCEPT |
| 18393 |
{ |
| 18394 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushConstants2 && "Function <vkCmdPushConstants2> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 18395 |
|
| 18396 |
getDispatcher()->vkCmdPushConstants2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18397 |
reinterpret_cast<const VkPushConstantsInfo *>( &pushConstantsInfo ) ); |
| 18398 |
} |
| 18399 |
|
| 18400 |
// wrapper function for command vkCmdPushDescriptorSet2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2.html |
| 18401 |
VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet2( const PushDescriptorSetInfo & pushDescriptorSetInfo ) const VULKAN_HPP_NOEXCEPT |
| 18402 |
{ |
| 18403 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDescriptorSet2 && "Function <vkCmdPushDescriptorSet2> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 18404 |
|
| 18405 |
getDispatcher()->vkCmdPushDescriptorSet2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18406 |
reinterpret_cast<const VkPushDescriptorSetInfo *>( &pushDescriptorSetInfo ) ); |
| 18407 |
} |
| 18408 |
|
| 18409 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplate2, see |
| 18410 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2.html |
| 18411 |
VULKAN_HPP_INLINE void |
| 18412 |
CommandBuffer::pushDescriptorSetWithTemplate2( const PushDescriptorSetWithTemplateInfo & pushDescriptorSetWithTemplateInfo ) const VULKAN_HPP_NOEXCEPT |
| 18413 |
{ |
| 18414 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDescriptorSetWithTemplate2 && |
| 18415 |
"Function <vkCmdPushDescriptorSetWithTemplate2> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 18416 |
|
| 18417 |
getDispatcher()->vkCmdPushDescriptorSetWithTemplate2( |
| 18418 |
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkPushDescriptorSetWithTemplateInfo *>( &pushDescriptorSetWithTemplateInfo ) ); |
| 18419 |
} |
| 18420 |
|
| 18421 |
// wrapper function for command vkCmdSetLineStipple, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStipple.html |
| 18422 |
VULKAN_HPP_INLINE void CommandBuffer::setLineStipple( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT |
| 18423 |
{ |
| 18424 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLineStipple && |
| 18425 |
"Function <vkCmdSetLineStipple> requires <VK_EXT_line_rasterization> or <VK_KHR_line_rasterization> or <VK_VERSION_1_4>" ); |
| 18426 |
|
| 18427 |
getDispatcher()->vkCmdSetLineStipple( static_cast<VkCommandBuffer>( m_commandBuffer ), lineStippleFactor, lineStipplePattern ); |
| 18428 |
} |
| 18429 |
|
| 18430 |
// wrapper function for command vkCmdBindIndexBuffer2, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2.html |
| 18431 |
VULKAN_HPP_INLINE void |
| 18432 |
CommandBuffer::bindIndexBuffer2( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset, DeviceSize size, IndexType indexType ) const VULKAN_HPP_NOEXCEPT |
| 18433 |
{ |
| 18434 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindIndexBuffer2 && "Function <vkCmdBindIndexBuffer2> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 18435 |
|
| 18436 |
getDispatcher()->vkCmdBindIndexBuffer2( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18437 |
static_cast<VkBuffer>( buffer ), |
| 18438 |
static_cast<VkDeviceSize>( offset ), |
| 18439 |
static_cast<VkDeviceSize>( size ), |
| 18440 |
static_cast<VkIndexType>( indexType ) ); |
| 18441 |
} |
| 18442 |
|
| 18443 |
// wrapper function for command vkGetRenderingAreaGranularity, see |
| 18444 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularity.html |
| 18445 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Extent2D Device::getRenderingAreaGranularity( const RenderingAreaInfo & renderingAreaInfo ) const VULKAN_HPP_NOEXCEPT |
| 18446 |
{ |
| 18447 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRenderingAreaGranularity && |
| 18448 |
"Function <vkGetRenderingAreaGranularity> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 18449 |
|
| 18450 |
Extent2D granularity; |
| 18451 |
getDispatcher()->vkGetRenderingAreaGranularity( static_cast<VkDevice>( m_device ), |
| 18452 |
reinterpret_cast<const VkRenderingAreaInfo *>( &renderingAreaInfo ), |
| 18453 |
reinterpret_cast<VkExtent2D *>( &granularity ) ); |
| 18454 |
|
| 18455 |
return granularity; |
| 18456 |
} |
| 18457 |
|
| 18458 |
// wrapper function for command vkCmdSetRenderingAttachmentLocations, see |
| 18459 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocations.html |
| 18460 |
VULKAN_HPP_INLINE void CommandBuffer::setRenderingAttachmentLocations( const RenderingAttachmentLocationInfo & locationInfo ) const VULKAN_HPP_NOEXCEPT |
| 18461 |
{ |
| 18462 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRenderingAttachmentLocations && |
| 18463 |
"Function <vkCmdSetRenderingAttachmentLocations> requires <VK_KHR_dynamic_rendering_local_read> or <VK_VERSION_1_4>" ); |
| 18464 |
|
| 18465 |
getDispatcher()->vkCmdSetRenderingAttachmentLocations( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18466 |
reinterpret_cast<const VkRenderingAttachmentLocationInfo *>( &locationInfo ) ); |
| 18467 |
} |
| 18468 |
|
| 18469 |
// wrapper function for command vkCmdSetRenderingInputAttachmentIndices, see |
| 18470 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndices.html |
| 18471 |
VULKAN_HPP_INLINE void |
| 18472 |
CommandBuffer::setRenderingInputAttachmentIndices( const RenderingInputAttachmentIndexInfo & inputAttachmentIndexInfo ) const VULKAN_HPP_NOEXCEPT |
| 18473 |
{ |
| 18474 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRenderingInputAttachmentIndices && |
| 18475 |
"Function <vkCmdSetRenderingInputAttachmentIndices> requires <VK_KHR_dynamic_rendering_local_read> or <VK_VERSION_1_4>" ); |
| 18476 |
|
| 18477 |
getDispatcher()->vkCmdSetRenderingInputAttachmentIndices( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 18478 |
reinterpret_cast<const VkRenderingInputAttachmentIndexInfo *>( &inputAttachmentIndexInfo ) ); |
| 18479 |
} |
| 18480 |
|
| 18481 |
//=== VK_KHR_surface === |
| 18482 |
|
| 18483 |
// wrapper function for command vkGetPhysicalDeviceSurfaceSupportKHR, see |
| 18484 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html |
| 18485 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Bool32>::type |
| 18486 |
PhysicalDevice::getSurfaceSupportKHR( uint32_t queueFamilyIndex, VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 18487 |
{ |
| 18488 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceSupportKHR && "Function <vkGetPhysicalDeviceSurfaceSupportKHR> requires <VK_KHR_surface>" ); |
| 18489 |
|
| 18490 |
Bool32 supported; |
| 18491 |
Result result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSurfaceSupportKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18492 |
queueFamilyIndex, |
| 18493 |
static_cast<VkSurfaceKHR>( surface ), |
| 18494 |
reinterpret_cast<VkBool32 *>( &supported ) ) ); |
| 18495 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceSupportKHR" ); |
| 18496 |
|
| 18497 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( supported ) ); |
| 18498 |
} |
| 18499 |
|
| 18500 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilitiesKHR, see |
| 18501 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html |
| 18502 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceCapabilitiesKHR>::type |
| 18503 |
PhysicalDevice::getSurfaceCapabilitiesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 18504 |
{ |
| 18505 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilitiesKHR && |
| 18506 |
"Function <vkGetPhysicalDeviceSurfaceCapabilitiesKHR> requires <VK_KHR_surface>" ); |
| 18507 |
|
| 18508 |
SurfaceCapabilitiesKHR surfaceCapabilities; |
| 18509 |
Result result = static_cast<Result>( |
| 18510 |
getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilitiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18511 |
static_cast<VkSurfaceKHR>( surface ), |
| 18512 |
reinterpret_cast<VkSurfaceCapabilitiesKHR *>( &surfaceCapabilities ) ) ); |
| 18513 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilitiesKHR" ); |
| 18514 |
|
| 18515 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( surfaceCapabilities ) ); |
| 18516 |
} |
| 18517 |
|
| 18518 |
// wrapper function for command vkGetPhysicalDeviceSurfaceFormatsKHR, see |
| 18519 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html |
| 18520 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<SurfaceFormatKHR>>::type |
| 18521 |
PhysicalDevice::getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 18522 |
{ |
| 18523 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceFormatsKHR && "Function <vkGetPhysicalDeviceSurfaceFormatsKHR> requires <VK_KHR_surface>" ); |
| 18524 |
|
| 18525 |
std::vector<SurfaceFormatKHR> surfaceFormats; |
| 18526 |
uint32_t surfaceFormatCount; |
| 18527 |
Result result; |
| 18528 |
do |
| 18529 |
{ |
| 18530 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSurfaceFormatsKHR( |
| 18531 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkSurfaceKHR>( surface ), &surfaceFormatCount, nullptr ) ); |
| 18532 |
if ( ( result == Result::eSuccess ) && surfaceFormatCount ) |
| 18533 |
{ |
| 18534 |
surfaceFormats.resize( surfaceFormatCount ); |
| 18535 |
result = |
| 18536 |
static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSurfaceFormatsKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18537 |
static_cast<VkSurfaceKHR>( surface ), |
| 18538 |
&surfaceFormatCount, |
| 18539 |
reinterpret_cast<VkSurfaceFormatKHR *>( surfaceFormats.data() ) ) ); |
| 18540 |
} |
| 18541 |
} while ( result == Result::eIncomplete ); |
| 18542 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormatsKHR" ); |
| 18543 |
VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); |
| 18544 |
if ( surfaceFormatCount < surfaceFormats.size() ) |
| 18545 |
{ |
| 18546 |
surfaceFormats.resize( surfaceFormatCount ); |
| 18547 |
} |
| 18548 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( surfaceFormats ) ); |
| 18549 |
} |
| 18550 |
|
| 18551 |
// wrapper function for command vkGetPhysicalDeviceSurfacePresentModesKHR, see |
| 18552 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html |
| 18553 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PresentModeKHR>>::type |
| 18554 |
PhysicalDevice::getSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 18555 |
{ |
| 18556 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfacePresentModesKHR && |
| 18557 |
"Function <vkGetPhysicalDeviceSurfacePresentModesKHR> requires <VK_KHR_surface>" ); |
| 18558 |
|
| 18559 |
std::vector<PresentModeKHR> presentModes; |
| 18560 |
uint32_t presentModeCount; |
| 18561 |
Result result; |
| 18562 |
do |
| 18563 |
{ |
| 18564 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSurfacePresentModesKHR( |
| 18565 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkSurfaceKHR>( surface ), &presentModeCount, nullptr ) ); |
| 18566 |
if ( ( result == Result::eSuccess ) && presentModeCount ) |
| 18567 |
{ |
| 18568 |
presentModes.resize( presentModeCount ); |
| 18569 |
result = |
| 18570 |
static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSurfacePresentModesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18571 |
static_cast<VkSurfaceKHR>( surface ), |
| 18572 |
&presentModeCount, |
| 18573 |
reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ) ); |
| 18574 |
} |
| 18575 |
} while ( result == Result::eIncomplete ); |
| 18576 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModesKHR" ); |
| 18577 |
VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); |
| 18578 |
if ( presentModeCount < presentModes.size() ) |
| 18579 |
{ |
| 18580 |
presentModes.resize( presentModeCount ); |
| 18581 |
} |
| 18582 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( presentModes ) ); |
| 18583 |
} |
| 18584 |
|
| 18585 |
//=== VK_KHR_swapchain === |
| 18586 |
|
| 18587 |
// wrapper function for command vkCreateSwapchainKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSwapchainKHR.html |
| 18588 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SwapchainKHR>::type |
| 18589 |
Device::createSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, |
| 18590 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 18591 |
{ |
| 18592 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSwapchainKHR && "Function <vkCreateSwapchainKHR> requires <VK_KHR_swapchain>" ); |
| 18593 |
|
| 18594 |
VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain; |
| 18595 |
Result result = static_cast<Result>( getDispatcher()->vkCreateSwapchainKHR( static_cast<VkDevice>( m_device ), |
| 18596 |
reinterpret_cast<const VkSwapchainCreateInfoKHR *>( &createInfo ), |
| 18597 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 18598 |
reinterpret_cast<VkSwapchainKHR *>( &swapchain ) ) ); |
| 18599 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSwapchainKHR" ); |
| 18600 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SwapchainKHR( *this, *reinterpret_cast<VkSwapchainKHR *>( &swapchain ), allocator ) ); |
| 18601 |
} |
| 18602 |
|
| 18603 |
// wrapper function for command vkGetSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainImagesKHR.html |
| 18604 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<VULKAN_HPP_NAMESPACE::Image>>::type SwapchainKHR::getImages() const |
| 18605 |
{ |
| 18606 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSwapchainImagesKHR && "Function <vkGetSwapchainImagesKHR> requires <VK_KHR_swapchain>" ); |
| 18607 |
|
| 18608 |
std::vector<VULKAN_HPP_NAMESPACE::Image> swapchainImages; |
| 18609 |
uint32_t swapchainImageCount; |
| 18610 |
Result result; |
| 18611 |
do |
| 18612 |
{ |
| 18613 |
result = static_cast<Result>( getDispatcher()->vkGetSwapchainImagesKHR( |
| 18614 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), &swapchainImageCount, nullptr ) ); |
| 18615 |
if ( ( result == Result::eSuccess ) && swapchainImageCount ) |
| 18616 |
{ |
| 18617 |
swapchainImages.resize( swapchainImageCount ); |
| 18618 |
result = static_cast<Result>( getDispatcher()->vkGetSwapchainImagesKHR( static_cast<VkDevice>( m_device ), |
| 18619 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 18620 |
&swapchainImageCount, |
| 18621 |
reinterpret_cast<VkImage *>( swapchainImages.data() ) ) ); |
| 18622 |
} |
| 18623 |
} while ( result == Result::eIncomplete ); |
| 18624 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getImages" ); |
| 18625 |
VULKAN_HPP_ASSERT( swapchainImageCount <= swapchainImages.size() ); |
| 18626 |
if ( swapchainImageCount < swapchainImages.size() ) |
| 18627 |
{ |
| 18628 |
swapchainImages.resize( swapchainImageCount ); |
| 18629 |
} |
| 18630 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( swapchainImages ) ); |
| 18631 |
} |
| 18632 |
|
| 18633 |
// wrapper function for command vkAcquireNextImageKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImageKHR.html |
| 18634 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue<uint32_t> |
| 18635 |
SwapchainKHR::acquireNextImage( uint64_t timeout, VULKAN_HPP_NAMESPACE::Semaphore semaphore, VULKAN_HPP_NAMESPACE::Fence fence ) const |
| 18636 |
{ |
| 18637 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireNextImageKHR && "Function <vkAcquireNextImageKHR> requires <VK_KHR_swapchain>" ); |
| 18638 |
|
| 18639 |
uint32_t imageIndex; |
| 18640 |
Result result = static_cast<Result>( getDispatcher()->vkAcquireNextImageKHR( static_cast<VkDevice>( m_device ), |
| 18641 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 18642 |
timeout, |
| 18643 |
static_cast<VkSemaphore>( semaphore ), |
| 18644 |
static_cast<VkFence>( fence ), |
| 18645 |
&imageIndex ) ); |
| 18646 |
|
| 18647 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 18648 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 18649 |
result, |
| 18650 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::acquireNextImage", |
| 18651 |
{ Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); |
| 18652 |
# else |
| 18653 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 18654 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::acquireNextImage", |
| 18655 |
{ Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } ); |
| 18656 |
# endif |
| 18657 |
|
| 18658 |
return ResultValue<uint32_t>( result, std::move( imageIndex ) ); |
| 18659 |
} |
| 18660 |
|
| 18661 |
// wrapper function for command vkQueuePresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueuePresentKHR.html |
| 18662 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Queue::presentKHR( const PresentInfoKHR & presentInfo ) const |
| 18663 |
{ |
| 18664 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueuePresentKHR && "Function <vkQueuePresentKHR> requires <VK_KHR_swapchain>" ); |
| 18665 |
|
| 18666 |
Result result = static_cast<Result>( |
| 18667 |
getDispatcher()->vkQueuePresentKHR( static_cast<VkQueue>( m_queue ), reinterpret_cast<const VkPresentInfoKHR *>( &presentInfo ) ) ); |
| 18668 |
|
| 18669 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 18670 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 18671 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::presentKHR", { Result::eSuccess, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); |
| 18672 |
# else |
| 18673 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::presentKHR", { Result::eSuccess, Result::eSuboptimalKHR } ); |
| 18674 |
# endif |
| 18675 |
|
| 18676 |
return static_cast<Result>( result ); |
| 18677 |
} |
| 18678 |
|
| 18679 |
// wrapper function for command vkGetDeviceGroupPresentCapabilitiesKHR, see |
| 18680 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html |
| 18681 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DeviceGroupPresentCapabilitiesKHR>::type Device::getGroupPresentCapabilitiesKHR() const |
| 18682 |
{ |
| 18683 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceGroupPresentCapabilitiesKHR && |
| 18684 |
"Function <vkGetDeviceGroupPresentCapabilitiesKHR> requires <VK_KHR_device_group> or <VK_KHR_swapchain>" ); |
| 18685 |
|
| 18686 |
DeviceGroupPresentCapabilitiesKHR deviceGroupPresentCapabilities; |
| 18687 |
Result result = static_cast<Result>( getDispatcher()->vkGetDeviceGroupPresentCapabilitiesKHR( |
| 18688 |
static_cast<VkDevice>( m_device ), reinterpret_cast<VkDeviceGroupPresentCapabilitiesKHR *>( &deviceGroupPresentCapabilities ) ) ); |
| 18689 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getGroupPresentCapabilitiesKHR" ); |
| 18690 |
|
| 18691 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( deviceGroupPresentCapabilities ) ); |
| 18692 |
} |
| 18693 |
|
| 18694 |
// wrapper function for command vkGetDeviceGroupSurfacePresentModesKHR, see |
| 18695 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModesKHR.html |
| 18696 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DeviceGroupPresentModeFlagsKHR>::type |
| 18697 |
Device::getGroupSurfacePresentModesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 18698 |
{ |
| 18699 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceGroupSurfacePresentModesKHR && |
| 18700 |
"Function <vkGetDeviceGroupSurfacePresentModesKHR> requires <VK_KHR_device_group> or <VK_KHR_swapchain>" ); |
| 18701 |
|
| 18702 |
DeviceGroupPresentModeFlagsKHR modes; |
| 18703 |
Result result = static_cast<Result>( getDispatcher()->vkGetDeviceGroupSurfacePresentModesKHR( |
| 18704 |
static_cast<VkDevice>( m_device ), static_cast<VkSurfaceKHR>( surface ), reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR *>( &modes ) ) ); |
| 18705 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getGroupSurfacePresentModesKHR" ); |
| 18706 |
|
| 18707 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( modes ) ); |
| 18708 |
} |
| 18709 |
|
| 18710 |
// wrapper function for command vkGetPhysicalDevicePresentRectanglesKHR, see |
| 18711 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html |
| 18712 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Rect2D>>::type |
| 18713 |
PhysicalDevice::getPresentRectanglesKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 18714 |
{ |
| 18715 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDevicePresentRectanglesKHR && |
| 18716 |
"Function <vkGetPhysicalDevicePresentRectanglesKHR> requires <VK_KHR_device_group> or <VK_KHR_swapchain>" ); |
| 18717 |
|
| 18718 |
std::vector<Rect2D> rects; |
| 18719 |
uint32_t rectCount; |
| 18720 |
Result result; |
| 18721 |
do |
| 18722 |
{ |
| 18723 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDevicePresentRectanglesKHR( |
| 18724 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkSurfaceKHR>( surface ), &rectCount, nullptr ) ); |
| 18725 |
if ( ( result == Result::eSuccess ) && rectCount ) |
| 18726 |
{ |
| 18727 |
rects.resize( rectCount ); |
| 18728 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDevicePresentRectanglesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18729 |
static_cast<VkSurfaceKHR>( surface ), |
| 18730 |
&rectCount, |
| 18731 |
reinterpret_cast<VkRect2D *>( rects.data() ) ) ); |
| 18732 |
} |
| 18733 |
} while ( result == Result::eIncomplete ); |
| 18734 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getPresentRectanglesKHR" ); |
| 18735 |
VULKAN_HPP_ASSERT( rectCount <= rects.size() ); |
| 18736 |
if ( rectCount < rects.size() ) |
| 18737 |
{ |
| 18738 |
rects.resize( rectCount ); |
| 18739 |
} |
| 18740 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( rects ) ); |
| 18741 |
} |
| 18742 |
|
| 18743 |
// wrapper function for command vkAcquireNextImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireNextImage2KHR.html |
| 18744 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue<uint32_t> Device::acquireNextImage2KHR( const AcquireNextImageInfoKHR & acquireInfo ) const |
| 18745 |
{ |
| 18746 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireNextImage2KHR && "Function <vkAcquireNextImage2KHR> requires <VK_KHR_device_group> or <VK_KHR_swapchain>" ); |
| 18747 |
|
| 18748 |
uint32_t imageIndex; |
| 18749 |
Result result = static_cast<Result>( getDispatcher()->vkAcquireNextImage2KHR( |
| 18750 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAcquireNextImageInfoKHR *>( &acquireInfo ), &imageIndex ) ); |
| 18751 |
|
| 18752 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 18753 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 18754 |
result, |
| 18755 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::acquireNextImage2KHR", |
| 18756 |
{ Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); |
| 18757 |
# else |
| 18758 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 18759 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::acquireNextImage2KHR", |
| 18760 |
{ Result::eSuccess, Result::eTimeout, Result::eNotReady, Result::eSuboptimalKHR } ); |
| 18761 |
# endif |
| 18762 |
|
| 18763 |
return ResultValue<uint32_t>( result, std::move( imageIndex ) ); |
| 18764 |
} |
| 18765 |
|
| 18766 |
//=== VK_KHR_display === |
| 18767 |
|
| 18768 |
// wrapper function for command vkGetPhysicalDeviceDisplayPropertiesKHR, see |
| 18769 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html |
| 18770 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPropertiesKHR>>::type PhysicalDevice::getDisplayPropertiesKHR() const |
| 18771 |
{ |
| 18772 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceDisplayPropertiesKHR && |
| 18773 |
"Function <vkGetPhysicalDeviceDisplayPropertiesKHR> requires <VK_KHR_display>" ); |
| 18774 |
|
| 18775 |
std::vector<DisplayPropertiesKHR> properties; |
| 18776 |
uint32_t propertyCount; |
| 18777 |
Result result; |
| 18778 |
do |
| 18779 |
{ |
| 18780 |
result = static_cast<Result>( |
| 18781 |
getDispatcher()->vkGetPhysicalDeviceDisplayPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 18782 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 18783 |
{ |
| 18784 |
properties.resize( propertyCount ); |
| 18785 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceDisplayPropertiesKHR( |
| 18786 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkDisplayPropertiesKHR *>( properties.data() ) ) ); |
| 18787 |
} |
| 18788 |
} while ( result == Result::eIncomplete ); |
| 18789 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDisplayPropertiesKHR" ); |
| 18790 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 18791 |
if ( propertyCount < properties.size() ) |
| 18792 |
{ |
| 18793 |
properties.resize( propertyCount ); |
| 18794 |
} |
| 18795 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 18796 |
} |
| 18797 |
|
| 18798 |
// wrapper function for command vkGetPhysicalDeviceDisplayPlanePropertiesKHR, see |
| 18799 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html |
| 18800 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPlanePropertiesKHR>>::type |
| 18801 |
PhysicalDevice::getDisplayPlanePropertiesKHR() const |
| 18802 |
{ |
| 18803 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceDisplayPlanePropertiesKHR && |
| 18804 |
"Function <vkGetPhysicalDeviceDisplayPlanePropertiesKHR> requires <VK_KHR_display>" ); |
| 18805 |
|
| 18806 |
std::vector<DisplayPlanePropertiesKHR> properties; |
| 18807 |
uint32_t propertyCount; |
| 18808 |
Result result; |
| 18809 |
do |
| 18810 |
{ |
| 18811 |
result = static_cast<Result>( |
| 18812 |
getDispatcher()->vkGetPhysicalDeviceDisplayPlanePropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 18813 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 18814 |
{ |
| 18815 |
properties.resize( propertyCount ); |
| 18816 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceDisplayPlanePropertiesKHR( |
| 18817 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkDisplayPlanePropertiesKHR *>( properties.data() ) ) ); |
| 18818 |
} |
| 18819 |
} while ( result == Result::eIncomplete ); |
| 18820 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlanePropertiesKHR" ); |
| 18821 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 18822 |
if ( propertyCount < properties.size() ) |
| 18823 |
{ |
| 18824 |
properties.resize( propertyCount ); |
| 18825 |
} |
| 18826 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 18827 |
} |
| 18828 |
|
| 18829 |
// wrapper function for command vkGetDisplayPlaneSupportedDisplaysKHR, see |
| 18830 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html |
| 18831 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayKHR>>::type |
| 18832 |
PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR( uint32_t planeIndex ) const |
| 18833 |
{ |
| 18834 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDisplayPlaneSupportedDisplaysKHR && |
| 18835 |
"Function <vkGetDisplayPlaneSupportedDisplaysKHR> requires <VK_KHR_display>" ); |
| 18836 |
|
| 18837 |
std::vector<VULKAN_HPP_NAMESPACE::DisplayKHR> displays; |
| 18838 |
uint32_t displayCount; |
| 18839 |
Result result; |
| 18840 |
do |
| 18841 |
{ |
| 18842 |
result = static_cast<Result>( |
| 18843 |
getDispatcher()->vkGetDisplayPlaneSupportedDisplaysKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), planeIndex, &displayCount, nullptr ) ); |
| 18844 |
if ( ( result == Result::eSuccess ) && displayCount ) |
| 18845 |
{ |
| 18846 |
displays.resize( displayCount ); |
| 18847 |
result = static_cast<Result>( getDispatcher()->vkGetDisplayPlaneSupportedDisplaysKHR( |
| 18848 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), planeIndex, &displayCount, reinterpret_cast<VkDisplayKHR *>( displays.data() ) ) ); |
| 18849 |
} |
| 18850 |
} while ( result == Result::eIncomplete ); |
| 18851 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneSupportedDisplaysKHR" ); |
| 18852 |
std::vector<DisplayKHR> displaysRAII; |
| 18853 |
if ( result == Result::eSuccess ) |
| 18854 |
{ |
| 18855 |
displaysRAII.reserve( displays.size() ); |
| 18856 |
for ( auto & display : displays ) |
| 18857 |
{ |
| 18858 |
displaysRAII.emplace_back( *this, *reinterpret_cast<VkDisplayKHR *>( &display ) ); |
| 18859 |
} |
| 18860 |
} |
| 18861 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( displaysRAII ) ); |
| 18862 |
} |
| 18863 |
|
| 18864 |
// wrapper function for command vkGetDisplayModePropertiesKHR, see |
| 18865 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModePropertiesKHR.html |
| 18866 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayModePropertiesKHR>>::type DisplayKHR::getModeProperties() const |
| 18867 |
{ |
| 18868 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDisplayModePropertiesKHR && "Function <vkGetDisplayModePropertiesKHR> requires <VK_KHR_display>" ); |
| 18869 |
|
| 18870 |
std::vector<DisplayModePropertiesKHR> properties; |
| 18871 |
uint32_t propertyCount; |
| 18872 |
Result result; |
| 18873 |
do |
| 18874 |
{ |
| 18875 |
result = static_cast<Result>( getDispatcher()->vkGetDisplayModePropertiesKHR( |
| 18876 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkDisplayKHR>( m_displayKHR ), &propertyCount, nullptr ) ); |
| 18877 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 18878 |
{ |
| 18879 |
properties.resize( propertyCount ); |
| 18880 |
result = static_cast<Result>( getDispatcher()->vkGetDisplayModePropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18881 |
static_cast<VkDisplayKHR>( m_displayKHR ), |
| 18882 |
&propertyCount, |
| 18883 |
reinterpret_cast<VkDisplayModePropertiesKHR *>( properties.data() ) ) ); |
| 18884 |
} |
| 18885 |
} while ( result == Result::eIncomplete ); |
| 18886 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DisplayKHR::getModeProperties" ); |
| 18887 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 18888 |
if ( propertyCount < properties.size() ) |
| 18889 |
{ |
| 18890 |
properties.resize( propertyCount ); |
| 18891 |
} |
| 18892 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 18893 |
} |
| 18894 |
|
| 18895 |
// wrapper function for command vkCreateDisplayModeKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayModeKHR.html |
| 18896 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DisplayModeKHR>::type |
| 18897 |
DisplayKHR::createMode( DisplayModeCreateInfoKHR const & createInfo, |
| 18898 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 18899 |
{ |
| 18900 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDisplayModeKHR && "Function <vkCreateDisplayModeKHR> requires <VK_KHR_display>" ); |
| 18901 |
|
| 18902 |
VULKAN_HPP_NAMESPACE::DisplayModeKHR mode; |
| 18903 |
Result result = static_cast<Result>( getDispatcher()->vkCreateDisplayModeKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18904 |
static_cast<VkDisplayKHR>( m_displayKHR ), |
| 18905 |
reinterpret_cast<const VkDisplayModeCreateInfoKHR *>( &createInfo ), |
| 18906 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 18907 |
reinterpret_cast<VkDisplayModeKHR *>( &mode ) ) ); |
| 18908 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DisplayKHR::createMode" ); |
| 18909 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, DisplayModeKHR( *this, *reinterpret_cast<VkDisplayModeKHR *>( &mode ) ) ); |
| 18910 |
} |
| 18911 |
|
| 18912 |
// wrapper function for command vkGetDisplayPlaneCapabilitiesKHR, see |
| 18913 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilitiesKHR.html |
| 18914 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DisplayPlaneCapabilitiesKHR>::type |
| 18915 |
DisplayModeKHR::getDisplayPlaneCapabilities( uint32_t planeIndex ) const |
| 18916 |
{ |
| 18917 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDisplayPlaneCapabilitiesKHR && "Function <vkGetDisplayPlaneCapabilitiesKHR> requires <VK_KHR_display>" ); |
| 18918 |
|
| 18919 |
DisplayPlaneCapabilitiesKHR capabilities; |
| 18920 |
Result result = |
| 18921 |
static_cast<Result>( getDispatcher()->vkGetDisplayPlaneCapabilitiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 18922 |
static_cast<VkDisplayModeKHR>( m_displayModeKHR ), |
| 18923 |
planeIndex, |
| 18924 |
reinterpret_cast<VkDisplayPlaneCapabilitiesKHR *>( &capabilities ) ) ); |
| 18925 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DisplayModeKHR::getDisplayPlaneCapabilities" ); |
| 18926 |
|
| 18927 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( capabilities ) ); |
| 18928 |
} |
| 18929 |
|
| 18930 |
// wrapper function for command vkCreateDisplayPlaneSurfaceKHR, see |
| 18931 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDisplayPlaneSurfaceKHR.html |
| 18932 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 18933 |
Instance::createDisplayPlaneSurfaceKHR( DisplaySurfaceCreateInfoKHR const & createInfo, |
| 18934 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 18935 |
{ |
| 18936 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDisplayPlaneSurfaceKHR && "Function <vkCreateDisplayPlaneSurfaceKHR> requires <VK_KHR_display>" ); |
| 18937 |
|
| 18938 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 18939 |
Result result = |
| 18940 |
static_cast<Result>( getDispatcher()->vkCreateDisplayPlaneSurfaceKHR( static_cast<VkInstance>( m_instance ), |
| 18941 |
reinterpret_cast<const VkDisplaySurfaceCreateInfoKHR *>( &createInfo ), |
| 18942 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 18943 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 18944 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createDisplayPlaneSurfaceKHR" ); |
| 18945 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 18946 |
} |
| 18947 |
|
| 18948 |
//=== VK_KHR_display_swapchain === |
| 18949 |
|
| 18950 |
// wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html |
| 18951 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<SwapchainKHR>>::type |
| 18952 |
Device::createSharedSwapchainsKHR( ArrayProxy<SwapchainCreateInfoKHR> const & createInfos, Optional<const AllocationCallbacks> allocator ) const |
| 18953 |
{ |
| 18954 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSharedSwapchainsKHR && "Function <vkCreateSharedSwapchainsKHR> requires <VK_KHR_display_swapchain>" ); |
| 18955 |
|
| 18956 |
std::vector<VULKAN_HPP_NAMESPACE::SwapchainKHR> swapchains( createInfos.size() ); |
| 18957 |
Result result = |
| 18958 |
static_cast<Result>( getDispatcher()->vkCreateSharedSwapchainsKHR( static_cast<VkDevice>( m_device ), |
| 18959 |
createInfos.size(), |
| 18960 |
reinterpret_cast<const VkSwapchainCreateInfoKHR *>( createInfos.data() ), |
| 18961 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 18962 |
reinterpret_cast<VkSwapchainKHR *>( swapchains.data() ) ) ); |
| 18963 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSharedSwapchainsKHR" ); |
| 18964 |
std::vector<SwapchainKHR> swapchainsRAII; |
| 18965 |
if ( result == Result::eSuccess ) |
| 18966 |
{ |
| 18967 |
swapchainsRAII.reserve( swapchains.size() ); |
| 18968 |
for ( auto & swapchain : swapchains ) |
| 18969 |
{ |
| 18970 |
swapchainsRAII.emplace_back( *this, *reinterpret_cast<VkSwapchainKHR *>( &swapchain ), allocator ); |
| 18971 |
} |
| 18972 |
} |
| 18973 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( swapchainsRAII ) ); |
| 18974 |
} |
| 18975 |
|
| 18976 |
// wrapper function for command vkCreateSharedSwapchainsKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSharedSwapchainsKHR.html |
| 18977 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SwapchainKHR>::type |
| 18978 |
Device::createSharedSwapchainKHR( SwapchainCreateInfoKHR const & createInfo, |
| 18979 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 18980 |
{ |
| 18981 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSharedSwapchainsKHR && "Function <vkCreateSharedSwapchainsKHR> requires <VK_KHR_display_swapchain>" ); |
| 18982 |
|
| 18983 |
VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain; |
| 18984 |
Result result = static_cast<Result>( getDispatcher()->vkCreateSharedSwapchainsKHR( static_cast<VkDevice>( m_device ), |
| 18985 |
1, |
| 18986 |
reinterpret_cast<const VkSwapchainCreateInfoKHR *>( &createInfo ), |
| 18987 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 18988 |
reinterpret_cast<VkSwapchainKHR *>( &swapchain ) ) ); |
| 18989 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSharedSwapchainKHR" ); |
| 18990 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SwapchainKHR( *this, *reinterpret_cast<VkSwapchainKHR *>( &swapchain ), allocator ) ); |
| 18991 |
} |
| 18992 |
|
| 18993 |
# if defined( VK_USE_PLATFORM_XLIB_KHR ) |
| 18994 |
//=== VK_KHR_xlib_surface === |
| 18995 |
|
| 18996 |
// wrapper function for command vkCreateXlibSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXlibSurfaceKHR.html |
| 18997 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 18998 |
Instance::createXlibSurfaceKHR( XlibSurfaceCreateInfoKHR const & createInfo, |
| 18999 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19000 |
{ |
| 19001 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateXlibSurfaceKHR && "Function <vkCreateXlibSurfaceKHR> requires <VK_KHR_xlib_surface>" ); |
| 19002 |
|
| 19003 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 19004 |
Result result = static_cast<Result>( getDispatcher()->vkCreateXlibSurfaceKHR( static_cast<VkInstance>( m_instance ), |
| 19005 |
reinterpret_cast<const VkXlibSurfaceCreateInfoKHR *>( &createInfo ), |
| 19006 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19007 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 19008 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createXlibSurfaceKHR" ); |
| 19009 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 19010 |
} |
| 19011 |
|
| 19012 |
// wrapper function for command vkGetPhysicalDeviceXlibPresentationSupportKHR, see |
| 19013 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXlibPresentationSupportKHR.html |
| 19014 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXlibPresentationSupportKHR( uint32_t queueFamilyIndex, |
| 19015 |
Display & dpy, |
| 19016 |
VisualID visualID ) const VULKAN_HPP_NOEXCEPT |
| 19017 |
{ |
| 19018 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceXlibPresentationSupportKHR && |
| 19019 |
"Function <vkGetPhysicalDeviceXlibPresentationSupportKHR> requires <VK_KHR_xlib_surface>" ); |
| 19020 |
|
| 19021 |
VkBool32 result = |
| 19022 |
getDispatcher()->vkGetPhysicalDeviceXlibPresentationSupportKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &dpy, visualID ); |
| 19023 |
|
| 19024 |
return static_cast<Bool32>( result ); |
| 19025 |
} |
| 19026 |
# endif /*VK_USE_PLATFORM_XLIB_KHR*/ |
| 19027 |
|
| 19028 |
# if defined( VK_USE_PLATFORM_XCB_KHR ) |
| 19029 |
//=== VK_KHR_xcb_surface === |
| 19030 |
|
| 19031 |
// wrapper function for command vkCreateXcbSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateXcbSurfaceKHR.html |
| 19032 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 19033 |
Instance::createXcbSurfaceKHR( XcbSurfaceCreateInfoKHR const & createInfo, |
| 19034 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19035 |
{ |
| 19036 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateXcbSurfaceKHR && "Function <vkCreateXcbSurfaceKHR> requires <VK_KHR_xcb_surface>" ); |
| 19037 |
|
| 19038 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 19039 |
Result result = static_cast<Result>( getDispatcher()->vkCreateXcbSurfaceKHR( static_cast<VkInstance>( m_instance ), |
| 19040 |
reinterpret_cast<const VkXcbSurfaceCreateInfoKHR *>( &createInfo ), |
| 19041 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19042 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 19043 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createXcbSurfaceKHR" ); |
| 19044 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 19045 |
} |
| 19046 |
|
| 19047 |
// wrapper function for command vkGetPhysicalDeviceXcbPresentationSupportKHR, see |
| 19048 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceXcbPresentationSupportKHR.html |
| 19049 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 PhysicalDevice::getXcbPresentationSupportKHR( uint32_t queueFamilyIndex, |
| 19050 |
xcb_connection_t & connection, |
| 19051 |
xcb_visualid_t visual_id ) const VULKAN_HPP_NOEXCEPT |
| 19052 |
{ |
| 19053 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceXcbPresentationSupportKHR && |
| 19054 |
"Function <vkGetPhysicalDeviceXcbPresentationSupportKHR> requires <VK_KHR_xcb_surface>" ); |
| 19055 |
|
| 19056 |
VkBool32 result = getDispatcher()->vkGetPhysicalDeviceXcbPresentationSupportKHR( |
| 19057 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &connection, visual_id ); |
| 19058 |
|
| 19059 |
return static_cast<Bool32>( result ); |
| 19060 |
} |
| 19061 |
# endif /*VK_USE_PLATFORM_XCB_KHR*/ |
| 19062 |
|
| 19063 |
# if defined( VK_USE_PLATFORM_WAYLAND_KHR ) |
| 19064 |
//=== VK_KHR_wayland_surface === |
| 19065 |
|
| 19066 |
// wrapper function for command vkCreateWaylandSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWaylandSurfaceKHR.html |
| 19067 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 19068 |
Instance::createWaylandSurfaceKHR( WaylandSurfaceCreateInfoKHR const & createInfo, |
| 19069 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19070 |
{ |
| 19071 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateWaylandSurfaceKHR && "Function <vkCreateWaylandSurfaceKHR> requires <VK_KHR_wayland_surface>" ); |
| 19072 |
|
| 19073 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 19074 |
Result result = static_cast<Result>( getDispatcher()->vkCreateWaylandSurfaceKHR( static_cast<VkInstance>( m_instance ), |
| 19075 |
reinterpret_cast<const VkWaylandSurfaceCreateInfoKHR *>( &createInfo ), |
| 19076 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19077 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 19078 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createWaylandSurfaceKHR" ); |
| 19079 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 19080 |
} |
| 19081 |
|
| 19082 |
// wrapper function for command vkGetPhysicalDeviceWaylandPresentationSupportKHR, see |
| 19083 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWaylandPresentationSupportKHR.html |
| 19084 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex, |
| 19085 |
struct wl_display & display ) const VULKAN_HPP_NOEXCEPT |
| 19086 |
{ |
| 19087 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceWaylandPresentationSupportKHR && |
| 19088 |
"Function <vkGetPhysicalDeviceWaylandPresentationSupportKHR> requires <VK_KHR_wayland_surface>" ); |
| 19089 |
|
| 19090 |
VkBool32 result = |
| 19091 |
getDispatcher()->vkGetPhysicalDeviceWaylandPresentationSupportKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &display ); |
| 19092 |
|
| 19093 |
return static_cast<Bool32>( result ); |
| 19094 |
} |
| 19095 |
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/ |
| 19096 |
|
| 19097 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 19098 |
//=== VK_KHR_android_surface === |
| 19099 |
|
| 19100 |
// wrapper function for command vkCreateAndroidSurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAndroidSurfaceKHR.html |
| 19101 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 19102 |
Instance::createAndroidSurfaceKHR( AndroidSurfaceCreateInfoKHR const & createInfo, |
| 19103 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19104 |
{ |
| 19105 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateAndroidSurfaceKHR && "Function <vkCreateAndroidSurfaceKHR> requires <VK_KHR_android_surface>" ); |
| 19106 |
|
| 19107 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 19108 |
Result result = static_cast<Result>( getDispatcher()->vkCreateAndroidSurfaceKHR( static_cast<VkInstance>( m_instance ), |
| 19109 |
reinterpret_cast<const VkAndroidSurfaceCreateInfoKHR *>( &createInfo ), |
| 19110 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19111 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 19112 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createAndroidSurfaceKHR" ); |
| 19113 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 19114 |
} |
| 19115 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 19116 |
|
| 19117 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 19118 |
//=== VK_KHR_win32_surface === |
| 19119 |
|
| 19120 |
// wrapper function for command vkCreateWin32SurfaceKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateWin32SurfaceKHR.html |
| 19121 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 19122 |
Instance::createWin32SurfaceKHR( Win32SurfaceCreateInfoKHR const & createInfo, |
| 19123 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19124 |
{ |
| 19125 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateWin32SurfaceKHR && "Function <vkCreateWin32SurfaceKHR> requires <VK_KHR_win32_surface>" ); |
| 19126 |
|
| 19127 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 19128 |
Result result = static_cast<Result>( getDispatcher()->vkCreateWin32SurfaceKHR( static_cast<VkInstance>( m_instance ), |
| 19129 |
reinterpret_cast<const VkWin32SurfaceCreateInfoKHR *>( &createInfo ), |
| 19130 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19131 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 19132 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createWin32SurfaceKHR" ); |
| 19133 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 19134 |
} |
| 19135 |
|
| 19136 |
// wrapper function for command vkGetPhysicalDeviceWin32PresentationSupportKHR, see |
| 19137 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceWin32PresentationSupportKHR.html |
| 19138 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT |
| 19139 |
{ |
| 19140 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceWin32PresentationSupportKHR && |
| 19141 |
"Function <vkGetPhysicalDeviceWin32PresentationSupportKHR> requires <VK_KHR_win32_surface>" ); |
| 19142 |
|
| 19143 |
VkBool32 result = getDispatcher()->vkGetPhysicalDeviceWin32PresentationSupportKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex ); |
| 19144 |
|
| 19145 |
return static_cast<Bool32>( result ); |
| 19146 |
} |
| 19147 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 19148 |
|
| 19149 |
//=== VK_EXT_debug_report === |
| 19150 |
|
| 19151 |
// wrapper function for command vkCreateDebugReportCallbackEXT, see |
| 19152 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugReportCallbackEXT.html |
| 19153 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DebugReportCallbackEXT>::type |
| 19154 |
Instance::createDebugReportCallbackEXT( DebugReportCallbackCreateInfoEXT const & createInfo, |
| 19155 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19156 |
{ |
| 19157 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDebugReportCallbackEXT && "Function <vkCreateDebugReportCallbackEXT> requires <VK_EXT_debug_report>" ); |
| 19158 |
|
| 19159 |
VULKAN_HPP_NAMESPACE::DebugReportCallbackEXT callback; |
| 19160 |
Result result = |
| 19161 |
static_cast<Result>( getDispatcher()->vkCreateDebugReportCallbackEXT( static_cast<VkInstance>( m_instance ), |
| 19162 |
reinterpret_cast<const VkDebugReportCallbackCreateInfoEXT *>( &createInfo ), |
| 19163 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19164 |
reinterpret_cast<VkDebugReportCallbackEXT *>( &callback ) ) ); |
| 19165 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createDebugReportCallbackEXT" ); |
| 19166 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 19167 |
result, DebugReportCallbackEXT( *this, *reinterpret_cast<VkDebugReportCallbackEXT *>( &callback ), allocator ) ); |
| 19168 |
} |
| 19169 |
|
| 19170 |
// wrapper function for command vkDebugReportMessageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugReportMessageEXT.html |
| 19171 |
VULKAN_HPP_INLINE void Instance::debugReportMessageEXT( DebugReportFlagsEXT flags, |
| 19172 |
DebugReportObjectTypeEXT objectType_, |
| 19173 |
uint64_t object, |
| 19174 |
size_t location, |
| 19175 |
int32_t messageCode, |
| 19176 |
const std::string & layerPrefix, |
| 19177 |
const std::string & message ) const VULKAN_HPP_NOEXCEPT |
| 19178 |
{ |
| 19179 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDebugReportMessageEXT && "Function <vkDebugReportMessageEXT> requires <VK_EXT_debug_report>" ); |
| 19180 |
|
| 19181 |
getDispatcher()->vkDebugReportMessageEXT( static_cast<VkInstance>( m_instance ), |
| 19182 |
static_cast<VkDebugReportFlagsEXT>( flags ), |
| 19183 |
static_cast<VkDebugReportObjectTypeEXT>( objectType_ ), |
| 19184 |
object, |
| 19185 |
location, |
| 19186 |
messageCode, |
| 19187 |
layerPrefix.c_str(), |
| 19188 |
message.c_str() ); |
| 19189 |
} |
| 19190 |
|
| 19191 |
//=== VK_EXT_debug_marker === |
| 19192 |
|
| 19193 |
// wrapper function for command vkDebugMarkerSetObjectTagEXT, see |
| 19194 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectTagEXT.html |
| 19195 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::debugMarkerSetObjectTagEXT( const DebugMarkerObjectTagInfoEXT & tagInfo ) const |
| 19196 |
{ |
| 19197 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDebugMarkerSetObjectTagEXT && "Function <vkDebugMarkerSetObjectTagEXT> requires <VK_EXT_debug_marker>" ); |
| 19198 |
|
| 19199 |
Result result = static_cast<Result>( getDispatcher()->vkDebugMarkerSetObjectTagEXT( |
| 19200 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDebugMarkerObjectTagInfoEXT *>( &tagInfo ) ) ); |
| 19201 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::debugMarkerSetObjectTagEXT" ); |
| 19202 |
|
| 19203 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 19204 |
} |
| 19205 |
|
| 19206 |
// wrapper function for command vkDebugMarkerSetObjectNameEXT, see |
| 19207 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDebugMarkerSetObjectNameEXT.html |
| 19208 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::debugMarkerSetObjectNameEXT( const DebugMarkerObjectNameInfoEXT & nameInfo ) const |
| 19209 |
{ |
| 19210 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDebugMarkerSetObjectNameEXT && "Function <vkDebugMarkerSetObjectNameEXT> requires <VK_EXT_debug_marker>" ); |
| 19211 |
|
| 19212 |
Result result = static_cast<Result>( getDispatcher()->vkDebugMarkerSetObjectNameEXT( |
| 19213 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDebugMarkerObjectNameInfoEXT *>( &nameInfo ) ) ); |
| 19214 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::debugMarkerSetObjectNameEXT" ); |
| 19215 |
|
| 19216 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 19217 |
} |
| 19218 |
|
| 19219 |
// wrapper function for command vkCmdDebugMarkerBeginEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerBeginEXT.html |
| 19220 |
VULKAN_HPP_INLINE void CommandBuffer::debugMarkerBeginEXT( const DebugMarkerMarkerInfoEXT & markerInfo ) const VULKAN_HPP_NOEXCEPT |
| 19221 |
{ |
| 19222 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDebugMarkerBeginEXT && "Function <vkCmdDebugMarkerBeginEXT> requires <VK_EXT_debug_marker>" ); |
| 19223 |
|
| 19224 |
getDispatcher()->vkCmdDebugMarkerBeginEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19225 |
reinterpret_cast<const VkDebugMarkerMarkerInfoEXT *>( &markerInfo ) ); |
| 19226 |
} |
| 19227 |
|
| 19228 |
// wrapper function for command vkCmdDebugMarkerEndEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerEndEXT.html |
| 19229 |
VULKAN_HPP_INLINE void CommandBuffer::debugMarkerEndEXT() const VULKAN_HPP_NOEXCEPT |
| 19230 |
{ |
| 19231 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDebugMarkerEndEXT && "Function <vkCmdDebugMarkerEndEXT> requires <VK_EXT_debug_marker>" ); |
| 19232 |
|
| 19233 |
getDispatcher()->vkCmdDebugMarkerEndEXT( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 19234 |
} |
| 19235 |
|
| 19236 |
// wrapper function for command vkCmdDebugMarkerInsertEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDebugMarkerInsertEXT.html |
| 19237 |
VULKAN_HPP_INLINE void CommandBuffer::debugMarkerInsertEXT( const DebugMarkerMarkerInfoEXT & markerInfo ) const VULKAN_HPP_NOEXCEPT |
| 19238 |
{ |
| 19239 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDebugMarkerInsertEXT && "Function <vkCmdDebugMarkerInsertEXT> requires <VK_EXT_debug_marker>" ); |
| 19240 |
|
| 19241 |
getDispatcher()->vkCmdDebugMarkerInsertEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19242 |
reinterpret_cast<const VkDebugMarkerMarkerInfoEXT *>( &markerInfo ) ); |
| 19243 |
} |
| 19244 |
|
| 19245 |
//=== VK_KHR_video_queue === |
| 19246 |
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see |
| 19247 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html |
| 19248 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getVideoCapabilitiesKHR( const VideoProfileInfoKHR * pVideoProfile, |
| 19249 |
VideoCapabilitiesKHR * pCapabilities ) const VULKAN_HPP_NOEXCEPT |
| 19250 |
{ |
| 19251 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR && |
| 19252 |
"Function <vkGetPhysicalDeviceVideoCapabilitiesKHR> requires <VK_KHR_video_queue>" ); |
| 19253 |
return static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19254 |
reinterpret_cast<const VkVideoProfileInfoKHR *>( pVideoProfile ), |
| 19255 |
reinterpret_cast<VkVideoCapabilitiesKHR *>( pCapabilities ) ) ); |
| 19256 |
} |
| 19257 |
|
| 19258 |
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see |
| 19259 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html |
| 19260 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<VideoCapabilitiesKHR>::type |
| 19261 |
PhysicalDevice::getVideoCapabilitiesKHR( const VideoProfileInfoKHR & videoProfile ) const |
| 19262 |
{ |
| 19263 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR && |
| 19264 |
"Function <vkGetPhysicalDeviceVideoCapabilitiesKHR> requires <VK_KHR_video_queue>" ); |
| 19265 |
|
| 19266 |
VideoCapabilitiesKHR capabilities; |
| 19267 |
Result result = |
| 19268 |
static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19269 |
reinterpret_cast<const VkVideoProfileInfoKHR *>( &videoProfile ), |
| 19270 |
reinterpret_cast<VkVideoCapabilitiesKHR *>( &capabilities ) ) ); |
| 19271 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getVideoCapabilitiesKHR" ); |
| 19272 |
|
| 19273 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( capabilities ) ); |
| 19274 |
} |
| 19275 |
|
| 19276 |
// wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see |
| 19277 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html |
| 19278 |
template <typename X, typename Y, typename... Z> |
| 19279 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 19280 |
PhysicalDevice::getVideoCapabilitiesKHR( const VideoProfileInfoKHR & videoProfile ) const |
| 19281 |
{ |
| 19282 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR && |
| 19283 |
"Function <vkGetPhysicalDeviceVideoCapabilitiesKHR> requires <VK_KHR_video_queue>" ); |
| 19284 |
|
| 19285 |
StructureChain<X, Y, Z...> structureChain; |
| 19286 |
VideoCapabilitiesKHR & capabilities = structureChain.template get<VideoCapabilitiesKHR>(); |
| 19287 |
Result result = |
| 19288 |
static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoCapabilitiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19289 |
reinterpret_cast<const VkVideoProfileInfoKHR *>( &videoProfile ), |
| 19290 |
reinterpret_cast<VkVideoCapabilitiesKHR *>( &capabilities ) ) ); |
| 19291 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getVideoCapabilitiesKHR" ); |
| 19292 |
|
| 19293 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 19294 |
} |
| 19295 |
|
| 19296 |
// wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see |
| 19297 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html |
| 19298 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<VideoFormatPropertiesKHR>>::type |
| 19299 |
PhysicalDevice::getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo ) const |
| 19300 |
{ |
| 19301 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoFormatPropertiesKHR && |
| 19302 |
"Function <vkGetPhysicalDeviceVideoFormatPropertiesKHR> requires <VK_KHR_video_queue>" ); |
| 19303 |
|
| 19304 |
std::vector<VideoFormatPropertiesKHR> videoFormatProperties; |
| 19305 |
uint32_t videoFormatPropertyCount; |
| 19306 |
Result result; |
| 19307 |
do |
| 19308 |
{ |
| 19309 |
result = static_cast<Result>( |
| 19310 |
getDispatcher()->vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19311 |
reinterpret_cast<const VkPhysicalDeviceVideoFormatInfoKHR *>( &videoFormatInfo ), |
| 19312 |
&videoFormatPropertyCount, |
| 19313 |
nullptr ) ); |
| 19314 |
if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) |
| 19315 |
{ |
| 19316 |
videoFormatProperties.resize( videoFormatPropertyCount ); |
| 19317 |
result = static_cast<Result>( |
| 19318 |
getDispatcher()->vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19319 |
reinterpret_cast<const VkPhysicalDeviceVideoFormatInfoKHR *>( &videoFormatInfo ), |
| 19320 |
&videoFormatPropertyCount, |
| 19321 |
reinterpret_cast<VkVideoFormatPropertiesKHR *>( videoFormatProperties.data() ) ) ); |
| 19322 |
} |
| 19323 |
} while ( result == Result::eIncomplete ); |
| 19324 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getVideoFormatPropertiesKHR" ); |
| 19325 |
VULKAN_HPP_ASSERT( videoFormatPropertyCount <= videoFormatProperties.size() ); |
| 19326 |
if ( videoFormatPropertyCount < videoFormatProperties.size() ) |
| 19327 |
{ |
| 19328 |
videoFormatProperties.resize( videoFormatPropertyCount ); |
| 19329 |
} |
| 19330 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( videoFormatProperties ) ); |
| 19331 |
} |
| 19332 |
|
| 19333 |
// wrapper function for command vkGetPhysicalDeviceVideoFormatPropertiesKHR, see |
| 19334 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoFormatPropertiesKHR.html |
| 19335 |
template <typename StructureChain> |
| 19336 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<StructureChain>>::type |
| 19337 |
PhysicalDevice::getVideoFormatPropertiesKHR( const PhysicalDeviceVideoFormatInfoKHR & videoFormatInfo ) const |
| 19338 |
{ |
| 19339 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoFormatPropertiesKHR && |
| 19340 |
"Function <vkGetPhysicalDeviceVideoFormatPropertiesKHR> requires <VK_KHR_video_queue>" ); |
| 19341 |
|
| 19342 |
std::vector<StructureChain> structureChains; |
| 19343 |
std::vector<VideoFormatPropertiesKHR> videoFormatProperties; |
| 19344 |
uint32_t videoFormatPropertyCount; |
| 19345 |
Result result; |
| 19346 |
do |
| 19347 |
{ |
| 19348 |
result = static_cast<Result>( |
| 19349 |
getDispatcher()->vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19350 |
reinterpret_cast<const VkPhysicalDeviceVideoFormatInfoKHR *>( &videoFormatInfo ), |
| 19351 |
&videoFormatPropertyCount, |
| 19352 |
nullptr ) ); |
| 19353 |
if ( ( result == Result::eSuccess ) && videoFormatPropertyCount ) |
| 19354 |
{ |
| 19355 |
structureChains.resize( videoFormatPropertyCount ); |
| 19356 |
videoFormatProperties.resize( videoFormatPropertyCount ); |
| 19357 |
for ( uint32_t i = 0; i < videoFormatPropertyCount; i++ ) |
| 19358 |
{ |
| 19359 |
videoFormatProperties[i].pNext = structureChains[i].template get<VideoFormatPropertiesKHR>().pNext; |
| 19360 |
} |
| 19361 |
result = static_cast<Result>( |
| 19362 |
getDispatcher()->vkGetPhysicalDeviceVideoFormatPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19363 |
reinterpret_cast<const VkPhysicalDeviceVideoFormatInfoKHR *>( &videoFormatInfo ), |
| 19364 |
&videoFormatPropertyCount, |
| 19365 |
reinterpret_cast<VkVideoFormatPropertiesKHR *>( videoFormatProperties.data() ) ) ); |
| 19366 |
} |
| 19367 |
} while ( result == Result::eIncomplete ); |
| 19368 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getVideoFormatPropertiesKHR" ); |
| 19369 |
VULKAN_HPP_ASSERT( videoFormatPropertyCount <= videoFormatProperties.size() ); |
| 19370 |
if ( videoFormatPropertyCount < videoFormatProperties.size() ) |
| 19371 |
{ |
| 19372 |
structureChains.resize( videoFormatPropertyCount ); |
| 19373 |
} |
| 19374 |
for ( uint32_t i = 0; i < videoFormatPropertyCount; i++ ) |
| 19375 |
{ |
| 19376 |
structureChains[i].template get<VideoFormatPropertiesKHR>() = videoFormatProperties[i]; |
| 19377 |
} |
| 19378 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChains ) ); |
| 19379 |
} |
| 19380 |
|
| 19381 |
// wrapper function for command vkCreateVideoSessionKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionKHR.html |
| 19382 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<VideoSessionKHR>::type |
| 19383 |
Device::createVideoSessionKHR( VideoSessionCreateInfoKHR const & createInfo, |
| 19384 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19385 |
{ |
| 19386 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateVideoSessionKHR && "Function <vkCreateVideoSessionKHR> requires <VK_KHR_video_queue>" ); |
| 19387 |
|
| 19388 |
VULKAN_HPP_NAMESPACE::VideoSessionKHR videoSession; |
| 19389 |
Result result = static_cast<Result>( getDispatcher()->vkCreateVideoSessionKHR( static_cast<VkDevice>( m_device ), |
| 19390 |
reinterpret_cast<const VkVideoSessionCreateInfoKHR *>( &createInfo ), |
| 19391 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19392 |
reinterpret_cast<VkVideoSessionKHR *>( &videoSession ) ) ); |
| 19393 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createVideoSessionKHR" ); |
| 19394 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 19395 |
result, VideoSessionKHR( *this, *reinterpret_cast<VkVideoSessionKHR *>( &videoSession ), allocator ) ); |
| 19396 |
} |
| 19397 |
|
| 19398 |
// wrapper function for command vkGetVideoSessionMemoryRequirementsKHR, see |
| 19399 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetVideoSessionMemoryRequirementsKHR.html |
| 19400 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<VideoSessionMemoryRequirementsKHR>>::type |
| 19401 |
VideoSessionKHR::getMemoryRequirements() const |
| 19402 |
{ |
| 19403 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetVideoSessionMemoryRequirementsKHR && |
| 19404 |
"Function <vkGetVideoSessionMemoryRequirementsKHR> requires <VK_KHR_video_queue>" ); |
| 19405 |
|
| 19406 |
std::vector<VideoSessionMemoryRequirementsKHR> memoryRequirements; |
| 19407 |
uint32_t memoryRequirementsCount; |
| 19408 |
Result result; |
| 19409 |
do |
| 19410 |
{ |
| 19411 |
result = static_cast<Result>( getDispatcher()->vkGetVideoSessionMemoryRequirementsKHR( |
| 19412 |
static_cast<VkDevice>( m_device ), static_cast<VkVideoSessionKHR>( m_videoSessionKHR ), &memoryRequirementsCount, nullptr ) ); |
| 19413 |
if ( ( result == Result::eSuccess ) && memoryRequirementsCount ) |
| 19414 |
{ |
| 19415 |
memoryRequirements.resize( memoryRequirementsCount ); |
| 19416 |
result = static_cast<Result>( |
| 19417 |
getDispatcher()->vkGetVideoSessionMemoryRequirementsKHR( static_cast<VkDevice>( m_device ), |
| 19418 |
static_cast<VkVideoSessionKHR>( m_videoSessionKHR ), |
| 19419 |
&memoryRequirementsCount, |
| 19420 |
reinterpret_cast<VkVideoSessionMemoryRequirementsKHR *>( memoryRequirements.data() ) ) ); |
| 19421 |
} |
| 19422 |
} while ( result == Result::eIncomplete ); |
| 19423 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::VideoSessionKHR::getMemoryRequirements" ); |
| 19424 |
VULKAN_HPP_ASSERT( memoryRequirementsCount <= memoryRequirements.size() ); |
| 19425 |
if ( memoryRequirementsCount < memoryRequirements.size() ) |
| 19426 |
{ |
| 19427 |
memoryRequirements.resize( memoryRequirementsCount ); |
| 19428 |
} |
| 19429 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( memoryRequirements ) ); |
| 19430 |
} |
| 19431 |
|
| 19432 |
// wrapper function for command vkBindVideoSessionMemoryKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindVideoSessionMemoryKHR.html |
| 19433 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 19434 |
VideoSessionKHR::bindMemory( ArrayProxy<const BindVideoSessionMemoryInfoKHR> const & bindSessionMemoryInfos ) const |
| 19435 |
{ |
| 19436 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindVideoSessionMemoryKHR && "Function <vkBindVideoSessionMemoryKHR> requires <VK_KHR_video_queue>" ); |
| 19437 |
|
| 19438 |
Result result = static_cast<Result>( |
| 19439 |
getDispatcher()->vkBindVideoSessionMemoryKHR( static_cast<VkDevice>( m_device ), |
| 19440 |
static_cast<VkVideoSessionKHR>( m_videoSessionKHR ), |
| 19441 |
bindSessionMemoryInfos.size(), |
| 19442 |
reinterpret_cast<const VkBindVideoSessionMemoryInfoKHR *>( bindSessionMemoryInfos.data() ) ) ); |
| 19443 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::VideoSessionKHR::bindMemory" ); |
| 19444 |
|
| 19445 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 19446 |
} |
| 19447 |
|
| 19448 |
// wrapper function for command vkCreateVideoSessionParametersKHR, see |
| 19449 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateVideoSessionParametersKHR.html |
| 19450 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<VideoSessionParametersKHR>::type |
| 19451 |
Device::createVideoSessionParametersKHR( VideoSessionParametersCreateInfoKHR const & createInfo, |
| 19452 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19453 |
{ |
| 19454 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateVideoSessionParametersKHR && "Function <vkCreateVideoSessionParametersKHR> requires <VK_KHR_video_queue>" ); |
| 19455 |
|
| 19456 |
VULKAN_HPP_NAMESPACE::VideoSessionParametersKHR videoSessionParameters; |
| 19457 |
Result result = |
| 19458 |
static_cast<Result>( getDispatcher()->vkCreateVideoSessionParametersKHR( static_cast<VkDevice>( m_device ), |
| 19459 |
reinterpret_cast<const VkVideoSessionParametersCreateInfoKHR *>( &createInfo ), |
| 19460 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19461 |
reinterpret_cast<VkVideoSessionParametersKHR *>( &videoSessionParameters ) ) ); |
| 19462 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createVideoSessionParametersKHR" ); |
| 19463 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 19464 |
result, VideoSessionParametersKHR( *this, *reinterpret_cast<VkVideoSessionParametersKHR *>( &videoSessionParameters ), allocator ) ); |
| 19465 |
} |
| 19466 |
|
| 19467 |
// wrapper function for command vkUpdateVideoSessionParametersKHR, see |
| 19468 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateVideoSessionParametersKHR.html |
| 19469 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type VideoSessionParametersKHR::update( const VideoSessionParametersUpdateInfoKHR & updateInfo ) const |
| 19470 |
{ |
| 19471 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateVideoSessionParametersKHR && "Function <vkUpdateVideoSessionParametersKHR> requires <VK_KHR_video_queue>" ); |
| 19472 |
|
| 19473 |
Result result = static_cast<Result>( |
| 19474 |
getDispatcher()->vkUpdateVideoSessionParametersKHR( static_cast<VkDevice>( m_device ), |
| 19475 |
static_cast<VkVideoSessionParametersKHR>( m_videoSessionParametersKHR ), |
| 19476 |
reinterpret_cast<const VkVideoSessionParametersUpdateInfoKHR *>( &updateInfo ) ) ); |
| 19477 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::VideoSessionParametersKHR::update" ); |
| 19478 |
|
| 19479 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 19480 |
} |
| 19481 |
|
| 19482 |
// wrapper function for command vkCmdBeginVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginVideoCodingKHR.html |
| 19483 |
VULKAN_HPP_INLINE void CommandBuffer::beginVideoCodingKHR( const VideoBeginCodingInfoKHR & beginInfo ) const VULKAN_HPP_NOEXCEPT |
| 19484 |
{ |
| 19485 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginVideoCodingKHR && "Function <vkCmdBeginVideoCodingKHR> requires <VK_KHR_video_queue>" ); |
| 19486 |
|
| 19487 |
getDispatcher()->vkCmdBeginVideoCodingKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19488 |
reinterpret_cast<const VkVideoBeginCodingInfoKHR *>( &beginInfo ) ); |
| 19489 |
} |
| 19490 |
|
| 19491 |
// wrapper function for command vkCmdEndVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndVideoCodingKHR.html |
| 19492 |
VULKAN_HPP_INLINE void CommandBuffer::endVideoCodingKHR( const VideoEndCodingInfoKHR & endCodingInfo ) const VULKAN_HPP_NOEXCEPT |
| 19493 |
{ |
| 19494 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndVideoCodingKHR && "Function <vkCmdEndVideoCodingKHR> requires <VK_KHR_video_queue>" ); |
| 19495 |
|
| 19496 |
getDispatcher()->vkCmdEndVideoCodingKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19497 |
reinterpret_cast<const VkVideoEndCodingInfoKHR *>( &endCodingInfo ) ); |
| 19498 |
} |
| 19499 |
|
| 19500 |
// wrapper function for command vkCmdControlVideoCodingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdControlVideoCodingKHR.html |
| 19501 |
VULKAN_HPP_INLINE void CommandBuffer::controlVideoCodingKHR( const VideoCodingControlInfoKHR & codingControlInfo ) const VULKAN_HPP_NOEXCEPT |
| 19502 |
{ |
| 19503 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdControlVideoCodingKHR && "Function <vkCmdControlVideoCodingKHR> requires <VK_KHR_video_queue>" ); |
| 19504 |
|
| 19505 |
getDispatcher()->vkCmdControlVideoCodingKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19506 |
reinterpret_cast<const VkVideoCodingControlInfoKHR *>( &codingControlInfo ) ); |
| 19507 |
} |
| 19508 |
|
| 19509 |
//=== VK_KHR_video_decode_queue === |
| 19510 |
|
| 19511 |
// wrapper function for command vkCmdDecodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecodeVideoKHR.html |
| 19512 |
VULKAN_HPP_INLINE void CommandBuffer::decodeVideoKHR( const VideoDecodeInfoKHR & decodeInfo ) const VULKAN_HPP_NOEXCEPT |
| 19513 |
{ |
| 19514 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDecodeVideoKHR && "Function <vkCmdDecodeVideoKHR> requires <VK_KHR_video_decode_queue>" ); |
| 19515 |
|
| 19516 |
getDispatcher()->vkCmdDecodeVideoKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkVideoDecodeInfoKHR *>( &decodeInfo ) ); |
| 19517 |
} |
| 19518 |
|
| 19519 |
//=== VK_EXT_transform_feedback === |
| 19520 |
|
| 19521 |
// wrapper function for command vkCmdBindTransformFeedbackBuffersEXT, see |
| 19522 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTransformFeedbackBuffersEXT.html |
| 19523 |
VULKAN_HPP_INLINE void CommandBuffer::bindTransformFeedbackBuffersEXT( uint32_t firstBinding, |
| 19524 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 19525 |
ArrayProxy<const DeviceSize> const & offsets, |
| 19526 |
ArrayProxy<const DeviceSize> const & sizes ) const |
| 19527 |
{ |
| 19528 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindTransformFeedbackBuffersEXT && |
| 19529 |
"Function <vkCmdBindTransformFeedbackBuffersEXT> requires <VK_EXT_transform_feedback>" ); |
| 19530 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 19531 |
VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); |
| 19532 |
VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); |
| 19533 |
# else |
| 19534 |
if ( buffers.size() != offsets.size() ) |
| 19535 |
{ |
| 19536 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindTransformFeedbackBuffersEXT: buffers.size() != offsets.size()" ); |
| 19537 |
} |
| 19538 |
if ( !sizes.empty() && buffers.size() != sizes.size() ) |
| 19539 |
{ |
| 19540 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindTransformFeedbackBuffersEXT: buffers.size() != sizes.size()" ); |
| 19541 |
} |
| 19542 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 19543 |
|
| 19544 |
getDispatcher()->vkCmdBindTransformFeedbackBuffersEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19545 |
firstBinding, |
| 19546 |
buffers.size(), |
| 19547 |
reinterpret_cast<const VkBuffer *>( buffers.data() ), |
| 19548 |
reinterpret_cast<const VkDeviceSize *>( offsets.data() ), |
| 19549 |
reinterpret_cast<const VkDeviceSize *>( sizes.data() ) ); |
| 19550 |
} |
| 19551 |
|
| 19552 |
// wrapper function for command vkCmdBeginTransformFeedbackEXT, see |
| 19553 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginTransformFeedbackEXT.html |
| 19554 |
VULKAN_HPP_INLINE void CommandBuffer::beginTransformFeedbackEXT( uint32_t firstCounterBuffer, |
| 19555 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & counterBuffers, |
| 19556 |
ArrayProxy<const DeviceSize> const & counterBufferOffsets ) const |
| 19557 |
{ |
| 19558 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginTransformFeedbackEXT && "Function <vkCmdBeginTransformFeedbackEXT> requires <VK_EXT_transform_feedback>" ); |
| 19559 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 19560 |
VULKAN_HPP_ASSERT( counterBufferOffsets.empty() || counterBuffers.size() == counterBufferOffsets.size() ); |
| 19561 |
# else |
| 19562 |
if ( !counterBufferOffsets.empty() && counterBuffers.size() != counterBufferOffsets.size() ) |
| 19563 |
{ |
| 19564 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::beginTransformFeedbackEXT: counterBuffers.size() != counterBufferOffsets.size()" ); |
| 19565 |
} |
| 19566 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 19567 |
|
| 19568 |
getDispatcher()->vkCmdBeginTransformFeedbackEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19569 |
firstCounterBuffer, |
| 19570 |
counterBuffers.size(), |
| 19571 |
reinterpret_cast<const VkBuffer *>( counterBuffers.data() ), |
| 19572 |
reinterpret_cast<const VkDeviceSize *>( counterBufferOffsets.data() ) ); |
| 19573 |
} |
| 19574 |
|
| 19575 |
// wrapper function for command vkCmdEndTransformFeedbackEXT, see |
| 19576 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndTransformFeedbackEXT.html |
| 19577 |
VULKAN_HPP_INLINE void CommandBuffer::endTransformFeedbackEXT( uint32_t firstCounterBuffer, |
| 19578 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & counterBuffers, |
| 19579 |
ArrayProxy<const DeviceSize> const & counterBufferOffsets ) const |
| 19580 |
{ |
| 19581 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndTransformFeedbackEXT && "Function <vkCmdEndTransformFeedbackEXT> requires <VK_EXT_transform_feedback>" ); |
| 19582 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 19583 |
VULKAN_HPP_ASSERT( counterBufferOffsets.empty() || counterBuffers.size() == counterBufferOffsets.size() ); |
| 19584 |
# else |
| 19585 |
if ( !counterBufferOffsets.empty() && counterBuffers.size() != counterBufferOffsets.size() ) |
| 19586 |
{ |
| 19587 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::endTransformFeedbackEXT: counterBuffers.size() != counterBufferOffsets.size()" ); |
| 19588 |
} |
| 19589 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 19590 |
|
| 19591 |
getDispatcher()->vkCmdEndTransformFeedbackEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19592 |
firstCounterBuffer, |
| 19593 |
counterBuffers.size(), |
| 19594 |
reinterpret_cast<const VkBuffer *>( counterBuffers.data() ), |
| 19595 |
reinterpret_cast<const VkDeviceSize *>( counterBufferOffsets.data() ) ); |
| 19596 |
} |
| 19597 |
|
| 19598 |
// wrapper function for command vkCmdBeginQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginQueryIndexedEXT.html |
| 19599 |
VULKAN_HPP_INLINE void CommandBuffer::beginQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 19600 |
uint32_t query, |
| 19601 |
QueryControlFlags flags, |
| 19602 |
uint32_t index ) const VULKAN_HPP_NOEXCEPT |
| 19603 |
{ |
| 19604 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginQueryIndexedEXT && "Function <vkCmdBeginQueryIndexedEXT> requires <VK_EXT_transform_feedback>" ); |
| 19605 |
|
| 19606 |
getDispatcher()->vkCmdBeginQueryIndexedEXT( |
| 19607 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkQueryPool>( queryPool ), query, static_cast<VkQueryControlFlags>( flags ), index ); |
| 19608 |
} |
| 19609 |
|
| 19610 |
// wrapper function for command vkCmdEndQueryIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndQueryIndexedEXT.html |
| 19611 |
VULKAN_HPP_INLINE void |
| 19612 |
CommandBuffer::endQueryIndexedEXT( VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query, uint32_t index ) const VULKAN_HPP_NOEXCEPT |
| 19613 |
{ |
| 19614 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndQueryIndexedEXT && "Function <vkCmdEndQueryIndexedEXT> requires <VK_EXT_transform_feedback>" ); |
| 19615 |
|
| 19616 |
getDispatcher()->vkCmdEndQueryIndexedEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkQueryPool>( queryPool ), query, index ); |
| 19617 |
} |
| 19618 |
|
| 19619 |
// wrapper function for command vkCmdDrawIndirectByteCountEXT, see |
| 19620 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectByteCountEXT.html |
| 19621 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndirectByteCountEXT( uint32_t instanceCount, |
| 19622 |
uint32_t firstInstance, |
| 19623 |
VULKAN_HPP_NAMESPACE::Buffer counterBuffer, |
| 19624 |
DeviceSize counterBufferOffset, |
| 19625 |
uint32_t counterOffset, |
| 19626 |
uint32_t vertexStride ) const VULKAN_HPP_NOEXCEPT |
| 19627 |
{ |
| 19628 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndirectByteCountEXT && "Function <vkCmdDrawIndirectByteCountEXT> requires <VK_EXT_transform_feedback>" ); |
| 19629 |
|
| 19630 |
getDispatcher()->vkCmdDrawIndirectByteCountEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19631 |
instanceCount, |
| 19632 |
firstInstance, |
| 19633 |
static_cast<VkBuffer>( counterBuffer ), |
| 19634 |
static_cast<VkDeviceSize>( counterBufferOffset ), |
| 19635 |
counterOffset, |
| 19636 |
vertexStride ); |
| 19637 |
} |
| 19638 |
|
| 19639 |
//=== VK_NVX_binary_import === |
| 19640 |
|
| 19641 |
// wrapper function for command vkCreateCuModuleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuModuleNVX.html |
| 19642 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<CuModuleNVX>::type |
| 19643 |
Device::createCuModuleNVX( CuModuleCreateInfoNVX const & createInfo, |
| 19644 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19645 |
{ |
| 19646 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateCuModuleNVX && "Function <vkCreateCuModuleNVX> requires <VK_NVX_binary_import>" ); |
| 19647 |
|
| 19648 |
VULKAN_HPP_NAMESPACE::CuModuleNVX module; |
| 19649 |
Result result = static_cast<Result>( getDispatcher()->vkCreateCuModuleNVX( static_cast<VkDevice>( m_device ), |
| 19650 |
reinterpret_cast<const VkCuModuleCreateInfoNVX *>( &createInfo ), |
| 19651 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19652 |
reinterpret_cast<VkCuModuleNVX *>( &module ) ) ); |
| 19653 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createCuModuleNVX" ); |
| 19654 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, CuModuleNVX( *this, *reinterpret_cast<VkCuModuleNVX *>( &module ), allocator ) ); |
| 19655 |
} |
| 19656 |
|
| 19657 |
// wrapper function for command vkCreateCuFunctionNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCuFunctionNVX.html |
| 19658 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<CuFunctionNVX>::type |
| 19659 |
Device::createCuFunctionNVX( CuFunctionCreateInfoNVX const & createInfo, |
| 19660 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19661 |
{ |
| 19662 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateCuFunctionNVX && "Function <vkCreateCuFunctionNVX> requires <VK_NVX_binary_import>" ); |
| 19663 |
|
| 19664 |
VULKAN_HPP_NAMESPACE::CuFunctionNVX function; |
| 19665 |
Result result = static_cast<Result>( getDispatcher()->vkCreateCuFunctionNVX( static_cast<VkDevice>( m_device ), |
| 19666 |
reinterpret_cast<const VkCuFunctionCreateInfoNVX *>( &createInfo ), |
| 19667 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19668 |
reinterpret_cast<VkCuFunctionNVX *>( &function ) ) ); |
| 19669 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createCuFunctionNVX" ); |
| 19670 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, |
| 19671 |
CuFunctionNVX( *this, *reinterpret_cast<VkCuFunctionNVX *>( &function ), allocator ) ); |
| 19672 |
} |
| 19673 |
|
| 19674 |
// wrapper function for command vkCmdCuLaunchKernelNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCuLaunchKernelNVX.html |
| 19675 |
VULKAN_HPP_INLINE void CommandBuffer::cuLaunchKernelNVX( const CuLaunchInfoNVX & launchInfo ) const VULKAN_HPP_NOEXCEPT |
| 19676 |
{ |
| 19677 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCuLaunchKernelNVX && "Function <vkCmdCuLaunchKernelNVX> requires <VK_NVX_binary_import>" ); |
| 19678 |
|
| 19679 |
getDispatcher()->vkCmdCuLaunchKernelNVX( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCuLaunchInfoNVX *>( &launchInfo ) ); |
| 19680 |
} |
| 19681 |
|
| 19682 |
//=== VK_NVX_image_view_handle === |
| 19683 |
|
| 19684 |
// wrapper function for command vkGetImageViewHandleNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandleNVX.html |
| 19685 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint32_t Device::getImageViewHandleNVX( const ImageViewHandleInfoNVX & info ) const VULKAN_HPP_NOEXCEPT |
| 19686 |
{ |
| 19687 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageViewHandleNVX && "Function <vkGetImageViewHandleNVX> requires <VK_NVX_image_view_handle>" ); |
| 19688 |
|
| 19689 |
uint32_t result = |
| 19690 |
getDispatcher()->vkGetImageViewHandleNVX( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImageViewHandleInfoNVX *>( &info ) ); |
| 19691 |
|
| 19692 |
return result; |
| 19693 |
} |
| 19694 |
|
| 19695 |
// wrapper function for command vkGetImageViewHandle64NVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewHandle64NVX.html |
| 19696 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getImageViewHandle64NVX( const ImageViewHandleInfoNVX & info ) const VULKAN_HPP_NOEXCEPT |
| 19697 |
{ |
| 19698 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageViewHandle64NVX && "Function <vkGetImageViewHandle64NVX> requires <VK_NVX_image_view_handle>" ); |
| 19699 |
|
| 19700 |
uint64_t result = |
| 19701 |
getDispatcher()->vkGetImageViewHandle64NVX( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImageViewHandleInfoNVX *>( &info ) ); |
| 19702 |
|
| 19703 |
return result; |
| 19704 |
} |
| 19705 |
|
| 19706 |
// wrapper function for command vkGetImageViewAddressNVX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewAddressNVX.html |
| 19707 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageViewAddressPropertiesNVX>::type ImageView::getAddressNVX() const |
| 19708 |
{ |
| 19709 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageViewAddressNVX && "Function <vkGetImageViewAddressNVX> requires <VK_NVX_image_view_handle>" ); |
| 19710 |
|
| 19711 |
ImageViewAddressPropertiesNVX properties; |
| 19712 |
Result result = static_cast<Result>( getDispatcher()->vkGetImageViewAddressNVX( |
| 19713 |
static_cast<VkDevice>( m_device ), static_cast<VkImageView>( m_imageView ), reinterpret_cast<VkImageViewAddressPropertiesNVX *>( &properties ) ) ); |
| 19714 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::ImageView::getAddressNVX" ); |
| 19715 |
|
| 19716 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 19717 |
} |
| 19718 |
|
| 19719 |
// wrapper function for command vkGetDeviceCombinedImageSamplerIndexNVX, see |
| 19720 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceCombinedImageSamplerIndexNVX.html |
| 19721 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getCombinedImageSamplerIndexNVX( uint64_t imageViewIndex, |
| 19722 |
uint64_t samplerIndex ) const VULKAN_HPP_NOEXCEPT |
| 19723 |
{ |
| 19724 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceCombinedImageSamplerIndexNVX && |
| 19725 |
"Function <vkGetDeviceCombinedImageSamplerIndexNVX> requires <VK_NVX_image_view_handle>" ); |
| 19726 |
|
| 19727 |
uint64_t result = getDispatcher()->vkGetDeviceCombinedImageSamplerIndexNVX( static_cast<VkDevice>( m_device ), imageViewIndex, samplerIndex ); |
| 19728 |
|
| 19729 |
return result; |
| 19730 |
} |
| 19731 |
|
| 19732 |
//=== VK_AMD_draw_indirect_count === |
| 19733 |
|
| 19734 |
// wrapper function for command vkCmdDrawIndirectCountAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountAMD.html |
| 19735 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 19736 |
DeviceSize offset, |
| 19737 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 19738 |
DeviceSize countBufferOffset, |
| 19739 |
uint32_t maxDrawCount, |
| 19740 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 19741 |
{ |
| 19742 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndirectCountAMD && |
| 19743 |
"Function <vkCmdDrawIndirectCountAMD> requires <VK_AMD_draw_indirect_count> or <VK_KHR_draw_indirect_count> or <VK_VERSION_1_2>" ); |
| 19744 |
|
| 19745 |
getDispatcher()->vkCmdDrawIndirectCountAMD( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19746 |
static_cast<VkBuffer>( buffer ), |
| 19747 |
static_cast<VkDeviceSize>( offset ), |
| 19748 |
static_cast<VkBuffer>( countBuffer ), |
| 19749 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 19750 |
maxDrawCount, |
| 19751 |
stride ); |
| 19752 |
} |
| 19753 |
|
| 19754 |
// wrapper function for command vkCmdDrawIndexedIndirectCountAMD, see |
| 19755 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountAMD.html |
| 19756 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountAMD( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 19757 |
DeviceSize offset, |
| 19758 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 19759 |
DeviceSize countBufferOffset, |
| 19760 |
uint32_t maxDrawCount, |
| 19761 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 19762 |
{ |
| 19763 |
VULKAN_HPP_ASSERT( |
| 19764 |
getDispatcher()->vkCmdDrawIndexedIndirectCountAMD && |
| 19765 |
"Function <vkCmdDrawIndexedIndirectCountAMD> requires <VK_AMD_draw_indirect_count> or <VK_KHR_draw_indirect_count> or <VK_VERSION_1_2>" ); |
| 19766 |
|
| 19767 |
getDispatcher()->vkCmdDrawIndexedIndirectCountAMD( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 19768 |
static_cast<VkBuffer>( buffer ), |
| 19769 |
static_cast<VkDeviceSize>( offset ), |
| 19770 |
static_cast<VkBuffer>( countBuffer ), |
| 19771 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 19772 |
maxDrawCount, |
| 19773 |
stride ); |
| 19774 |
} |
| 19775 |
|
| 19776 |
//=== VK_AMD_shader_info === |
| 19777 |
|
| 19778 |
// wrapper function for command vkGetShaderInfoAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderInfoAMD.html |
| 19779 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t>>::type Pipeline::getShaderInfoAMD( ShaderStageFlagBits shaderStage, |
| 19780 |
ShaderInfoTypeAMD infoType ) const |
| 19781 |
{ |
| 19782 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetShaderInfoAMD && "Function <vkGetShaderInfoAMD> requires <VK_AMD_shader_info>" ); |
| 19783 |
|
| 19784 |
std::vector<uint8_t> info; |
| 19785 |
size_t infoSize; |
| 19786 |
Result result; |
| 19787 |
do |
| 19788 |
{ |
| 19789 |
result = static_cast<Result>( getDispatcher()->vkGetShaderInfoAMD( static_cast<VkDevice>( m_device ), |
| 19790 |
static_cast<VkPipeline>( m_pipeline ), |
| 19791 |
static_cast<VkShaderStageFlagBits>( shaderStage ), |
| 19792 |
static_cast<VkShaderInfoTypeAMD>( infoType ), |
| 19793 |
&infoSize, |
| 19794 |
nullptr ) ); |
| 19795 |
if ( ( result == Result::eSuccess ) && infoSize ) |
| 19796 |
{ |
| 19797 |
info.resize( infoSize ); |
| 19798 |
result = static_cast<Result>( getDispatcher()->vkGetShaderInfoAMD( static_cast<VkDevice>( m_device ), |
| 19799 |
static_cast<VkPipeline>( m_pipeline ), |
| 19800 |
static_cast<VkShaderStageFlagBits>( shaderStage ), |
| 19801 |
static_cast<VkShaderInfoTypeAMD>( infoType ), |
| 19802 |
&infoSize, |
| 19803 |
reinterpret_cast<void *>( info.data() ) ) ); |
| 19804 |
} |
| 19805 |
} while ( result == Result::eIncomplete ); |
| 19806 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getShaderInfoAMD" ); |
| 19807 |
VULKAN_HPP_ASSERT( infoSize <= info.size() ); |
| 19808 |
if ( infoSize < info.size() ) |
| 19809 |
{ |
| 19810 |
info.resize( infoSize ); |
| 19811 |
} |
| 19812 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( info ) ); |
| 19813 |
} |
| 19814 |
|
| 19815 |
//=== VK_KHR_dynamic_rendering === |
| 19816 |
|
| 19817 |
// wrapper function for command vkCmdBeginRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderingKHR.html |
| 19818 |
VULKAN_HPP_INLINE void CommandBuffer::beginRenderingKHR( const RenderingInfo & renderingInfo ) const VULKAN_HPP_NOEXCEPT |
| 19819 |
{ |
| 19820 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginRenderingKHR && |
| 19821 |
"Function <vkCmdBeginRenderingKHR> requires <VK_KHR_dynamic_rendering> or <VK_VERSION_1_3>" ); |
| 19822 |
|
| 19823 |
getDispatcher()->vkCmdBeginRenderingKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkRenderingInfo *>( &renderingInfo ) ); |
| 19824 |
} |
| 19825 |
|
| 19826 |
// wrapper function for command vkCmdEndRenderingKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderingKHR.html |
| 19827 |
VULKAN_HPP_INLINE void CommandBuffer::endRenderingKHR() const VULKAN_HPP_NOEXCEPT |
| 19828 |
{ |
| 19829 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRenderingKHR && "Function <vkCmdEndRenderingKHR> requires <VK_KHR_dynamic_rendering> or <VK_VERSION_1_3>" ); |
| 19830 |
|
| 19831 |
getDispatcher()->vkCmdEndRenderingKHR( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 19832 |
} |
| 19833 |
|
| 19834 |
# if defined( VK_USE_PLATFORM_GGP ) |
| 19835 |
//=== VK_GGP_stream_descriptor_surface === |
| 19836 |
|
| 19837 |
// wrapper function for command vkCreateStreamDescriptorSurfaceGGP, see |
| 19838 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateStreamDescriptorSurfaceGGP.html |
| 19839 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 19840 |
Instance::createStreamDescriptorSurfaceGGP( StreamDescriptorSurfaceCreateInfoGGP const & createInfo, |
| 19841 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 19842 |
{ |
| 19843 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateStreamDescriptorSurfaceGGP && |
| 19844 |
"Function <vkCreateStreamDescriptorSurfaceGGP> requires <VK_GGP_stream_descriptor_surface>" ); |
| 19845 |
|
| 19846 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 19847 |
Result result = static_cast<Result>( |
| 19848 |
getDispatcher()->vkCreateStreamDescriptorSurfaceGGP( static_cast<VkInstance>( m_instance ), |
| 19849 |
reinterpret_cast<const VkStreamDescriptorSurfaceCreateInfoGGP *>( &createInfo ), |
| 19850 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 19851 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 19852 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createStreamDescriptorSurfaceGGP" ); |
| 19853 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 19854 |
} |
| 19855 |
# endif /*VK_USE_PLATFORM_GGP*/ |
| 19856 |
|
| 19857 |
//=== VK_NV_external_memory_capabilities === |
| 19858 |
|
| 19859 |
// wrapper function for command vkGetPhysicalDeviceExternalImageFormatPropertiesNV, see |
| 19860 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html |
| 19861 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ExternalImageFormatPropertiesNV>::type |
| 19862 |
PhysicalDevice::getExternalImageFormatPropertiesNV( Format format, |
| 19863 |
ImageType type, |
| 19864 |
ImageTiling tiling, |
| 19865 |
ImageUsageFlags usage, |
| 19866 |
ImageCreateFlags flags, |
| 19867 |
ExternalMemoryHandleTypeFlagsNV externalHandleType ) const |
| 19868 |
{ |
| 19869 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalImageFormatPropertiesNV && |
| 19870 |
"Function <vkGetPhysicalDeviceExternalImageFormatPropertiesNV> requires <VK_NV_external_memory_capabilities>" ); |
| 19871 |
|
| 19872 |
ExternalImageFormatPropertiesNV externalImageFormatProperties; |
| 19873 |
Result result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceExternalImageFormatPropertiesNV( |
| 19874 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19875 |
static_cast<VkFormat>( format ), |
| 19876 |
static_cast<VkImageType>( type ), |
| 19877 |
static_cast<VkImageTiling>( tiling ), |
| 19878 |
static_cast<VkImageUsageFlags>( usage ), |
| 19879 |
static_cast<VkImageCreateFlags>( flags ), |
| 19880 |
static_cast<VkExternalMemoryHandleTypeFlagsNV>( externalHandleType ), |
| 19881 |
reinterpret_cast<VkExternalImageFormatPropertiesNV *>( &externalImageFormatProperties ) ) ); |
| 19882 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getExternalImageFormatPropertiesNV" ); |
| 19883 |
|
| 19884 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( externalImageFormatProperties ) ); |
| 19885 |
} |
| 19886 |
|
| 19887 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 19888 |
//=== VK_NV_external_memory_win32 === |
| 19889 |
|
| 19890 |
// wrapper function for command vkGetMemoryWin32HandleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleNV.html |
| 19891 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HANDLE>::type |
| 19892 |
DeviceMemory::getMemoryWin32HandleNV( ExternalMemoryHandleTypeFlagsNV handleType ) const |
| 19893 |
{ |
| 19894 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryWin32HandleNV && "Function <vkGetMemoryWin32HandleNV> requires <VK_NV_external_memory_win32>" ); |
| 19895 |
|
| 19896 |
HANDLE handle; |
| 19897 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryWin32HandleNV( static_cast<VkDevice>( m_device ), |
| 19898 |
static_cast<VkDeviceMemory>( m_deviceMemory ), |
| 19899 |
static_cast<VkExternalMemoryHandleTypeFlagsNV>( handleType ), |
| 19900 |
&handle ) ); |
| 19901 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DeviceMemory::getMemoryWin32HandleNV" ); |
| 19902 |
|
| 19903 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( handle ) ); |
| 19904 |
} |
| 19905 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 19906 |
|
| 19907 |
//=== VK_KHR_get_physical_device_properties2 === |
| 19908 |
|
| 19909 |
// wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see |
| 19910 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html |
| 19911 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceFeatures2 PhysicalDevice::getFeatures2KHR() const VULKAN_HPP_NOEXCEPT |
| 19912 |
{ |
| 19913 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFeatures2KHR && |
| 19914 |
"Function <vkGetPhysicalDeviceFeatures2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 19915 |
|
| 19916 |
PhysicalDeviceFeatures2 features; |
| 19917 |
getDispatcher()->vkGetPhysicalDeviceFeatures2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19918 |
reinterpret_cast<VkPhysicalDeviceFeatures2 *>( &features ) ); |
| 19919 |
|
| 19920 |
return features; |
| 19921 |
} |
| 19922 |
|
| 19923 |
// wrapper function for command vkGetPhysicalDeviceFeatures2KHR, see |
| 19924 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFeatures2KHR.html |
| 19925 |
template <typename X, typename Y, typename... Z> |
| 19926 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getFeatures2KHR() const VULKAN_HPP_NOEXCEPT |
| 19927 |
{ |
| 19928 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFeatures2KHR && |
| 19929 |
"Function <vkGetPhysicalDeviceFeatures2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 19930 |
|
| 19931 |
StructureChain<X, Y, Z...> structureChain; |
| 19932 |
PhysicalDeviceFeatures2 & features = structureChain.template get<PhysicalDeviceFeatures2>(); |
| 19933 |
getDispatcher()->vkGetPhysicalDeviceFeatures2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19934 |
reinterpret_cast<VkPhysicalDeviceFeatures2 *>( &features ) ); |
| 19935 |
|
| 19936 |
return structureChain; |
| 19937 |
} |
| 19938 |
|
| 19939 |
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see |
| 19940 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html |
| 19941 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceProperties2 PhysicalDevice::getProperties2KHR() const VULKAN_HPP_NOEXCEPT |
| 19942 |
{ |
| 19943 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties2KHR && |
| 19944 |
"Function <vkGetPhysicalDeviceProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 19945 |
|
| 19946 |
PhysicalDeviceProperties2 properties; |
| 19947 |
getDispatcher()->vkGetPhysicalDeviceProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19948 |
reinterpret_cast<VkPhysicalDeviceProperties2 *>( &properties ) ); |
| 19949 |
|
| 19950 |
return properties; |
| 19951 |
} |
| 19952 |
|
| 19953 |
// wrapper function for command vkGetPhysicalDeviceProperties2KHR, see |
| 19954 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceProperties2KHR.html |
| 19955 |
template <typename X, typename Y, typename... Z> |
| 19956 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getProperties2KHR() const VULKAN_HPP_NOEXCEPT |
| 19957 |
{ |
| 19958 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceProperties2KHR && |
| 19959 |
"Function <vkGetPhysicalDeviceProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 19960 |
|
| 19961 |
StructureChain<X, Y, Z...> structureChain; |
| 19962 |
PhysicalDeviceProperties2 & properties = structureChain.template get<PhysicalDeviceProperties2>(); |
| 19963 |
getDispatcher()->vkGetPhysicalDeviceProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 19964 |
reinterpret_cast<VkPhysicalDeviceProperties2 *>( &properties ) ); |
| 19965 |
|
| 19966 |
return structureChain; |
| 19967 |
} |
| 19968 |
|
| 19969 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see |
| 19970 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html |
| 19971 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE FormatProperties2 PhysicalDevice::getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT |
| 19972 |
{ |
| 19973 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties2KHR && |
| 19974 |
"Function <vkGetPhysicalDeviceFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 19975 |
|
| 19976 |
FormatProperties2 formatProperties; |
| 19977 |
getDispatcher()->vkGetPhysicalDeviceFormatProperties2KHR( |
| 19978 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); |
| 19979 |
|
| 19980 |
return formatProperties; |
| 19981 |
} |
| 19982 |
|
| 19983 |
// wrapper function for command vkGetPhysicalDeviceFormatProperties2KHR, see |
| 19984 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html |
| 19985 |
template <typename X, typename Y, typename... Z> |
| 19986 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getFormatProperties2KHR( Format format ) const VULKAN_HPP_NOEXCEPT |
| 19987 |
{ |
| 19988 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFormatProperties2KHR && |
| 19989 |
"Function <vkGetPhysicalDeviceFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 19990 |
|
| 19991 |
StructureChain<X, Y, Z...> structureChain; |
| 19992 |
FormatProperties2 & formatProperties = structureChain.template get<FormatProperties2>(); |
| 19993 |
getDispatcher()->vkGetPhysicalDeviceFormatProperties2KHR( |
| 19994 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkFormat>( format ), reinterpret_cast<VkFormatProperties2 *>( &formatProperties ) ); |
| 19995 |
|
| 19996 |
return structureChain; |
| 19997 |
} |
| 19998 |
|
| 19999 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see |
| 20000 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html |
| 20001 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getImageFormatProperties2KHR( |
| 20002 |
const PhysicalDeviceImageFormatInfo2 * pImageFormatInfo, ImageFormatProperties2 * pImageFormatProperties ) const VULKAN_HPP_NOEXCEPT |
| 20003 |
{ |
| 20004 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR && |
| 20005 |
"Function <vkGetPhysicalDeviceImageFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20006 |
return static_cast<Result>( |
| 20007 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20008 |
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( pImageFormatInfo ), |
| 20009 |
reinterpret_cast<VkImageFormatProperties2 *>( pImageFormatProperties ) ) ); |
| 20010 |
} |
| 20011 |
|
| 20012 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see |
| 20013 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html |
| 20014 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageFormatProperties2>::type |
| 20015 |
PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const |
| 20016 |
{ |
| 20017 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR && |
| 20018 |
"Function <vkGetPhysicalDeviceImageFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20019 |
|
| 20020 |
ImageFormatProperties2 imageFormatProperties; |
| 20021 |
Result result = static_cast<Result>( |
| 20022 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20023 |
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( &imageFormatInfo ), |
| 20024 |
reinterpret_cast<VkImageFormatProperties2 *>( &imageFormatProperties ) ) ); |
| 20025 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); |
| 20026 |
|
| 20027 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( imageFormatProperties ) ); |
| 20028 |
} |
| 20029 |
|
| 20030 |
// wrapper function for command vkGetPhysicalDeviceImageFormatProperties2KHR, see |
| 20031 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html |
| 20032 |
template <typename X, typename Y, typename... Z> |
| 20033 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 20034 |
PhysicalDevice::getImageFormatProperties2KHR( const PhysicalDeviceImageFormatInfo2 & imageFormatInfo ) const |
| 20035 |
{ |
| 20036 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR && |
| 20037 |
"Function <vkGetPhysicalDeviceImageFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20038 |
|
| 20039 |
StructureChain<X, Y, Z...> structureChain; |
| 20040 |
ImageFormatProperties2 & imageFormatProperties = structureChain.template get<ImageFormatProperties2>(); |
| 20041 |
Result result = static_cast<Result>( |
| 20042 |
getDispatcher()->vkGetPhysicalDeviceImageFormatProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20043 |
reinterpret_cast<const VkPhysicalDeviceImageFormatInfo2 *>( &imageFormatInfo ), |
| 20044 |
reinterpret_cast<VkImageFormatProperties2 *>( &imageFormatProperties ) ) ); |
| 20045 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getImageFormatProperties2KHR" ); |
| 20046 |
|
| 20047 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 20048 |
} |
| 20049 |
|
| 20050 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see |
| 20051 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html |
| 20052 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<QueueFamilyProperties2> PhysicalDevice::getQueueFamilyProperties2KHR() const |
| 20053 |
{ |
| 20054 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2KHR && |
| 20055 |
"Function <vkGetPhysicalDeviceQueueFamilyProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20056 |
|
| 20057 |
std::vector<QueueFamilyProperties2> queueFamilyProperties; |
| 20058 |
uint32_t queueFamilyPropertyCount; |
| 20059 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); |
| 20060 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 20061 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20062 |
&queueFamilyPropertyCount, |
| 20063 |
reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); |
| 20064 |
|
| 20065 |
VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); |
| 20066 |
if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) |
| 20067 |
{ |
| 20068 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 20069 |
} |
| 20070 |
return queueFamilyProperties; |
| 20071 |
} |
| 20072 |
|
| 20073 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyProperties2KHR, see |
| 20074 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html |
| 20075 |
template <typename StructureChain> |
| 20076 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<StructureChain> PhysicalDevice::getQueueFamilyProperties2KHR() const |
| 20077 |
{ |
| 20078 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2KHR && |
| 20079 |
"Function <vkGetPhysicalDeviceQueueFamilyProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20080 |
|
| 20081 |
std::vector<StructureChain> structureChains; |
| 20082 |
std::vector<QueueFamilyProperties2> queueFamilyProperties; |
| 20083 |
uint32_t queueFamilyPropertyCount; |
| 20084 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &queueFamilyPropertyCount, nullptr ); |
| 20085 |
structureChains.resize( queueFamilyPropertyCount ); |
| 20086 |
queueFamilyProperties.resize( queueFamilyPropertyCount ); |
| 20087 |
for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) |
| 20088 |
{ |
| 20089 |
queueFamilyProperties[i].pNext = structureChains[i].template get<QueueFamilyProperties2>().pNext; |
| 20090 |
} |
| 20091 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20092 |
&queueFamilyPropertyCount, |
| 20093 |
reinterpret_cast<VkQueueFamilyProperties2 *>( queueFamilyProperties.data() ) ); |
| 20094 |
|
| 20095 |
VULKAN_HPP_ASSERT( queueFamilyPropertyCount <= queueFamilyProperties.size() ); |
| 20096 |
if ( queueFamilyPropertyCount < queueFamilyProperties.size() ) |
| 20097 |
{ |
| 20098 |
structureChains.resize( queueFamilyPropertyCount ); |
| 20099 |
} |
| 20100 |
for ( uint32_t i = 0; i < queueFamilyPropertyCount; i++ ) |
| 20101 |
{ |
| 20102 |
structureChains[i].template get<QueueFamilyProperties2>() = queueFamilyProperties[i]; |
| 20103 |
} |
| 20104 |
return structureChains; |
| 20105 |
} |
| 20106 |
|
| 20107 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see |
| 20108 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html |
| 20109 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PhysicalDeviceMemoryProperties2 PhysicalDevice::getMemoryProperties2KHR() const VULKAN_HPP_NOEXCEPT |
| 20110 |
{ |
| 20111 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceMemoryProperties2KHR && |
| 20112 |
"Function <vkGetPhysicalDeviceMemoryProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20113 |
|
| 20114 |
PhysicalDeviceMemoryProperties2 memoryProperties; |
| 20115 |
getDispatcher()->vkGetPhysicalDeviceMemoryProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20116 |
reinterpret_cast<VkPhysicalDeviceMemoryProperties2 *>( &memoryProperties ) ); |
| 20117 |
|
| 20118 |
return memoryProperties; |
| 20119 |
} |
| 20120 |
|
| 20121 |
// wrapper function for command vkGetPhysicalDeviceMemoryProperties2KHR, see |
| 20122 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html |
| 20123 |
template <typename X, typename Y, typename... Z> |
| 20124 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> PhysicalDevice::getMemoryProperties2KHR() const VULKAN_HPP_NOEXCEPT |
| 20125 |
{ |
| 20126 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceMemoryProperties2KHR && |
| 20127 |
"Function <vkGetPhysicalDeviceMemoryProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20128 |
|
| 20129 |
StructureChain<X, Y, Z...> structureChain; |
| 20130 |
PhysicalDeviceMemoryProperties2 & memoryProperties = structureChain.template get<PhysicalDeviceMemoryProperties2>(); |
| 20131 |
getDispatcher()->vkGetPhysicalDeviceMemoryProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20132 |
reinterpret_cast<VkPhysicalDeviceMemoryProperties2 *>( &memoryProperties ) ); |
| 20133 |
|
| 20134 |
return structureChain; |
| 20135 |
} |
| 20136 |
|
| 20137 |
// wrapper function for command vkGetPhysicalDeviceSparseImageFormatProperties2KHR, see |
| 20138 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html |
| 20139 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageFormatProperties2> |
| 20140 |
PhysicalDevice::getSparseImageFormatProperties2KHR( const PhysicalDeviceSparseImageFormatInfo2 & formatInfo ) const |
| 20141 |
{ |
| 20142 |
VULKAN_HPP_ASSERT( |
| 20143 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties2KHR && |
| 20144 |
"Function <vkGetPhysicalDeviceSparseImageFormatProperties2KHR> requires <VK_KHR_get_physical_device_properties2> or <VK_VERSION_1_1>" ); |
| 20145 |
|
| 20146 |
std::vector<SparseImageFormatProperties2> properties; |
| 20147 |
uint32_t propertyCount; |
| 20148 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20149 |
reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2 *>( &formatInfo ), |
| 20150 |
&propertyCount, |
| 20151 |
nullptr ); |
| 20152 |
properties.resize( propertyCount ); |
| 20153 |
getDispatcher()->vkGetPhysicalDeviceSparseImageFormatProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20154 |
reinterpret_cast<const VkPhysicalDeviceSparseImageFormatInfo2 *>( &formatInfo ), |
| 20155 |
&propertyCount, |
| 20156 |
reinterpret_cast<VkSparseImageFormatProperties2 *>( properties.data() ) ); |
| 20157 |
|
| 20158 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 20159 |
if ( propertyCount < properties.size() ) |
| 20160 |
{ |
| 20161 |
properties.resize( propertyCount ); |
| 20162 |
} |
| 20163 |
return properties; |
| 20164 |
} |
| 20165 |
|
| 20166 |
//=== VK_KHR_device_group === |
| 20167 |
|
| 20168 |
// wrapper function for command vkGetDeviceGroupPeerMemoryFeaturesKHR, see |
| 20169 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html |
| 20170 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE PeerMemoryFeatureFlags Device::getGroupPeerMemoryFeaturesKHR( uint32_t heapIndex, |
| 20171 |
uint32_t localDeviceIndex, |
| 20172 |
uint32_t remoteDeviceIndex ) const VULKAN_HPP_NOEXCEPT |
| 20173 |
{ |
| 20174 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceGroupPeerMemoryFeaturesKHR && |
| 20175 |
"Function <vkGetDeviceGroupPeerMemoryFeaturesKHR> requires <VK_KHR_device_group> or <VK_VERSION_1_1>" ); |
| 20176 |
|
| 20177 |
PeerMemoryFeatureFlags peerMemoryFeatures; |
| 20178 |
getDispatcher()->vkGetDeviceGroupPeerMemoryFeaturesKHR( static_cast<VkDevice>( m_device ), |
| 20179 |
heapIndex, |
| 20180 |
localDeviceIndex, |
| 20181 |
remoteDeviceIndex, |
| 20182 |
reinterpret_cast<VkPeerMemoryFeatureFlags *>( &peerMemoryFeatures ) ); |
| 20183 |
|
| 20184 |
return peerMemoryFeatures; |
| 20185 |
} |
| 20186 |
|
| 20187 |
// wrapper function for command vkCmdSetDeviceMaskKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDeviceMaskKHR.html |
| 20188 |
VULKAN_HPP_INLINE void CommandBuffer::setDeviceMaskKHR( uint32_t deviceMask ) const VULKAN_HPP_NOEXCEPT |
| 20189 |
{ |
| 20190 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDeviceMaskKHR && "Function <vkCmdSetDeviceMaskKHR> requires <VK_KHR_device_group> or <VK_VERSION_1_1>" ); |
| 20191 |
|
| 20192 |
getDispatcher()->vkCmdSetDeviceMaskKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), deviceMask ); |
| 20193 |
} |
| 20194 |
|
| 20195 |
// wrapper function for command vkCmdDispatchBaseKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchBaseKHR.html |
| 20196 |
VULKAN_HPP_INLINE void CommandBuffer::dispatchBaseKHR( uint32_t baseGroupX, |
| 20197 |
uint32_t baseGroupY, |
| 20198 |
uint32_t baseGroupZ, |
| 20199 |
uint32_t groupCountX, |
| 20200 |
uint32_t groupCountY, |
| 20201 |
uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT |
| 20202 |
{ |
| 20203 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchBaseKHR && "Function <vkCmdDispatchBaseKHR> requires <VK_KHR_device_group> or <VK_VERSION_1_1>" ); |
| 20204 |
|
| 20205 |
getDispatcher()->vkCmdDispatchBaseKHR( |
| 20206 |
static_cast<VkCommandBuffer>( m_commandBuffer ), baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ ); |
| 20207 |
} |
| 20208 |
|
| 20209 |
# if defined( VK_USE_PLATFORM_VI_NN ) |
| 20210 |
//=== VK_NN_vi_surface === |
| 20211 |
|
| 20212 |
// wrapper function for command vkCreateViSurfaceNN, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateViSurfaceNN.html |
| 20213 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 20214 |
Instance::createViSurfaceNN( ViSurfaceCreateInfoNN const & createInfo, |
| 20215 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 20216 |
{ |
| 20217 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateViSurfaceNN && "Function <vkCreateViSurfaceNN> requires <VK_NN_vi_surface>" ); |
| 20218 |
|
| 20219 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 20220 |
Result result = static_cast<Result>( getDispatcher()->vkCreateViSurfaceNN( static_cast<VkInstance>( m_instance ), |
| 20221 |
reinterpret_cast<const VkViSurfaceCreateInfoNN *>( &createInfo ), |
| 20222 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 20223 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 20224 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createViSurfaceNN" ); |
| 20225 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 20226 |
} |
| 20227 |
# endif /*VK_USE_PLATFORM_VI_NN*/ |
| 20228 |
|
| 20229 |
//=== VK_KHR_maintenance1 === |
| 20230 |
|
| 20231 |
// wrapper function for command vkTrimCommandPoolKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTrimCommandPoolKHR.html |
| 20232 |
VULKAN_HPP_INLINE void CommandPool::trimKHR( CommandPoolTrimFlags flags ) const VULKAN_HPP_NOEXCEPT |
| 20233 |
{ |
| 20234 |
VULKAN_HPP_ASSERT( getDispatcher()->vkTrimCommandPoolKHR && "Function <vkTrimCommandPoolKHR> requires <VK_KHR_maintenance1> or <VK_VERSION_1_1>" ); |
| 20235 |
|
| 20236 |
getDispatcher()->vkTrimCommandPoolKHR( |
| 20237 |
static_cast<VkDevice>( m_device ), static_cast<VkCommandPool>( m_commandPool ), static_cast<VkCommandPoolTrimFlags>( flags ) ); |
| 20238 |
} |
| 20239 |
|
| 20240 |
//=== VK_KHR_device_group_creation === |
| 20241 |
|
| 20242 |
// wrapper function for command vkEnumeratePhysicalDeviceGroupsKHR, see |
| 20243 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html |
| 20244 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceGroupProperties>>::type |
| 20245 |
Instance::enumeratePhysicalDeviceGroupsKHR() const |
| 20246 |
{ |
| 20247 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumeratePhysicalDeviceGroupsKHR && |
| 20248 |
"Function <vkEnumeratePhysicalDeviceGroupsKHR> requires <VK_KHR_device_group_creation> or <VK_VERSION_1_1>" ); |
| 20249 |
|
| 20250 |
std::vector<PhysicalDeviceGroupProperties> physicalDeviceGroupProperties; |
| 20251 |
uint32_t physicalDeviceGroupCount; |
| 20252 |
Result result; |
| 20253 |
do |
| 20254 |
{ |
| 20255 |
result = static_cast<Result>( |
| 20256 |
getDispatcher()->vkEnumeratePhysicalDeviceGroupsKHR( static_cast<VkInstance>( m_instance ), &physicalDeviceGroupCount, nullptr ) ); |
| 20257 |
if ( ( result == Result::eSuccess ) && physicalDeviceGroupCount ) |
| 20258 |
{ |
| 20259 |
physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); |
| 20260 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDeviceGroupsKHR( |
| 20261 |
static_cast<VkInstance>( m_instance ), |
| 20262 |
&physicalDeviceGroupCount, |
| 20263 |
reinterpret_cast<VkPhysicalDeviceGroupProperties *>( physicalDeviceGroupProperties.data() ) ) ); |
| 20264 |
} |
| 20265 |
} while ( result == Result::eIncomplete ); |
| 20266 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::enumeratePhysicalDeviceGroupsKHR" ); |
| 20267 |
VULKAN_HPP_ASSERT( physicalDeviceGroupCount <= physicalDeviceGroupProperties.size() ); |
| 20268 |
if ( physicalDeviceGroupCount < physicalDeviceGroupProperties.size() ) |
| 20269 |
{ |
| 20270 |
physicalDeviceGroupProperties.resize( physicalDeviceGroupCount ); |
| 20271 |
} |
| 20272 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( physicalDeviceGroupProperties ) ); |
| 20273 |
} |
| 20274 |
|
| 20275 |
//=== VK_KHR_external_memory_capabilities === |
| 20276 |
|
| 20277 |
// wrapper function for command vkGetPhysicalDeviceExternalBufferPropertiesKHR, see |
| 20278 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html |
| 20279 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalBufferProperties |
| 20280 |
PhysicalDevice::getExternalBufferPropertiesKHR( const PhysicalDeviceExternalBufferInfo & externalBufferInfo ) const VULKAN_HPP_NOEXCEPT |
| 20281 |
{ |
| 20282 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalBufferPropertiesKHR && |
| 20283 |
"Function <vkGetPhysicalDeviceExternalBufferPropertiesKHR> requires <VK_KHR_external_memory_capabilities> or <VK_VERSION_1_1>" ); |
| 20284 |
|
| 20285 |
ExternalBufferProperties externalBufferProperties; |
| 20286 |
getDispatcher()->vkGetPhysicalDeviceExternalBufferPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20287 |
reinterpret_cast<const VkPhysicalDeviceExternalBufferInfo *>( &externalBufferInfo ), |
| 20288 |
reinterpret_cast<VkExternalBufferProperties *>( &externalBufferProperties ) ); |
| 20289 |
|
| 20290 |
return externalBufferProperties; |
| 20291 |
} |
| 20292 |
|
| 20293 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 20294 |
//=== VK_KHR_external_memory_win32 === |
| 20295 |
|
| 20296 |
// wrapper function for command vkGetMemoryWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandleKHR.html |
| 20297 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HANDLE>::type |
| 20298 |
Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo ) const |
| 20299 |
{ |
| 20300 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryWin32HandleKHR && "Function <vkGetMemoryWin32HandleKHR> requires <VK_KHR_external_memory_win32>" ); |
| 20301 |
|
| 20302 |
HANDLE handle; |
| 20303 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryWin32HandleKHR( |
| 20304 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryGetWin32HandleInfoKHR *>( &getWin32HandleInfo ), &handle ) ); |
| 20305 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryWin32HandleKHR" ); |
| 20306 |
|
| 20307 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( handle ) ); |
| 20308 |
} |
| 20309 |
|
| 20310 |
// wrapper function for command vkGetMemoryWin32HandlePropertiesKHR, see |
| 20311 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryWin32HandlePropertiesKHR.html |
| 20312 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<MemoryWin32HandlePropertiesKHR>::type |
| 20313 |
Device::getMemoryWin32HandlePropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, HANDLE handle ) const |
| 20314 |
{ |
| 20315 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryWin32HandlePropertiesKHR && |
| 20316 |
"Function <vkGetMemoryWin32HandlePropertiesKHR> requires <VK_KHR_external_memory_win32>" ); |
| 20317 |
|
| 20318 |
MemoryWin32HandlePropertiesKHR memoryWin32HandleProperties; |
| 20319 |
Result result = static_cast<Result>( |
| 20320 |
getDispatcher()->vkGetMemoryWin32HandlePropertiesKHR( static_cast<VkDevice>( m_device ), |
| 20321 |
static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), |
| 20322 |
handle, |
| 20323 |
reinterpret_cast<VkMemoryWin32HandlePropertiesKHR *>( &memoryWin32HandleProperties ) ) ); |
| 20324 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryWin32HandlePropertiesKHR" ); |
| 20325 |
|
| 20326 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( memoryWin32HandleProperties ) ); |
| 20327 |
} |
| 20328 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 20329 |
|
| 20330 |
//=== VK_KHR_external_memory_fd === |
| 20331 |
|
| 20332 |
// wrapper function for command vkGetMemoryFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdKHR.html |
| 20333 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<int>::type Device::getMemoryFdKHR( const MemoryGetFdInfoKHR & getFdInfo ) const |
| 20334 |
{ |
| 20335 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryFdKHR && "Function <vkGetMemoryFdKHR> requires <VK_KHR_external_memory_fd>" ); |
| 20336 |
|
| 20337 |
int fd; |
| 20338 |
Result result = static_cast<Result>( |
| 20339 |
getDispatcher()->vkGetMemoryFdKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryGetFdInfoKHR *>( &getFdInfo ), &fd ) ); |
| 20340 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryFdKHR" ); |
| 20341 |
|
| 20342 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( fd ) ); |
| 20343 |
} |
| 20344 |
|
| 20345 |
// wrapper function for command vkGetMemoryFdPropertiesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryFdPropertiesKHR.html |
| 20346 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<MemoryFdPropertiesKHR>::type |
| 20347 |
Device::getMemoryFdPropertiesKHR( ExternalMemoryHandleTypeFlagBits handleType, int fd ) const |
| 20348 |
{ |
| 20349 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryFdPropertiesKHR && "Function <vkGetMemoryFdPropertiesKHR> requires <VK_KHR_external_memory_fd>" ); |
| 20350 |
|
| 20351 |
MemoryFdPropertiesKHR memoryFdProperties; |
| 20352 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryFdPropertiesKHR( static_cast<VkDevice>( m_device ), |
| 20353 |
static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), |
| 20354 |
fd, |
| 20355 |
reinterpret_cast<VkMemoryFdPropertiesKHR *>( &memoryFdProperties ) ) ); |
| 20356 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryFdPropertiesKHR" ); |
| 20357 |
|
| 20358 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( memoryFdProperties ) ); |
| 20359 |
} |
| 20360 |
|
| 20361 |
//=== VK_KHR_external_semaphore_capabilities === |
| 20362 |
|
| 20363 |
// wrapper function for command vkGetPhysicalDeviceExternalSemaphorePropertiesKHR, see |
| 20364 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html |
| 20365 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalSemaphoreProperties |
| 20366 |
PhysicalDevice::getExternalSemaphorePropertiesKHR( const PhysicalDeviceExternalSemaphoreInfo & externalSemaphoreInfo ) const VULKAN_HPP_NOEXCEPT |
| 20367 |
{ |
| 20368 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalSemaphorePropertiesKHR && |
| 20369 |
"Function <vkGetPhysicalDeviceExternalSemaphorePropertiesKHR> requires <VK_KHR_external_semaphore_capabilities> or <VK_VERSION_1_1>" ); |
| 20370 |
|
| 20371 |
ExternalSemaphoreProperties externalSemaphoreProperties; |
| 20372 |
getDispatcher()->vkGetPhysicalDeviceExternalSemaphorePropertiesKHR( |
| 20373 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20374 |
reinterpret_cast<const VkPhysicalDeviceExternalSemaphoreInfo *>( &externalSemaphoreInfo ), |
| 20375 |
reinterpret_cast<VkExternalSemaphoreProperties *>( &externalSemaphoreProperties ) ); |
| 20376 |
|
| 20377 |
return externalSemaphoreProperties; |
| 20378 |
} |
| 20379 |
|
| 20380 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 20381 |
//=== VK_KHR_external_semaphore_win32 === |
| 20382 |
|
| 20383 |
// wrapper function for command vkImportSemaphoreWin32HandleKHR, see |
| 20384 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreWin32HandleKHR.html |
| 20385 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 20386 |
Device::importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo ) const |
| 20387 |
{ |
| 20388 |
VULKAN_HPP_ASSERT( getDispatcher()->vkImportSemaphoreWin32HandleKHR && |
| 20389 |
"Function <vkImportSemaphoreWin32HandleKHR> requires <VK_KHR_external_semaphore_win32>" ); |
| 20390 |
|
| 20391 |
Result result = static_cast<Result>( getDispatcher()->vkImportSemaphoreWin32HandleKHR( |
| 20392 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImportSemaphoreWin32HandleInfoKHR *>( &importSemaphoreWin32HandleInfo ) ) ); |
| 20393 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::importSemaphoreWin32HandleKHR" ); |
| 20394 |
|
| 20395 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 20396 |
} |
| 20397 |
|
| 20398 |
// wrapper function for command vkGetSemaphoreWin32HandleKHR, see |
| 20399 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreWin32HandleKHR.html |
| 20400 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HANDLE>::type |
| 20401 |
Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo ) const |
| 20402 |
{ |
| 20403 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSemaphoreWin32HandleKHR && |
| 20404 |
"Function <vkGetSemaphoreWin32HandleKHR> requires <VK_KHR_external_semaphore_win32>" ); |
| 20405 |
|
| 20406 |
HANDLE handle; |
| 20407 |
Result result = static_cast<Result>( getDispatcher()->vkGetSemaphoreWin32HandleKHR( |
| 20408 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreGetWin32HandleInfoKHR *>( &getWin32HandleInfo ), &handle ) ); |
| 20409 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getSemaphoreWin32HandleKHR" ); |
| 20410 |
|
| 20411 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( handle ) ); |
| 20412 |
} |
| 20413 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 20414 |
|
| 20415 |
//=== VK_KHR_external_semaphore_fd === |
| 20416 |
|
| 20417 |
// wrapper function for command vkImportSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreFdKHR.html |
| 20418 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo ) const |
| 20419 |
{ |
| 20420 |
VULKAN_HPP_ASSERT( getDispatcher()->vkImportSemaphoreFdKHR && "Function <vkImportSemaphoreFdKHR> requires <VK_KHR_external_semaphore_fd>" ); |
| 20421 |
|
| 20422 |
Result result = static_cast<Result>( getDispatcher()->vkImportSemaphoreFdKHR( |
| 20423 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImportSemaphoreFdInfoKHR *>( &importSemaphoreFdInfo ) ) ); |
| 20424 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::importSemaphoreFdKHR" ); |
| 20425 |
|
| 20426 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 20427 |
} |
| 20428 |
|
| 20429 |
// wrapper function for command vkGetSemaphoreFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreFdKHR.html |
| 20430 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<int>::type Device::getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo ) const |
| 20431 |
{ |
| 20432 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSemaphoreFdKHR && "Function <vkGetSemaphoreFdKHR> requires <VK_KHR_external_semaphore_fd>" ); |
| 20433 |
|
| 20434 |
int fd; |
| 20435 |
Result result = static_cast<Result>( |
| 20436 |
getDispatcher()->vkGetSemaphoreFdKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreGetFdInfoKHR *>( &getFdInfo ), &fd ) ); |
| 20437 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getSemaphoreFdKHR" ); |
| 20438 |
|
| 20439 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( fd ) ); |
| 20440 |
} |
| 20441 |
|
| 20442 |
//=== VK_KHR_push_descriptor === |
| 20443 |
|
| 20444 |
// wrapper function for command vkCmdPushDescriptorSetKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetKHR.html |
| 20445 |
VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetKHR( PipelineBindPoint pipelineBindPoint, |
| 20446 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 20447 |
uint32_t set, |
| 20448 |
ArrayProxy<const WriteDescriptorSet> const & descriptorWrites ) const VULKAN_HPP_NOEXCEPT |
| 20449 |
{ |
| 20450 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDescriptorSetKHR && |
| 20451 |
"Function <vkCmdPushDescriptorSetKHR> requires <VK_KHR_push_descriptor> or <VK_VERSION_1_4>" ); |
| 20452 |
|
| 20453 |
getDispatcher()->vkCmdPushDescriptorSetKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20454 |
static_cast<VkPipelineBindPoint>( pipelineBindPoint ), |
| 20455 |
static_cast<VkPipelineLayout>( layout ), |
| 20456 |
set, |
| 20457 |
descriptorWrites.size(), |
| 20458 |
reinterpret_cast<const VkWriteDescriptorSet *>( descriptorWrites.data() ) ); |
| 20459 |
} |
| 20460 |
|
| 20461 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplateKHR, see |
| 20462 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html |
| 20463 |
template <typename DataType> |
| 20464 |
VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSetWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 20465 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 20466 |
uint32_t set, |
| 20467 |
DataType const & data ) const VULKAN_HPP_NOEXCEPT |
| 20468 |
{ |
| 20469 |
VULKAN_HPP_ASSERT( |
| 20470 |
getDispatcher()->vkCmdPushDescriptorSetWithTemplateKHR && |
| 20471 |
"Function <vkCmdPushDescriptorSetWithTemplateKHR> requires <VK_KHR_descriptor_update_template> or <VK_KHR_push_descriptor> or <VK_VERSION_1_4>" ); |
| 20472 |
|
| 20473 |
getDispatcher()->vkCmdPushDescriptorSetWithTemplateKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20474 |
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), |
| 20475 |
static_cast<VkPipelineLayout>( layout ), |
| 20476 |
set, |
| 20477 |
reinterpret_cast<const void *>( &data ) ); |
| 20478 |
} |
| 20479 |
|
| 20480 |
//=== VK_EXT_conditional_rendering === |
| 20481 |
|
| 20482 |
// wrapper function for command vkCmdBeginConditionalRenderingEXT, see |
| 20483 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginConditionalRenderingEXT.html |
| 20484 |
VULKAN_HPP_INLINE void |
| 20485 |
CommandBuffer::beginConditionalRenderingEXT( const ConditionalRenderingBeginInfoEXT & conditionalRenderingBegin ) const VULKAN_HPP_NOEXCEPT |
| 20486 |
{ |
| 20487 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginConditionalRenderingEXT && |
| 20488 |
"Function <vkCmdBeginConditionalRenderingEXT> requires <VK_EXT_conditional_rendering>" ); |
| 20489 |
|
| 20490 |
getDispatcher()->vkCmdBeginConditionalRenderingEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20491 |
reinterpret_cast<const VkConditionalRenderingBeginInfoEXT *>( &conditionalRenderingBegin ) ); |
| 20492 |
} |
| 20493 |
|
| 20494 |
// wrapper function for command vkCmdEndConditionalRenderingEXT, see |
| 20495 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndConditionalRenderingEXT.html |
| 20496 |
VULKAN_HPP_INLINE void CommandBuffer::endConditionalRenderingEXT() const VULKAN_HPP_NOEXCEPT |
| 20497 |
{ |
| 20498 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndConditionalRenderingEXT && |
| 20499 |
"Function <vkCmdEndConditionalRenderingEXT> requires <VK_EXT_conditional_rendering>" ); |
| 20500 |
|
| 20501 |
getDispatcher()->vkCmdEndConditionalRenderingEXT( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 20502 |
} |
| 20503 |
|
| 20504 |
//=== VK_KHR_descriptor_update_template === |
| 20505 |
|
| 20506 |
// wrapper function for command vkCreateDescriptorUpdateTemplateKHR, see |
| 20507 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDescriptorUpdateTemplateKHR.html |
| 20508 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DescriptorUpdateTemplate>::type |
| 20509 |
Device::createDescriptorUpdateTemplateKHR( DescriptorUpdateTemplateCreateInfo const & createInfo, |
| 20510 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 20511 |
{ |
| 20512 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDescriptorUpdateTemplateKHR && |
| 20513 |
"Function <vkCreateDescriptorUpdateTemplateKHR> requires <VK_KHR_descriptor_update_template> or <VK_VERSION_1_1>" ); |
| 20514 |
|
| 20515 |
VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate; |
| 20516 |
Result result = static_cast<Result>( |
| 20517 |
getDispatcher()->vkCreateDescriptorUpdateTemplateKHR( static_cast<VkDevice>( m_device ), |
| 20518 |
reinterpret_cast<const VkDescriptorUpdateTemplateCreateInfo *>( &createInfo ), |
| 20519 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 20520 |
reinterpret_cast<VkDescriptorUpdateTemplate *>( &descriptorUpdateTemplate ) ) ); |
| 20521 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDescriptorUpdateTemplateKHR" ); |
| 20522 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 20523 |
result, DescriptorUpdateTemplate( *this, *reinterpret_cast<VkDescriptorUpdateTemplate *>( &descriptorUpdateTemplate ), allocator ) ); |
| 20524 |
} |
| 20525 |
|
| 20526 |
// wrapper function for command vkDestroyDescriptorUpdateTemplateKHR, see |
| 20527 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyDescriptorUpdateTemplateKHR.html |
| 20528 |
VULKAN_HPP_INLINE void Device::destroyDescriptorUpdateTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 20529 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT |
| 20530 |
{ |
| 20531 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDestroyDescriptorUpdateTemplateKHR && |
| 20532 |
"Function <vkDestroyDescriptorUpdateTemplateKHR> requires <VK_KHR_descriptor_update_template> or <VK_VERSION_1_1>" ); |
| 20533 |
|
| 20534 |
getDispatcher()->vkDestroyDescriptorUpdateTemplateKHR( static_cast<VkDevice>( m_device ), |
| 20535 |
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), |
| 20536 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ) ); |
| 20537 |
} |
| 20538 |
|
| 20539 |
// wrapper function for command vkUpdateDescriptorSetWithTemplateKHR, see |
| 20540 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateDescriptorSetWithTemplateKHR.html |
| 20541 |
template <typename DataType> |
| 20542 |
VULKAN_HPP_INLINE void DescriptorSet::updateWithTemplateKHR( VULKAN_HPP_NAMESPACE::DescriptorUpdateTemplate descriptorUpdateTemplate, |
| 20543 |
DataType const & data ) const VULKAN_HPP_NOEXCEPT |
| 20544 |
{ |
| 20545 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateDescriptorSetWithTemplateKHR && |
| 20546 |
"Function <vkUpdateDescriptorSetWithTemplateKHR> requires <VK_KHR_descriptor_update_template> or <VK_VERSION_1_1>" ); |
| 20547 |
|
| 20548 |
getDispatcher()->vkUpdateDescriptorSetWithTemplateKHR( static_cast<VkDevice>( m_device ), |
| 20549 |
static_cast<VkDescriptorSet>( m_descriptorSet ), |
| 20550 |
static_cast<VkDescriptorUpdateTemplate>( descriptorUpdateTemplate ), |
| 20551 |
reinterpret_cast<const void *>( &data ) ); |
| 20552 |
} |
| 20553 |
|
| 20554 |
//=== VK_NV_clip_space_w_scaling === |
| 20555 |
|
| 20556 |
// wrapper function for command vkCmdSetViewportWScalingNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingNV.html |
| 20557 |
VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingNV( uint32_t firstViewport, |
| 20558 |
ArrayProxy<const ViewportWScalingNV> const & viewportWScalings ) const VULKAN_HPP_NOEXCEPT |
| 20559 |
{ |
| 20560 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewportWScalingNV && "Function <vkCmdSetViewportWScalingNV> requires <VK_NV_clip_space_w_scaling>" ); |
| 20561 |
|
| 20562 |
getDispatcher()->vkCmdSetViewportWScalingNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20563 |
firstViewport, |
| 20564 |
viewportWScalings.size(), |
| 20565 |
reinterpret_cast<const VkViewportWScalingNV *>( viewportWScalings.data() ) ); |
| 20566 |
} |
| 20567 |
|
| 20568 |
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT ) |
| 20569 |
//=== VK_EXT_acquire_xlib_display === |
| 20570 |
|
| 20571 |
// wrapper function for command vkAcquireXlibDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireXlibDisplayEXT.html |
| 20572 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type PhysicalDevice::acquireXlibDisplayEXT( Display & dpy, |
| 20573 |
VULKAN_HPP_NAMESPACE::DisplayKHR display ) const |
| 20574 |
{ |
| 20575 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireXlibDisplayEXT && "Function <vkAcquireXlibDisplayEXT> requires <VK_EXT_acquire_xlib_display>" ); |
| 20576 |
|
| 20577 |
Result result = static_cast<Result>( |
| 20578 |
getDispatcher()->vkAcquireXlibDisplayEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), &dpy, static_cast<VkDisplayKHR>( display ) ) ); |
| 20579 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::acquireXlibDisplayEXT" ); |
| 20580 |
|
| 20581 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 20582 |
} |
| 20583 |
|
| 20584 |
// wrapper function for command vkGetRandROutputDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRandROutputDisplayEXT.html |
| 20585 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DisplayKHR>::type |
| 20586 |
PhysicalDevice::getRandROutputDisplayEXT( Display & dpy, RROutput rrOutput ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 20587 |
{ |
| 20588 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRandROutputDisplayEXT && "Function <vkGetRandROutputDisplayEXT> requires <VK_EXT_acquire_xlib_display>" ); |
| 20589 |
|
| 20590 |
VULKAN_HPP_NAMESPACE::DisplayKHR display; |
| 20591 |
Result result = static_cast<Result>( getDispatcher()->vkGetRandROutputDisplayEXT( |
| 20592 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &dpy, rrOutput, reinterpret_cast<VkDisplayKHR *>( &display ) ) ); |
| 20593 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getRandROutputDisplayEXT" ); |
| 20594 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, DisplayKHR( *this, *reinterpret_cast<VkDisplayKHR *>( &display ) ) ); |
| 20595 |
} |
| 20596 |
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/ |
| 20597 |
|
| 20598 |
//=== VK_EXT_display_surface_counter === |
| 20599 |
|
| 20600 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2EXT, see |
| 20601 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html |
| 20602 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceCapabilities2EXT>::type |
| 20603 |
PhysicalDevice::getSurfaceCapabilities2EXT( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const |
| 20604 |
{ |
| 20605 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2EXT && |
| 20606 |
"Function <vkGetPhysicalDeviceSurfaceCapabilities2EXT> requires <VK_EXT_display_surface_counter>" ); |
| 20607 |
|
| 20608 |
SurfaceCapabilities2EXT surfaceCapabilities; |
| 20609 |
Result result = static_cast<Result>( |
| 20610 |
getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2EXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20611 |
static_cast<VkSurfaceKHR>( surface ), |
| 20612 |
reinterpret_cast<VkSurfaceCapabilities2EXT *>( &surfaceCapabilities ) ) ); |
| 20613 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2EXT" ); |
| 20614 |
|
| 20615 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( surfaceCapabilities ) ); |
| 20616 |
} |
| 20617 |
|
| 20618 |
//=== VK_EXT_display_control === |
| 20619 |
|
| 20620 |
// wrapper function for command vkDisplayPowerControlEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDisplayPowerControlEXT.html |
| 20621 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::displayPowerControlEXT( VULKAN_HPP_NAMESPACE::DisplayKHR display, |
| 20622 |
const DisplayPowerInfoEXT & displayPowerInfo ) const |
| 20623 |
{ |
| 20624 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDisplayPowerControlEXT && "Function <vkDisplayPowerControlEXT> requires <VK_EXT_display_control>" ); |
| 20625 |
|
| 20626 |
Result result = static_cast<Result>( getDispatcher()->vkDisplayPowerControlEXT( |
| 20627 |
static_cast<VkDevice>( m_device ), static_cast<VkDisplayKHR>( display ), reinterpret_cast<const VkDisplayPowerInfoEXT *>( &displayPowerInfo ) ) ); |
| 20628 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::displayPowerControlEXT" ); |
| 20629 |
|
| 20630 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 20631 |
} |
| 20632 |
|
| 20633 |
// wrapper function for command vkRegisterDeviceEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDeviceEventEXT.html |
| 20634 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Fence>::type |
| 20635 |
Device::registerEventEXT( DeviceEventInfoEXT const & deviceEventInfo, |
| 20636 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 20637 |
{ |
| 20638 |
VULKAN_HPP_ASSERT( getDispatcher()->vkRegisterDeviceEventEXT && "Function <vkRegisterDeviceEventEXT> requires <VK_EXT_display_control>" ); |
| 20639 |
|
| 20640 |
VULKAN_HPP_NAMESPACE::Fence fence; |
| 20641 |
Result result = static_cast<Result>( getDispatcher()->vkRegisterDeviceEventEXT( static_cast<VkDevice>( m_device ), |
| 20642 |
reinterpret_cast<const VkDeviceEventInfoEXT *>( &deviceEventInfo ), |
| 20643 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 20644 |
reinterpret_cast<VkFence *>( &fence ) ) ); |
| 20645 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::registerEventEXT" ); |
| 20646 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Fence( *this, *reinterpret_cast<VkFence *>( &fence ), allocator ) ); |
| 20647 |
} |
| 20648 |
|
| 20649 |
// wrapper function for command vkRegisterDisplayEventEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterDisplayEventEXT.html |
| 20650 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Fence>::type |
| 20651 |
Device::registerDisplayEventEXT( DisplayKHR const & display, |
| 20652 |
DisplayEventInfoEXT const & displayEventInfo, |
| 20653 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 20654 |
{ |
| 20655 |
VULKAN_HPP_ASSERT( getDispatcher()->vkRegisterDisplayEventEXT && "Function <vkRegisterDisplayEventEXT> requires <VK_EXT_display_control>" ); |
| 20656 |
|
| 20657 |
VULKAN_HPP_NAMESPACE::Fence fence; |
| 20658 |
Result result = static_cast<Result>( getDispatcher()->vkRegisterDisplayEventEXT( static_cast<VkDevice>( m_device ), |
| 20659 |
static_cast<VkDisplayKHR>( *display ), |
| 20660 |
reinterpret_cast<const VkDisplayEventInfoEXT *>( &displayEventInfo ), |
| 20661 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 20662 |
reinterpret_cast<VkFence *>( &fence ) ) ); |
| 20663 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::registerDisplayEventEXT" ); |
| 20664 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Fence( *this, *reinterpret_cast<VkFence *>( &fence ), allocator ) ); |
| 20665 |
} |
| 20666 |
|
| 20667 |
// wrapper function for command vkGetSwapchainCounterEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainCounterEXT.html |
| 20668 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE |
| 20669 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20670 |
ResultValue<uint64_t> |
| 20671 |
# else |
| 20672 |
typename ResultValueType<uint64_t>::type |
| 20673 |
# endif |
| 20674 |
SwapchainKHR::getCounterEXT( SurfaceCounterFlagBitsEXT counter ) const |
| 20675 |
{ |
| 20676 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSwapchainCounterEXT && "Function <vkGetSwapchainCounterEXT> requires <VK_EXT_display_control>" ); |
| 20677 |
|
| 20678 |
uint64_t counterValue; |
| 20679 |
Result result = static_cast<Result>( getDispatcher()->vkGetSwapchainCounterEXT( static_cast<VkDevice>( m_device ), |
| 20680 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 20681 |
static_cast<VkSurfaceCounterFlagBitsEXT>( counter ), |
| 20682 |
&counterValue ) ); |
| 20683 |
|
| 20684 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20685 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 20686 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getCounterEXT", { Result::eSuccess, Result::eErrorOutOfDateKHR } ); |
| 20687 |
# else |
| 20688 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getCounterEXT" ); |
| 20689 |
# endif |
| 20690 |
|
| 20691 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20692 |
return ResultValue<uint64_t>( result, std::move( counterValue ) ); |
| 20693 |
# else |
| 20694 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( counterValue ) ); |
| 20695 |
# endif |
| 20696 |
} |
| 20697 |
|
| 20698 |
//=== VK_GOOGLE_display_timing === |
| 20699 |
|
| 20700 |
// wrapper function for command vkGetRefreshCycleDurationGOOGLE, see |
| 20701 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRefreshCycleDurationGOOGLE.html |
| 20702 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<RefreshCycleDurationGOOGLE>::type SwapchainKHR::getRefreshCycleDurationGOOGLE() const |
| 20703 |
{ |
| 20704 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRefreshCycleDurationGOOGLE && "Function <vkGetRefreshCycleDurationGOOGLE> requires <VK_GOOGLE_display_timing>" ); |
| 20705 |
|
| 20706 |
RefreshCycleDurationGOOGLE displayTimingProperties; |
| 20707 |
Result result = |
| 20708 |
static_cast<Result>( getDispatcher()->vkGetRefreshCycleDurationGOOGLE( static_cast<VkDevice>( m_device ), |
| 20709 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 20710 |
reinterpret_cast<VkRefreshCycleDurationGOOGLE *>( &displayTimingProperties ) ) ); |
| 20711 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getRefreshCycleDurationGOOGLE" ); |
| 20712 |
|
| 20713 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( displayTimingProperties ) ); |
| 20714 |
} |
| 20715 |
|
| 20716 |
// wrapper function for command vkGetPastPresentationTimingGOOGLE, see |
| 20717 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingGOOGLE.html |
| 20718 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE |
| 20719 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20720 |
ResultValue<std::vector<PastPresentationTimingGOOGLE>> |
| 20721 |
# else |
| 20722 |
typename ResultValueType<std::vector<PastPresentationTimingGOOGLE>>::type |
| 20723 |
# endif |
| 20724 |
SwapchainKHR::getPastPresentationTimingGOOGLE() const |
| 20725 |
{ |
| 20726 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPastPresentationTimingGOOGLE && |
| 20727 |
"Function <vkGetPastPresentationTimingGOOGLE> requires <VK_GOOGLE_display_timing>" ); |
| 20728 |
|
| 20729 |
std::vector<PastPresentationTimingGOOGLE> presentationTimings; |
| 20730 |
uint32_t presentationTimingCount; |
| 20731 |
Result result; |
| 20732 |
do |
| 20733 |
{ |
| 20734 |
result = static_cast<Result>( getDispatcher()->vkGetPastPresentationTimingGOOGLE( |
| 20735 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), &presentationTimingCount, nullptr ) ); |
| 20736 |
if ( ( result == Result::eSuccess ) && presentationTimingCount ) |
| 20737 |
{ |
| 20738 |
presentationTimings.resize( presentationTimingCount ); |
| 20739 |
result = static_cast<Result>( |
| 20740 |
getDispatcher()->vkGetPastPresentationTimingGOOGLE( static_cast<VkDevice>( m_device ), |
| 20741 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 20742 |
&presentationTimingCount, |
| 20743 |
reinterpret_cast<VkPastPresentationTimingGOOGLE *>( presentationTimings.data() ) ) ); |
| 20744 |
} |
| 20745 |
} while ( result == Result::eIncomplete ); |
| 20746 |
|
| 20747 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20748 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 20749 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getPastPresentationTimingGOOGLE", |
| 20750 |
{ Result::eSuccess, Result::eIncomplete, Result::eErrorOutOfDateKHR } ); |
| 20751 |
# else |
| 20752 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getPastPresentationTimingGOOGLE" ); |
| 20753 |
# endif |
| 20754 |
|
| 20755 |
VULKAN_HPP_ASSERT( presentationTimingCount <= presentationTimings.size() ); |
| 20756 |
if ( presentationTimingCount < presentationTimings.size() ) |
| 20757 |
{ |
| 20758 |
presentationTimings.resize( presentationTimingCount ); |
| 20759 |
} |
| 20760 |
|
| 20761 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20762 |
return ResultValue<std::vector<PastPresentationTimingGOOGLE>>( result, std::move( presentationTimings ) ); |
| 20763 |
# else |
| 20764 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( presentationTimings ) ); |
| 20765 |
# endif |
| 20766 |
} |
| 20767 |
|
| 20768 |
//=== VK_EXT_discard_rectangles === |
| 20769 |
|
| 20770 |
// wrapper function for command vkCmdSetDiscardRectangleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEXT.html |
| 20771 |
VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEXT( uint32_t firstDiscardRectangle, |
| 20772 |
ArrayProxy<const Rect2D> const & discardRectangles ) const VULKAN_HPP_NOEXCEPT |
| 20773 |
{ |
| 20774 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDiscardRectangleEXT && "Function <vkCmdSetDiscardRectangleEXT> requires <VK_EXT_discard_rectangles>" ); |
| 20775 |
|
| 20776 |
getDispatcher()->vkCmdSetDiscardRectangleEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20777 |
firstDiscardRectangle, |
| 20778 |
discardRectangles.size(), |
| 20779 |
reinterpret_cast<const VkRect2D *>( discardRectangles.data() ) ); |
| 20780 |
} |
| 20781 |
|
| 20782 |
// wrapper function for command vkCmdSetDiscardRectangleEnableEXT, see |
| 20783 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleEnableEXT.html |
| 20784 |
VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleEnableEXT( Bool32 discardRectangleEnable ) const VULKAN_HPP_NOEXCEPT |
| 20785 |
{ |
| 20786 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDiscardRectangleEnableEXT && |
| 20787 |
"Function <vkCmdSetDiscardRectangleEnableEXT> requires <VK_EXT_discard_rectangles>" ); |
| 20788 |
|
| 20789 |
getDispatcher()->vkCmdSetDiscardRectangleEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( discardRectangleEnable ) ); |
| 20790 |
} |
| 20791 |
|
| 20792 |
// wrapper function for command vkCmdSetDiscardRectangleModeEXT, see |
| 20793 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDiscardRectangleModeEXT.html |
| 20794 |
VULKAN_HPP_INLINE void CommandBuffer::setDiscardRectangleModeEXT( DiscardRectangleModeEXT discardRectangleMode ) const VULKAN_HPP_NOEXCEPT |
| 20795 |
{ |
| 20796 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDiscardRectangleModeEXT && |
| 20797 |
"Function <vkCmdSetDiscardRectangleModeEXT> requires <VK_EXT_discard_rectangles>" ); |
| 20798 |
|
| 20799 |
getDispatcher()->vkCmdSetDiscardRectangleModeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20800 |
static_cast<VkDiscardRectangleModeEXT>( discardRectangleMode ) ); |
| 20801 |
} |
| 20802 |
|
| 20803 |
//=== VK_EXT_hdr_metadata === |
| 20804 |
|
| 20805 |
// wrapper function for command vkSetHdrMetadataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetHdrMetadataEXT.html |
| 20806 |
VULKAN_HPP_INLINE void Device::setHdrMetadataEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::SwapchainKHR> const & swapchains, |
| 20807 |
ArrayProxy<const HdrMetadataEXT> const & metadata ) const |
| 20808 |
{ |
| 20809 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetHdrMetadataEXT && "Function <vkSetHdrMetadataEXT> requires <VK_EXT_hdr_metadata>" ); |
| 20810 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 20811 |
VULKAN_HPP_ASSERT( swapchains.size() == metadata.size() ); |
| 20812 |
# else |
| 20813 |
if ( swapchains.size() != metadata.size() ) |
| 20814 |
{ |
| 20815 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::setHdrMetadataEXT: swapchains.size() != metadata.size()" ); |
| 20816 |
} |
| 20817 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 20818 |
|
| 20819 |
getDispatcher()->vkSetHdrMetadataEXT( static_cast<VkDevice>( m_device ), |
| 20820 |
swapchains.size(), |
| 20821 |
reinterpret_cast<const VkSwapchainKHR *>( swapchains.data() ), |
| 20822 |
reinterpret_cast<const VkHdrMetadataEXT *>( metadata.data() ) ); |
| 20823 |
} |
| 20824 |
|
| 20825 |
//=== VK_KHR_create_renderpass2 === |
| 20826 |
|
| 20827 |
// wrapper function for command vkCreateRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRenderPass2KHR.html |
| 20828 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<RenderPass>::type |
| 20829 |
Device::createRenderPass2KHR( RenderPassCreateInfo2 const & createInfo, |
| 20830 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 20831 |
{ |
| 20832 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRenderPass2KHR && |
| 20833 |
"Function <vkCreateRenderPass2KHR> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 20834 |
|
| 20835 |
VULKAN_HPP_NAMESPACE::RenderPass renderPass; |
| 20836 |
Result result = static_cast<Result>( getDispatcher()->vkCreateRenderPass2KHR( static_cast<VkDevice>( m_device ), |
| 20837 |
reinterpret_cast<const VkRenderPassCreateInfo2 *>( &createInfo ), |
| 20838 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 20839 |
reinterpret_cast<VkRenderPass *>( &renderPass ) ) ); |
| 20840 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRenderPass2KHR" ); |
| 20841 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, RenderPass( *this, *reinterpret_cast<VkRenderPass *>( &renderPass ), allocator ) ); |
| 20842 |
} |
| 20843 |
|
| 20844 |
// wrapper function for command vkCmdBeginRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginRenderPass2KHR.html |
| 20845 |
VULKAN_HPP_INLINE void CommandBuffer::beginRenderPass2KHR( const RenderPassBeginInfo & renderPassBegin, |
| 20846 |
const SubpassBeginInfo & subpassBeginInfo ) const VULKAN_HPP_NOEXCEPT |
| 20847 |
{ |
| 20848 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginRenderPass2KHR && |
| 20849 |
"Function <vkCmdBeginRenderPass2KHR> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 20850 |
|
| 20851 |
getDispatcher()->vkCmdBeginRenderPass2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20852 |
reinterpret_cast<const VkRenderPassBeginInfo *>( &renderPassBegin ), |
| 20853 |
reinterpret_cast<const VkSubpassBeginInfo *>( &subpassBeginInfo ) ); |
| 20854 |
} |
| 20855 |
|
| 20856 |
// wrapper function for command vkCmdNextSubpass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdNextSubpass2KHR.html |
| 20857 |
VULKAN_HPP_INLINE void CommandBuffer::nextSubpass2KHR( const SubpassBeginInfo & subpassBeginInfo, |
| 20858 |
const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 20859 |
{ |
| 20860 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdNextSubpass2KHR && "Function <vkCmdNextSubpass2KHR> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 20861 |
|
| 20862 |
getDispatcher()->vkCmdNextSubpass2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 20863 |
reinterpret_cast<const VkSubpassBeginInfo *>( &subpassBeginInfo ), |
| 20864 |
reinterpret_cast<const VkSubpassEndInfo *>( &subpassEndInfo ) ); |
| 20865 |
} |
| 20866 |
|
| 20867 |
// wrapper function for command vkCmdEndRenderPass2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRenderPass2KHR.html |
| 20868 |
VULKAN_HPP_INLINE void CommandBuffer::endRenderPass2KHR( const SubpassEndInfo & subpassEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 20869 |
{ |
| 20870 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRenderPass2KHR && |
| 20871 |
"Function <vkCmdEndRenderPass2KHR> requires <VK_KHR_create_renderpass2> or <VK_VERSION_1_2>" ); |
| 20872 |
|
| 20873 |
getDispatcher()->vkCmdEndRenderPass2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkSubpassEndInfo *>( &subpassEndInfo ) ); |
| 20874 |
} |
| 20875 |
|
| 20876 |
//=== VK_KHR_shared_presentable_image === |
| 20877 |
|
| 20878 |
// wrapper function for command vkGetSwapchainStatusKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainStatusKHR.html |
| 20879 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result SwapchainKHR::getStatus() const |
| 20880 |
{ |
| 20881 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSwapchainStatusKHR && "Function <vkGetSwapchainStatusKHR> requires <VK_KHR_shared_presentable_image>" ); |
| 20882 |
|
| 20883 |
Result result = |
| 20884 |
static_cast<Result>( getDispatcher()->vkGetSwapchainStatusKHR( static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ) ) ); |
| 20885 |
|
| 20886 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 20887 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 20888 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getStatus", { Result::eSuccess, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); |
| 20889 |
# else |
| 20890 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 20891 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getStatus", { Result::eSuccess, Result::eSuboptimalKHR } ); |
| 20892 |
# endif |
| 20893 |
|
| 20894 |
return static_cast<Result>( result ); |
| 20895 |
} |
| 20896 |
|
| 20897 |
//=== VK_KHR_external_fence_capabilities === |
| 20898 |
|
| 20899 |
// wrapper function for command vkGetPhysicalDeviceExternalFencePropertiesKHR, see |
| 20900 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html |
| 20901 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalFenceProperties |
| 20902 |
PhysicalDevice::getExternalFencePropertiesKHR( const PhysicalDeviceExternalFenceInfo & externalFenceInfo ) const VULKAN_HPP_NOEXCEPT |
| 20903 |
{ |
| 20904 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalFencePropertiesKHR && |
| 20905 |
"Function <vkGetPhysicalDeviceExternalFencePropertiesKHR> requires <VK_KHR_external_fence_capabilities> or <VK_VERSION_1_1>" ); |
| 20906 |
|
| 20907 |
ExternalFenceProperties externalFenceProperties; |
| 20908 |
getDispatcher()->vkGetPhysicalDeviceExternalFencePropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20909 |
reinterpret_cast<const VkPhysicalDeviceExternalFenceInfo *>( &externalFenceInfo ), |
| 20910 |
reinterpret_cast<VkExternalFenceProperties *>( &externalFenceProperties ) ); |
| 20911 |
|
| 20912 |
return externalFenceProperties; |
| 20913 |
} |
| 20914 |
|
| 20915 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 20916 |
//=== VK_KHR_external_fence_win32 === |
| 20917 |
|
| 20918 |
// wrapper function for command vkImportFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceWin32HandleKHR.html |
| 20919 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 20920 |
Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo ) const |
| 20921 |
{ |
| 20922 |
VULKAN_HPP_ASSERT( getDispatcher()->vkImportFenceWin32HandleKHR && "Function <vkImportFenceWin32HandleKHR> requires <VK_KHR_external_fence_win32>" ); |
| 20923 |
|
| 20924 |
Result result = static_cast<Result>( getDispatcher()->vkImportFenceWin32HandleKHR( |
| 20925 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImportFenceWin32HandleInfoKHR *>( &importFenceWin32HandleInfo ) ) ); |
| 20926 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::importFenceWin32HandleKHR" ); |
| 20927 |
|
| 20928 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 20929 |
} |
| 20930 |
|
| 20931 |
// wrapper function for command vkGetFenceWin32HandleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceWin32HandleKHR.html |
| 20932 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HANDLE>::type |
| 20933 |
Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo ) const |
| 20934 |
{ |
| 20935 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetFenceWin32HandleKHR && "Function <vkGetFenceWin32HandleKHR> requires <VK_KHR_external_fence_win32>" ); |
| 20936 |
|
| 20937 |
HANDLE handle; |
| 20938 |
Result result = static_cast<Result>( getDispatcher()->vkGetFenceWin32HandleKHR( |
| 20939 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkFenceGetWin32HandleInfoKHR *>( &getWin32HandleInfo ), &handle ) ); |
| 20940 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getFenceWin32HandleKHR" ); |
| 20941 |
|
| 20942 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( handle ) ); |
| 20943 |
} |
| 20944 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 20945 |
|
| 20946 |
//=== VK_KHR_external_fence_fd === |
| 20947 |
|
| 20948 |
// wrapper function for command vkImportFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportFenceFdKHR.html |
| 20949 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo ) const |
| 20950 |
{ |
| 20951 |
VULKAN_HPP_ASSERT( getDispatcher()->vkImportFenceFdKHR && "Function <vkImportFenceFdKHR> requires <VK_KHR_external_fence_fd>" ); |
| 20952 |
|
| 20953 |
Result result = static_cast<Result>( |
| 20954 |
getDispatcher()->vkImportFenceFdKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImportFenceFdInfoKHR *>( &importFenceFdInfo ) ) ); |
| 20955 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::importFenceFdKHR" ); |
| 20956 |
|
| 20957 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 20958 |
} |
| 20959 |
|
| 20960 |
// wrapper function for command vkGetFenceFdKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFenceFdKHR.html |
| 20961 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<int>::type Device::getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo ) const |
| 20962 |
{ |
| 20963 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetFenceFdKHR && "Function <vkGetFenceFdKHR> requires <VK_KHR_external_fence_fd>" ); |
| 20964 |
|
| 20965 |
int fd; |
| 20966 |
Result result = static_cast<Result>( |
| 20967 |
getDispatcher()->vkGetFenceFdKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkFenceGetFdInfoKHR *>( &getFdInfo ), &fd ) ); |
| 20968 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getFenceFdKHR" ); |
| 20969 |
|
| 20970 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( fd ) ); |
| 20971 |
} |
| 20972 |
|
| 20973 |
//=== VK_KHR_performance_query === |
| 20974 |
|
| 20975 |
// wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR, see |
| 20976 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR.html |
| 20977 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE |
| 20978 |
typename ResultValueType<std::pair<std::vector<PerformanceCounterKHR>, std::vector<PerformanceCounterDescriptionKHR>>>::type |
| 20979 |
PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR( uint32_t queueFamilyIndex ) const |
| 20980 |
{ |
| 20981 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR && |
| 20982 |
"Function <vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR> requires <VK_KHR_performance_query>" ); |
| 20983 |
|
| 20984 |
std::pair<std::vector<PerformanceCounterKHR>, std::vector<PerformanceCounterDescriptionKHR>> data_; |
| 20985 |
std::vector<PerformanceCounterKHR> & counters = data_.first; |
| 20986 |
std::vector<PerformanceCounterDescriptionKHR> & counterDescriptions = data_.second; |
| 20987 |
uint32_t counterCount; |
| 20988 |
Result result; |
| 20989 |
do |
| 20990 |
{ |
| 20991 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( |
| 20992 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); |
| 20993 |
if ( ( result == Result::eSuccess ) && counterCount ) |
| 20994 |
{ |
| 20995 |
counters.resize( counterCount ); |
| 20996 |
counterDescriptions.resize( counterCount ); |
| 20997 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDeviceQueueFamilyPerformanceQueryCountersKHR( |
| 20998 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 20999 |
queueFamilyIndex, |
| 21000 |
&counterCount, |
| 21001 |
reinterpret_cast<VkPerformanceCounterKHR *>( counters.data() ), |
| 21002 |
reinterpret_cast<VkPerformanceCounterDescriptionKHR *>( counterDescriptions.data() ) ) ); |
| 21003 |
} |
| 21004 |
} while ( result == Result::eIncomplete ); |
| 21005 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::enumerateQueueFamilyPerformanceQueryCountersKHR" ); |
| 21006 |
VULKAN_HPP_ASSERT( counterCount <= counters.size() ); |
| 21007 |
if ( counterCount < counters.size() ) |
| 21008 |
{ |
| 21009 |
counters.resize( counterCount ); |
| 21010 |
counterDescriptions.resize( counterCount ); |
| 21011 |
} |
| 21012 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 21013 |
} |
| 21014 |
|
| 21015 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR, see |
| 21016 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR.html |
| 21017 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint32_t |
| 21018 |
PhysicalDevice::getQueueFamilyPerformanceQueryPassesKHR( const QueryPoolPerformanceCreateInfoKHR & performanceQueryCreateInfo ) const VULKAN_HPP_NOEXCEPT |
| 21019 |
{ |
| 21020 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR && |
| 21021 |
"Function <vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR> requires <VK_KHR_performance_query>" ); |
| 21022 |
|
| 21023 |
uint32_t numPasses; |
| 21024 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyPerformanceQueryPassesKHR( |
| 21025 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21026 |
reinterpret_cast<const VkQueryPoolPerformanceCreateInfoKHR *>( &performanceQueryCreateInfo ), |
| 21027 |
&numPasses ); |
| 21028 |
|
| 21029 |
return numPasses; |
| 21030 |
} |
| 21031 |
|
| 21032 |
// wrapper function for command vkAcquireProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireProfilingLockKHR.html |
| 21033 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::acquireProfilingLockKHR( const AcquireProfilingLockInfoKHR & info ) const |
| 21034 |
{ |
| 21035 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireProfilingLockKHR && "Function <vkAcquireProfilingLockKHR> requires <VK_KHR_performance_query>" ); |
| 21036 |
|
| 21037 |
Result result = static_cast<Result>( |
| 21038 |
getDispatcher()->vkAcquireProfilingLockKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAcquireProfilingLockInfoKHR *>( &info ) ) ); |
| 21039 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::acquireProfilingLockKHR" ); |
| 21040 |
|
| 21041 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 21042 |
} |
| 21043 |
|
| 21044 |
// wrapper function for command vkReleaseProfilingLockKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseProfilingLockKHR.html |
| 21045 |
VULKAN_HPP_INLINE void Device::releaseProfilingLockKHR() const VULKAN_HPP_NOEXCEPT |
| 21046 |
{ |
| 21047 |
VULKAN_HPP_ASSERT( getDispatcher()->vkReleaseProfilingLockKHR && "Function <vkReleaseProfilingLockKHR> requires <VK_KHR_performance_query>" ); |
| 21048 |
|
| 21049 |
getDispatcher()->vkReleaseProfilingLockKHR( static_cast<VkDevice>( m_device ) ); |
| 21050 |
} |
| 21051 |
|
| 21052 |
//=== VK_KHR_get_surface_capabilities2 === |
| 21053 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see |
| 21054 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html |
| 21055 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result PhysicalDevice::getSurfaceCapabilities2KHR( |
| 21056 |
const PhysicalDeviceSurfaceInfo2KHR * pSurfaceInfo, SurfaceCapabilities2KHR * pSurfaceCapabilities ) const VULKAN_HPP_NOEXCEPT |
| 21057 |
{ |
| 21058 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2KHR && |
| 21059 |
"Function <vkGetPhysicalDeviceSurfaceCapabilities2KHR> requires <VK_KHR_get_surface_capabilities2>" ); |
| 21060 |
return static_cast<Result>( |
| 21061 |
getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21062 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( pSurfaceInfo ), |
| 21063 |
reinterpret_cast<VkSurfaceCapabilities2KHR *>( pSurfaceCapabilities ) ) ); |
| 21064 |
} |
| 21065 |
|
| 21066 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see |
| 21067 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html |
| 21068 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceCapabilities2KHR>::type |
| 21069 |
PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const |
| 21070 |
{ |
| 21071 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2KHR && |
| 21072 |
"Function <vkGetPhysicalDeviceSurfaceCapabilities2KHR> requires <VK_KHR_get_surface_capabilities2>" ); |
| 21073 |
|
| 21074 |
SurfaceCapabilities2KHR surfaceCapabilities; |
| 21075 |
Result result = static_cast<Result>( |
| 21076 |
getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21077 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 21078 |
reinterpret_cast<VkSurfaceCapabilities2KHR *>( &surfaceCapabilities ) ) ); |
| 21079 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); |
| 21080 |
|
| 21081 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( surfaceCapabilities ) ); |
| 21082 |
} |
| 21083 |
|
| 21084 |
// wrapper function for command vkGetPhysicalDeviceSurfaceCapabilities2KHR, see |
| 21085 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html |
| 21086 |
template <typename X, typename Y, typename... Z> |
| 21087 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 21088 |
PhysicalDevice::getSurfaceCapabilities2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const |
| 21089 |
{ |
| 21090 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2KHR && |
| 21091 |
"Function <vkGetPhysicalDeviceSurfaceCapabilities2KHR> requires <VK_KHR_get_surface_capabilities2>" ); |
| 21092 |
|
| 21093 |
StructureChain<X, Y, Z...> structureChain; |
| 21094 |
SurfaceCapabilities2KHR & surfaceCapabilities = structureChain.template get<SurfaceCapabilities2KHR>(); |
| 21095 |
Result result = static_cast<Result>( |
| 21096 |
getDispatcher()->vkGetPhysicalDeviceSurfaceCapabilities2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21097 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 21098 |
reinterpret_cast<VkSurfaceCapabilities2KHR *>( &surfaceCapabilities ) ) ); |
| 21099 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceCapabilities2KHR" ); |
| 21100 |
|
| 21101 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 21102 |
} |
| 21103 |
|
| 21104 |
// wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see |
| 21105 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html |
| 21106 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<SurfaceFormat2KHR>>::type |
| 21107 |
PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const |
| 21108 |
{ |
| 21109 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceFormats2KHR && |
| 21110 |
"Function <vkGetPhysicalDeviceSurfaceFormats2KHR> requires <VK_KHR_get_surface_capabilities2>" ); |
| 21111 |
|
| 21112 |
std::vector<SurfaceFormat2KHR> surfaceFormats; |
| 21113 |
uint32_t surfaceFormatCount; |
| 21114 |
Result result; |
| 21115 |
do |
| 21116 |
{ |
| 21117 |
result = static_cast<Result>( |
| 21118 |
getDispatcher()->vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21119 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 21120 |
&surfaceFormatCount, |
| 21121 |
nullptr ) ); |
| 21122 |
if ( ( result == Result::eSuccess ) && surfaceFormatCount ) |
| 21123 |
{ |
| 21124 |
surfaceFormats.resize( surfaceFormatCount ); |
| 21125 |
result = static_cast<Result>( |
| 21126 |
getDispatcher()->vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21127 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 21128 |
&surfaceFormatCount, |
| 21129 |
reinterpret_cast<VkSurfaceFormat2KHR *>( surfaceFormats.data() ) ) ); |
| 21130 |
} |
| 21131 |
} while ( result == Result::eIncomplete ); |
| 21132 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormats2KHR" ); |
| 21133 |
VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); |
| 21134 |
if ( surfaceFormatCount < surfaceFormats.size() ) |
| 21135 |
{ |
| 21136 |
surfaceFormats.resize( surfaceFormatCount ); |
| 21137 |
} |
| 21138 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( surfaceFormats ) ); |
| 21139 |
} |
| 21140 |
|
| 21141 |
// wrapper function for command vkGetPhysicalDeviceSurfaceFormats2KHR, see |
| 21142 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html |
| 21143 |
template <typename StructureChain> |
| 21144 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<StructureChain>>::type |
| 21145 |
PhysicalDevice::getSurfaceFormats2KHR( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const |
| 21146 |
{ |
| 21147 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfaceFormats2KHR && |
| 21148 |
"Function <vkGetPhysicalDeviceSurfaceFormats2KHR> requires <VK_KHR_get_surface_capabilities2>" ); |
| 21149 |
|
| 21150 |
std::vector<StructureChain> structureChains; |
| 21151 |
std::vector<SurfaceFormat2KHR> surfaceFormats; |
| 21152 |
uint32_t surfaceFormatCount; |
| 21153 |
Result result; |
| 21154 |
do |
| 21155 |
{ |
| 21156 |
result = static_cast<Result>( |
| 21157 |
getDispatcher()->vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21158 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 21159 |
&surfaceFormatCount, |
| 21160 |
nullptr ) ); |
| 21161 |
if ( ( result == Result::eSuccess ) && surfaceFormatCount ) |
| 21162 |
{ |
| 21163 |
structureChains.resize( surfaceFormatCount ); |
| 21164 |
surfaceFormats.resize( surfaceFormatCount ); |
| 21165 |
for ( uint32_t i = 0; i < surfaceFormatCount; i++ ) |
| 21166 |
{ |
| 21167 |
surfaceFormats[i].pNext = structureChains[i].template get<SurfaceFormat2KHR>().pNext; |
| 21168 |
} |
| 21169 |
result = static_cast<Result>( |
| 21170 |
getDispatcher()->vkGetPhysicalDeviceSurfaceFormats2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21171 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 21172 |
&surfaceFormatCount, |
| 21173 |
reinterpret_cast<VkSurfaceFormat2KHR *>( surfaceFormats.data() ) ) ); |
| 21174 |
} |
| 21175 |
} while ( result == Result::eIncomplete ); |
| 21176 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfaceFormats2KHR" ); |
| 21177 |
VULKAN_HPP_ASSERT( surfaceFormatCount <= surfaceFormats.size() ); |
| 21178 |
if ( surfaceFormatCount < surfaceFormats.size() ) |
| 21179 |
{ |
| 21180 |
structureChains.resize( surfaceFormatCount ); |
| 21181 |
} |
| 21182 |
for ( uint32_t i = 0; i < surfaceFormatCount; i++ ) |
| 21183 |
{ |
| 21184 |
structureChains[i].template get<SurfaceFormat2KHR>() = surfaceFormats[i]; |
| 21185 |
} |
| 21186 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChains ) ); |
| 21187 |
} |
| 21188 |
|
| 21189 |
//=== VK_KHR_get_display_properties2 === |
| 21190 |
|
| 21191 |
// wrapper function for command vkGetPhysicalDeviceDisplayProperties2KHR, see |
| 21192 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html |
| 21193 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayProperties2KHR>>::type PhysicalDevice::getDisplayProperties2KHR() const |
| 21194 |
{ |
| 21195 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceDisplayProperties2KHR && |
| 21196 |
"Function <vkGetPhysicalDeviceDisplayProperties2KHR> requires <VK_KHR_get_display_properties2>" ); |
| 21197 |
|
| 21198 |
std::vector<DisplayProperties2KHR> properties; |
| 21199 |
uint32_t propertyCount; |
| 21200 |
Result result; |
| 21201 |
do |
| 21202 |
{ |
| 21203 |
result = static_cast<Result>( |
| 21204 |
getDispatcher()->vkGetPhysicalDeviceDisplayProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 21205 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 21206 |
{ |
| 21207 |
properties.resize( propertyCount ); |
| 21208 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceDisplayProperties2KHR( |
| 21209 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkDisplayProperties2KHR *>( properties.data() ) ) ); |
| 21210 |
} |
| 21211 |
} while ( result == Result::eIncomplete ); |
| 21212 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDisplayProperties2KHR" ); |
| 21213 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 21214 |
if ( propertyCount < properties.size() ) |
| 21215 |
{ |
| 21216 |
properties.resize( propertyCount ); |
| 21217 |
} |
| 21218 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 21219 |
} |
| 21220 |
|
| 21221 |
// wrapper function for command vkGetPhysicalDeviceDisplayPlaneProperties2KHR, see |
| 21222 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html |
| 21223 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayPlaneProperties2KHR>>::type |
| 21224 |
PhysicalDevice::getDisplayPlaneProperties2KHR() const |
| 21225 |
{ |
| 21226 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceDisplayPlaneProperties2KHR && |
| 21227 |
"Function <vkGetPhysicalDeviceDisplayPlaneProperties2KHR> requires <VK_KHR_get_display_properties2>" ); |
| 21228 |
|
| 21229 |
std::vector<DisplayPlaneProperties2KHR> properties; |
| 21230 |
uint32_t propertyCount; |
| 21231 |
Result result; |
| 21232 |
do |
| 21233 |
{ |
| 21234 |
result = static_cast<Result>( |
| 21235 |
getDispatcher()->vkGetPhysicalDeviceDisplayPlaneProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 21236 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 21237 |
{ |
| 21238 |
properties.resize( propertyCount ); |
| 21239 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceDisplayPlaneProperties2KHR( |
| 21240 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkDisplayPlaneProperties2KHR *>( properties.data() ) ) ); |
| 21241 |
} |
| 21242 |
} while ( result == Result::eIncomplete ); |
| 21243 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneProperties2KHR" ); |
| 21244 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 21245 |
if ( propertyCount < properties.size() ) |
| 21246 |
{ |
| 21247 |
properties.resize( propertyCount ); |
| 21248 |
} |
| 21249 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 21250 |
} |
| 21251 |
|
| 21252 |
// wrapper function for command vkGetDisplayModeProperties2KHR, see |
| 21253 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html |
| 21254 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DisplayModeProperties2KHR>>::type DisplayKHR::getModeProperties2() const |
| 21255 |
{ |
| 21256 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDisplayModeProperties2KHR && |
| 21257 |
"Function <vkGetDisplayModeProperties2KHR> requires <VK_KHR_get_display_properties2>" ); |
| 21258 |
|
| 21259 |
std::vector<DisplayModeProperties2KHR> properties; |
| 21260 |
uint32_t propertyCount; |
| 21261 |
Result result; |
| 21262 |
do |
| 21263 |
{ |
| 21264 |
result = static_cast<Result>( getDispatcher()->vkGetDisplayModeProperties2KHR( |
| 21265 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkDisplayKHR>( m_displayKHR ), &propertyCount, nullptr ) ); |
| 21266 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 21267 |
{ |
| 21268 |
properties.resize( propertyCount ); |
| 21269 |
result = |
| 21270 |
static_cast<Result>( getDispatcher()->vkGetDisplayModeProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21271 |
static_cast<VkDisplayKHR>( m_displayKHR ), |
| 21272 |
&propertyCount, |
| 21273 |
reinterpret_cast<VkDisplayModeProperties2KHR *>( properties.data() ) ) ); |
| 21274 |
} |
| 21275 |
} while ( result == Result::eIncomplete ); |
| 21276 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DisplayKHR::getModeProperties2" ); |
| 21277 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 21278 |
if ( propertyCount < properties.size() ) |
| 21279 |
{ |
| 21280 |
properties.resize( propertyCount ); |
| 21281 |
} |
| 21282 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 21283 |
} |
| 21284 |
|
| 21285 |
// wrapper function for command vkGetDisplayModeProperties2KHR, see |
| 21286 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayModeProperties2KHR.html |
| 21287 |
template <typename StructureChain> |
| 21288 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<StructureChain>>::type DisplayKHR::getModeProperties2() const |
| 21289 |
{ |
| 21290 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDisplayModeProperties2KHR && |
| 21291 |
"Function <vkGetDisplayModeProperties2KHR> requires <VK_KHR_get_display_properties2>" ); |
| 21292 |
|
| 21293 |
std::vector<StructureChain> structureChains; |
| 21294 |
std::vector<DisplayModeProperties2KHR> properties; |
| 21295 |
uint32_t propertyCount; |
| 21296 |
Result result; |
| 21297 |
do |
| 21298 |
{ |
| 21299 |
result = static_cast<Result>( getDispatcher()->vkGetDisplayModeProperties2KHR( |
| 21300 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkDisplayKHR>( m_displayKHR ), &propertyCount, nullptr ) ); |
| 21301 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 21302 |
{ |
| 21303 |
structureChains.resize( propertyCount ); |
| 21304 |
properties.resize( propertyCount ); |
| 21305 |
for ( uint32_t i = 0; i < propertyCount; i++ ) |
| 21306 |
{ |
| 21307 |
properties[i].pNext = structureChains[i].template get<DisplayModeProperties2KHR>().pNext; |
| 21308 |
} |
| 21309 |
result = |
| 21310 |
static_cast<Result>( getDispatcher()->vkGetDisplayModeProperties2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21311 |
static_cast<VkDisplayKHR>( m_displayKHR ), |
| 21312 |
&propertyCount, |
| 21313 |
reinterpret_cast<VkDisplayModeProperties2KHR *>( properties.data() ) ) ); |
| 21314 |
} |
| 21315 |
} while ( result == Result::eIncomplete ); |
| 21316 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DisplayKHR::getModeProperties2" ); |
| 21317 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 21318 |
if ( propertyCount < properties.size() ) |
| 21319 |
{ |
| 21320 |
structureChains.resize( propertyCount ); |
| 21321 |
} |
| 21322 |
for ( uint32_t i = 0; i < propertyCount; i++ ) |
| 21323 |
{ |
| 21324 |
structureChains[i].template get<DisplayModeProperties2KHR>() = properties[i]; |
| 21325 |
} |
| 21326 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChains ) ); |
| 21327 |
} |
| 21328 |
|
| 21329 |
// wrapper function for command vkGetDisplayPlaneCapabilities2KHR, see |
| 21330 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDisplayPlaneCapabilities2KHR.html |
| 21331 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DisplayPlaneCapabilities2KHR>::type |
| 21332 |
PhysicalDevice::getDisplayPlaneCapabilities2KHR( const DisplayPlaneInfo2KHR & displayPlaneInfo ) const |
| 21333 |
{ |
| 21334 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDisplayPlaneCapabilities2KHR && |
| 21335 |
"Function <vkGetDisplayPlaneCapabilities2KHR> requires <VK_KHR_get_display_properties2>" ); |
| 21336 |
|
| 21337 |
DisplayPlaneCapabilities2KHR capabilities; |
| 21338 |
Result result = |
| 21339 |
static_cast<Result>( getDispatcher()->vkGetDisplayPlaneCapabilities2KHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21340 |
reinterpret_cast<const VkDisplayPlaneInfo2KHR *>( &displayPlaneInfo ), |
| 21341 |
reinterpret_cast<VkDisplayPlaneCapabilities2KHR *>( &capabilities ) ) ); |
| 21342 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDisplayPlaneCapabilities2KHR" ); |
| 21343 |
|
| 21344 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( capabilities ) ); |
| 21345 |
} |
| 21346 |
|
| 21347 |
# if defined( VK_USE_PLATFORM_IOS_MVK ) |
| 21348 |
//=== VK_MVK_ios_surface === |
| 21349 |
|
| 21350 |
// wrapper function for command vkCreateIOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIOSSurfaceMVK.html |
| 21351 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 21352 |
Instance::createIOSSurfaceMVK( IOSSurfaceCreateInfoMVK const & createInfo, |
| 21353 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 21354 |
{ |
| 21355 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateIOSSurfaceMVK && "Function <vkCreateIOSSurfaceMVK> requires <VK_MVK_ios_surface>" ); |
| 21356 |
|
| 21357 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 21358 |
Result result = static_cast<Result>( getDispatcher()->vkCreateIOSSurfaceMVK( static_cast<VkInstance>( m_instance ), |
| 21359 |
reinterpret_cast<const VkIOSSurfaceCreateInfoMVK *>( &createInfo ), |
| 21360 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 21361 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 21362 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createIOSSurfaceMVK" ); |
| 21363 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 21364 |
} |
| 21365 |
# endif /*VK_USE_PLATFORM_IOS_MVK*/ |
| 21366 |
|
| 21367 |
# if defined( VK_USE_PLATFORM_MACOS_MVK ) |
| 21368 |
//=== VK_MVK_macos_surface === |
| 21369 |
|
| 21370 |
// wrapper function for command vkCreateMacOSSurfaceMVK, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMacOSSurfaceMVK.html |
| 21371 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 21372 |
Instance::createMacOSSurfaceMVK( MacOSSurfaceCreateInfoMVK const & createInfo, |
| 21373 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 21374 |
{ |
| 21375 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateMacOSSurfaceMVK && "Function <vkCreateMacOSSurfaceMVK> requires <VK_MVK_macos_surface>" ); |
| 21376 |
|
| 21377 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 21378 |
Result result = static_cast<Result>( getDispatcher()->vkCreateMacOSSurfaceMVK( static_cast<VkInstance>( m_instance ), |
| 21379 |
reinterpret_cast<const VkMacOSSurfaceCreateInfoMVK *>( &createInfo ), |
| 21380 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 21381 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 21382 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createMacOSSurfaceMVK" ); |
| 21383 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 21384 |
} |
| 21385 |
# endif /*VK_USE_PLATFORM_MACOS_MVK*/ |
| 21386 |
|
| 21387 |
//=== VK_EXT_debug_utils === |
| 21388 |
|
| 21389 |
// wrapper function for command vkSetDebugUtilsObjectNameEXT, see |
| 21390 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html |
| 21391 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::setDebugUtilsObjectNameEXT( const DebugUtilsObjectNameInfoEXT & nameInfo ) const |
| 21392 |
{ |
| 21393 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetDebugUtilsObjectNameEXT && "Function <vkSetDebugUtilsObjectNameEXT> requires <VK_EXT_debug_utils>" ); |
| 21394 |
|
| 21395 |
Result result = static_cast<Result>( getDispatcher()->vkSetDebugUtilsObjectNameEXT( |
| 21396 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDebugUtilsObjectNameInfoEXT *>( &nameInfo ) ) ); |
| 21397 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::setDebugUtilsObjectNameEXT" ); |
| 21398 |
|
| 21399 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 21400 |
} |
| 21401 |
|
| 21402 |
// wrapper function for command vkSetDebugUtilsObjectNameEXT, see |
| 21403 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectNameEXT.html |
| 21404 |
template <typename HandleType> |
| 21405 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::setDebugUtilsObjectNameEXT( HandleType const & handle, std::string const & name ) const |
| 21406 |
{ |
| 21407 |
VULKAN_HPP_STATIC_ASSERT( VULKAN_HPP_NAMESPACE::isVulkanHandleType<HandleType>::value, "HandleType must be a Vulkan handle type" ); |
| 21408 |
// It might be, that neither constructors, nor setters, nor designated initializers are available... need to explicitly set member by member |
| 21409 |
VULKAN_HPP_NAMESPACE::DebugUtilsObjectNameInfoEXT nameInfo; |
| 21410 |
nameInfo.objectType = handle.objectType; |
| 21411 |
nameInfo.objectHandle = reinterpret_cast<uint64_t>( static_cast<typename HandleType::CType>( handle ) ); |
| 21412 |
nameInfo.pObjectName = name.c_str(); |
| 21413 |
return setDebugUtilsObjectNameEXT( nameInfo ); |
| 21414 |
} |
| 21415 |
|
| 21416 |
// wrapper function for command vkSetDebugUtilsObjectTagEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html |
| 21417 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::setDebugUtilsObjectTagEXT( const DebugUtilsObjectTagInfoEXT & tagInfo ) const |
| 21418 |
{ |
| 21419 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetDebugUtilsObjectTagEXT && "Function <vkSetDebugUtilsObjectTagEXT> requires <VK_EXT_debug_utils>" ); |
| 21420 |
|
| 21421 |
Result result = static_cast<Result>( |
| 21422 |
getDispatcher()->vkSetDebugUtilsObjectTagEXT( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDebugUtilsObjectTagInfoEXT *>( &tagInfo ) ) ); |
| 21423 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::setDebugUtilsObjectTagEXT" ); |
| 21424 |
|
| 21425 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 21426 |
} |
| 21427 |
|
| 21428 |
// wrapper function for command vkSetDebugUtilsObjectTagEXT, see |
| 21429 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDebugUtilsObjectTagEXT.html |
| 21430 |
template <typename HandleType, typename TagType> |
| 21431 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 21432 |
Device::setDebugUtilsObjectTagEXT( HandleType const & handle, uint64_t name, TagType const & tag ) const |
| 21433 |
{ |
| 21434 |
VULKAN_HPP_STATIC_ASSERT( VULKAN_HPP_NAMESPACE::isVulkanHandleType<HandleType>::value, "HandleType must be a Vulkan handle type" ); |
| 21435 |
// It might be, that neither constructors, nor setters, nor designated initializers are available... need to explicitly set member by member |
| 21436 |
VULKAN_HPP_NAMESPACE::DebugUtilsObjectTagInfoEXT tagInfo; |
| 21437 |
tagInfo.objectType = handle.objectType; |
| 21438 |
tagInfo.objectHandle = reinterpret_cast<uint64_t>( static_cast<typename HandleType::CType>( handle ) ); |
| 21439 |
tagInfo.tagName = name; |
| 21440 |
tagInfo.tagSize = sizeof( TagType ); |
| 21441 |
tagInfo.pTag = &tag; |
| 21442 |
return setDebugUtilsObjectTagEXT( tagInfo ); |
| 21443 |
} |
| 21444 |
|
| 21445 |
// wrapper function for command vkQueueBeginDebugUtilsLabelEXT, see |
| 21446 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueBeginDebugUtilsLabelEXT.html |
| 21447 |
VULKAN_HPP_INLINE void Queue::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT |
| 21448 |
{ |
| 21449 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueBeginDebugUtilsLabelEXT && "Function <vkQueueBeginDebugUtilsLabelEXT> requires <VK_EXT_debug_utils>" ); |
| 21450 |
|
| 21451 |
getDispatcher()->vkQueueBeginDebugUtilsLabelEXT( static_cast<VkQueue>( m_queue ), reinterpret_cast<const VkDebugUtilsLabelEXT *>( &labelInfo ) ); |
| 21452 |
} |
| 21453 |
|
| 21454 |
// wrapper function for command vkQueueEndDebugUtilsLabelEXT, see |
| 21455 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueEndDebugUtilsLabelEXT.html |
| 21456 |
VULKAN_HPP_INLINE void Queue::endDebugUtilsLabelEXT() const VULKAN_HPP_NOEXCEPT |
| 21457 |
{ |
| 21458 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueEndDebugUtilsLabelEXT && "Function <vkQueueEndDebugUtilsLabelEXT> requires <VK_EXT_debug_utils>" ); |
| 21459 |
|
| 21460 |
getDispatcher()->vkQueueEndDebugUtilsLabelEXT( static_cast<VkQueue>( m_queue ) ); |
| 21461 |
} |
| 21462 |
|
| 21463 |
// wrapper function for command vkQueueInsertDebugUtilsLabelEXT, see |
| 21464 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueInsertDebugUtilsLabelEXT.html |
| 21465 |
VULKAN_HPP_INLINE void Queue::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT |
| 21466 |
{ |
| 21467 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueInsertDebugUtilsLabelEXT && "Function <vkQueueInsertDebugUtilsLabelEXT> requires <VK_EXT_debug_utils>" ); |
| 21468 |
|
| 21469 |
getDispatcher()->vkQueueInsertDebugUtilsLabelEXT( static_cast<VkQueue>( m_queue ), reinterpret_cast<const VkDebugUtilsLabelEXT *>( &labelInfo ) ); |
| 21470 |
} |
| 21471 |
|
| 21472 |
// wrapper function for command vkCmdBeginDebugUtilsLabelEXT, see |
| 21473 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginDebugUtilsLabelEXT.html |
| 21474 |
VULKAN_HPP_INLINE void CommandBuffer::beginDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT |
| 21475 |
{ |
| 21476 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginDebugUtilsLabelEXT && "Function <vkCmdBeginDebugUtilsLabelEXT> requires <VK_EXT_debug_utils>" ); |
| 21477 |
|
| 21478 |
getDispatcher()->vkCmdBeginDebugUtilsLabelEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21479 |
reinterpret_cast<const VkDebugUtilsLabelEXT *>( &labelInfo ) ); |
| 21480 |
} |
| 21481 |
|
| 21482 |
// wrapper function for command vkCmdEndDebugUtilsLabelEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndDebugUtilsLabelEXT.html |
| 21483 |
VULKAN_HPP_INLINE void CommandBuffer::endDebugUtilsLabelEXT() const VULKAN_HPP_NOEXCEPT |
| 21484 |
{ |
| 21485 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndDebugUtilsLabelEXT && "Function <vkCmdEndDebugUtilsLabelEXT> requires <VK_EXT_debug_utils>" ); |
| 21486 |
|
| 21487 |
getDispatcher()->vkCmdEndDebugUtilsLabelEXT( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 21488 |
} |
| 21489 |
|
| 21490 |
// wrapper function for command vkCmdInsertDebugUtilsLabelEXT, see |
| 21491 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInsertDebugUtilsLabelEXT.html |
| 21492 |
VULKAN_HPP_INLINE void CommandBuffer::insertDebugUtilsLabelEXT( const DebugUtilsLabelEXT & labelInfo ) const VULKAN_HPP_NOEXCEPT |
| 21493 |
{ |
| 21494 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdInsertDebugUtilsLabelEXT && "Function <vkCmdInsertDebugUtilsLabelEXT> requires <VK_EXT_debug_utils>" ); |
| 21495 |
|
| 21496 |
getDispatcher()->vkCmdInsertDebugUtilsLabelEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21497 |
reinterpret_cast<const VkDebugUtilsLabelEXT *>( &labelInfo ) ); |
| 21498 |
} |
| 21499 |
|
| 21500 |
// wrapper function for command vkCreateDebugUtilsMessengerEXT, see |
| 21501 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDebugUtilsMessengerEXT.html |
| 21502 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DebugUtilsMessengerEXT>::type |
| 21503 |
Instance::createDebugUtilsMessengerEXT( DebugUtilsMessengerCreateInfoEXT const & createInfo, |
| 21504 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 21505 |
{ |
| 21506 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDebugUtilsMessengerEXT && "Function <vkCreateDebugUtilsMessengerEXT> requires <VK_EXT_debug_utils>" ); |
| 21507 |
|
| 21508 |
VULKAN_HPP_NAMESPACE::DebugUtilsMessengerEXT messenger; |
| 21509 |
Result result = |
| 21510 |
static_cast<Result>( getDispatcher()->vkCreateDebugUtilsMessengerEXT( static_cast<VkInstance>( m_instance ), |
| 21511 |
reinterpret_cast<const VkDebugUtilsMessengerCreateInfoEXT *>( &createInfo ), |
| 21512 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 21513 |
reinterpret_cast<VkDebugUtilsMessengerEXT *>( &messenger ) ) ); |
| 21514 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createDebugUtilsMessengerEXT" ); |
| 21515 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 21516 |
result, DebugUtilsMessengerEXT( *this, *reinterpret_cast<VkDebugUtilsMessengerEXT *>( &messenger ), allocator ) ); |
| 21517 |
} |
| 21518 |
|
| 21519 |
// wrapper function for command vkSubmitDebugUtilsMessageEXT, see |
| 21520 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSubmitDebugUtilsMessageEXT.html |
| 21521 |
VULKAN_HPP_INLINE void Instance::submitDebugUtilsMessageEXT( DebugUtilsMessageSeverityFlagBitsEXT messageSeverity, |
| 21522 |
DebugUtilsMessageTypeFlagsEXT messageTypes, |
| 21523 |
const DebugUtilsMessengerCallbackDataEXT & callbackData ) const VULKAN_HPP_NOEXCEPT |
| 21524 |
{ |
| 21525 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSubmitDebugUtilsMessageEXT && "Function <vkSubmitDebugUtilsMessageEXT> requires <VK_EXT_debug_utils>" ); |
| 21526 |
|
| 21527 |
getDispatcher()->vkSubmitDebugUtilsMessageEXT( static_cast<VkInstance>( m_instance ), |
| 21528 |
static_cast<VkDebugUtilsMessageSeverityFlagBitsEXT>( messageSeverity ), |
| 21529 |
static_cast<VkDebugUtilsMessageTypeFlagsEXT>( messageTypes ), |
| 21530 |
reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT *>( &callbackData ) ); |
| 21531 |
} |
| 21532 |
|
| 21533 |
# if defined( VK_USE_PLATFORM_ANDROID_KHR ) |
| 21534 |
//=== VK_ANDROID_external_memory_android_hardware_buffer === |
| 21535 |
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see |
| 21536 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html |
| 21537 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getAndroidHardwareBufferPropertiesANDROID( |
| 21538 |
const struct AHardwareBuffer * buffer, AndroidHardwareBufferPropertiesANDROID * pProperties ) const VULKAN_HPP_NOEXCEPT |
| 21539 |
{ |
| 21540 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID && |
| 21541 |
"Function <vkGetAndroidHardwareBufferPropertiesANDROID> requires <VK_ANDROID_external_memory_android_hardware_buffer>" ); |
| 21542 |
return static_cast<Result>( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID( |
| 21543 |
static_cast<VkDevice>( m_device ), buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID *>( pProperties ) ) ); |
| 21544 |
} |
| 21545 |
|
| 21546 |
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see |
| 21547 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html |
| 21548 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<AndroidHardwareBufferPropertiesANDROID>::type |
| 21549 |
Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const |
| 21550 |
{ |
| 21551 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID && |
| 21552 |
"Function <vkGetAndroidHardwareBufferPropertiesANDROID> requires <VK_ANDROID_external_memory_android_hardware_buffer>" ); |
| 21553 |
|
| 21554 |
AndroidHardwareBufferPropertiesANDROID properties; |
| 21555 |
Result result = static_cast<Result>( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID( |
| 21556 |
static_cast<VkDevice>( m_device ), &buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID *>( &properties ) ) ); |
| 21557 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); |
| 21558 |
|
| 21559 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 21560 |
} |
| 21561 |
|
| 21562 |
// wrapper function for command vkGetAndroidHardwareBufferPropertiesANDROID, see |
| 21563 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAndroidHardwareBufferPropertiesANDROID.html |
| 21564 |
template <typename X, typename Y, typename... Z> |
| 21565 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 21566 |
Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const |
| 21567 |
{ |
| 21568 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID && |
| 21569 |
"Function <vkGetAndroidHardwareBufferPropertiesANDROID> requires <VK_ANDROID_external_memory_android_hardware_buffer>" ); |
| 21570 |
|
| 21571 |
StructureChain<X, Y, Z...> structureChain; |
| 21572 |
AndroidHardwareBufferPropertiesANDROID & properties = structureChain.template get<AndroidHardwareBufferPropertiesANDROID>(); |
| 21573 |
Result result = static_cast<Result>( getDispatcher()->vkGetAndroidHardwareBufferPropertiesANDROID( |
| 21574 |
static_cast<VkDevice>( m_device ), &buffer, reinterpret_cast<VkAndroidHardwareBufferPropertiesANDROID *>( &properties ) ) ); |
| 21575 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getAndroidHardwareBufferPropertiesANDROID" ); |
| 21576 |
|
| 21577 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 21578 |
} |
| 21579 |
|
| 21580 |
// wrapper function for command vkGetMemoryAndroidHardwareBufferANDROID, see |
| 21581 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryAndroidHardwareBufferANDROID.html |
| 21582 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<struct AHardwareBuffer *>::type |
| 21583 |
Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info ) const |
| 21584 |
{ |
| 21585 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryAndroidHardwareBufferANDROID && |
| 21586 |
"Function <vkGetMemoryAndroidHardwareBufferANDROID> requires <VK_ANDROID_external_memory_android_hardware_buffer>" ); |
| 21587 |
|
| 21588 |
struct AHardwareBuffer * buffer; |
| 21589 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryAndroidHardwareBufferANDROID( |
| 21590 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryGetAndroidHardwareBufferInfoANDROID *>( &info ), &buffer ) ); |
| 21591 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryAndroidHardwareBufferANDROID" ); |
| 21592 |
|
| 21593 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( buffer ) ); |
| 21594 |
} |
| 21595 |
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/ |
| 21596 |
|
| 21597 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 21598 |
//=== VK_AMDX_shader_enqueue === |
| 21599 |
|
| 21600 |
// wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see |
| 21601 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html |
| 21602 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline>>::type |
| 21603 |
Device::createExecutionGraphPipelinesAMDX( Optional<const PipelineCache> const & pipelineCache, |
| 21604 |
ArrayProxy<ExecutionGraphPipelineCreateInfoAMDX> const & createInfos, |
| 21605 |
Optional<const AllocationCallbacks> allocator ) const |
| 21606 |
{ |
| 21607 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateExecutionGraphPipelinesAMDX && |
| 21608 |
"Function <vkCreateExecutionGraphPipelinesAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21609 |
|
| 21610 |
std::vector<VULKAN_HPP_NAMESPACE::Pipeline> pipelines( createInfos.size() ); |
| 21611 |
Result result = static_cast<Result>( |
| 21612 |
getDispatcher()->vkCreateExecutionGraphPipelinesAMDX( static_cast<VkDevice>( m_device ), |
| 21613 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 21614 |
createInfos.size(), |
| 21615 |
reinterpret_cast<const VkExecutionGraphPipelineCreateInfoAMDX *>( createInfos.data() ), |
| 21616 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 21617 |
reinterpret_cast<VkPipeline *>( pipelines.data() ) ) ); |
| 21618 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 21619 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createExecutionGraphPipelinesAMDX", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 21620 |
std::vector<Pipeline> pipelinesRAII; |
| 21621 |
if ( result == Result::eSuccess ) |
| 21622 |
{ |
| 21623 |
pipelinesRAII.reserve( pipelines.size() ); |
| 21624 |
for ( auto & pipeline : pipelines ) |
| 21625 |
{ |
| 21626 |
pipelinesRAII.emplace_back( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ); |
| 21627 |
} |
| 21628 |
} |
| 21629 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelinesRAII ) ); |
| 21630 |
} |
| 21631 |
|
| 21632 |
// wrapper function for command vkCreateExecutionGraphPipelinesAMDX, see |
| 21633 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExecutionGraphPipelinesAMDX.html |
| 21634 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Pipeline>::type |
| 21635 |
Device::createExecutionGraphPipelineAMDX( Optional<const PipelineCache> const & pipelineCache, |
| 21636 |
ExecutionGraphPipelineCreateInfoAMDX const & createInfo, |
| 21637 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 21638 |
{ |
| 21639 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateExecutionGraphPipelinesAMDX && |
| 21640 |
"Function <vkCreateExecutionGraphPipelinesAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21641 |
|
| 21642 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline; |
| 21643 |
Result result = static_cast<Result>( |
| 21644 |
getDispatcher()->vkCreateExecutionGraphPipelinesAMDX( static_cast<VkDevice>( m_device ), |
| 21645 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 21646 |
1, |
| 21647 |
reinterpret_cast<const VkExecutionGraphPipelineCreateInfoAMDX *>( &createInfo ), |
| 21648 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 21649 |
reinterpret_cast<VkPipeline *>( &pipeline ) ) ); |
| 21650 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 21651 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createExecutionGraphPipelineAMDX", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 21652 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Pipeline( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ) ); |
| 21653 |
} |
| 21654 |
|
| 21655 |
// wrapper function for command vkGetExecutionGraphPipelineScratchSizeAMDX, see |
| 21656 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineScratchSizeAMDX.html |
| 21657 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ExecutionGraphPipelineScratchSizeAMDX>::type |
| 21658 |
Pipeline::getExecutionGraphScratchSizeAMDX() const |
| 21659 |
{ |
| 21660 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetExecutionGraphPipelineScratchSizeAMDX && |
| 21661 |
"Function <vkGetExecutionGraphPipelineScratchSizeAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21662 |
|
| 21663 |
ExecutionGraphPipelineScratchSizeAMDX sizeInfo; |
| 21664 |
Result result = static_cast<Result>( getDispatcher()->vkGetExecutionGraphPipelineScratchSizeAMDX( |
| 21665 |
static_cast<VkDevice>( m_device ), static_cast<VkPipeline>( m_pipeline ), reinterpret_cast<VkExecutionGraphPipelineScratchSizeAMDX *>( &sizeInfo ) ) ); |
| 21666 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getExecutionGraphScratchSizeAMDX" ); |
| 21667 |
|
| 21668 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( sizeInfo ) ); |
| 21669 |
} |
| 21670 |
|
| 21671 |
// wrapper function for command vkGetExecutionGraphPipelineNodeIndexAMDX, see |
| 21672 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExecutionGraphPipelineNodeIndexAMDX.html |
| 21673 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<uint32_t>::type |
| 21674 |
Pipeline::getExecutionGraphNodeIndexAMDX( const PipelineShaderStageNodeCreateInfoAMDX & nodeInfo ) const |
| 21675 |
{ |
| 21676 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetExecutionGraphPipelineNodeIndexAMDX && |
| 21677 |
"Function <vkGetExecutionGraphPipelineNodeIndexAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21678 |
|
| 21679 |
uint32_t nodeIndex; |
| 21680 |
Result result = static_cast<Result>( |
| 21681 |
getDispatcher()->vkGetExecutionGraphPipelineNodeIndexAMDX( static_cast<VkDevice>( m_device ), |
| 21682 |
static_cast<VkPipeline>( m_pipeline ), |
| 21683 |
reinterpret_cast<const VkPipelineShaderStageNodeCreateInfoAMDX *>( &nodeInfo ), |
| 21684 |
&nodeIndex ) ); |
| 21685 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getExecutionGraphNodeIndexAMDX" ); |
| 21686 |
|
| 21687 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( nodeIndex ) ); |
| 21688 |
} |
| 21689 |
|
| 21690 |
// wrapper function for command vkCmdInitializeGraphScratchMemoryAMDX, see |
| 21691 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdInitializeGraphScratchMemoryAMDX.html |
| 21692 |
VULKAN_HPP_INLINE void CommandBuffer::initializeGraphScratchMemoryAMDX( VULKAN_HPP_NAMESPACE::Pipeline executionGraph, |
| 21693 |
DeviceAddress scratch, |
| 21694 |
DeviceSize scratchSize ) const VULKAN_HPP_NOEXCEPT |
| 21695 |
{ |
| 21696 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdInitializeGraphScratchMemoryAMDX && |
| 21697 |
"Function <vkCmdInitializeGraphScratchMemoryAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21698 |
|
| 21699 |
getDispatcher()->vkCmdInitializeGraphScratchMemoryAMDX( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21700 |
static_cast<VkPipeline>( executionGraph ), |
| 21701 |
static_cast<VkDeviceAddress>( scratch ), |
| 21702 |
static_cast<VkDeviceSize>( scratchSize ) ); |
| 21703 |
} |
| 21704 |
|
| 21705 |
// wrapper function for command vkCmdDispatchGraphAMDX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphAMDX.html |
| 21706 |
VULKAN_HPP_INLINE void |
| 21707 |
CommandBuffer::dispatchGraphAMDX( DeviceAddress scratch, DeviceSize scratchSize, const DispatchGraphCountInfoAMDX & countInfo ) const VULKAN_HPP_NOEXCEPT |
| 21708 |
{ |
| 21709 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchGraphAMDX && "Function <vkCmdDispatchGraphAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21710 |
|
| 21711 |
getDispatcher()->vkCmdDispatchGraphAMDX( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21712 |
static_cast<VkDeviceAddress>( scratch ), |
| 21713 |
static_cast<VkDeviceSize>( scratchSize ), |
| 21714 |
reinterpret_cast<const VkDispatchGraphCountInfoAMDX *>( &countInfo ) ); |
| 21715 |
} |
| 21716 |
|
| 21717 |
// wrapper function for command vkCmdDispatchGraphIndirectAMDX, see |
| 21718 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectAMDX.html |
| 21719 |
VULKAN_HPP_INLINE void CommandBuffer::dispatchGraphIndirectAMDX( DeviceAddress scratch, |
| 21720 |
DeviceSize scratchSize, |
| 21721 |
const DispatchGraphCountInfoAMDX & countInfo ) const VULKAN_HPP_NOEXCEPT |
| 21722 |
{ |
| 21723 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchGraphIndirectAMDX && "Function <vkCmdDispatchGraphIndirectAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21724 |
|
| 21725 |
getDispatcher()->vkCmdDispatchGraphIndirectAMDX( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21726 |
static_cast<VkDeviceAddress>( scratch ), |
| 21727 |
static_cast<VkDeviceSize>( scratchSize ), |
| 21728 |
reinterpret_cast<const VkDispatchGraphCountInfoAMDX *>( &countInfo ) ); |
| 21729 |
} |
| 21730 |
|
| 21731 |
// wrapper function for command vkCmdDispatchGraphIndirectCountAMDX, see |
| 21732 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchGraphIndirectCountAMDX.html |
| 21733 |
VULKAN_HPP_INLINE void |
| 21734 |
CommandBuffer::dispatchGraphIndirectCountAMDX( DeviceAddress scratch, DeviceSize scratchSize, DeviceAddress countInfo ) const VULKAN_HPP_NOEXCEPT |
| 21735 |
{ |
| 21736 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchGraphIndirectCountAMDX && |
| 21737 |
"Function <vkCmdDispatchGraphIndirectCountAMDX> requires <VK_AMDX_shader_enqueue>" ); |
| 21738 |
|
| 21739 |
getDispatcher()->vkCmdDispatchGraphIndirectCountAMDX( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21740 |
static_cast<VkDeviceAddress>( scratch ), |
| 21741 |
static_cast<VkDeviceSize>( scratchSize ), |
| 21742 |
static_cast<VkDeviceAddress>( countInfo ) ); |
| 21743 |
} |
| 21744 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 21745 |
|
| 21746 |
//=== VK_EXT_descriptor_heap === |
| 21747 |
|
| 21748 |
// wrapper function for command vkWriteSamplerDescriptorsEXT, see |
| 21749 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteSamplerDescriptorsEXT.html |
| 21750 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::writeSamplerDescriptorsEXT( ArrayProxy<const SamplerCreateInfo> const & samplers, |
| 21751 |
ArrayProxy<const HostAddressRangeEXT> const & descriptors ) const |
| 21752 |
{ |
| 21753 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWriteSamplerDescriptorsEXT && "Function <vkWriteSamplerDescriptorsEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21754 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 21755 |
VULKAN_HPP_ASSERT( samplers.size() == descriptors.size() ); |
| 21756 |
# else |
| 21757 |
if ( samplers.size() != descriptors.size() ) |
| 21758 |
{ |
| 21759 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::writeSamplerDescriptorsEXT: samplers.size() != descriptors.size()" ); |
| 21760 |
} |
| 21761 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 21762 |
|
| 21763 |
Result result = |
| 21764 |
static_cast<Result>( getDispatcher()->vkWriteSamplerDescriptorsEXT( static_cast<VkDevice>( m_device ), |
| 21765 |
samplers.size(), |
| 21766 |
reinterpret_cast<const VkSamplerCreateInfo *>( samplers.data() ), |
| 21767 |
reinterpret_cast<const VkHostAddressRangeEXT *>( descriptors.data() ) ) ); |
| 21768 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::writeSamplerDescriptorsEXT" ); |
| 21769 |
|
| 21770 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 21771 |
} |
| 21772 |
|
| 21773 |
// wrapper function for command vkWriteResourceDescriptorsEXT, see |
| 21774 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteResourceDescriptorsEXT.html |
| 21775 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 21776 |
Device::writeResourceDescriptorsEXT( ArrayProxy<const ResourceDescriptorInfoEXT> const & resources, |
| 21777 |
ArrayProxy<const HostAddressRangeEXT> const & descriptors ) const |
| 21778 |
{ |
| 21779 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWriteResourceDescriptorsEXT && "Function <vkWriteResourceDescriptorsEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21780 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 21781 |
VULKAN_HPP_ASSERT( resources.size() == descriptors.size() ); |
| 21782 |
# else |
| 21783 |
if ( resources.size() != descriptors.size() ) |
| 21784 |
{ |
| 21785 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::writeResourceDescriptorsEXT: resources.size() != descriptors.size()" ); |
| 21786 |
} |
| 21787 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 21788 |
|
| 21789 |
Result result = |
| 21790 |
static_cast<Result>( getDispatcher()->vkWriteResourceDescriptorsEXT( static_cast<VkDevice>( m_device ), |
| 21791 |
resources.size(), |
| 21792 |
reinterpret_cast<const VkResourceDescriptorInfoEXT *>( resources.data() ), |
| 21793 |
reinterpret_cast<const VkHostAddressRangeEXT *>( descriptors.data() ) ) ); |
| 21794 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::writeResourceDescriptorsEXT" ); |
| 21795 |
|
| 21796 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 21797 |
} |
| 21798 |
|
| 21799 |
// wrapper function for command vkCmdBindSamplerHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindSamplerHeapEXT.html |
| 21800 |
VULKAN_HPP_INLINE void CommandBuffer::bindSamplerHeapEXT( const BindHeapInfoEXT & bindInfo ) const VULKAN_HPP_NOEXCEPT |
| 21801 |
{ |
| 21802 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindSamplerHeapEXT && "Function <vkCmdBindSamplerHeapEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21803 |
|
| 21804 |
getDispatcher()->vkCmdBindSamplerHeapEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkBindHeapInfoEXT *>( &bindInfo ) ); |
| 21805 |
} |
| 21806 |
|
| 21807 |
// wrapper function for command vkCmdBindResourceHeapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindResourceHeapEXT.html |
| 21808 |
VULKAN_HPP_INLINE void CommandBuffer::bindResourceHeapEXT( const BindHeapInfoEXT & bindInfo ) const VULKAN_HPP_NOEXCEPT |
| 21809 |
{ |
| 21810 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindResourceHeapEXT && "Function <vkCmdBindResourceHeapEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21811 |
|
| 21812 |
getDispatcher()->vkCmdBindResourceHeapEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkBindHeapInfoEXT *>( &bindInfo ) ); |
| 21813 |
} |
| 21814 |
|
| 21815 |
// wrapper function for command vkCmdPushDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDataEXT.html |
| 21816 |
VULKAN_HPP_INLINE void CommandBuffer::pushDataEXT( const PushDataInfoEXT & pushDataInfo ) const VULKAN_HPP_NOEXCEPT |
| 21817 |
{ |
| 21818 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDataEXT && "Function <vkCmdPushDataEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21819 |
|
| 21820 |
getDispatcher()->vkCmdPushDataEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkPushDataInfoEXT *>( &pushDataInfo ) ); |
| 21821 |
} |
| 21822 |
|
| 21823 |
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see |
| 21824 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html |
| 21825 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT>>::type |
| 21826 |
Device::getImageOpaqueCaptureDataEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::Image> const & images ) const |
| 21827 |
{ |
| 21828 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21829 |
|
| 21830 |
std::vector<HostAddressRangeEXT> datas( images.size() ); |
| 21831 |
Result result = static_cast<Result>( getDispatcher()->vkGetImageOpaqueCaptureDataEXT( static_cast<VkDevice>( m_device ), |
| 21832 |
images.size(), |
| 21833 |
reinterpret_cast<const VkImage *>( images.data() ), |
| 21834 |
reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) ); |
| 21835 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" ); |
| 21836 |
|
| 21837 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( datas ) ); |
| 21838 |
} |
| 21839 |
|
| 21840 |
// wrapper function for command vkGetImageOpaqueCaptureDataEXT, see |
| 21841 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDataEXT.html |
| 21842 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HostAddressRangeEXT>::type |
| 21843 |
Device::getImageOpaqueCaptureDataEXT( const VULKAN_HPP_NAMESPACE::Image & image ) const |
| 21844 |
{ |
| 21845 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageOpaqueCaptureDataEXT && "Function <vkGetImageOpaqueCaptureDataEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21846 |
|
| 21847 |
HostAddressRangeEXT data; |
| 21848 |
Result result = static_cast<Result>( getDispatcher()->vkGetImageOpaqueCaptureDataEXT( |
| 21849 |
static_cast<VkDevice>( m_device ), 1, reinterpret_cast<const VkImage *>( &image ), reinterpret_cast<VkHostAddressRangeEXT *>( &data ) ) ); |
| 21850 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDataEXT" ); |
| 21851 |
|
| 21852 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 21853 |
} |
| 21854 |
|
| 21855 |
// wrapper function for command vkGetPhysicalDeviceDescriptorSizeEXT, see |
| 21856 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDescriptorSizeEXT.html |
| 21857 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize PhysicalDevice::getDescriptorSizeEXT( DescriptorType descriptorType ) const VULKAN_HPP_NOEXCEPT |
| 21858 |
{ |
| 21859 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceDescriptorSizeEXT && |
| 21860 |
"Function <vkGetPhysicalDeviceDescriptorSizeEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21861 |
|
| 21862 |
VkDeviceSize result = getDispatcher()->vkGetPhysicalDeviceDescriptorSizeEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21863 |
static_cast<VkDescriptorType>( descriptorType ) ); |
| 21864 |
|
| 21865 |
return static_cast<DeviceSize>( result ); |
| 21866 |
} |
| 21867 |
|
| 21868 |
// wrapper function for command vkRegisterCustomBorderColorEXT, see |
| 21869 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkRegisterCustomBorderColorEXT.html |
| 21870 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<uint32_t>::type |
| 21871 |
Device::registerCustomBorderColorEXT( const SamplerCustomBorderColorCreateInfoEXT & borderColor, Bool32 requestIndex ) const |
| 21872 |
{ |
| 21873 |
VULKAN_HPP_ASSERT( getDispatcher()->vkRegisterCustomBorderColorEXT && "Function <vkRegisterCustomBorderColorEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21874 |
|
| 21875 |
uint32_t index; |
| 21876 |
Result result = |
| 21877 |
static_cast<Result>( getDispatcher()->vkRegisterCustomBorderColorEXT( static_cast<VkDevice>( m_device ), |
| 21878 |
reinterpret_cast<const VkSamplerCustomBorderColorCreateInfoEXT *>( &borderColor ), |
| 21879 |
static_cast<VkBool32>( requestIndex ), |
| 21880 |
&index ) ); |
| 21881 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::registerCustomBorderColorEXT" ); |
| 21882 |
|
| 21883 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( index ) ); |
| 21884 |
} |
| 21885 |
|
| 21886 |
// wrapper function for command vkUnregisterCustomBorderColorEXT, see |
| 21887 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnregisterCustomBorderColorEXT.html |
| 21888 |
VULKAN_HPP_INLINE void Device::unregisterCustomBorderColorEXT( uint32_t index ) const VULKAN_HPP_NOEXCEPT |
| 21889 |
{ |
| 21890 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUnregisterCustomBorderColorEXT && "Function <vkUnregisterCustomBorderColorEXT> requires <VK_EXT_descriptor_heap>" ); |
| 21891 |
|
| 21892 |
getDispatcher()->vkUnregisterCustomBorderColorEXT( static_cast<VkDevice>( m_device ), index ); |
| 21893 |
} |
| 21894 |
|
| 21895 |
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see |
| 21896 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html |
| 21897 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<HostAddressRangeEXT>>::type |
| 21898 |
Device::getTensorOpaqueCaptureDataARM( ArrayProxy<const VULKAN_HPP_NAMESPACE::TensorARM> const & tensors ) const |
| 21899 |
{ |
| 21900 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" ); |
| 21901 |
|
| 21902 |
std::vector<HostAddressRangeEXT> datas( tensors.size() ); |
| 21903 |
Result result = static_cast<Result>( getDispatcher()->vkGetTensorOpaqueCaptureDataARM( static_cast<VkDevice>( m_device ), |
| 21904 |
tensors.size(), |
| 21905 |
reinterpret_cast<const VkTensorARM *>( tensors.data() ), |
| 21906 |
reinterpret_cast<VkHostAddressRangeEXT *>( datas.data() ) ) ); |
| 21907 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" ); |
| 21908 |
|
| 21909 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( datas ) ); |
| 21910 |
} |
| 21911 |
|
| 21912 |
// wrapper function for command vkGetTensorOpaqueCaptureDataARM, see |
| 21913 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDataARM.html |
| 21914 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<HostAddressRangeEXT>::type |
| 21915 |
Device::getTensorOpaqueCaptureDataARM( const VULKAN_HPP_NAMESPACE::TensorARM & tensor ) const |
| 21916 |
{ |
| 21917 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorOpaqueCaptureDataARM && "Function <vkGetTensorOpaqueCaptureDataARM> requires <VK_EXT_descriptor_heap>" ); |
| 21918 |
|
| 21919 |
HostAddressRangeEXT data; |
| 21920 |
Result result = static_cast<Result>( getDispatcher()->vkGetTensorOpaqueCaptureDataARM( |
| 21921 |
static_cast<VkDevice>( m_device ), 1, reinterpret_cast<const VkTensorARM *>( &tensor ), reinterpret_cast<VkHostAddressRangeEXT *>( &data ) ) ); |
| 21922 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDataARM" ); |
| 21923 |
|
| 21924 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 21925 |
} |
| 21926 |
|
| 21927 |
//=== VK_EXT_sample_locations === |
| 21928 |
|
| 21929 |
// wrapper function for command vkCmdSetSampleLocationsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEXT.html |
| 21930 |
VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEXT( const SampleLocationsInfoEXT & sampleLocationsInfo ) const VULKAN_HPP_NOEXCEPT |
| 21931 |
{ |
| 21932 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetSampleLocationsEXT && "Function <vkCmdSetSampleLocationsEXT> requires <VK_EXT_sample_locations>" ); |
| 21933 |
|
| 21934 |
getDispatcher()->vkCmdSetSampleLocationsEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 21935 |
reinterpret_cast<const VkSampleLocationsInfoEXT *>( &sampleLocationsInfo ) ); |
| 21936 |
} |
| 21937 |
|
| 21938 |
// wrapper function for command vkGetPhysicalDeviceMultisamplePropertiesEXT, see |
| 21939 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html |
| 21940 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MultisamplePropertiesEXT |
| 21941 |
PhysicalDevice::getMultisamplePropertiesEXT( SampleCountFlagBits samples ) const VULKAN_HPP_NOEXCEPT |
| 21942 |
{ |
| 21943 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceMultisamplePropertiesEXT && |
| 21944 |
"Function <vkGetPhysicalDeviceMultisamplePropertiesEXT> requires <VK_EXT_sample_locations>" ); |
| 21945 |
|
| 21946 |
MultisamplePropertiesEXT multisampleProperties; |
| 21947 |
getDispatcher()->vkGetPhysicalDeviceMultisamplePropertiesEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 21948 |
static_cast<VkSampleCountFlagBits>( samples ), |
| 21949 |
reinterpret_cast<VkMultisamplePropertiesEXT *>( &multisampleProperties ) ); |
| 21950 |
|
| 21951 |
return multisampleProperties; |
| 21952 |
} |
| 21953 |
|
| 21954 |
//=== VK_KHR_get_memory_requirements2 === |
| 21955 |
|
| 21956 |
// wrapper function for command vkGetImageMemoryRequirements2KHR, see |
| 21957 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html |
| 21958 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 21959 |
Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 21960 |
{ |
| 21961 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageMemoryRequirements2KHR && |
| 21962 |
"Function <vkGetImageMemoryRequirements2KHR> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 21963 |
|
| 21964 |
MemoryRequirements2 memoryRequirements; |
| 21965 |
getDispatcher()->vkGetImageMemoryRequirements2KHR( static_cast<VkDevice>( m_device ), |
| 21966 |
reinterpret_cast<const VkImageMemoryRequirementsInfo2 *>( &info ), |
| 21967 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 21968 |
|
| 21969 |
return memoryRequirements; |
| 21970 |
} |
| 21971 |
|
| 21972 |
// wrapper function for command vkGetImageMemoryRequirements2KHR, see |
| 21973 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageMemoryRequirements2KHR.html |
| 21974 |
template <typename X, typename Y, typename... Z> |
| 21975 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 21976 |
Device::getImageMemoryRequirements2KHR( const ImageMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 21977 |
{ |
| 21978 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageMemoryRequirements2KHR && |
| 21979 |
"Function <vkGetImageMemoryRequirements2KHR> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 21980 |
|
| 21981 |
StructureChain<X, Y, Z...> structureChain; |
| 21982 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 21983 |
getDispatcher()->vkGetImageMemoryRequirements2KHR( static_cast<VkDevice>( m_device ), |
| 21984 |
reinterpret_cast<const VkImageMemoryRequirementsInfo2 *>( &info ), |
| 21985 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 21986 |
|
| 21987 |
return structureChain; |
| 21988 |
} |
| 21989 |
|
| 21990 |
// wrapper function for command vkGetBufferMemoryRequirements2KHR, see |
| 21991 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html |
| 21992 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 21993 |
Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 21994 |
{ |
| 21995 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferMemoryRequirements2KHR && |
| 21996 |
"Function <vkGetBufferMemoryRequirements2KHR> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 21997 |
|
| 21998 |
MemoryRequirements2 memoryRequirements; |
| 21999 |
getDispatcher()->vkGetBufferMemoryRequirements2KHR( static_cast<VkDevice>( m_device ), |
| 22000 |
reinterpret_cast<const VkBufferMemoryRequirementsInfo2 *>( &info ), |
| 22001 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 22002 |
|
| 22003 |
return memoryRequirements; |
| 22004 |
} |
| 22005 |
|
| 22006 |
// wrapper function for command vkGetBufferMemoryRequirements2KHR, see |
| 22007 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferMemoryRequirements2KHR.html |
| 22008 |
template <typename X, typename Y, typename... Z> |
| 22009 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 22010 |
Device::getBufferMemoryRequirements2KHR( const BufferMemoryRequirementsInfo2 & info ) const VULKAN_HPP_NOEXCEPT |
| 22011 |
{ |
| 22012 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferMemoryRequirements2KHR && |
| 22013 |
"Function <vkGetBufferMemoryRequirements2KHR> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 22014 |
|
| 22015 |
StructureChain<X, Y, Z...> structureChain; |
| 22016 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 22017 |
getDispatcher()->vkGetBufferMemoryRequirements2KHR( static_cast<VkDevice>( m_device ), |
| 22018 |
reinterpret_cast<const VkBufferMemoryRequirementsInfo2 *>( &info ), |
| 22019 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 22020 |
|
| 22021 |
return structureChain; |
| 22022 |
} |
| 22023 |
|
| 22024 |
// wrapper function for command vkGetImageSparseMemoryRequirements2KHR, see |
| 22025 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSparseMemoryRequirements2KHR.html |
| 22026 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2> |
| 22027 |
Device::getImageSparseMemoryRequirements2KHR( const ImageSparseMemoryRequirementsInfo2 & info ) const |
| 22028 |
{ |
| 22029 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageSparseMemoryRequirements2KHR && |
| 22030 |
"Function <vkGetImageSparseMemoryRequirements2KHR> requires <VK_KHR_get_memory_requirements2> or <VK_VERSION_1_1>" ); |
| 22031 |
|
| 22032 |
std::vector<SparseImageMemoryRequirements2> sparseMemoryRequirements; |
| 22033 |
uint32_t sparseMemoryRequirementCount; |
| 22034 |
getDispatcher()->vkGetImageSparseMemoryRequirements2KHR( |
| 22035 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2 *>( &info ), &sparseMemoryRequirementCount, nullptr ); |
| 22036 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 22037 |
getDispatcher()->vkGetImageSparseMemoryRequirements2KHR( static_cast<VkDevice>( m_device ), |
| 22038 |
reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2 *>( &info ), |
| 22039 |
&sparseMemoryRequirementCount, |
| 22040 |
reinterpret_cast<VkSparseImageMemoryRequirements2 *>( sparseMemoryRequirements.data() ) ); |
| 22041 |
|
| 22042 |
VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); |
| 22043 |
if ( sparseMemoryRequirementCount < sparseMemoryRequirements.size() ) |
| 22044 |
{ |
| 22045 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 22046 |
} |
| 22047 |
return sparseMemoryRequirements; |
| 22048 |
} |
| 22049 |
|
| 22050 |
//=== VK_KHR_acceleration_structure === |
| 22051 |
|
| 22052 |
// wrapper function for command vkCreateAccelerationStructureKHR, see |
| 22053 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureKHR.html |
| 22054 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<AccelerationStructureKHR>::type |
| 22055 |
Device::createAccelerationStructureKHR( AccelerationStructureCreateInfoKHR const & createInfo, |
| 22056 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 22057 |
{ |
| 22058 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateAccelerationStructureKHR && |
| 22059 |
"Function <vkCreateAccelerationStructureKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22060 |
|
| 22061 |
VULKAN_HPP_NAMESPACE::AccelerationStructureKHR accelerationStructure; |
| 22062 |
Result result = |
| 22063 |
static_cast<Result>( getDispatcher()->vkCreateAccelerationStructureKHR( static_cast<VkDevice>( m_device ), |
| 22064 |
reinterpret_cast<const VkAccelerationStructureCreateInfoKHR *>( &createInfo ), |
| 22065 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22066 |
reinterpret_cast<VkAccelerationStructureKHR *>( &accelerationStructure ) ) ); |
| 22067 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createAccelerationStructureKHR" ); |
| 22068 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 22069 |
result, AccelerationStructureKHR( *this, *reinterpret_cast<VkAccelerationStructureKHR *>( &accelerationStructure ), allocator ) ); |
| 22070 |
} |
| 22071 |
|
| 22072 |
// wrapper function for command vkCmdBuildAccelerationStructuresKHR, see |
| 22073 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresKHR.html |
| 22074 |
VULKAN_HPP_INLINE void |
| 22075 |
CommandBuffer::buildAccelerationStructuresKHR( ArrayProxy<const AccelerationStructureBuildGeometryInfoKHR> const & infos, |
| 22076 |
ArrayProxy<const AccelerationStructureBuildRangeInfoKHR * const> const & pBuildRangeInfos ) const |
| 22077 |
{ |
| 22078 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBuildAccelerationStructuresKHR && |
| 22079 |
"Function <vkCmdBuildAccelerationStructuresKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22080 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 22081 |
VULKAN_HPP_ASSERT( infos.size() == pBuildRangeInfos.size() ); |
| 22082 |
# else |
| 22083 |
if ( infos.size() != pBuildRangeInfos.size() ) |
| 22084 |
{ |
| 22085 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::buildAccelerationStructuresKHR: infos.size() != pBuildRangeInfos.size()" ); |
| 22086 |
} |
| 22087 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 22088 |
|
| 22089 |
getDispatcher()->vkCmdBuildAccelerationStructuresKHR( |
| 22090 |
static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22091 |
infos.size(), |
| 22092 |
reinterpret_cast<const VkAccelerationStructureBuildGeometryInfoKHR *>( infos.data() ), |
| 22093 |
reinterpret_cast<const VkAccelerationStructureBuildRangeInfoKHR * const *>( pBuildRangeInfos.data() ) ); |
| 22094 |
} |
| 22095 |
|
| 22096 |
// wrapper function for command vkCmdBuildAccelerationStructuresIndirectKHR, see |
| 22097 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructuresIndirectKHR.html |
| 22098 |
VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructuresIndirectKHR( ArrayProxy<const AccelerationStructureBuildGeometryInfoKHR> const & infos, |
| 22099 |
ArrayProxy<const DeviceAddress> const & indirectDeviceAddresses, |
| 22100 |
ArrayProxy<const uint32_t> const & indirectStrides, |
| 22101 |
ArrayProxy<const uint32_t * const> const & pMaxPrimitiveCounts ) const |
| 22102 |
{ |
| 22103 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBuildAccelerationStructuresIndirectKHR && |
| 22104 |
"Function <vkCmdBuildAccelerationStructuresIndirectKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22105 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 22106 |
VULKAN_HPP_ASSERT( infos.size() == indirectDeviceAddresses.size() ); |
| 22107 |
VULKAN_HPP_ASSERT( infos.size() == indirectStrides.size() ); |
| 22108 |
VULKAN_HPP_ASSERT( infos.size() == pMaxPrimitiveCounts.size() ); |
| 22109 |
# else |
| 22110 |
if ( infos.size() != indirectDeviceAddresses.size() ) |
| 22111 |
{ |
| 22112 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING |
| 22113 |
"::CommandBuffer::buildAccelerationStructuresIndirectKHR: infos.size() != indirectDeviceAddresses.size()" ); |
| 22114 |
} |
| 22115 |
if ( infos.size() != indirectStrides.size() ) |
| 22116 |
{ |
| 22117 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::buildAccelerationStructuresIndirectKHR: infos.size() != indirectStrides.size()" ); |
| 22118 |
} |
| 22119 |
if ( infos.size() != pMaxPrimitiveCounts.size() ) |
| 22120 |
{ |
| 22121 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::buildAccelerationStructuresIndirectKHR: infos.size() != pMaxPrimitiveCounts.size()" ); |
| 22122 |
} |
| 22123 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 22124 |
|
| 22125 |
getDispatcher()->vkCmdBuildAccelerationStructuresIndirectKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22126 |
infos.size(), |
| 22127 |
reinterpret_cast<const VkAccelerationStructureBuildGeometryInfoKHR *>( infos.data() ), |
| 22128 |
reinterpret_cast<const VkDeviceAddress *>( indirectDeviceAddresses.data() ), |
| 22129 |
indirectStrides.data(), |
| 22130 |
pMaxPrimitiveCounts.data() ); |
| 22131 |
} |
| 22132 |
|
| 22133 |
// wrapper function for command vkBuildAccelerationStructuresKHR, see |
| 22134 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildAccelerationStructuresKHR.html |
| 22135 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result |
| 22136 |
Device::buildAccelerationStructuresKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 22137 |
ArrayProxy<const AccelerationStructureBuildGeometryInfoKHR> const & infos, |
| 22138 |
ArrayProxy<const AccelerationStructureBuildRangeInfoKHR * const> const & pBuildRangeInfos ) const |
| 22139 |
{ |
| 22140 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBuildAccelerationStructuresKHR && |
| 22141 |
"Function <vkBuildAccelerationStructuresKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22142 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 22143 |
VULKAN_HPP_ASSERT( infos.size() == pBuildRangeInfos.size() ); |
| 22144 |
# else |
| 22145 |
if ( infos.size() != pBuildRangeInfos.size() ) |
| 22146 |
{ |
| 22147 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::buildAccelerationStructuresKHR: infos.size() != pBuildRangeInfos.size()" ); |
| 22148 |
} |
| 22149 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 22150 |
|
| 22151 |
Result result = static_cast<Result>( getDispatcher()->vkBuildAccelerationStructuresKHR( |
| 22152 |
static_cast<VkDevice>( m_device ), |
| 22153 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 22154 |
infos.size(), |
| 22155 |
reinterpret_cast<const VkAccelerationStructureBuildGeometryInfoKHR *>( infos.data() ), |
| 22156 |
reinterpret_cast<const VkAccelerationStructureBuildRangeInfoKHR * const *>( pBuildRangeInfos.data() ) ) ); |
| 22157 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 22158 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::buildAccelerationStructuresKHR", |
| 22159 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 22160 |
|
| 22161 |
return static_cast<Result>( result ); |
| 22162 |
} |
| 22163 |
|
| 22164 |
// wrapper function for command vkCopyAccelerationStructureKHR, see |
| 22165 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureKHR.html |
| 22166 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 22167 |
const CopyAccelerationStructureInfoKHR & info ) const |
| 22168 |
{ |
| 22169 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyAccelerationStructureKHR && |
| 22170 |
"Function <vkCopyAccelerationStructureKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22171 |
|
| 22172 |
Result result = |
| 22173 |
static_cast<Result>( getDispatcher()->vkCopyAccelerationStructureKHR( static_cast<VkDevice>( m_device ), |
| 22174 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 22175 |
reinterpret_cast<const VkCopyAccelerationStructureInfoKHR *>( &info ) ) ); |
| 22176 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 22177 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyAccelerationStructureKHR", |
| 22178 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 22179 |
|
| 22180 |
return static_cast<Result>( result ); |
| 22181 |
} |
| 22182 |
|
| 22183 |
// wrapper function for command vkCopyAccelerationStructureToMemoryKHR, see |
| 22184 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyAccelerationStructureToMemoryKHR.html |
| 22185 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyAccelerationStructureToMemoryKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 22186 |
const CopyAccelerationStructureToMemoryInfoKHR & info ) const |
| 22187 |
{ |
| 22188 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyAccelerationStructureToMemoryKHR && |
| 22189 |
"Function <vkCopyAccelerationStructureToMemoryKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22190 |
|
| 22191 |
Result result = static_cast<Result>( |
| 22192 |
getDispatcher()->vkCopyAccelerationStructureToMemoryKHR( static_cast<VkDevice>( m_device ), |
| 22193 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 22194 |
reinterpret_cast<const VkCopyAccelerationStructureToMemoryInfoKHR *>( &info ) ) ); |
| 22195 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 22196 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyAccelerationStructureToMemoryKHR", |
| 22197 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 22198 |
|
| 22199 |
return static_cast<Result>( result ); |
| 22200 |
} |
| 22201 |
|
| 22202 |
// wrapper function for command vkCopyMemoryToAccelerationStructureKHR, see |
| 22203 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToAccelerationStructureKHR.html |
| 22204 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToAccelerationStructureKHR( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 22205 |
const CopyMemoryToAccelerationStructureInfoKHR & info ) const |
| 22206 |
{ |
| 22207 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyMemoryToAccelerationStructureKHR && |
| 22208 |
"Function <vkCopyMemoryToAccelerationStructureKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22209 |
|
| 22210 |
Result result = static_cast<Result>( |
| 22211 |
getDispatcher()->vkCopyMemoryToAccelerationStructureKHR( static_cast<VkDevice>( m_device ), |
| 22212 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 22213 |
reinterpret_cast<const VkCopyMemoryToAccelerationStructureInfoKHR *>( &info ) ) ); |
| 22214 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 22215 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyMemoryToAccelerationStructureKHR", |
| 22216 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 22217 |
|
| 22218 |
return static_cast<Result>( result ); |
| 22219 |
} |
| 22220 |
|
| 22221 |
// wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see |
| 22222 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html |
| 22223 |
template <typename DataType> |
| 22224 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataType>>::type |
| 22225 |
Device::writeAccelerationStructuresPropertiesKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, |
| 22226 |
QueryType queryType, |
| 22227 |
size_t dataSize, |
| 22228 |
size_t stride ) const |
| 22229 |
{ |
| 22230 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWriteAccelerationStructuresPropertiesKHR && |
| 22231 |
"Function <vkWriteAccelerationStructuresPropertiesKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22232 |
|
| 22233 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 22234 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 22235 |
Result result = static_cast<Result>( |
| 22236 |
getDispatcher()->vkWriteAccelerationStructuresPropertiesKHR( static_cast<VkDevice>( m_device ), |
| 22237 |
accelerationStructures.size(), |
| 22238 |
reinterpret_cast<const VkAccelerationStructureKHR *>( accelerationStructures.data() ), |
| 22239 |
static_cast<VkQueryType>( queryType ), |
| 22240 |
data.size() * sizeof( DataType ), |
| 22241 |
reinterpret_cast<void *>( data.data() ), |
| 22242 |
stride ) ); |
| 22243 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertiesKHR" ); |
| 22244 |
|
| 22245 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22246 |
} |
| 22247 |
|
| 22248 |
// wrapper function for command vkWriteAccelerationStructuresPropertiesKHR, see |
| 22249 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteAccelerationStructuresPropertiesKHR.html |
| 22250 |
template <typename DataType> |
| 22251 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type Device::writeAccelerationStructuresPropertyKHR( |
| 22252 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, QueryType queryType, size_t stride ) const |
| 22253 |
{ |
| 22254 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWriteAccelerationStructuresPropertiesKHR && |
| 22255 |
"Function <vkWriteAccelerationStructuresPropertiesKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22256 |
|
| 22257 |
DataType data; |
| 22258 |
Result result = static_cast<Result>( |
| 22259 |
getDispatcher()->vkWriteAccelerationStructuresPropertiesKHR( static_cast<VkDevice>( m_device ), |
| 22260 |
accelerationStructures.size(), |
| 22261 |
reinterpret_cast<const VkAccelerationStructureKHR *>( accelerationStructures.data() ), |
| 22262 |
static_cast<VkQueryType>( queryType ), |
| 22263 |
sizeof( DataType ), |
| 22264 |
reinterpret_cast<void *>( &data ), |
| 22265 |
stride ) ); |
| 22266 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::writeAccelerationStructuresPropertyKHR" ); |
| 22267 |
|
| 22268 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22269 |
} |
| 22270 |
|
| 22271 |
// wrapper function for command vkCmdCopyAccelerationStructureKHR, see |
| 22272 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureKHR.html |
| 22273 |
VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureKHR( const CopyAccelerationStructureInfoKHR & info ) const VULKAN_HPP_NOEXCEPT |
| 22274 |
{ |
| 22275 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyAccelerationStructureKHR && |
| 22276 |
"Function <vkCmdCopyAccelerationStructureKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22277 |
|
| 22278 |
getDispatcher()->vkCmdCopyAccelerationStructureKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22279 |
reinterpret_cast<const VkCopyAccelerationStructureInfoKHR *>( &info ) ); |
| 22280 |
} |
| 22281 |
|
| 22282 |
// wrapper function for command vkCmdCopyAccelerationStructureToMemoryKHR, see |
| 22283 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureToMemoryKHR.html |
| 22284 |
VULKAN_HPP_INLINE void |
| 22285 |
CommandBuffer::copyAccelerationStructureToMemoryKHR( const CopyAccelerationStructureToMemoryInfoKHR & info ) const VULKAN_HPP_NOEXCEPT |
| 22286 |
{ |
| 22287 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyAccelerationStructureToMemoryKHR && |
| 22288 |
"Function <vkCmdCopyAccelerationStructureToMemoryKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22289 |
|
| 22290 |
getDispatcher()->vkCmdCopyAccelerationStructureToMemoryKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22291 |
reinterpret_cast<const VkCopyAccelerationStructureToMemoryInfoKHR *>( &info ) ); |
| 22292 |
} |
| 22293 |
|
| 22294 |
// wrapper function for command vkCmdCopyMemoryToAccelerationStructureKHR, see |
| 22295 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToAccelerationStructureKHR.html |
| 22296 |
VULKAN_HPP_INLINE void |
| 22297 |
CommandBuffer::copyMemoryToAccelerationStructureKHR( const CopyMemoryToAccelerationStructureInfoKHR & info ) const VULKAN_HPP_NOEXCEPT |
| 22298 |
{ |
| 22299 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMemoryToAccelerationStructureKHR && |
| 22300 |
"Function <vkCmdCopyMemoryToAccelerationStructureKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22301 |
|
| 22302 |
getDispatcher()->vkCmdCopyMemoryToAccelerationStructureKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22303 |
reinterpret_cast<const VkCopyMemoryToAccelerationStructureInfoKHR *>( &info ) ); |
| 22304 |
} |
| 22305 |
|
| 22306 |
// wrapper function for command vkGetAccelerationStructureDeviceAddressKHR, see |
| 22307 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureDeviceAddressKHR.html |
| 22308 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceAddress |
| 22309 |
Device::getAccelerationStructureAddressKHR( const AccelerationStructureDeviceAddressInfoKHR & info ) const VULKAN_HPP_NOEXCEPT |
| 22310 |
{ |
| 22311 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureDeviceAddressKHR && |
| 22312 |
"Function <vkGetAccelerationStructureDeviceAddressKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22313 |
|
| 22314 |
VkDeviceAddress result = getDispatcher()->vkGetAccelerationStructureDeviceAddressKHR( |
| 22315 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAccelerationStructureDeviceAddressInfoKHR *>( &info ) ); |
| 22316 |
|
| 22317 |
return static_cast<DeviceAddress>( result ); |
| 22318 |
} |
| 22319 |
|
| 22320 |
// wrapper function for command vkCmdWriteAccelerationStructuresPropertiesKHR, see |
| 22321 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesKHR.html |
| 22322 |
VULKAN_HPP_INLINE void |
| 22323 |
CommandBuffer::writeAccelerationStructuresPropertiesKHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureKHR> const & accelerationStructures, |
| 22324 |
QueryType queryType, |
| 22325 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 22326 |
uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT |
| 22327 |
{ |
| 22328 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteAccelerationStructuresPropertiesKHR && |
| 22329 |
"Function <vkCmdWriteAccelerationStructuresPropertiesKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22330 |
|
| 22331 |
getDispatcher()->vkCmdWriteAccelerationStructuresPropertiesKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22332 |
accelerationStructures.size(), |
| 22333 |
reinterpret_cast<const VkAccelerationStructureKHR *>( accelerationStructures.data() ), |
| 22334 |
static_cast<VkQueryType>( queryType ), |
| 22335 |
static_cast<VkQueryPool>( queryPool ), |
| 22336 |
firstQuery ); |
| 22337 |
} |
| 22338 |
|
| 22339 |
// wrapper function for command vkGetDeviceAccelerationStructureCompatibilityKHR, see |
| 22340 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceAccelerationStructureCompatibilityKHR.html |
| 22341 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureCompatibilityKHR |
| 22342 |
Device::getAccelerationStructureCompatibilityKHR( const AccelerationStructureVersionInfoKHR & versionInfo ) const VULKAN_HPP_NOEXCEPT |
| 22343 |
{ |
| 22344 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceAccelerationStructureCompatibilityKHR && |
| 22345 |
"Function <vkGetDeviceAccelerationStructureCompatibilityKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22346 |
|
| 22347 |
AccelerationStructureCompatibilityKHR compatibility; |
| 22348 |
getDispatcher()->vkGetDeviceAccelerationStructureCompatibilityKHR( static_cast<VkDevice>( m_device ), |
| 22349 |
reinterpret_cast<const VkAccelerationStructureVersionInfoKHR *>( &versionInfo ), |
| 22350 |
reinterpret_cast<VkAccelerationStructureCompatibilityKHR *>( &compatibility ) ); |
| 22351 |
|
| 22352 |
return compatibility; |
| 22353 |
} |
| 22354 |
|
| 22355 |
// wrapper function for command vkGetAccelerationStructureBuildSizesKHR, see |
| 22356 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureBuildSizesKHR.html |
| 22357 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureBuildSizesInfoKHR |
| 22358 |
Device::getAccelerationStructureBuildSizesKHR( AccelerationStructureBuildTypeKHR buildType, |
| 22359 |
const AccelerationStructureBuildGeometryInfoKHR & buildInfo, |
| 22360 |
ArrayProxy<const uint32_t> const & maxPrimitiveCounts ) const |
| 22361 |
{ |
| 22362 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureBuildSizesKHR && |
| 22363 |
"Function <vkGetAccelerationStructureBuildSizesKHR> requires <VK_KHR_acceleration_structure>" ); |
| 22364 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 22365 |
VULKAN_HPP_ASSERT( maxPrimitiveCounts.size() == buildInfo.geometryCount ); |
| 22366 |
# else |
| 22367 |
if ( maxPrimitiveCounts.size() != buildInfo.geometryCount ) |
| 22368 |
{ |
| 22369 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::Device::getAccelerationStructureBuildSizesKHR: maxPrimitiveCounts.size() != buildInfo.geometryCount" ); |
| 22370 |
} |
| 22371 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 22372 |
|
| 22373 |
AccelerationStructureBuildSizesInfoKHR sizeInfo; |
| 22374 |
getDispatcher()->vkGetAccelerationStructureBuildSizesKHR( static_cast<VkDevice>( m_device ), |
| 22375 |
static_cast<VkAccelerationStructureBuildTypeKHR>( buildType ), |
| 22376 |
reinterpret_cast<const VkAccelerationStructureBuildGeometryInfoKHR *>( &buildInfo ), |
| 22377 |
maxPrimitiveCounts.data(), |
| 22378 |
reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); |
| 22379 |
|
| 22380 |
return sizeInfo; |
| 22381 |
} |
| 22382 |
|
| 22383 |
//=== VK_KHR_ray_tracing_pipeline === |
| 22384 |
|
| 22385 |
// wrapper function for command vkCmdTraceRaysKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysKHR.html |
| 22386 |
VULKAN_HPP_INLINE void CommandBuffer::traceRaysKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, |
| 22387 |
const StridedDeviceAddressRegionKHR & missShaderBindingTable, |
| 22388 |
const StridedDeviceAddressRegionKHR & hitShaderBindingTable, |
| 22389 |
const StridedDeviceAddressRegionKHR & callableShaderBindingTable, |
| 22390 |
uint32_t width, |
| 22391 |
uint32_t height, |
| 22392 |
uint32_t depth ) const VULKAN_HPP_NOEXCEPT |
| 22393 |
{ |
| 22394 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdTraceRaysKHR && "Function <vkCmdTraceRaysKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22395 |
|
| 22396 |
getDispatcher()->vkCmdTraceRaysKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22397 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &raygenShaderBindingTable ), |
| 22398 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &missShaderBindingTable ), |
| 22399 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &hitShaderBindingTable ), |
| 22400 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &callableShaderBindingTable ), |
| 22401 |
width, |
| 22402 |
height, |
| 22403 |
depth ); |
| 22404 |
} |
| 22405 |
|
| 22406 |
// wrapper function for command vkCreateRayTracingPipelinesKHR, see |
| 22407 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html |
| 22408 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline>>::type |
| 22409 |
Device::createRayTracingPipelinesKHR( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 22410 |
Optional<const PipelineCache> const & pipelineCache, |
| 22411 |
ArrayProxy<RayTracingPipelineCreateInfoKHR> const & createInfos, |
| 22412 |
Optional<const AllocationCallbacks> allocator ) const |
| 22413 |
{ |
| 22414 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRayTracingPipelinesKHR && |
| 22415 |
"Function <vkCreateRayTracingPipelinesKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22416 |
|
| 22417 |
std::vector<VULKAN_HPP_NAMESPACE::Pipeline> pipelines( createInfos.size() ); |
| 22418 |
Result result = static_cast<Result>( |
| 22419 |
getDispatcher()->vkCreateRayTracingPipelinesKHR( static_cast<VkDevice>( m_device ), |
| 22420 |
deferredOperation ? static_cast<VkDeferredOperationKHR>( **deferredOperation ) : 0, |
| 22421 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 22422 |
createInfos.size(), |
| 22423 |
reinterpret_cast<const VkRayTracingPipelineCreateInfoKHR *>( createInfos.data() ), |
| 22424 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22425 |
reinterpret_cast<VkPipeline *>( pipelines.data() ) ) ); |
| 22426 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 22427 |
result, |
| 22428 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRayTracingPipelinesKHR", |
| 22429 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR, Result::ePipelineCompileRequiredEXT } ); |
| 22430 |
std::vector<Pipeline> pipelinesRAII; |
| 22431 |
if ( result == Result::eSuccess ) |
| 22432 |
{ |
| 22433 |
pipelinesRAII.reserve( pipelines.size() ); |
| 22434 |
for ( auto & pipeline : pipelines ) |
| 22435 |
{ |
| 22436 |
pipelinesRAII.emplace_back( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ); |
| 22437 |
} |
| 22438 |
} |
| 22439 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelinesRAII ) ); |
| 22440 |
} |
| 22441 |
|
| 22442 |
// wrapper function for command vkCreateRayTracingPipelinesKHR, see |
| 22443 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesKHR.html |
| 22444 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Pipeline>::type |
| 22445 |
Device::createRayTracingPipelineKHR( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 22446 |
Optional<const PipelineCache> const & pipelineCache, |
| 22447 |
RayTracingPipelineCreateInfoKHR const & createInfo, |
| 22448 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 22449 |
{ |
| 22450 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRayTracingPipelinesKHR && |
| 22451 |
"Function <vkCreateRayTracingPipelinesKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22452 |
|
| 22453 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline; |
| 22454 |
Result result = static_cast<Result>( |
| 22455 |
getDispatcher()->vkCreateRayTracingPipelinesKHR( static_cast<VkDevice>( m_device ), |
| 22456 |
deferredOperation ? static_cast<VkDeferredOperationKHR>( **deferredOperation ) : 0, |
| 22457 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 22458 |
1, |
| 22459 |
reinterpret_cast<const VkRayTracingPipelineCreateInfoKHR *>( &createInfo ), |
| 22460 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22461 |
reinterpret_cast<VkPipeline *>( &pipeline ) ) ); |
| 22462 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 22463 |
result, |
| 22464 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRayTracingPipelineKHR", |
| 22465 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR, Result::ePipelineCompileRequiredEXT } ); |
| 22466 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Pipeline( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ) ); |
| 22467 |
} |
| 22468 |
|
| 22469 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see |
| 22470 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html |
| 22471 |
template <typename DataType> |
| 22472 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataType>>::type |
| 22473 |
Pipeline::getRayTracingShaderGroupHandlesKHR( uint32_t firstGroup, uint32_t groupCount, size_t dataSize ) const |
| 22474 |
{ |
| 22475 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingShaderGroupHandlesKHR && |
| 22476 |
"Function <vkGetRayTracingShaderGroupHandlesKHR> requires <VK_KHR_ray_tracing_pipeline> or <VK_NV_ray_tracing>" ); |
| 22477 |
|
| 22478 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 22479 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 22480 |
Result result = static_cast<Result>( getDispatcher()->vkGetRayTracingShaderGroupHandlesKHR( static_cast<VkDevice>( m_device ), |
| 22481 |
static_cast<VkPipeline>( m_pipeline ), |
| 22482 |
firstGroup, |
| 22483 |
groupCount, |
| 22484 |
data.size() * sizeof( DataType ), |
| 22485 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 22486 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getRayTracingShaderGroupHandlesKHR" ); |
| 22487 |
|
| 22488 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22489 |
} |
| 22490 |
|
| 22491 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesKHR, see |
| 22492 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesKHR.html |
| 22493 |
template <typename DataType> |
| 22494 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type Pipeline::getRayTracingShaderGroupHandleKHR( uint32_t firstGroup, |
| 22495 |
uint32_t groupCount ) const |
| 22496 |
{ |
| 22497 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingShaderGroupHandlesKHR && |
| 22498 |
"Function <vkGetRayTracingShaderGroupHandlesKHR> requires <VK_KHR_ray_tracing_pipeline> or <VK_NV_ray_tracing>" ); |
| 22499 |
|
| 22500 |
DataType data; |
| 22501 |
Result result = static_cast<Result>( getDispatcher()->vkGetRayTracingShaderGroupHandlesKHR( static_cast<VkDevice>( m_device ), |
| 22502 |
static_cast<VkPipeline>( m_pipeline ), |
| 22503 |
firstGroup, |
| 22504 |
groupCount, |
| 22505 |
sizeof( DataType ), |
| 22506 |
reinterpret_cast<void *>( &data ) ) ); |
| 22507 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getRayTracingShaderGroupHandleKHR" ); |
| 22508 |
|
| 22509 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22510 |
} |
| 22511 |
|
| 22512 |
// wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see |
| 22513 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html |
| 22514 |
template <typename DataType> |
| 22515 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataType>>::type |
| 22516 |
Pipeline::getRayTracingCaptureReplayShaderGroupHandlesKHR( uint32_t firstGroup, uint32_t groupCount, size_t dataSize ) const |
| 22517 |
{ |
| 22518 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR && |
| 22519 |
"Function <vkGetRayTracingCaptureReplayShaderGroupHandlesKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22520 |
|
| 22521 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 22522 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 22523 |
Result result = static_cast<Result>( getDispatcher()->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( static_cast<VkDevice>( m_device ), |
| 22524 |
static_cast<VkPipeline>( m_pipeline ), |
| 22525 |
firstGroup, |
| 22526 |
groupCount, |
| 22527 |
data.size() * sizeof( DataType ), |
| 22528 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 22529 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getRayTracingCaptureReplayShaderGroupHandlesKHR" ); |
| 22530 |
|
| 22531 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22532 |
} |
| 22533 |
|
| 22534 |
// wrapper function for command vkGetRayTracingCaptureReplayShaderGroupHandlesKHR, see |
| 22535 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingCaptureReplayShaderGroupHandlesKHR.html |
| 22536 |
template <typename DataType> |
| 22537 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 22538 |
Pipeline::getRayTracingCaptureReplayShaderGroupHandleKHR( uint32_t firstGroup, uint32_t groupCount ) const |
| 22539 |
{ |
| 22540 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR && |
| 22541 |
"Function <vkGetRayTracingCaptureReplayShaderGroupHandlesKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22542 |
|
| 22543 |
DataType data; |
| 22544 |
Result result = static_cast<Result>( getDispatcher()->vkGetRayTracingCaptureReplayShaderGroupHandlesKHR( static_cast<VkDevice>( m_device ), |
| 22545 |
static_cast<VkPipeline>( m_pipeline ), |
| 22546 |
firstGroup, |
| 22547 |
groupCount, |
| 22548 |
sizeof( DataType ), |
| 22549 |
reinterpret_cast<void *>( &data ) ) ); |
| 22550 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getRayTracingCaptureReplayShaderGroupHandleKHR" ); |
| 22551 |
|
| 22552 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22553 |
} |
| 22554 |
|
| 22555 |
// wrapper function for command vkCmdTraceRaysIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirectKHR.html |
| 22556 |
VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirectKHR( const StridedDeviceAddressRegionKHR & raygenShaderBindingTable, |
| 22557 |
const StridedDeviceAddressRegionKHR & missShaderBindingTable, |
| 22558 |
const StridedDeviceAddressRegionKHR & hitShaderBindingTable, |
| 22559 |
const StridedDeviceAddressRegionKHR & callableShaderBindingTable, |
| 22560 |
DeviceAddress indirectDeviceAddress ) const VULKAN_HPP_NOEXCEPT |
| 22561 |
{ |
| 22562 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdTraceRaysIndirectKHR && "Function <vkCmdTraceRaysIndirectKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22563 |
|
| 22564 |
getDispatcher()->vkCmdTraceRaysIndirectKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22565 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &raygenShaderBindingTable ), |
| 22566 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &missShaderBindingTable ), |
| 22567 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &hitShaderBindingTable ), |
| 22568 |
reinterpret_cast<const VkStridedDeviceAddressRegionKHR *>( &callableShaderBindingTable ), |
| 22569 |
static_cast<VkDeviceAddress>( indirectDeviceAddress ) ); |
| 22570 |
} |
| 22571 |
|
| 22572 |
// wrapper function for command vkGetRayTracingShaderGroupStackSizeKHR, see |
| 22573 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupStackSizeKHR.html |
| 22574 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize |
| 22575 |
Pipeline::getRayTracingShaderGroupStackSizeKHR( uint32_t group, ShaderGroupShaderKHR groupShader ) const VULKAN_HPP_NOEXCEPT |
| 22576 |
{ |
| 22577 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingShaderGroupStackSizeKHR && |
| 22578 |
"Function <vkGetRayTracingShaderGroupStackSizeKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22579 |
|
| 22580 |
VkDeviceSize result = getDispatcher()->vkGetRayTracingShaderGroupStackSizeKHR( |
| 22581 |
static_cast<VkDevice>( m_device ), static_cast<VkPipeline>( m_pipeline ), group, static_cast<VkShaderGroupShaderKHR>( groupShader ) ); |
| 22582 |
|
| 22583 |
return static_cast<DeviceSize>( result ); |
| 22584 |
} |
| 22585 |
|
| 22586 |
// wrapper function for command vkCmdSetRayTracingPipelineStackSizeKHR, see |
| 22587 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRayTracingPipelineStackSizeKHR.html |
| 22588 |
VULKAN_HPP_INLINE void CommandBuffer::setRayTracingPipelineStackSizeKHR( uint32_t pipelineStackSize ) const VULKAN_HPP_NOEXCEPT |
| 22589 |
{ |
| 22590 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRayTracingPipelineStackSizeKHR && |
| 22591 |
"Function <vkCmdSetRayTracingPipelineStackSizeKHR> requires <VK_KHR_ray_tracing_pipeline>" ); |
| 22592 |
|
| 22593 |
getDispatcher()->vkCmdSetRayTracingPipelineStackSizeKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), pipelineStackSize ); |
| 22594 |
} |
| 22595 |
|
| 22596 |
//=== VK_KHR_sampler_ycbcr_conversion === |
| 22597 |
|
| 22598 |
// wrapper function for command vkCreateSamplerYcbcrConversionKHR, see |
| 22599 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSamplerYcbcrConversionKHR.html |
| 22600 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SamplerYcbcrConversion>::type |
| 22601 |
Device::createSamplerYcbcrConversionKHR( SamplerYcbcrConversionCreateInfo const & createInfo, |
| 22602 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 22603 |
{ |
| 22604 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSamplerYcbcrConversionKHR && |
| 22605 |
"Function <vkCreateSamplerYcbcrConversionKHR> requires <VK_KHR_sampler_ycbcr_conversion> or <VK_VERSION_1_1>" ); |
| 22606 |
|
| 22607 |
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion; |
| 22608 |
Result result = |
| 22609 |
static_cast<Result>( getDispatcher()->vkCreateSamplerYcbcrConversionKHR( static_cast<VkDevice>( m_device ), |
| 22610 |
reinterpret_cast<const VkSamplerYcbcrConversionCreateInfo *>( &createInfo ), |
| 22611 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22612 |
reinterpret_cast<VkSamplerYcbcrConversion *>( &ycbcrConversion ) ) ); |
| 22613 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createSamplerYcbcrConversionKHR" ); |
| 22614 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 22615 |
result, SamplerYcbcrConversion( *this, *reinterpret_cast<VkSamplerYcbcrConversion *>( &ycbcrConversion ), allocator ) ); |
| 22616 |
} |
| 22617 |
|
| 22618 |
// wrapper function for command vkDestroySamplerYcbcrConversionKHR, see |
| 22619 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroySamplerYcbcrConversionKHR.html |
| 22620 |
VULKAN_HPP_INLINE void Device::destroySamplerYcbcrConversionKHR( VULKAN_HPP_NAMESPACE::SamplerYcbcrConversion ycbcrConversion, |
| 22621 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT |
| 22622 |
{ |
| 22623 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDestroySamplerYcbcrConversionKHR && |
| 22624 |
"Function <vkDestroySamplerYcbcrConversionKHR> requires <VK_KHR_sampler_ycbcr_conversion> or <VK_VERSION_1_1>" ); |
| 22625 |
|
| 22626 |
getDispatcher()->vkDestroySamplerYcbcrConversionKHR( static_cast<VkDevice>( m_device ), |
| 22627 |
static_cast<VkSamplerYcbcrConversion>( ycbcrConversion ), |
| 22628 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ) ); |
| 22629 |
} |
| 22630 |
|
| 22631 |
//=== VK_KHR_bind_memory2 === |
| 22632 |
|
| 22633 |
// wrapper function for command vkBindBufferMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindBufferMemory2KHR.html |
| 22634 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::bindBufferMemory2KHR( ArrayProxy<const BindBufferMemoryInfo> const & bindInfos ) const |
| 22635 |
{ |
| 22636 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindBufferMemory2KHR && "Function <vkBindBufferMemory2KHR> requires <VK_KHR_bind_memory2> or <VK_VERSION_1_1>" ); |
| 22637 |
|
| 22638 |
Result result = static_cast<Result>( getDispatcher()->vkBindBufferMemory2KHR( |
| 22639 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindBufferMemoryInfo *>( bindInfos.data() ) ) ); |
| 22640 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindBufferMemory2KHR" ); |
| 22641 |
|
| 22642 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 22643 |
} |
| 22644 |
|
| 22645 |
// wrapper function for command vkBindImageMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindImageMemory2KHR.html |
| 22646 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::bindImageMemory2KHR( ArrayProxy<const BindImageMemoryInfo> const & bindInfos ) const |
| 22647 |
{ |
| 22648 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindImageMemory2KHR && "Function <vkBindImageMemory2KHR> requires <VK_KHR_bind_memory2> or <VK_VERSION_1_1>" ); |
| 22649 |
|
| 22650 |
Result result = static_cast<Result>( getDispatcher()->vkBindImageMemory2KHR( |
| 22651 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindImageMemoryInfo *>( bindInfos.data() ) ) ); |
| 22652 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindImageMemory2KHR" ); |
| 22653 |
|
| 22654 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 22655 |
} |
| 22656 |
|
| 22657 |
//=== VK_EXT_image_drm_format_modifier === |
| 22658 |
|
| 22659 |
// wrapper function for command vkGetImageDrmFormatModifierPropertiesEXT, see |
| 22660 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html |
| 22661 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ImageDrmFormatModifierPropertiesEXT>::type Image::getDrmFormatModifierPropertiesEXT() const |
| 22662 |
{ |
| 22663 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageDrmFormatModifierPropertiesEXT && |
| 22664 |
"Function <vkGetImageDrmFormatModifierPropertiesEXT> requires <VK_EXT_image_drm_format_modifier>" ); |
| 22665 |
|
| 22666 |
ImageDrmFormatModifierPropertiesEXT properties; |
| 22667 |
Result result = static_cast<Result>( getDispatcher()->vkGetImageDrmFormatModifierPropertiesEXT( |
| 22668 |
static_cast<VkDevice>( m_device ), static_cast<VkImage>( m_image ), reinterpret_cast<VkImageDrmFormatModifierPropertiesEXT *>( &properties ) ) ); |
| 22669 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Image::getDrmFormatModifierPropertiesEXT" ); |
| 22670 |
|
| 22671 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 22672 |
} |
| 22673 |
|
| 22674 |
//=== VK_EXT_validation_cache === |
| 22675 |
|
| 22676 |
// wrapper function for command vkCreateValidationCacheEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateValidationCacheEXT.html |
| 22677 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ValidationCacheEXT>::type |
| 22678 |
Device::createValidationCacheEXT( ValidationCacheCreateInfoEXT const & createInfo, |
| 22679 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 22680 |
{ |
| 22681 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateValidationCacheEXT && "Function <vkCreateValidationCacheEXT> requires <VK_EXT_validation_cache>" ); |
| 22682 |
|
| 22683 |
VULKAN_HPP_NAMESPACE::ValidationCacheEXT validationCache; |
| 22684 |
Result result = static_cast<Result>( getDispatcher()->vkCreateValidationCacheEXT( static_cast<VkDevice>( m_device ), |
| 22685 |
reinterpret_cast<const VkValidationCacheCreateInfoEXT *>( &createInfo ), |
| 22686 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22687 |
reinterpret_cast<VkValidationCacheEXT *>( &validationCache ) ) ); |
| 22688 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createValidationCacheEXT" ); |
| 22689 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 22690 |
result, ValidationCacheEXT( *this, *reinterpret_cast<VkValidationCacheEXT *>( &validationCache ), allocator ) ); |
| 22691 |
} |
| 22692 |
|
| 22693 |
// wrapper function for command vkMergeValidationCachesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMergeValidationCachesEXT.html |
| 22694 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 22695 |
ValidationCacheEXT::merge( ArrayProxy<const VULKAN_HPP_NAMESPACE::ValidationCacheEXT> const & srcCaches ) const |
| 22696 |
{ |
| 22697 |
VULKAN_HPP_ASSERT( getDispatcher()->vkMergeValidationCachesEXT && "Function <vkMergeValidationCachesEXT> requires <VK_EXT_validation_cache>" ); |
| 22698 |
|
| 22699 |
Result result = static_cast<Result>( getDispatcher()->vkMergeValidationCachesEXT( static_cast<VkDevice>( m_device ), |
| 22700 |
static_cast<VkValidationCacheEXT>( m_validationCacheEXT ), |
| 22701 |
srcCaches.size(), |
| 22702 |
reinterpret_cast<const VkValidationCacheEXT *>( srcCaches.data() ) ) ); |
| 22703 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::ValidationCacheEXT::merge" ); |
| 22704 |
|
| 22705 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 22706 |
} |
| 22707 |
|
| 22708 |
// wrapper function for command vkGetValidationCacheDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetValidationCacheDataEXT.html |
| 22709 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t>>::type ValidationCacheEXT::getData() const |
| 22710 |
{ |
| 22711 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetValidationCacheDataEXT && "Function <vkGetValidationCacheDataEXT> requires <VK_EXT_validation_cache>" ); |
| 22712 |
|
| 22713 |
std::vector<uint8_t> data; |
| 22714 |
size_t dataSize; |
| 22715 |
Result result; |
| 22716 |
do |
| 22717 |
{ |
| 22718 |
result = static_cast<Result>( getDispatcher()->vkGetValidationCacheDataEXT( |
| 22719 |
static_cast<VkDevice>( m_device ), static_cast<VkValidationCacheEXT>( m_validationCacheEXT ), &dataSize, nullptr ) ); |
| 22720 |
if ( ( result == Result::eSuccess ) && dataSize ) |
| 22721 |
{ |
| 22722 |
data.resize( dataSize ); |
| 22723 |
result = static_cast<Result>( getDispatcher()->vkGetValidationCacheDataEXT( static_cast<VkDevice>( m_device ), |
| 22724 |
static_cast<VkValidationCacheEXT>( m_validationCacheEXT ), |
| 22725 |
&dataSize, |
| 22726 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 22727 |
} |
| 22728 |
} while ( result == Result::eIncomplete ); |
| 22729 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::ValidationCacheEXT::getData" ); |
| 22730 |
VULKAN_HPP_ASSERT( dataSize <= data.size() ); |
| 22731 |
if ( dataSize < data.size() ) |
| 22732 |
{ |
| 22733 |
data.resize( dataSize ); |
| 22734 |
} |
| 22735 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22736 |
} |
| 22737 |
|
| 22738 |
//=== VK_NV_shading_rate_image === |
| 22739 |
|
| 22740 |
// wrapper function for command vkCmdBindShadingRateImageNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadingRateImageNV.html |
| 22741 |
VULKAN_HPP_INLINE void CommandBuffer::bindShadingRateImageNV( VULKAN_HPP_NAMESPACE::ImageView imageView, ImageLayout imageLayout ) const VULKAN_HPP_NOEXCEPT |
| 22742 |
{ |
| 22743 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindShadingRateImageNV && "Function <vkCmdBindShadingRateImageNV> requires <VK_NV_shading_rate_image>" ); |
| 22744 |
|
| 22745 |
getDispatcher()->vkCmdBindShadingRateImageNV( |
| 22746 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkImageView>( imageView ), static_cast<VkImageLayout>( imageLayout ) ); |
| 22747 |
} |
| 22748 |
|
| 22749 |
// wrapper function for command vkCmdSetViewportShadingRatePaletteNV, see |
| 22750 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportShadingRatePaletteNV.html |
| 22751 |
VULKAN_HPP_INLINE void |
| 22752 |
CommandBuffer::setViewportShadingRatePaletteNV( uint32_t firstViewport, |
| 22753 |
ArrayProxy<const ShadingRatePaletteNV> const & shadingRatePalettes ) const VULKAN_HPP_NOEXCEPT |
| 22754 |
{ |
| 22755 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewportShadingRatePaletteNV && |
| 22756 |
"Function <vkCmdSetViewportShadingRatePaletteNV> requires <VK_NV_shading_rate_image>" ); |
| 22757 |
|
| 22758 |
getDispatcher()->vkCmdSetViewportShadingRatePaletteNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22759 |
firstViewport, |
| 22760 |
shadingRatePalettes.size(), |
| 22761 |
reinterpret_cast<const VkShadingRatePaletteNV *>( shadingRatePalettes.data() ) ); |
| 22762 |
} |
| 22763 |
|
| 22764 |
// wrapper function for command vkCmdSetCoarseSampleOrderNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoarseSampleOrderNV.html |
| 22765 |
VULKAN_HPP_INLINE void |
| 22766 |
CommandBuffer::setCoarseSampleOrderNV( CoarseSampleOrderTypeNV sampleOrderType, |
| 22767 |
ArrayProxy<const CoarseSampleOrderCustomNV> const & customSampleOrders ) const VULKAN_HPP_NOEXCEPT |
| 22768 |
{ |
| 22769 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoarseSampleOrderNV && "Function <vkCmdSetCoarseSampleOrderNV> requires <VK_NV_shading_rate_image>" ); |
| 22770 |
|
| 22771 |
getDispatcher()->vkCmdSetCoarseSampleOrderNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22772 |
static_cast<VkCoarseSampleOrderTypeNV>( sampleOrderType ), |
| 22773 |
customSampleOrders.size(), |
| 22774 |
reinterpret_cast<const VkCoarseSampleOrderCustomNV *>( customSampleOrders.data() ) ); |
| 22775 |
} |
| 22776 |
|
| 22777 |
//=== VK_NV_ray_tracing === |
| 22778 |
|
| 22779 |
// wrapper function for command vkCreateAccelerationStructureNV, see |
| 22780 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateAccelerationStructureNV.html |
| 22781 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<AccelerationStructureNV>::type |
| 22782 |
Device::createAccelerationStructureNV( AccelerationStructureCreateInfoNV const & createInfo, |
| 22783 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 22784 |
{ |
| 22785 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateAccelerationStructureNV && "Function <vkCreateAccelerationStructureNV> requires <VK_NV_ray_tracing>" ); |
| 22786 |
|
| 22787 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV accelerationStructure; |
| 22788 |
Result result = |
| 22789 |
static_cast<Result>( getDispatcher()->vkCreateAccelerationStructureNV( static_cast<VkDevice>( m_device ), |
| 22790 |
reinterpret_cast<const VkAccelerationStructureCreateInfoNV *>( &createInfo ), |
| 22791 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22792 |
reinterpret_cast<VkAccelerationStructureNV *>( &accelerationStructure ) ) ); |
| 22793 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createAccelerationStructureNV" ); |
| 22794 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 22795 |
result, AccelerationStructureNV( *this, *reinterpret_cast<VkAccelerationStructureNV *>( &accelerationStructure ), allocator ) ); |
| 22796 |
} |
| 22797 |
|
| 22798 |
// wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see |
| 22799 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html |
| 22800 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2KHR |
| 22801 |
Device::getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT |
| 22802 |
{ |
| 22803 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureMemoryRequirementsNV && |
| 22804 |
"Function <vkGetAccelerationStructureMemoryRequirementsNV> requires <VK_NV_ray_tracing>" ); |
| 22805 |
|
| 22806 |
MemoryRequirements2KHR memoryRequirements; |
| 22807 |
getDispatcher()->vkGetAccelerationStructureMemoryRequirementsNV( static_cast<VkDevice>( m_device ), |
| 22808 |
reinterpret_cast<const VkAccelerationStructureMemoryRequirementsInfoNV *>( &info ), |
| 22809 |
reinterpret_cast<VkMemoryRequirements2KHR *>( &memoryRequirements ) ); |
| 22810 |
|
| 22811 |
return memoryRequirements; |
| 22812 |
} |
| 22813 |
|
| 22814 |
// wrapper function for command vkGetAccelerationStructureMemoryRequirementsNV, see |
| 22815 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureMemoryRequirementsNV.html |
| 22816 |
template <typename X, typename Y, typename... Z> |
| 22817 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 22818 |
Device::getAccelerationStructureMemoryRequirementsNV( const AccelerationStructureMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT |
| 22819 |
{ |
| 22820 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureMemoryRequirementsNV && |
| 22821 |
"Function <vkGetAccelerationStructureMemoryRequirementsNV> requires <VK_NV_ray_tracing>" ); |
| 22822 |
|
| 22823 |
StructureChain<X, Y, Z...> structureChain; |
| 22824 |
MemoryRequirements2KHR & memoryRequirements = structureChain.template get<MemoryRequirements2KHR>(); |
| 22825 |
getDispatcher()->vkGetAccelerationStructureMemoryRequirementsNV( static_cast<VkDevice>( m_device ), |
| 22826 |
reinterpret_cast<const VkAccelerationStructureMemoryRequirementsInfoNV *>( &info ), |
| 22827 |
reinterpret_cast<VkMemoryRequirements2KHR *>( &memoryRequirements ) ); |
| 22828 |
|
| 22829 |
return structureChain; |
| 22830 |
} |
| 22831 |
|
| 22832 |
// wrapper function for command vkBindAccelerationStructureMemoryNV, see |
| 22833 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindAccelerationStructureMemoryNV.html |
| 22834 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 22835 |
Device::bindAccelerationStructureMemoryNV( ArrayProxy<const BindAccelerationStructureMemoryInfoNV> const & bindInfos ) const |
| 22836 |
{ |
| 22837 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindAccelerationStructureMemoryNV && |
| 22838 |
"Function <vkBindAccelerationStructureMemoryNV> requires <VK_NV_ray_tracing>" ); |
| 22839 |
|
| 22840 |
Result result = static_cast<Result>( getDispatcher()->vkBindAccelerationStructureMemoryNV( |
| 22841 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindAccelerationStructureMemoryInfoNV *>( bindInfos.data() ) ) ); |
| 22842 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindAccelerationStructureMemoryNV" ); |
| 22843 |
|
| 22844 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 22845 |
} |
| 22846 |
|
| 22847 |
// wrapper function for command vkCmdBuildAccelerationStructureNV, see |
| 22848 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildAccelerationStructureNV.html |
| 22849 |
VULKAN_HPP_INLINE void CommandBuffer::buildAccelerationStructureNV( const AccelerationStructureInfoNV & info, |
| 22850 |
VULKAN_HPP_NAMESPACE::Buffer instanceData, |
| 22851 |
DeviceSize instanceOffset, |
| 22852 |
Bool32 update, |
| 22853 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, |
| 22854 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, |
| 22855 |
VULKAN_HPP_NAMESPACE::Buffer scratch, |
| 22856 |
DeviceSize scratchOffset ) const VULKAN_HPP_NOEXCEPT |
| 22857 |
{ |
| 22858 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBuildAccelerationStructureNV && "Function <vkCmdBuildAccelerationStructureNV> requires <VK_NV_ray_tracing>" ); |
| 22859 |
|
| 22860 |
getDispatcher()->vkCmdBuildAccelerationStructureNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22861 |
reinterpret_cast<const VkAccelerationStructureInfoNV *>( &info ), |
| 22862 |
static_cast<VkBuffer>( instanceData ), |
| 22863 |
static_cast<VkDeviceSize>( instanceOffset ), |
| 22864 |
static_cast<VkBool32>( update ), |
| 22865 |
static_cast<VkAccelerationStructureNV>( dst ), |
| 22866 |
static_cast<VkAccelerationStructureNV>( src ), |
| 22867 |
static_cast<VkBuffer>( scratch ), |
| 22868 |
static_cast<VkDeviceSize>( scratchOffset ) ); |
| 22869 |
} |
| 22870 |
|
| 22871 |
// wrapper function for command vkCmdCopyAccelerationStructureNV, see |
| 22872 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyAccelerationStructureNV.html |
| 22873 |
VULKAN_HPP_INLINE void CommandBuffer::copyAccelerationStructureNV( VULKAN_HPP_NAMESPACE::AccelerationStructureNV dst, |
| 22874 |
VULKAN_HPP_NAMESPACE::AccelerationStructureNV src, |
| 22875 |
CopyAccelerationStructureModeKHR mode ) const VULKAN_HPP_NOEXCEPT |
| 22876 |
{ |
| 22877 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyAccelerationStructureNV && "Function <vkCmdCopyAccelerationStructureNV> requires <VK_NV_ray_tracing>" ); |
| 22878 |
|
| 22879 |
getDispatcher()->vkCmdCopyAccelerationStructureNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22880 |
static_cast<VkAccelerationStructureNV>( dst ), |
| 22881 |
static_cast<VkAccelerationStructureNV>( src ), |
| 22882 |
static_cast<VkCopyAccelerationStructureModeKHR>( mode ) ); |
| 22883 |
} |
| 22884 |
|
| 22885 |
// wrapper function for command vkCmdTraceRaysNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysNV.html |
| 22886 |
VULKAN_HPP_INLINE void CommandBuffer::traceRaysNV( VULKAN_HPP_NAMESPACE::Buffer raygenShaderBindingTableBuffer, |
| 22887 |
DeviceSize raygenShaderBindingOffset, |
| 22888 |
VULKAN_HPP_NAMESPACE::Buffer missShaderBindingTableBuffer, |
| 22889 |
DeviceSize missShaderBindingOffset, |
| 22890 |
DeviceSize missShaderBindingStride, |
| 22891 |
VULKAN_HPP_NAMESPACE::Buffer hitShaderBindingTableBuffer, |
| 22892 |
DeviceSize hitShaderBindingOffset, |
| 22893 |
DeviceSize hitShaderBindingStride, |
| 22894 |
VULKAN_HPP_NAMESPACE::Buffer callableShaderBindingTableBuffer, |
| 22895 |
DeviceSize callableShaderBindingOffset, |
| 22896 |
DeviceSize callableShaderBindingStride, |
| 22897 |
uint32_t width, |
| 22898 |
uint32_t height, |
| 22899 |
uint32_t depth ) const VULKAN_HPP_NOEXCEPT |
| 22900 |
{ |
| 22901 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdTraceRaysNV && "Function <vkCmdTraceRaysNV> requires <VK_NV_ray_tracing>" ); |
| 22902 |
|
| 22903 |
getDispatcher()->vkCmdTraceRaysNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 22904 |
static_cast<VkBuffer>( raygenShaderBindingTableBuffer ), |
| 22905 |
static_cast<VkDeviceSize>( raygenShaderBindingOffset ), |
| 22906 |
static_cast<VkBuffer>( missShaderBindingTableBuffer ), |
| 22907 |
static_cast<VkDeviceSize>( missShaderBindingOffset ), |
| 22908 |
static_cast<VkDeviceSize>( missShaderBindingStride ), |
| 22909 |
static_cast<VkBuffer>( hitShaderBindingTableBuffer ), |
| 22910 |
static_cast<VkDeviceSize>( hitShaderBindingOffset ), |
| 22911 |
static_cast<VkDeviceSize>( hitShaderBindingStride ), |
| 22912 |
static_cast<VkBuffer>( callableShaderBindingTableBuffer ), |
| 22913 |
static_cast<VkDeviceSize>( callableShaderBindingOffset ), |
| 22914 |
static_cast<VkDeviceSize>( callableShaderBindingStride ), |
| 22915 |
width, |
| 22916 |
height, |
| 22917 |
depth ); |
| 22918 |
} |
| 22919 |
|
| 22920 |
// wrapper function for command vkCreateRayTracingPipelinesNV, see |
| 22921 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html |
| 22922 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline>>::type |
| 22923 |
Device::createRayTracingPipelinesNV( Optional<const PipelineCache> const & pipelineCache, |
| 22924 |
ArrayProxy<RayTracingPipelineCreateInfoNV> const & createInfos, |
| 22925 |
Optional<const AllocationCallbacks> allocator ) const |
| 22926 |
{ |
| 22927 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRayTracingPipelinesNV && "Function <vkCreateRayTracingPipelinesNV> requires <VK_NV_ray_tracing>" ); |
| 22928 |
|
| 22929 |
std::vector<VULKAN_HPP_NAMESPACE::Pipeline> pipelines( createInfos.size() ); |
| 22930 |
Result result = |
| 22931 |
static_cast<Result>( getDispatcher()->vkCreateRayTracingPipelinesNV( static_cast<VkDevice>( m_device ), |
| 22932 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 22933 |
createInfos.size(), |
| 22934 |
reinterpret_cast<const VkRayTracingPipelineCreateInfoNV *>( createInfos.data() ), |
| 22935 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22936 |
reinterpret_cast<VkPipeline *>( pipelines.data() ) ) ); |
| 22937 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 22938 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRayTracingPipelinesNV", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 22939 |
std::vector<Pipeline> pipelinesRAII; |
| 22940 |
if ( result == Result::eSuccess ) |
| 22941 |
{ |
| 22942 |
pipelinesRAII.reserve( pipelines.size() ); |
| 22943 |
for ( auto & pipeline : pipelines ) |
| 22944 |
{ |
| 22945 |
pipelinesRAII.emplace_back( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ); |
| 22946 |
} |
| 22947 |
} |
| 22948 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelinesRAII ) ); |
| 22949 |
} |
| 22950 |
|
| 22951 |
// wrapper function for command vkCreateRayTracingPipelinesNV, see |
| 22952 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateRayTracingPipelinesNV.html |
| 22953 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Pipeline>::type |
| 22954 |
Device::createRayTracingPipelineNV( Optional<const PipelineCache> const & pipelineCache, |
| 22955 |
RayTracingPipelineCreateInfoNV const & createInfo, |
| 22956 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 22957 |
{ |
| 22958 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateRayTracingPipelinesNV && "Function <vkCreateRayTracingPipelinesNV> requires <VK_NV_ray_tracing>" ); |
| 22959 |
|
| 22960 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline; |
| 22961 |
Result result = |
| 22962 |
static_cast<Result>( getDispatcher()->vkCreateRayTracingPipelinesNV( static_cast<VkDevice>( m_device ), |
| 22963 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 22964 |
1, |
| 22965 |
reinterpret_cast<const VkRayTracingPipelineCreateInfoNV *>( &createInfo ), |
| 22966 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 22967 |
reinterpret_cast<VkPipeline *>( &pipeline ) ) ); |
| 22968 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 22969 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createRayTracingPipelineNV", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 22970 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Pipeline( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ) ); |
| 22971 |
} |
| 22972 |
|
| 22973 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see |
| 22974 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html |
| 22975 |
template <typename DataType> |
| 22976 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataType>>::type |
| 22977 |
Pipeline::getRayTracingShaderGroupHandlesNV( uint32_t firstGroup, uint32_t groupCount, size_t dataSize ) const |
| 22978 |
{ |
| 22979 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingShaderGroupHandlesNV && |
| 22980 |
"Function <vkGetRayTracingShaderGroupHandlesNV> requires <VK_KHR_ray_tracing_pipeline> or <VK_NV_ray_tracing>" ); |
| 22981 |
|
| 22982 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 22983 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 22984 |
Result result = static_cast<Result>( getDispatcher()->vkGetRayTracingShaderGroupHandlesNV( static_cast<VkDevice>( m_device ), |
| 22985 |
static_cast<VkPipeline>( m_pipeline ), |
| 22986 |
firstGroup, |
| 22987 |
groupCount, |
| 22988 |
data.size() * sizeof( DataType ), |
| 22989 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 22990 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getRayTracingShaderGroupHandlesNV" ); |
| 22991 |
|
| 22992 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 22993 |
} |
| 22994 |
|
| 22995 |
// wrapper function for command vkGetRayTracingShaderGroupHandlesNV, see |
| 22996 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRayTracingShaderGroupHandlesNV.html |
| 22997 |
template <typename DataType> |
| 22998 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type Pipeline::getRayTracingShaderGroupHandleNV( uint32_t firstGroup, |
| 22999 |
uint32_t groupCount ) const |
| 23000 |
{ |
| 23001 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRayTracingShaderGroupHandlesNV && |
| 23002 |
"Function <vkGetRayTracingShaderGroupHandlesNV> requires <VK_KHR_ray_tracing_pipeline> or <VK_NV_ray_tracing>" ); |
| 23003 |
|
| 23004 |
DataType data; |
| 23005 |
Result result = static_cast<Result>( getDispatcher()->vkGetRayTracingShaderGroupHandlesNV( static_cast<VkDevice>( m_device ), |
| 23006 |
static_cast<VkPipeline>( m_pipeline ), |
| 23007 |
firstGroup, |
| 23008 |
groupCount, |
| 23009 |
sizeof( DataType ), |
| 23010 |
reinterpret_cast<void *>( &data ) ) ); |
| 23011 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::getRayTracingShaderGroupHandleNV" ); |
| 23012 |
|
| 23013 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 23014 |
} |
| 23015 |
|
| 23016 |
// wrapper function for command vkGetAccelerationStructureHandleNV, see |
| 23017 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html |
| 23018 |
template <typename DataType> |
| 23019 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataType>>::type AccelerationStructureNV::getHandle( size_t dataSize ) const |
| 23020 |
{ |
| 23021 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureHandleNV && "Function <vkGetAccelerationStructureHandleNV> requires <VK_NV_ray_tracing>" ); |
| 23022 |
|
| 23023 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 23024 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 23025 |
Result result = |
| 23026 |
static_cast<Result>( getDispatcher()->vkGetAccelerationStructureHandleNV( static_cast<VkDevice>( m_device ), |
| 23027 |
static_cast<VkAccelerationStructureNV>( m_accelerationStructureNV ), |
| 23028 |
data.size() * sizeof( DataType ), |
| 23029 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 23030 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::AccelerationStructureNV::getHandle" ); |
| 23031 |
|
| 23032 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 23033 |
} |
| 23034 |
|
| 23035 |
// wrapper function for command vkGetAccelerationStructureHandleNV, see |
| 23036 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureHandleNV.html |
| 23037 |
template <typename DataType> |
| 23038 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type AccelerationStructureNV::getHandle() const |
| 23039 |
{ |
| 23040 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureHandleNV && "Function <vkGetAccelerationStructureHandleNV> requires <VK_NV_ray_tracing>" ); |
| 23041 |
|
| 23042 |
DataType data; |
| 23043 |
Result result = |
| 23044 |
static_cast<Result>( getDispatcher()->vkGetAccelerationStructureHandleNV( static_cast<VkDevice>( m_device ), |
| 23045 |
static_cast<VkAccelerationStructureNV>( m_accelerationStructureNV ), |
| 23046 |
sizeof( DataType ), |
| 23047 |
reinterpret_cast<void *>( &data ) ) ); |
| 23048 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::AccelerationStructureNV::getHandle" ); |
| 23049 |
|
| 23050 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 23051 |
} |
| 23052 |
|
| 23053 |
// wrapper function for command vkCmdWriteAccelerationStructuresPropertiesNV, see |
| 23054 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html |
| 23055 |
VULKAN_HPP_INLINE void |
| 23056 |
CommandBuffer::writeAccelerationStructuresPropertiesNV( ArrayProxy<const VULKAN_HPP_NAMESPACE::AccelerationStructureNV> const & accelerationStructures, |
| 23057 |
QueryType queryType, |
| 23058 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 23059 |
uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT |
| 23060 |
{ |
| 23061 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteAccelerationStructuresPropertiesNV && |
| 23062 |
"Function <vkCmdWriteAccelerationStructuresPropertiesNV> requires <VK_NV_ray_tracing>" ); |
| 23063 |
|
| 23064 |
getDispatcher()->vkCmdWriteAccelerationStructuresPropertiesNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23065 |
accelerationStructures.size(), |
| 23066 |
reinterpret_cast<const VkAccelerationStructureNV *>( accelerationStructures.data() ), |
| 23067 |
static_cast<VkQueryType>( queryType ), |
| 23068 |
static_cast<VkQueryPool>( queryPool ), |
| 23069 |
firstQuery ); |
| 23070 |
} |
| 23071 |
|
| 23072 |
// wrapper function for command vkCompileDeferredNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCompileDeferredNV.html |
| 23073 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Pipeline::compileDeferredNV( uint32_t shader ) const |
| 23074 |
{ |
| 23075 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCompileDeferredNV && "Function <vkCompileDeferredNV> requires <VK_NV_ray_tracing>" ); |
| 23076 |
|
| 23077 |
Result result = |
| 23078 |
static_cast<Result>( getDispatcher()->vkCompileDeferredNV( static_cast<VkDevice>( m_device ), static_cast<VkPipeline>( m_pipeline ), shader ) ); |
| 23079 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Pipeline::compileDeferredNV" ); |
| 23080 |
|
| 23081 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23082 |
} |
| 23083 |
|
| 23084 |
//=== VK_KHR_maintenance3 === |
| 23085 |
|
| 23086 |
// wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see |
| 23087 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html |
| 23088 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorSetLayoutSupport |
| 23089 |
Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 23090 |
{ |
| 23091 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutSupportKHR && |
| 23092 |
"Function <vkGetDescriptorSetLayoutSupportKHR> requires <VK_KHR_maintenance3> or <VK_VERSION_1_1>" ); |
| 23093 |
|
| 23094 |
DescriptorSetLayoutSupport support; |
| 23095 |
getDispatcher()->vkGetDescriptorSetLayoutSupportKHR( static_cast<VkDevice>( m_device ), |
| 23096 |
reinterpret_cast<const VkDescriptorSetLayoutCreateInfo *>( &createInfo ), |
| 23097 |
reinterpret_cast<VkDescriptorSetLayoutSupport *>( &support ) ); |
| 23098 |
|
| 23099 |
return support; |
| 23100 |
} |
| 23101 |
|
| 23102 |
// wrapper function for command vkGetDescriptorSetLayoutSupportKHR, see |
| 23103 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSupportKHR.html |
| 23104 |
template <typename X, typename Y, typename... Z> |
| 23105 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 23106 |
Device::getDescriptorSetLayoutSupportKHR( const DescriptorSetLayoutCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 23107 |
{ |
| 23108 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutSupportKHR && |
| 23109 |
"Function <vkGetDescriptorSetLayoutSupportKHR> requires <VK_KHR_maintenance3> or <VK_VERSION_1_1>" ); |
| 23110 |
|
| 23111 |
StructureChain<X, Y, Z...> structureChain; |
| 23112 |
DescriptorSetLayoutSupport & support = structureChain.template get<DescriptorSetLayoutSupport>(); |
| 23113 |
getDispatcher()->vkGetDescriptorSetLayoutSupportKHR( static_cast<VkDevice>( m_device ), |
| 23114 |
reinterpret_cast<const VkDescriptorSetLayoutCreateInfo *>( &createInfo ), |
| 23115 |
reinterpret_cast<VkDescriptorSetLayoutSupport *>( &support ) ); |
| 23116 |
|
| 23117 |
return structureChain; |
| 23118 |
} |
| 23119 |
|
| 23120 |
//=== VK_KHR_draw_indirect_count === |
| 23121 |
|
| 23122 |
// wrapper function for command vkCmdDrawIndirectCountKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndirectCountKHR.html |
| 23123 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 23124 |
DeviceSize offset, |
| 23125 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 23126 |
DeviceSize countBufferOffset, |
| 23127 |
uint32_t maxDrawCount, |
| 23128 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 23129 |
{ |
| 23130 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawIndirectCountKHR && |
| 23131 |
"Function <vkCmdDrawIndirectCountKHR> requires <VK_AMD_draw_indirect_count> or <VK_KHR_draw_indirect_count> or <VK_VERSION_1_2>" ); |
| 23132 |
|
| 23133 |
getDispatcher()->vkCmdDrawIndirectCountKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23134 |
static_cast<VkBuffer>( buffer ), |
| 23135 |
static_cast<VkDeviceSize>( offset ), |
| 23136 |
static_cast<VkBuffer>( countBuffer ), |
| 23137 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 23138 |
maxDrawCount, |
| 23139 |
stride ); |
| 23140 |
} |
| 23141 |
|
| 23142 |
// wrapper function for command vkCmdDrawIndexedIndirectCountKHR, see |
| 23143 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawIndexedIndirectCountKHR.html |
| 23144 |
VULKAN_HPP_INLINE void CommandBuffer::drawIndexedIndirectCountKHR( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 23145 |
DeviceSize offset, |
| 23146 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 23147 |
DeviceSize countBufferOffset, |
| 23148 |
uint32_t maxDrawCount, |
| 23149 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 23150 |
{ |
| 23151 |
VULKAN_HPP_ASSERT( |
| 23152 |
getDispatcher()->vkCmdDrawIndexedIndirectCountKHR && |
| 23153 |
"Function <vkCmdDrawIndexedIndirectCountKHR> requires <VK_AMD_draw_indirect_count> or <VK_KHR_draw_indirect_count> or <VK_VERSION_1_2>" ); |
| 23154 |
|
| 23155 |
getDispatcher()->vkCmdDrawIndexedIndirectCountKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23156 |
static_cast<VkBuffer>( buffer ), |
| 23157 |
static_cast<VkDeviceSize>( offset ), |
| 23158 |
static_cast<VkBuffer>( countBuffer ), |
| 23159 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 23160 |
maxDrawCount, |
| 23161 |
stride ); |
| 23162 |
} |
| 23163 |
|
| 23164 |
//=== VK_EXT_external_memory_host === |
| 23165 |
|
| 23166 |
// wrapper function for command vkGetMemoryHostPointerPropertiesEXT, see |
| 23167 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryHostPointerPropertiesEXT.html |
| 23168 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<MemoryHostPointerPropertiesEXT>::type |
| 23169 |
Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, const void * pHostPointer ) const |
| 23170 |
{ |
| 23171 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryHostPointerPropertiesEXT && |
| 23172 |
"Function <vkGetMemoryHostPointerPropertiesEXT> requires <VK_EXT_external_memory_host>" ); |
| 23173 |
|
| 23174 |
MemoryHostPointerPropertiesEXT memoryHostPointerProperties; |
| 23175 |
Result result = static_cast<Result>( |
| 23176 |
getDispatcher()->vkGetMemoryHostPointerPropertiesEXT( static_cast<VkDevice>( m_device ), |
| 23177 |
static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), |
| 23178 |
pHostPointer, |
| 23179 |
reinterpret_cast<VkMemoryHostPointerPropertiesEXT *>( &memoryHostPointerProperties ) ) ); |
| 23180 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryHostPointerPropertiesEXT" ); |
| 23181 |
|
| 23182 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( memoryHostPointerProperties ) ); |
| 23183 |
} |
| 23184 |
|
| 23185 |
//=== VK_AMD_buffer_marker === |
| 23186 |
|
| 23187 |
// wrapper function for command vkCmdWriteBufferMarkerAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarkerAMD.html |
| 23188 |
VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarkerAMD( PipelineStageFlagBits pipelineStage, |
| 23189 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 23190 |
DeviceSize dstOffset, |
| 23191 |
uint32_t marker ) const VULKAN_HPP_NOEXCEPT |
| 23192 |
{ |
| 23193 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteBufferMarkerAMD && "Function <vkCmdWriteBufferMarkerAMD> requires <VK_AMD_buffer_marker>" ); |
| 23194 |
|
| 23195 |
getDispatcher()->vkCmdWriteBufferMarkerAMD( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23196 |
static_cast<VkPipelineStageFlagBits>( pipelineStage ), |
| 23197 |
static_cast<VkBuffer>( dstBuffer ), |
| 23198 |
static_cast<VkDeviceSize>( dstOffset ), |
| 23199 |
marker ); |
| 23200 |
} |
| 23201 |
|
| 23202 |
// wrapper function for command vkCmdWriteBufferMarker2AMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteBufferMarker2AMD.html |
| 23203 |
VULKAN_HPP_INLINE void CommandBuffer::writeBufferMarker2AMD( PipelineStageFlags2 stage, |
| 23204 |
VULKAN_HPP_NAMESPACE::Buffer dstBuffer, |
| 23205 |
DeviceSize dstOffset, |
| 23206 |
uint32_t marker ) const VULKAN_HPP_NOEXCEPT |
| 23207 |
{ |
| 23208 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteBufferMarker2AMD && "Function <vkCmdWriteBufferMarker2AMD> requires <VK_AMD_buffer_marker>" ); |
| 23209 |
|
| 23210 |
getDispatcher()->vkCmdWriteBufferMarker2AMD( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23211 |
static_cast<VkPipelineStageFlags2>( stage ), |
| 23212 |
static_cast<VkBuffer>( dstBuffer ), |
| 23213 |
static_cast<VkDeviceSize>( dstOffset ), |
| 23214 |
marker ); |
| 23215 |
} |
| 23216 |
|
| 23217 |
//=== VK_EXT_calibrated_timestamps === |
| 23218 |
|
| 23219 |
// wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsEXT, see |
| 23220 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html |
| 23221 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<TimeDomainKHR>>::type PhysicalDevice::getCalibrateableTimeDomainsEXT() const |
| 23222 |
{ |
| 23223 |
VULKAN_HPP_ASSERT( |
| 23224 |
getDispatcher()->vkGetPhysicalDeviceCalibrateableTimeDomainsEXT && |
| 23225 |
"Function <vkGetPhysicalDeviceCalibrateableTimeDomainsEXT> requires <VK_EXT_calibrated_timestamps> or <VK_KHR_calibrated_timestamps>" ); |
| 23226 |
|
| 23227 |
std::vector<TimeDomainKHR> timeDomains; |
| 23228 |
uint32_t timeDomainCount; |
| 23229 |
Result result; |
| 23230 |
do |
| 23231 |
{ |
| 23232 |
result = static_cast<Result>( |
| 23233 |
getDispatcher()->vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), &timeDomainCount, nullptr ) ); |
| 23234 |
if ( ( result == Result::eSuccess ) && timeDomainCount ) |
| 23235 |
{ |
| 23236 |
timeDomains.resize( timeDomainCount ); |
| 23237 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCalibrateableTimeDomainsEXT( |
| 23238 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &timeDomainCount, reinterpret_cast<VkTimeDomainKHR *>( timeDomains.data() ) ) ); |
| 23239 |
} |
| 23240 |
} while ( result == Result::eIncomplete ); |
| 23241 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsEXT" ); |
| 23242 |
VULKAN_HPP_ASSERT( timeDomainCount <= timeDomains.size() ); |
| 23243 |
if ( timeDomainCount < timeDomains.size() ) |
| 23244 |
{ |
| 23245 |
timeDomains.resize( timeDomainCount ); |
| 23246 |
} |
| 23247 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( timeDomains ) ); |
| 23248 |
} |
| 23249 |
|
| 23250 |
// wrapper function for command vkGetCalibratedTimestampsEXT, see |
| 23251 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html |
| 23252 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<std::vector<uint64_t>, uint64_t>>::type |
| 23253 |
Device::getCalibratedTimestampsEXT( ArrayProxy<const CalibratedTimestampInfoKHR> const & timestampInfos ) const |
| 23254 |
{ |
| 23255 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetCalibratedTimestampsEXT && |
| 23256 |
"Function <vkGetCalibratedTimestampsEXT> requires <VK_EXT_calibrated_timestamps> or <VK_KHR_calibrated_timestamps>" ); |
| 23257 |
|
| 23258 |
std::pair<std::vector<uint64_t>, uint64_t> data_( std::piecewise_construct, std::forward_as_tuple( timestampInfos.size() ), std::forward_as_tuple( 0 ) ); |
| 23259 |
std::vector<uint64_t> & timestamps = data_.first; |
| 23260 |
uint64_t & maxDeviation = data_.second; |
| 23261 |
Result result = |
| 23262 |
static_cast<Result>( getDispatcher()->vkGetCalibratedTimestampsEXT( static_cast<VkDevice>( m_device ), |
| 23263 |
timestampInfos.size(), |
| 23264 |
reinterpret_cast<const VkCalibratedTimestampInfoKHR *>( timestampInfos.data() ), |
| 23265 |
timestamps.data(), |
| 23266 |
&maxDeviation ) ); |
| 23267 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getCalibratedTimestampsEXT" ); |
| 23268 |
|
| 23269 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 23270 |
} |
| 23271 |
|
| 23272 |
// wrapper function for command vkGetCalibratedTimestampsEXT, see |
| 23273 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsEXT.html |
| 23274 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<uint64_t, uint64_t>>::type |
| 23275 |
Device::getCalibratedTimestampEXT( const CalibratedTimestampInfoKHR & timestampInfo ) const |
| 23276 |
{ |
| 23277 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetCalibratedTimestampsEXT && |
| 23278 |
"Function <vkGetCalibratedTimestampsEXT> requires <VK_EXT_calibrated_timestamps> or <VK_KHR_calibrated_timestamps>" ); |
| 23279 |
|
| 23280 |
std::pair<uint64_t, uint64_t> data_; |
| 23281 |
uint64_t & timestamp = data_.first; |
| 23282 |
uint64_t & maxDeviation = data_.second; |
| 23283 |
Result result = static_cast<Result>( getDispatcher()->vkGetCalibratedTimestampsEXT( |
| 23284 |
static_cast<VkDevice>( m_device ), 1, reinterpret_cast<const VkCalibratedTimestampInfoKHR *>( ×tampInfo ), ×tamp, &maxDeviation ) ); |
| 23285 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getCalibratedTimestampEXT" ); |
| 23286 |
|
| 23287 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 23288 |
} |
| 23289 |
|
| 23290 |
//=== VK_NV_mesh_shader === |
| 23291 |
|
| 23292 |
// wrapper function for command vkCmdDrawMeshTasksNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksNV.html |
| 23293 |
VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksNV( uint32_t taskCount, uint32_t firstTask ) const VULKAN_HPP_NOEXCEPT |
| 23294 |
{ |
| 23295 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMeshTasksNV && "Function <vkCmdDrawMeshTasksNV> requires <VK_NV_mesh_shader>" ); |
| 23296 |
|
| 23297 |
getDispatcher()->vkCmdDrawMeshTasksNV( static_cast<VkCommandBuffer>( m_commandBuffer ), taskCount, firstTask ); |
| 23298 |
} |
| 23299 |
|
| 23300 |
// wrapper function for command vkCmdDrawMeshTasksIndirectNV, see |
| 23301 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectNV.html |
| 23302 |
VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectNV( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 23303 |
DeviceSize offset, |
| 23304 |
uint32_t drawCount, |
| 23305 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 23306 |
{ |
| 23307 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMeshTasksIndirectNV && "Function <vkCmdDrawMeshTasksIndirectNV> requires <VK_NV_mesh_shader>" ); |
| 23308 |
|
| 23309 |
getDispatcher()->vkCmdDrawMeshTasksIndirectNV( |
| 23310 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ), drawCount, stride ); |
| 23311 |
} |
| 23312 |
|
| 23313 |
// wrapper function for command vkCmdDrawMeshTasksIndirectCountNV, see |
| 23314 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountNV.html |
| 23315 |
VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCountNV( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 23316 |
DeviceSize offset, |
| 23317 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 23318 |
DeviceSize countBufferOffset, |
| 23319 |
uint32_t maxDrawCount, |
| 23320 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 23321 |
{ |
| 23322 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMeshTasksIndirectCountNV && "Function <vkCmdDrawMeshTasksIndirectCountNV> requires <VK_NV_mesh_shader>" ); |
| 23323 |
|
| 23324 |
getDispatcher()->vkCmdDrawMeshTasksIndirectCountNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23325 |
static_cast<VkBuffer>( buffer ), |
| 23326 |
static_cast<VkDeviceSize>( offset ), |
| 23327 |
static_cast<VkBuffer>( countBuffer ), |
| 23328 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 23329 |
maxDrawCount, |
| 23330 |
stride ); |
| 23331 |
} |
| 23332 |
|
| 23333 |
//=== VK_NV_scissor_exclusive === |
| 23334 |
|
| 23335 |
// wrapper function for command vkCmdSetExclusiveScissorEnableNV, see |
| 23336 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorEnableNV.html |
| 23337 |
VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorEnableNV( uint32_t firstExclusiveScissor, |
| 23338 |
ArrayProxy<const Bool32> const & exclusiveScissorEnables ) const VULKAN_HPP_NOEXCEPT |
| 23339 |
{ |
| 23340 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetExclusiveScissorEnableNV && |
| 23341 |
"Function <vkCmdSetExclusiveScissorEnableNV> requires <VK_NV_scissor_exclusive>" ); |
| 23342 |
|
| 23343 |
getDispatcher()->vkCmdSetExclusiveScissorEnableNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23344 |
firstExclusiveScissor, |
| 23345 |
exclusiveScissorEnables.size(), |
| 23346 |
reinterpret_cast<const VkBool32 *>( exclusiveScissorEnables.data() ) ); |
| 23347 |
} |
| 23348 |
|
| 23349 |
// wrapper function for command vkCmdSetExclusiveScissorNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExclusiveScissorNV.html |
| 23350 |
VULKAN_HPP_INLINE void CommandBuffer::setExclusiveScissorNV( uint32_t firstExclusiveScissor, |
| 23351 |
ArrayProxy<const Rect2D> const & exclusiveScissors ) const VULKAN_HPP_NOEXCEPT |
| 23352 |
{ |
| 23353 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetExclusiveScissorNV && "Function <vkCmdSetExclusiveScissorNV> requires <VK_NV_scissor_exclusive>" ); |
| 23354 |
|
| 23355 |
getDispatcher()->vkCmdSetExclusiveScissorNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23356 |
firstExclusiveScissor, |
| 23357 |
exclusiveScissors.size(), |
| 23358 |
reinterpret_cast<const VkRect2D *>( exclusiveScissors.data() ) ); |
| 23359 |
} |
| 23360 |
|
| 23361 |
//=== VK_NV_device_diagnostic_checkpoints === |
| 23362 |
|
| 23363 |
// wrapper function for command vkCmdSetCheckpointNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCheckpointNV.html |
| 23364 |
template <typename CheckpointMarkerType> |
| 23365 |
VULKAN_HPP_INLINE void CommandBuffer::setCheckpointNV( CheckpointMarkerType const & checkpointMarker ) const VULKAN_HPP_NOEXCEPT |
| 23366 |
{ |
| 23367 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCheckpointNV && "Function <vkCmdSetCheckpointNV> requires <VK_NV_device_diagnostic_checkpoints>" ); |
| 23368 |
|
| 23369 |
getDispatcher()->vkCmdSetCheckpointNV( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const void *>( &checkpointMarker ) ); |
| 23370 |
} |
| 23371 |
|
| 23372 |
// wrapper function for command vkGetQueueCheckpointDataNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointDataNV.html |
| 23373 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<CheckpointDataNV> Queue::getCheckpointDataNV() const |
| 23374 |
{ |
| 23375 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetQueueCheckpointDataNV && |
| 23376 |
"Function <vkGetQueueCheckpointDataNV> requires <VK_NV_device_diagnostic_checkpoints>" ); |
| 23377 |
|
| 23378 |
std::vector<CheckpointDataNV> checkpointData; |
| 23379 |
uint32_t checkpointDataCount; |
| 23380 |
getDispatcher()->vkGetQueueCheckpointDataNV( static_cast<VkQueue>( m_queue ), &checkpointDataCount, nullptr ); |
| 23381 |
checkpointData.resize( checkpointDataCount ); |
| 23382 |
getDispatcher()->vkGetQueueCheckpointDataNV( |
| 23383 |
static_cast<VkQueue>( m_queue ), &checkpointDataCount, reinterpret_cast<VkCheckpointDataNV *>( checkpointData.data() ) ); |
| 23384 |
|
| 23385 |
VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); |
| 23386 |
if ( checkpointDataCount < checkpointData.size() ) |
| 23387 |
{ |
| 23388 |
checkpointData.resize( checkpointDataCount ); |
| 23389 |
} |
| 23390 |
return checkpointData; |
| 23391 |
} |
| 23392 |
|
| 23393 |
// wrapper function for command vkGetQueueCheckpointData2NV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetQueueCheckpointData2NV.html |
| 23394 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<CheckpointData2NV> Queue::getCheckpointData2NV() const |
| 23395 |
{ |
| 23396 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetQueueCheckpointData2NV && |
| 23397 |
"Function <vkGetQueueCheckpointData2NV> requires <VK_NV_device_diagnostic_checkpoints>" ); |
| 23398 |
|
| 23399 |
std::vector<CheckpointData2NV> checkpointData; |
| 23400 |
uint32_t checkpointDataCount; |
| 23401 |
getDispatcher()->vkGetQueueCheckpointData2NV( static_cast<VkQueue>( m_queue ), &checkpointDataCount, nullptr ); |
| 23402 |
checkpointData.resize( checkpointDataCount ); |
| 23403 |
getDispatcher()->vkGetQueueCheckpointData2NV( |
| 23404 |
static_cast<VkQueue>( m_queue ), &checkpointDataCount, reinterpret_cast<VkCheckpointData2NV *>( checkpointData.data() ) ); |
| 23405 |
|
| 23406 |
VULKAN_HPP_ASSERT( checkpointDataCount <= checkpointData.size() ); |
| 23407 |
if ( checkpointDataCount < checkpointData.size() ) |
| 23408 |
{ |
| 23409 |
checkpointData.resize( checkpointDataCount ); |
| 23410 |
} |
| 23411 |
return checkpointData; |
| 23412 |
} |
| 23413 |
|
| 23414 |
//=== VK_KHR_timeline_semaphore === |
| 23415 |
|
| 23416 |
// wrapper function for command vkGetSemaphoreCounterValueKHR, see |
| 23417 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreCounterValueKHR.html |
| 23418 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<uint64_t>::type Semaphore::getCounterValueKHR() const |
| 23419 |
{ |
| 23420 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSemaphoreCounterValueKHR && |
| 23421 |
"Function <vkGetSemaphoreCounterValueKHR> requires <VK_KHR_timeline_semaphore> or <VK_VERSION_1_2>" ); |
| 23422 |
|
| 23423 |
uint64_t value; |
| 23424 |
Result result = static_cast<Result>( |
| 23425 |
getDispatcher()->vkGetSemaphoreCounterValueKHR( static_cast<VkDevice>( m_device ), static_cast<VkSemaphore>( m_semaphore ), &value ) ); |
| 23426 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Semaphore::getCounterValueKHR" ); |
| 23427 |
|
| 23428 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( value ) ); |
| 23429 |
} |
| 23430 |
|
| 23431 |
// wrapper function for command vkWaitSemaphoresKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitSemaphoresKHR.html |
| 23432 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::waitSemaphoresKHR( const SemaphoreWaitInfo & waitInfo, uint64_t timeout ) const |
| 23433 |
{ |
| 23434 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWaitSemaphoresKHR && "Function <vkWaitSemaphoresKHR> requires <VK_KHR_timeline_semaphore> or <VK_VERSION_1_2>" ); |
| 23435 |
|
| 23436 |
Result result = static_cast<Result>( |
| 23437 |
getDispatcher()->vkWaitSemaphoresKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreWaitInfo *>( &waitInfo ), timeout ) ); |
| 23438 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 23439 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::waitSemaphoresKHR", { Result::eSuccess, Result::eTimeout } ); |
| 23440 |
|
| 23441 |
return static_cast<Result>( result ); |
| 23442 |
} |
| 23443 |
|
| 23444 |
// wrapper function for command vkSignalSemaphoreKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSignalSemaphoreKHR.html |
| 23445 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::signalSemaphoreKHR( const SemaphoreSignalInfo & signalInfo ) const |
| 23446 |
{ |
| 23447 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSignalSemaphoreKHR && "Function <vkSignalSemaphoreKHR> requires <VK_KHR_timeline_semaphore> or <VK_VERSION_1_2>" ); |
| 23448 |
|
| 23449 |
Result result = static_cast<Result>( |
| 23450 |
getDispatcher()->vkSignalSemaphoreKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreSignalInfo *>( &signalInfo ) ) ); |
| 23451 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::signalSemaphoreKHR" ); |
| 23452 |
|
| 23453 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23454 |
} |
| 23455 |
|
| 23456 |
//=== VK_EXT_present_timing === |
| 23457 |
|
| 23458 |
// wrapper function for command vkSetSwapchainPresentTimingQueueSizeEXT, see |
| 23459 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetSwapchainPresentTimingQueueSizeEXT.html |
| 23460 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result SwapchainKHR::setPresentTimingQueueSizeEXT( uint32_t size ) const |
| 23461 |
{ |
| 23462 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetSwapchainPresentTimingQueueSizeEXT && |
| 23463 |
"Function <vkSetSwapchainPresentTimingQueueSizeEXT> requires <VK_EXT_present_timing>" ); |
| 23464 |
|
| 23465 |
Result result = static_cast<Result>( |
| 23466 |
getDispatcher()->vkSetSwapchainPresentTimingQueueSizeEXT( static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), size ) ); |
| 23467 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 23468 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::setPresentTimingQueueSizeEXT", { Result::eSuccess, Result::eNotReady } ); |
| 23469 |
|
| 23470 |
return static_cast<Result>( result ); |
| 23471 |
} |
| 23472 |
|
| 23473 |
// wrapper function for command vkGetSwapchainTimingPropertiesEXT, see |
| 23474 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimingPropertiesEXT.html |
| 23475 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ResultValue<std::pair<SwapchainTimingPropertiesEXT, uint64_t>> SwapchainKHR::getTimingPropertiesEXT() const |
| 23476 |
{ |
| 23477 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSwapchainTimingPropertiesEXT && |
| 23478 |
"Function <vkGetSwapchainTimingPropertiesEXT> requires <VK_EXT_present_timing>" ); |
| 23479 |
|
| 23480 |
std::pair<SwapchainTimingPropertiesEXT, uint64_t> data_; |
| 23481 |
SwapchainTimingPropertiesEXT & swapchainTimingProperties = data_.first; |
| 23482 |
uint64_t & swapchainTimingPropertiesCounter = data_.second; |
| 23483 |
Result result = static_cast<Result>( |
| 23484 |
getDispatcher()->vkGetSwapchainTimingPropertiesEXT( static_cast<VkDevice>( m_device ), |
| 23485 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 23486 |
reinterpret_cast<VkSwapchainTimingPropertiesEXT *>( &swapchainTimingProperties ), |
| 23487 |
&swapchainTimingPropertiesCounter ) ); |
| 23488 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 23489 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::getTimingPropertiesEXT", { Result::eSuccess, Result::eNotReady } ); |
| 23490 |
|
| 23491 |
return ResultValue<std::pair<SwapchainTimingPropertiesEXT, uint64_t>>( result, std::move( data_ ) ); |
| 23492 |
} |
| 23493 |
|
| 23494 |
// wrapper function for command vkGetSwapchainTimeDomainPropertiesEXT, see |
| 23495 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSwapchainTimeDomainPropertiesEXT.html |
| 23496 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result SwapchainKHR::getTimeDomainPropertiesEXT( SwapchainTimeDomainPropertiesEXT * pSwapchainTimeDomainProperties, |
| 23497 |
uint64_t * pTimeDomainsCounter ) const VULKAN_HPP_NOEXCEPT |
| 23498 |
{ |
| 23499 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSwapchainTimeDomainPropertiesEXT && |
| 23500 |
"Function <vkGetSwapchainTimeDomainPropertiesEXT> requires <VK_EXT_present_timing>" ); |
| 23501 |
return static_cast<Result>( |
| 23502 |
getDispatcher()->vkGetSwapchainTimeDomainPropertiesEXT( static_cast<VkDevice>( m_device ), |
| 23503 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 23504 |
reinterpret_cast<VkSwapchainTimeDomainPropertiesEXT *>( pSwapchainTimeDomainProperties ), |
| 23505 |
pTimeDomainsCounter ) ); |
| 23506 |
} // wrapper function for command vkGetPastPresentationTimingEXT, see |
| 23507 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPastPresentationTimingEXT.html |
| 23508 |
|
| 23509 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result |
| 23510 |
Device::getPastPresentationTimingEXT( const PastPresentationTimingInfoEXT * pPastPresentationTimingInfo, |
| 23511 |
PastPresentationTimingPropertiesEXT * pPastPresentationTimingProperties ) const VULKAN_HPP_NOEXCEPT |
| 23512 |
{ |
| 23513 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPastPresentationTimingEXT && "Function <vkGetPastPresentationTimingEXT> requires <VK_EXT_present_timing>" ); |
| 23514 |
return static_cast<Result>( |
| 23515 |
getDispatcher()->vkGetPastPresentationTimingEXT( static_cast<VkDevice>( m_device ), |
| 23516 |
reinterpret_cast<const VkPastPresentationTimingInfoEXT *>( pPastPresentationTimingInfo ), |
| 23517 |
reinterpret_cast<VkPastPresentationTimingPropertiesEXT *>( pPastPresentationTimingProperties ) ) ); |
| 23518 |
} |
| 23519 |
|
| 23520 |
//=== VK_INTEL_performance_query === |
| 23521 |
|
| 23522 |
// wrapper function for command vkInitializePerformanceApiINTEL, see |
| 23523 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkInitializePerformanceApiINTEL.html |
| 23524 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 23525 |
Device::initializePerformanceApiINTEL( const InitializePerformanceApiInfoINTEL & initializeInfo ) const |
| 23526 |
{ |
| 23527 |
VULKAN_HPP_ASSERT( getDispatcher()->vkInitializePerformanceApiINTEL && |
| 23528 |
"Function <vkInitializePerformanceApiINTEL> requires <VK_INTEL_performance_query>" ); |
| 23529 |
|
| 23530 |
Result result = static_cast<Result>( getDispatcher()->vkInitializePerformanceApiINTEL( |
| 23531 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkInitializePerformanceApiInfoINTEL *>( &initializeInfo ) ) ); |
| 23532 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::initializePerformanceApiINTEL" ); |
| 23533 |
|
| 23534 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23535 |
} |
| 23536 |
|
| 23537 |
// wrapper function for command vkUninitializePerformanceApiINTEL, see |
| 23538 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUninitializePerformanceApiINTEL.html |
| 23539 |
VULKAN_HPP_INLINE void Device::uninitializePerformanceApiINTEL() const VULKAN_HPP_NOEXCEPT |
| 23540 |
{ |
| 23541 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUninitializePerformanceApiINTEL && |
| 23542 |
"Function <vkUninitializePerformanceApiINTEL> requires <VK_INTEL_performance_query>" ); |
| 23543 |
|
| 23544 |
getDispatcher()->vkUninitializePerformanceApiINTEL( static_cast<VkDevice>( m_device ) ); |
| 23545 |
} |
| 23546 |
|
| 23547 |
// wrapper function for command vkCmdSetPerformanceMarkerINTEL, see |
| 23548 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceMarkerINTEL.html |
| 23549 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type CommandBuffer::setPerformanceMarkerINTEL( const PerformanceMarkerInfoINTEL & markerInfo ) const |
| 23550 |
{ |
| 23551 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPerformanceMarkerINTEL && "Function <vkCmdSetPerformanceMarkerINTEL> requires <VK_INTEL_performance_query>" ); |
| 23552 |
|
| 23553 |
Result result = static_cast<Result>( getDispatcher()->vkCmdSetPerformanceMarkerINTEL( |
| 23554 |
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkPerformanceMarkerInfoINTEL *>( &markerInfo ) ) ); |
| 23555 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandBuffer::setPerformanceMarkerINTEL" ); |
| 23556 |
|
| 23557 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23558 |
} |
| 23559 |
|
| 23560 |
// wrapper function for command vkCmdSetPerformanceStreamMarkerINTEL, see |
| 23561 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html |
| 23562 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 23563 |
CommandBuffer::setPerformanceStreamMarkerINTEL( const PerformanceStreamMarkerInfoINTEL & markerInfo ) const |
| 23564 |
{ |
| 23565 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPerformanceStreamMarkerINTEL && |
| 23566 |
"Function <vkCmdSetPerformanceStreamMarkerINTEL> requires <VK_INTEL_performance_query>" ); |
| 23567 |
|
| 23568 |
Result result = static_cast<Result>( getDispatcher()->vkCmdSetPerformanceStreamMarkerINTEL( |
| 23569 |
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkPerformanceStreamMarkerInfoINTEL *>( &markerInfo ) ) ); |
| 23570 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandBuffer::setPerformanceStreamMarkerINTEL" ); |
| 23571 |
|
| 23572 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23573 |
} |
| 23574 |
|
| 23575 |
// wrapper function for command vkCmdSetPerformanceOverrideINTEL, see |
| 23576 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPerformanceOverrideINTEL.html |
| 23577 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type CommandBuffer::setPerformanceOverrideINTEL( const PerformanceOverrideInfoINTEL & overrideInfo ) const |
| 23578 |
{ |
| 23579 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPerformanceOverrideINTEL && |
| 23580 |
"Function <vkCmdSetPerformanceOverrideINTEL> requires <VK_INTEL_performance_query>" ); |
| 23581 |
|
| 23582 |
Result result = static_cast<Result>( getDispatcher()->vkCmdSetPerformanceOverrideINTEL( |
| 23583 |
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkPerformanceOverrideInfoINTEL *>( &overrideInfo ) ) ); |
| 23584 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CommandBuffer::setPerformanceOverrideINTEL" ); |
| 23585 |
|
| 23586 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23587 |
} |
| 23588 |
|
| 23589 |
// wrapper function for command vkAcquirePerformanceConfigurationINTEL, see |
| 23590 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquirePerformanceConfigurationINTEL.html |
| 23591 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PerformanceConfigurationINTEL>::type |
| 23592 |
Device::acquirePerformanceConfigurationINTEL( PerformanceConfigurationAcquireInfoINTEL const & acquireInfo ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 23593 |
{ |
| 23594 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquirePerformanceConfigurationINTEL && |
| 23595 |
"Function <vkAcquirePerformanceConfigurationINTEL> requires <VK_INTEL_performance_query>" ); |
| 23596 |
|
| 23597 |
VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration; |
| 23598 |
Result result = static_cast<Result>( |
| 23599 |
getDispatcher()->vkAcquirePerformanceConfigurationINTEL( static_cast<VkDevice>( m_device ), |
| 23600 |
reinterpret_cast<const VkPerformanceConfigurationAcquireInfoINTEL *>( &acquireInfo ), |
| 23601 |
reinterpret_cast<VkPerformanceConfigurationINTEL *>( &configuration ) ) ); |
| 23602 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::acquirePerformanceConfigurationINTEL" ); |
| 23603 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 23604 |
result, PerformanceConfigurationINTEL( *this, *reinterpret_cast<VkPerformanceConfigurationINTEL *>( &configuration ) ) ); |
| 23605 |
} |
| 23606 |
|
| 23607 |
// wrapper function for command vkQueueSetPerformanceConfigurationINTEL, see |
| 23608 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSetPerformanceConfigurationINTEL.html |
| 23609 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 23610 |
Queue::setPerformanceConfigurationINTEL( VULKAN_HPP_NAMESPACE::PerformanceConfigurationINTEL configuration ) const |
| 23611 |
{ |
| 23612 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueSetPerformanceConfigurationINTEL && |
| 23613 |
"Function <vkQueueSetPerformanceConfigurationINTEL> requires <VK_INTEL_performance_query>" ); |
| 23614 |
|
| 23615 |
Result result = static_cast<Result>( getDispatcher()->vkQueueSetPerformanceConfigurationINTEL( |
| 23616 |
static_cast<VkQueue>( m_queue ), static_cast<VkPerformanceConfigurationINTEL>( configuration ) ) ); |
| 23617 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::setPerformanceConfigurationINTEL" ); |
| 23618 |
|
| 23619 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23620 |
} |
| 23621 |
|
| 23622 |
// wrapper function for command vkGetPerformanceParameterINTEL, see |
| 23623 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPerformanceParameterINTEL.html |
| 23624 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PerformanceValueINTEL>::type |
| 23625 |
Device::getPerformanceParameterINTEL( PerformanceParameterTypeINTEL parameter ) const |
| 23626 |
{ |
| 23627 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPerformanceParameterINTEL && "Function <vkGetPerformanceParameterINTEL> requires <VK_INTEL_performance_query>" ); |
| 23628 |
|
| 23629 |
PerformanceValueINTEL value; |
| 23630 |
Result result = static_cast<Result>( getDispatcher()->vkGetPerformanceParameterINTEL( |
| 23631 |
static_cast<VkDevice>( m_device ), static_cast<VkPerformanceParameterTypeINTEL>( parameter ), reinterpret_cast<VkPerformanceValueINTEL *>( &value ) ) ); |
| 23632 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPerformanceParameterINTEL" ); |
| 23633 |
|
| 23634 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( value ) ); |
| 23635 |
} |
| 23636 |
|
| 23637 |
//=== VK_AMD_display_native_hdr === |
| 23638 |
|
| 23639 |
// wrapper function for command vkSetLocalDimmingAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLocalDimmingAMD.html |
| 23640 |
VULKAN_HPP_INLINE void SwapchainKHR::setLocalDimmingAMD( Bool32 localDimmingEnable ) const VULKAN_HPP_NOEXCEPT |
| 23641 |
{ |
| 23642 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetLocalDimmingAMD && "Function <vkSetLocalDimmingAMD> requires <VK_AMD_display_native_hdr>" ); |
| 23643 |
|
| 23644 |
getDispatcher()->vkSetLocalDimmingAMD( |
| 23645 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), static_cast<VkBool32>( localDimmingEnable ) ); |
| 23646 |
} |
| 23647 |
|
| 23648 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 23649 |
//=== VK_FUCHSIA_imagepipe_surface === |
| 23650 |
|
| 23651 |
// wrapper function for command vkCreateImagePipeSurfaceFUCHSIA, see |
| 23652 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateImagePipeSurfaceFUCHSIA.html |
| 23653 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 23654 |
Instance::createImagePipeSurfaceFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo, |
| 23655 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 23656 |
{ |
| 23657 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateImagePipeSurfaceFUCHSIA && |
| 23658 |
"Function <vkCreateImagePipeSurfaceFUCHSIA> requires <VK_FUCHSIA_imagepipe_surface>" ); |
| 23659 |
|
| 23660 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 23661 |
Result result = |
| 23662 |
static_cast<Result>( getDispatcher()->vkCreateImagePipeSurfaceFUCHSIA( static_cast<VkInstance>( m_instance ), |
| 23663 |
reinterpret_cast<const VkImagePipeSurfaceCreateInfoFUCHSIA *>( &createInfo ), |
| 23664 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 23665 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 23666 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createImagePipeSurfaceFUCHSIA" ); |
| 23667 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 23668 |
} |
| 23669 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 23670 |
|
| 23671 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 23672 |
//=== VK_EXT_metal_surface === |
| 23673 |
|
| 23674 |
// wrapper function for command vkCreateMetalSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMetalSurfaceEXT.html |
| 23675 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 23676 |
Instance::createMetalSurfaceEXT( MetalSurfaceCreateInfoEXT const & createInfo, |
| 23677 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 23678 |
{ |
| 23679 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateMetalSurfaceEXT && "Function <vkCreateMetalSurfaceEXT> requires <VK_EXT_metal_surface>" ); |
| 23680 |
|
| 23681 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 23682 |
Result result = static_cast<Result>( getDispatcher()->vkCreateMetalSurfaceEXT( static_cast<VkInstance>( m_instance ), |
| 23683 |
reinterpret_cast<const VkMetalSurfaceCreateInfoEXT *>( &createInfo ), |
| 23684 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 23685 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 23686 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createMetalSurfaceEXT" ); |
| 23687 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 23688 |
} |
| 23689 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 23690 |
|
| 23691 |
//=== VK_KHR_fragment_shading_rate === |
| 23692 |
|
| 23693 |
// wrapper function for command vkGetPhysicalDeviceFragmentShadingRatesKHR, see |
| 23694 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceFragmentShadingRatesKHR.html |
| 23695 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceFragmentShadingRateKHR>>::type |
| 23696 |
PhysicalDevice::getFragmentShadingRatesKHR() const |
| 23697 |
{ |
| 23698 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceFragmentShadingRatesKHR && |
| 23699 |
"Function <vkGetPhysicalDeviceFragmentShadingRatesKHR> requires <VK_KHR_fragment_shading_rate>" ); |
| 23700 |
|
| 23701 |
std::vector<PhysicalDeviceFragmentShadingRateKHR> fragmentShadingRates; |
| 23702 |
uint32_t fragmentShadingRateCount; |
| 23703 |
Result result; |
| 23704 |
do |
| 23705 |
{ |
| 23706 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceFragmentShadingRatesKHR( |
| 23707 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &fragmentShadingRateCount, nullptr ) ); |
| 23708 |
if ( ( result == Result::eSuccess ) && fragmentShadingRateCount ) |
| 23709 |
{ |
| 23710 |
fragmentShadingRates.resize( fragmentShadingRateCount ); |
| 23711 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceFragmentShadingRatesKHR( |
| 23712 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 23713 |
&fragmentShadingRateCount, |
| 23714 |
reinterpret_cast<VkPhysicalDeviceFragmentShadingRateKHR *>( fragmentShadingRates.data() ) ) ); |
| 23715 |
} |
| 23716 |
} while ( result == Result::eIncomplete ); |
| 23717 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getFragmentShadingRatesKHR" ); |
| 23718 |
VULKAN_HPP_ASSERT( fragmentShadingRateCount <= fragmentShadingRates.size() ); |
| 23719 |
if ( fragmentShadingRateCount < fragmentShadingRates.size() ) |
| 23720 |
{ |
| 23721 |
fragmentShadingRates.resize( fragmentShadingRateCount ); |
| 23722 |
} |
| 23723 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( fragmentShadingRates ) ); |
| 23724 |
} |
| 23725 |
|
| 23726 |
// wrapper function for command vkCmdSetFragmentShadingRateKHR, see |
| 23727 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateKHR.html |
| 23728 |
VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateKHR( const Extent2D & fragmentSize, |
| 23729 |
const FragmentShadingRateCombinerOpKHR combinerOps[2] ) const VULKAN_HPP_NOEXCEPT |
| 23730 |
{ |
| 23731 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetFragmentShadingRateKHR && |
| 23732 |
"Function <vkCmdSetFragmentShadingRateKHR> requires <VK_KHR_fragment_shading_rate>" ); |
| 23733 |
|
| 23734 |
getDispatcher()->vkCmdSetFragmentShadingRateKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23735 |
reinterpret_cast<const VkExtent2D *>( &fragmentSize ), |
| 23736 |
reinterpret_cast<const VkFragmentShadingRateCombinerOpKHR *>( combinerOps ) ); |
| 23737 |
} |
| 23738 |
|
| 23739 |
//=== VK_KHR_dynamic_rendering_local_read === |
| 23740 |
|
| 23741 |
// wrapper function for command vkCmdSetRenderingAttachmentLocationsKHR, see |
| 23742 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingAttachmentLocationsKHR.html |
| 23743 |
VULKAN_HPP_INLINE void CommandBuffer::setRenderingAttachmentLocationsKHR( const RenderingAttachmentLocationInfo & locationInfo ) const VULKAN_HPP_NOEXCEPT |
| 23744 |
{ |
| 23745 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRenderingAttachmentLocationsKHR && |
| 23746 |
"Function <vkCmdSetRenderingAttachmentLocationsKHR> requires <VK_KHR_dynamic_rendering_local_read> or <VK_VERSION_1_4>" ); |
| 23747 |
|
| 23748 |
getDispatcher()->vkCmdSetRenderingAttachmentLocationsKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23749 |
reinterpret_cast<const VkRenderingAttachmentLocationInfo *>( &locationInfo ) ); |
| 23750 |
} |
| 23751 |
|
| 23752 |
// wrapper function for command vkCmdSetRenderingInputAttachmentIndicesKHR, see |
| 23753 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRenderingInputAttachmentIndicesKHR.html |
| 23754 |
VULKAN_HPP_INLINE void |
| 23755 |
CommandBuffer::setRenderingInputAttachmentIndicesKHR( const RenderingInputAttachmentIndexInfo & inputAttachmentIndexInfo ) const VULKAN_HPP_NOEXCEPT |
| 23756 |
{ |
| 23757 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRenderingInputAttachmentIndicesKHR && |
| 23758 |
"Function <vkCmdSetRenderingInputAttachmentIndicesKHR> requires <VK_KHR_dynamic_rendering_local_read> or <VK_VERSION_1_4>" ); |
| 23759 |
|
| 23760 |
getDispatcher()->vkCmdSetRenderingInputAttachmentIndicesKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 23761 |
reinterpret_cast<const VkRenderingInputAttachmentIndexInfo *>( &inputAttachmentIndexInfo ) ); |
| 23762 |
} |
| 23763 |
|
| 23764 |
//=== VK_EXT_buffer_device_address === |
| 23765 |
|
| 23766 |
// wrapper function for command vkGetBufferDeviceAddressEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressEXT.html |
| 23767 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressEXT( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 23768 |
{ |
| 23769 |
VULKAN_HPP_ASSERT( |
| 23770 |
getDispatcher()->vkGetBufferDeviceAddressEXT && |
| 23771 |
"Function <vkGetBufferDeviceAddressEXT> requires <VK_EXT_buffer_device_address> or <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 23772 |
|
| 23773 |
VkDeviceAddress result = |
| 23774 |
getDispatcher()->vkGetBufferDeviceAddressEXT( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkBufferDeviceAddressInfo *>( &info ) ); |
| 23775 |
|
| 23776 |
return static_cast<DeviceAddress>( result ); |
| 23777 |
} |
| 23778 |
|
| 23779 |
//=== VK_EXT_tooling_info === |
| 23780 |
|
| 23781 |
// wrapper function for command vkGetPhysicalDeviceToolPropertiesEXT, see |
| 23782 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceToolPropertiesEXT.html |
| 23783 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PhysicalDeviceToolProperties>>::type |
| 23784 |
PhysicalDevice::getToolPropertiesEXT() const |
| 23785 |
{ |
| 23786 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceToolPropertiesEXT && |
| 23787 |
"Function <vkGetPhysicalDeviceToolPropertiesEXT> requires <VK_EXT_tooling_info> or <VK_VERSION_1_3>" ); |
| 23788 |
|
| 23789 |
std::vector<PhysicalDeviceToolProperties> toolProperties; |
| 23790 |
uint32_t toolCount; |
| 23791 |
Result result; |
| 23792 |
do |
| 23793 |
{ |
| 23794 |
result = static_cast<Result>( |
| 23795 |
getDispatcher()->vkGetPhysicalDeviceToolPropertiesEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), &toolCount, nullptr ) ); |
| 23796 |
if ( ( result == Result::eSuccess ) && toolCount ) |
| 23797 |
{ |
| 23798 |
toolProperties.resize( toolCount ); |
| 23799 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceToolPropertiesEXT( |
| 23800 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &toolCount, reinterpret_cast<VkPhysicalDeviceToolProperties *>( toolProperties.data() ) ) ); |
| 23801 |
} |
| 23802 |
} while ( result == Result::eIncomplete ); |
| 23803 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getToolPropertiesEXT" ); |
| 23804 |
VULKAN_HPP_ASSERT( toolCount <= toolProperties.size() ); |
| 23805 |
if ( toolCount < toolProperties.size() ) |
| 23806 |
{ |
| 23807 |
toolProperties.resize( toolCount ); |
| 23808 |
} |
| 23809 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( toolProperties ) ); |
| 23810 |
} |
| 23811 |
|
| 23812 |
//=== VK_KHR_present_wait === |
| 23813 |
|
| 23814 |
// wrapper function for command vkWaitForPresentKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresentKHR.html |
| 23815 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result SwapchainKHR::waitForPresent( uint64_t presentId, uint64_t timeout ) const |
| 23816 |
{ |
| 23817 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWaitForPresentKHR && "Function <vkWaitForPresentKHR> requires <VK_KHR_present_wait>" ); |
| 23818 |
|
| 23819 |
Result result = static_cast<Result>( |
| 23820 |
getDispatcher()->vkWaitForPresentKHR( static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), presentId, timeout ) ); |
| 23821 |
|
| 23822 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 23823 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 23824 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::waitForPresent", |
| 23825 |
{ Result::eSuccess, Result::eTimeout, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); |
| 23826 |
# else |
| 23827 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 23828 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::waitForPresent", { Result::eSuccess, Result::eTimeout, Result::eSuboptimalKHR } ); |
| 23829 |
# endif |
| 23830 |
|
| 23831 |
return static_cast<Result>( result ); |
| 23832 |
} |
| 23833 |
|
| 23834 |
//=== VK_NV_cooperative_matrix === |
| 23835 |
|
| 23836 |
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesNV, see |
| 23837 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html |
| 23838 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<CooperativeMatrixPropertiesNV>>::type |
| 23839 |
PhysicalDevice::getCooperativeMatrixPropertiesNV() const |
| 23840 |
{ |
| 23841 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixPropertiesNV && |
| 23842 |
"Function <vkGetPhysicalDeviceCooperativeMatrixPropertiesNV> requires <VK_NV_cooperative_matrix>" ); |
| 23843 |
|
| 23844 |
std::vector<CooperativeMatrixPropertiesNV> properties; |
| 23845 |
uint32_t propertyCount; |
| 23846 |
Result result; |
| 23847 |
do |
| 23848 |
{ |
| 23849 |
result = static_cast<Result>( |
| 23850 |
getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 23851 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 23852 |
{ |
| 23853 |
properties.resize( propertyCount ); |
| 23854 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixPropertiesNV( |
| 23855 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkCooperativeMatrixPropertiesNV *>( properties.data() ) ) ); |
| 23856 |
} |
| 23857 |
} while ( result == Result::eIncomplete ); |
| 23858 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesNV" ); |
| 23859 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 23860 |
if ( propertyCount < properties.size() ) |
| 23861 |
{ |
| 23862 |
properties.resize( propertyCount ); |
| 23863 |
} |
| 23864 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 23865 |
} |
| 23866 |
|
| 23867 |
//=== VK_NV_coverage_reduction_mode === |
| 23868 |
|
| 23869 |
// wrapper function for command vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV, see |
| 23870 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html |
| 23871 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<FramebufferMixedSamplesCombinationNV>>::type |
| 23872 |
PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV() const |
| 23873 |
{ |
| 23874 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV && |
| 23875 |
"Function <vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV> requires <VK_NV_coverage_reduction_mode>" ); |
| 23876 |
|
| 23877 |
std::vector<FramebufferMixedSamplesCombinationNV> combinations; |
| 23878 |
uint32_t combinationCount; |
| 23879 |
Result result; |
| 23880 |
do |
| 23881 |
{ |
| 23882 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( |
| 23883 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &combinationCount, nullptr ) ); |
| 23884 |
if ( ( result == Result::eSuccess ) && combinationCount ) |
| 23885 |
{ |
| 23886 |
combinations.resize( combinationCount ); |
| 23887 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV( |
| 23888 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 23889 |
&combinationCount, |
| 23890 |
reinterpret_cast<VkFramebufferMixedSamplesCombinationNV *>( combinations.data() ) ) ); |
| 23891 |
} |
| 23892 |
} while ( result == Result::eIncomplete ); |
| 23893 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 23894 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSupportedFramebufferMixedSamplesCombinationsNV" ); |
| 23895 |
VULKAN_HPP_ASSERT( combinationCount <= combinations.size() ); |
| 23896 |
if ( combinationCount < combinations.size() ) |
| 23897 |
{ |
| 23898 |
combinations.resize( combinationCount ); |
| 23899 |
} |
| 23900 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( combinations ) ); |
| 23901 |
} |
| 23902 |
|
| 23903 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 23904 |
//=== VK_EXT_full_screen_exclusive === |
| 23905 |
|
| 23906 |
// wrapper function for command vkGetPhysicalDeviceSurfacePresentModes2EXT, see |
| 23907 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceSurfacePresentModes2EXT.html |
| 23908 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PresentModeKHR>>::type |
| 23909 |
PhysicalDevice::getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const |
| 23910 |
{ |
| 23911 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceSurfacePresentModes2EXT && |
| 23912 |
"Function <vkGetPhysicalDeviceSurfacePresentModes2EXT> requires <VK_EXT_full_screen_exclusive>" ); |
| 23913 |
|
| 23914 |
std::vector<PresentModeKHR> presentModes; |
| 23915 |
uint32_t presentModeCount; |
| 23916 |
Result result; |
| 23917 |
do |
| 23918 |
{ |
| 23919 |
result = static_cast<Result>( |
| 23920 |
getDispatcher()->vkGetPhysicalDeviceSurfacePresentModes2EXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 23921 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 23922 |
&presentModeCount, |
| 23923 |
nullptr ) ); |
| 23924 |
if ( ( result == Result::eSuccess ) && presentModeCount ) |
| 23925 |
{ |
| 23926 |
presentModes.resize( presentModeCount ); |
| 23927 |
result = static_cast<Result>( |
| 23928 |
getDispatcher()->vkGetPhysicalDeviceSurfacePresentModes2EXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 23929 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 23930 |
&presentModeCount, |
| 23931 |
reinterpret_cast<VkPresentModeKHR *>( presentModes.data() ) ) ); |
| 23932 |
} |
| 23933 |
} while ( result == Result::eIncomplete ); |
| 23934 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getSurfacePresentModes2EXT" ); |
| 23935 |
VULKAN_HPP_ASSERT( presentModeCount <= presentModes.size() ); |
| 23936 |
if ( presentModeCount < presentModes.size() ) |
| 23937 |
{ |
| 23938 |
presentModes.resize( presentModeCount ); |
| 23939 |
} |
| 23940 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( presentModes ) ); |
| 23941 |
} |
| 23942 |
|
| 23943 |
// wrapper function for command vkAcquireFullScreenExclusiveModeEXT, see |
| 23944 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireFullScreenExclusiveModeEXT.html |
| 23945 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type SwapchainKHR::acquireFullScreenExclusiveModeEXT() const |
| 23946 |
{ |
| 23947 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireFullScreenExclusiveModeEXT && |
| 23948 |
"Function <vkAcquireFullScreenExclusiveModeEXT> requires <VK_EXT_full_screen_exclusive>" ); |
| 23949 |
|
| 23950 |
Result result = static_cast<Result>( |
| 23951 |
getDispatcher()->vkAcquireFullScreenExclusiveModeEXT( static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ) ) ); |
| 23952 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::acquireFullScreenExclusiveModeEXT" ); |
| 23953 |
|
| 23954 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23955 |
} |
| 23956 |
|
| 23957 |
// wrapper function for command vkReleaseFullScreenExclusiveModeEXT, see |
| 23958 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseFullScreenExclusiveModeEXT.html |
| 23959 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type SwapchainKHR::releaseFullScreenExclusiveModeEXT() const |
| 23960 |
{ |
| 23961 |
VULKAN_HPP_ASSERT( getDispatcher()->vkReleaseFullScreenExclusiveModeEXT && |
| 23962 |
"Function <vkReleaseFullScreenExclusiveModeEXT> requires <VK_EXT_full_screen_exclusive>" ); |
| 23963 |
|
| 23964 |
Result result = static_cast<Result>( |
| 23965 |
getDispatcher()->vkReleaseFullScreenExclusiveModeEXT( static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ) ) ); |
| 23966 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::releaseFullScreenExclusiveModeEXT" ); |
| 23967 |
|
| 23968 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 23969 |
} |
| 23970 |
|
| 23971 |
// wrapper function for command vkGetDeviceGroupSurfacePresentModes2EXT, see |
| 23972 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceGroupSurfacePresentModes2EXT.html |
| 23973 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DeviceGroupPresentModeFlagsKHR>::type |
| 23974 |
Device::getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const |
| 23975 |
{ |
| 23976 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceGroupSurfacePresentModes2EXT && |
| 23977 |
"Function <vkGetDeviceGroupSurfacePresentModes2EXT> requires <VK_EXT_full_screen_exclusive>" ); |
| 23978 |
|
| 23979 |
DeviceGroupPresentModeFlagsKHR modes; |
| 23980 |
Result result = static_cast<Result>( |
| 23981 |
getDispatcher()->vkGetDeviceGroupSurfacePresentModes2EXT( static_cast<VkDevice>( m_device ), |
| 23982 |
reinterpret_cast<const VkPhysicalDeviceSurfaceInfo2KHR *>( &surfaceInfo ), |
| 23983 |
reinterpret_cast<VkDeviceGroupPresentModeFlagsKHR *>( &modes ) ) ); |
| 23984 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getGroupSurfacePresentModes2EXT" ); |
| 23985 |
|
| 23986 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( modes ) ); |
| 23987 |
} |
| 23988 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 23989 |
|
| 23990 |
//=== VK_EXT_headless_surface === |
| 23991 |
|
| 23992 |
// wrapper function for command vkCreateHeadlessSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateHeadlessSurfaceEXT.html |
| 23993 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 23994 |
Instance::createHeadlessSurfaceEXT( HeadlessSurfaceCreateInfoEXT const & createInfo, |
| 23995 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 23996 |
{ |
| 23997 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateHeadlessSurfaceEXT && "Function <vkCreateHeadlessSurfaceEXT> requires <VK_EXT_headless_surface>" ); |
| 23998 |
|
| 23999 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 24000 |
Result result = static_cast<Result>( getDispatcher()->vkCreateHeadlessSurfaceEXT( static_cast<VkInstance>( m_instance ), |
| 24001 |
reinterpret_cast<const VkHeadlessSurfaceCreateInfoEXT *>( &createInfo ), |
| 24002 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 24003 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 24004 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createHeadlessSurfaceEXT" ); |
| 24005 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 24006 |
} |
| 24007 |
|
| 24008 |
//=== VK_KHR_buffer_device_address === |
| 24009 |
|
| 24010 |
// wrapper function for command vkGetBufferDeviceAddressKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferDeviceAddressKHR.html |
| 24011 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceAddress Device::getBufferAddressKHR( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 24012 |
{ |
| 24013 |
VULKAN_HPP_ASSERT( |
| 24014 |
getDispatcher()->vkGetBufferDeviceAddressKHR && |
| 24015 |
"Function <vkGetBufferDeviceAddressKHR> requires <VK_EXT_buffer_device_address> or <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 24016 |
|
| 24017 |
VkDeviceAddress result = |
| 24018 |
getDispatcher()->vkGetBufferDeviceAddressKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkBufferDeviceAddressInfo *>( &info ) ); |
| 24019 |
|
| 24020 |
return static_cast<DeviceAddress>( result ); |
| 24021 |
} |
| 24022 |
|
| 24023 |
// wrapper function for command vkGetBufferOpaqueCaptureAddressKHR, see |
| 24024 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureAddressKHR.html |
| 24025 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getBufferOpaqueCaptureAddressKHR( const BufferDeviceAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 24026 |
{ |
| 24027 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferOpaqueCaptureAddressKHR && |
| 24028 |
"Function <vkGetBufferOpaqueCaptureAddressKHR> requires <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 24029 |
|
| 24030 |
uint64_t result = |
| 24031 |
getDispatcher()->vkGetBufferOpaqueCaptureAddressKHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkBufferDeviceAddressInfo *>( &info ) ); |
| 24032 |
|
| 24033 |
return result; |
| 24034 |
} |
| 24035 |
|
| 24036 |
// wrapper function for command vkGetDeviceMemoryOpaqueCaptureAddressKHR, see |
| 24037 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMemoryOpaqueCaptureAddressKHR.html |
| 24038 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t |
| 24039 |
Device::getMemoryOpaqueCaptureAddressKHR( const DeviceMemoryOpaqueCaptureAddressInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 24040 |
{ |
| 24041 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceMemoryOpaqueCaptureAddressKHR && |
| 24042 |
"Function <vkGetDeviceMemoryOpaqueCaptureAddressKHR> requires <VK_KHR_buffer_device_address> or <VK_VERSION_1_2>" ); |
| 24043 |
|
| 24044 |
uint64_t result = getDispatcher()->vkGetDeviceMemoryOpaqueCaptureAddressKHR( static_cast<VkDevice>( m_device ), |
| 24045 |
reinterpret_cast<const VkDeviceMemoryOpaqueCaptureAddressInfo *>( &info ) ); |
| 24046 |
|
| 24047 |
return result; |
| 24048 |
} |
| 24049 |
|
| 24050 |
//=== VK_EXT_line_rasterization === |
| 24051 |
|
| 24052 |
// wrapper function for command vkCmdSetLineStippleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEXT.html |
| 24053 |
VULKAN_HPP_INLINE void CommandBuffer::setLineStippleEXT( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT |
| 24054 |
{ |
| 24055 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLineStippleEXT && |
| 24056 |
"Function <vkCmdSetLineStippleEXT> requires <VK_EXT_line_rasterization> or <VK_KHR_line_rasterization> or <VK_VERSION_1_4>" ); |
| 24057 |
|
| 24058 |
getDispatcher()->vkCmdSetLineStippleEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), lineStippleFactor, lineStipplePattern ); |
| 24059 |
} |
| 24060 |
|
| 24061 |
//=== VK_EXT_host_query_reset === |
| 24062 |
|
| 24063 |
// wrapper function for command vkResetQueryPoolEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkResetQueryPoolEXT.html |
| 24064 |
VULKAN_HPP_INLINE void QueryPool::resetEXT( uint32_t firstQuery, uint32_t queryCount ) const VULKAN_HPP_NOEXCEPT |
| 24065 |
{ |
| 24066 |
VULKAN_HPP_ASSERT( getDispatcher()->vkResetQueryPoolEXT && "Function <vkResetQueryPoolEXT> requires <VK_EXT_host_query_reset> or <VK_VERSION_1_2>" ); |
| 24067 |
|
| 24068 |
getDispatcher()->vkResetQueryPoolEXT( static_cast<VkDevice>( m_device ), static_cast<VkQueryPool>( m_queryPool ), firstQuery, queryCount ); |
| 24069 |
} |
| 24070 |
|
| 24071 |
//=== VK_EXT_extended_dynamic_state === |
| 24072 |
|
| 24073 |
// wrapper function for command vkCmdSetCullModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCullModeEXT.html |
| 24074 |
VULKAN_HPP_INLINE void CommandBuffer::setCullModeEXT( CullModeFlags cullMode ) const VULKAN_HPP_NOEXCEPT |
| 24075 |
{ |
| 24076 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCullModeEXT && |
| 24077 |
"Function <vkCmdSetCullModeEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24078 |
|
| 24079 |
getDispatcher()->vkCmdSetCullModeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkCullModeFlags>( cullMode ) ); |
| 24080 |
} |
| 24081 |
|
| 24082 |
// wrapper function for command vkCmdSetFrontFaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFrontFaceEXT.html |
| 24083 |
VULKAN_HPP_INLINE void CommandBuffer::setFrontFaceEXT( FrontFace frontFace ) const VULKAN_HPP_NOEXCEPT |
| 24084 |
{ |
| 24085 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetFrontFaceEXT && |
| 24086 |
"Function <vkCmdSetFrontFaceEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24087 |
|
| 24088 |
getDispatcher()->vkCmdSetFrontFaceEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkFrontFace>( frontFace ) ); |
| 24089 |
} |
| 24090 |
|
| 24091 |
// wrapper function for command vkCmdSetPrimitiveTopologyEXT, see |
| 24092 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveTopologyEXT.html |
| 24093 |
VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveTopologyEXT( PrimitiveTopology primitiveTopology ) const VULKAN_HPP_NOEXCEPT |
| 24094 |
{ |
| 24095 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPrimitiveTopologyEXT && |
| 24096 |
"Function <vkCmdSetPrimitiveTopologyEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24097 |
|
| 24098 |
getDispatcher()->vkCmdSetPrimitiveTopologyEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPrimitiveTopology>( primitiveTopology ) ); |
| 24099 |
} |
| 24100 |
|
| 24101 |
// wrapper function for command vkCmdSetViewportWithCountEXT, see |
| 24102 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWithCountEXT.html |
| 24103 |
VULKAN_HPP_INLINE void CommandBuffer::setViewportWithCountEXT( ArrayProxy<const Viewport> const & viewports ) const VULKAN_HPP_NOEXCEPT |
| 24104 |
{ |
| 24105 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewportWithCountEXT && |
| 24106 |
"Function <vkCmdSetViewportWithCountEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24107 |
|
| 24108 |
getDispatcher()->vkCmdSetViewportWithCountEXT( |
| 24109 |
static_cast<VkCommandBuffer>( m_commandBuffer ), viewports.size(), reinterpret_cast<const VkViewport *>( viewports.data() ) ); |
| 24110 |
} |
| 24111 |
|
| 24112 |
// wrapper function for command vkCmdSetScissorWithCountEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetScissorWithCountEXT.html |
| 24113 |
VULKAN_HPP_INLINE void CommandBuffer::setScissorWithCountEXT( ArrayProxy<const Rect2D> const & scissors ) const VULKAN_HPP_NOEXCEPT |
| 24114 |
{ |
| 24115 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetScissorWithCountEXT && |
| 24116 |
"Function <vkCmdSetScissorWithCountEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24117 |
|
| 24118 |
getDispatcher()->vkCmdSetScissorWithCountEXT( |
| 24119 |
static_cast<VkCommandBuffer>( m_commandBuffer ), scissors.size(), reinterpret_cast<const VkRect2D *>( scissors.data() ) ); |
| 24120 |
} |
| 24121 |
|
| 24122 |
// wrapper function for command vkCmdBindVertexBuffers2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindVertexBuffers2EXT.html |
| 24123 |
VULKAN_HPP_INLINE void CommandBuffer::bindVertexBuffers2EXT( uint32_t firstBinding, |
| 24124 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::Buffer> const & buffers, |
| 24125 |
ArrayProxy<const DeviceSize> const & offsets, |
| 24126 |
ArrayProxy<const DeviceSize> const & sizes, |
| 24127 |
ArrayProxy<const DeviceSize> const & strides ) const |
| 24128 |
{ |
| 24129 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindVertexBuffers2EXT && |
| 24130 |
"Function <vkCmdBindVertexBuffers2EXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24131 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 24132 |
VULKAN_HPP_ASSERT( buffers.size() == offsets.size() ); |
| 24133 |
VULKAN_HPP_ASSERT( sizes.empty() || buffers.size() == sizes.size() ); |
| 24134 |
VULKAN_HPP_ASSERT( strides.empty() || buffers.size() == strides.size() ); |
| 24135 |
# else |
| 24136 |
if ( buffers.size() != offsets.size() ) |
| 24137 |
{ |
| 24138 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != offsets.size()" ); |
| 24139 |
} |
| 24140 |
if ( !sizes.empty() && buffers.size() != sizes.size() ) |
| 24141 |
{ |
| 24142 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != sizes.size()" ); |
| 24143 |
} |
| 24144 |
if ( !strides.empty() && buffers.size() != strides.size() ) |
| 24145 |
{ |
| 24146 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindVertexBuffers2EXT: buffers.size() != strides.size()" ); |
| 24147 |
} |
| 24148 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 24149 |
|
| 24150 |
getDispatcher()->vkCmdBindVertexBuffers2EXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24151 |
firstBinding, |
| 24152 |
buffers.size(), |
| 24153 |
reinterpret_cast<const VkBuffer *>( buffers.data() ), |
| 24154 |
reinterpret_cast<const VkDeviceSize *>( offsets.data() ), |
| 24155 |
reinterpret_cast<const VkDeviceSize *>( sizes.data() ), |
| 24156 |
reinterpret_cast<const VkDeviceSize *>( strides.data() ) ); |
| 24157 |
} |
| 24158 |
|
| 24159 |
// wrapper function for command vkCmdSetDepthTestEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthTestEnableEXT.html |
| 24160 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthTestEnableEXT( Bool32 depthTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 24161 |
{ |
| 24162 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthTestEnableEXT && |
| 24163 |
"Function <vkCmdSetDepthTestEnableEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24164 |
|
| 24165 |
getDispatcher()->vkCmdSetDepthTestEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthTestEnable ) ); |
| 24166 |
} |
| 24167 |
|
| 24168 |
// wrapper function for command vkCmdSetDepthWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthWriteEnableEXT.html |
| 24169 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthWriteEnableEXT( Bool32 depthWriteEnable ) const VULKAN_HPP_NOEXCEPT |
| 24170 |
{ |
| 24171 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthWriteEnableEXT && |
| 24172 |
"Function <vkCmdSetDepthWriteEnableEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24173 |
|
| 24174 |
getDispatcher()->vkCmdSetDepthWriteEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthWriteEnable ) ); |
| 24175 |
} |
| 24176 |
|
| 24177 |
// wrapper function for command vkCmdSetDepthCompareOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthCompareOpEXT.html |
| 24178 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthCompareOpEXT( CompareOp depthCompareOp ) const VULKAN_HPP_NOEXCEPT |
| 24179 |
{ |
| 24180 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthCompareOpEXT && |
| 24181 |
"Function <vkCmdSetDepthCompareOpEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24182 |
|
| 24183 |
getDispatcher()->vkCmdSetDepthCompareOpEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkCompareOp>( depthCompareOp ) ); |
| 24184 |
} |
| 24185 |
|
| 24186 |
// wrapper function for command vkCmdSetDepthBoundsTestEnableEXT, see |
| 24187 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBoundsTestEnableEXT.html |
| 24188 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthBoundsTestEnableEXT( Bool32 depthBoundsTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 24189 |
{ |
| 24190 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBoundsTestEnableEXT && |
| 24191 |
"Function <vkCmdSetDepthBoundsTestEnableEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24192 |
|
| 24193 |
getDispatcher()->vkCmdSetDepthBoundsTestEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthBoundsTestEnable ) ); |
| 24194 |
} |
| 24195 |
|
| 24196 |
// wrapper function for command vkCmdSetStencilTestEnableEXT, see |
| 24197 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilTestEnableEXT.html |
| 24198 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilTestEnableEXT( Bool32 stencilTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 24199 |
{ |
| 24200 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilTestEnableEXT && |
| 24201 |
"Function <vkCmdSetStencilTestEnableEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24202 |
|
| 24203 |
getDispatcher()->vkCmdSetStencilTestEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( stencilTestEnable ) ); |
| 24204 |
} |
| 24205 |
|
| 24206 |
// wrapper function for command vkCmdSetStencilOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetStencilOpEXT.html |
| 24207 |
VULKAN_HPP_INLINE void CommandBuffer::setStencilOpEXT( |
| 24208 |
StencilFaceFlags faceMask, StencilOp failOp, StencilOp passOp, StencilOp depthFailOp, CompareOp compareOp ) const VULKAN_HPP_NOEXCEPT |
| 24209 |
{ |
| 24210 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetStencilOpEXT && |
| 24211 |
"Function <vkCmdSetStencilOpEXT> requires <VK_EXT_extended_dynamic_state> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 24212 |
|
| 24213 |
getDispatcher()->vkCmdSetStencilOpEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24214 |
static_cast<VkStencilFaceFlags>( faceMask ), |
| 24215 |
static_cast<VkStencilOp>( failOp ), |
| 24216 |
static_cast<VkStencilOp>( passOp ), |
| 24217 |
static_cast<VkStencilOp>( depthFailOp ), |
| 24218 |
static_cast<VkCompareOp>( compareOp ) ); |
| 24219 |
} |
| 24220 |
|
| 24221 |
//=== VK_KHR_deferred_host_operations === |
| 24222 |
|
| 24223 |
// wrapper function for command vkCreateDeferredOperationKHR, see |
| 24224 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDeferredOperationKHR.html |
| 24225 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DeferredOperationKHR>::type |
| 24226 |
Device::createDeferredOperationKHR( Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 24227 |
{ |
| 24228 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDeferredOperationKHR && |
| 24229 |
"Function <vkCreateDeferredOperationKHR> requires <VK_KHR_deferred_host_operations>" ); |
| 24230 |
|
| 24231 |
VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation; |
| 24232 |
Result result = static_cast<Result>( getDispatcher()->vkCreateDeferredOperationKHR( static_cast<VkDevice>( m_device ), |
| 24233 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 24234 |
reinterpret_cast<VkDeferredOperationKHR *>( &deferredOperation ) ) ); |
| 24235 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDeferredOperationKHR" ); |
| 24236 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 24237 |
result, DeferredOperationKHR( *this, *reinterpret_cast<VkDeferredOperationKHR *>( &deferredOperation ), allocator ) ); |
| 24238 |
} |
| 24239 |
|
| 24240 |
// wrapper function for command vkGetDeferredOperationMaxConcurrencyKHR, see |
| 24241 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationMaxConcurrencyKHR.html |
| 24242 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint32_t DeferredOperationKHR::getMaxConcurrency() const VULKAN_HPP_NOEXCEPT |
| 24243 |
{ |
| 24244 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeferredOperationMaxConcurrencyKHR && |
| 24245 |
"Function <vkGetDeferredOperationMaxConcurrencyKHR> requires <VK_KHR_deferred_host_operations>" ); |
| 24246 |
|
| 24247 |
uint32_t result = getDispatcher()->vkGetDeferredOperationMaxConcurrencyKHR( static_cast<VkDevice>( m_device ), |
| 24248 |
static_cast<VkDeferredOperationKHR>( m_deferredOperationKHR ) ); |
| 24249 |
|
| 24250 |
return result; |
| 24251 |
} |
| 24252 |
|
| 24253 |
// wrapper function for command vkGetDeferredOperationResultKHR, see |
| 24254 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeferredOperationResultKHR.html |
| 24255 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result DeferredOperationKHR::getResult() const |
| 24256 |
{ |
| 24257 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeferredOperationResultKHR && |
| 24258 |
"Function <vkGetDeferredOperationResultKHR> requires <VK_KHR_deferred_host_operations>" ); |
| 24259 |
|
| 24260 |
Result result = static_cast<Result>( |
| 24261 |
getDispatcher()->vkGetDeferredOperationResultKHR( static_cast<VkDevice>( m_device ), static_cast<VkDeferredOperationKHR>( m_deferredOperationKHR ) ) ); |
| 24262 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 24263 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DeferredOperationKHR::getResult", { Result::eSuccess, Result::eNotReady } ); |
| 24264 |
|
| 24265 |
return static_cast<Result>( result ); |
| 24266 |
} |
| 24267 |
|
| 24268 |
// wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html |
| 24269 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result DeferredOperationKHR::join() const |
| 24270 |
{ |
| 24271 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDeferredOperationJoinKHR && "Function <vkDeferredOperationJoinKHR> requires <VK_KHR_deferred_host_operations>" ); |
| 24272 |
|
| 24273 |
Result result = static_cast<Result>( |
| 24274 |
getDispatcher()->vkDeferredOperationJoinKHR( static_cast<VkDevice>( m_device ), static_cast<VkDeferredOperationKHR>( m_deferredOperationKHR ) ) ); |
| 24275 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 24276 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DeferredOperationKHR::join", { Result::eSuccess, Result::eThreadDoneKHR, Result::eThreadIdleKHR } ); |
| 24277 |
|
| 24278 |
return static_cast<Result>( result ); |
| 24279 |
} |
| 24280 |
|
| 24281 |
//=== VK_KHR_pipeline_executable_properties === |
| 24282 |
|
| 24283 |
// wrapper function for command vkGetPipelineExecutablePropertiesKHR, see |
| 24284 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutablePropertiesKHR.html |
| 24285 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PipelineExecutablePropertiesKHR>>::type |
| 24286 |
Device::getPipelineExecutablePropertiesKHR( const PipelineInfoKHR & pipelineInfo ) const |
| 24287 |
{ |
| 24288 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineExecutablePropertiesKHR && |
| 24289 |
"Function <vkGetPipelineExecutablePropertiesKHR> requires <VK_KHR_pipeline_executable_properties>" ); |
| 24290 |
|
| 24291 |
std::vector<PipelineExecutablePropertiesKHR> properties; |
| 24292 |
uint32_t executableCount; |
| 24293 |
Result result; |
| 24294 |
do |
| 24295 |
{ |
| 24296 |
result = static_cast<Result>( getDispatcher()->vkGetPipelineExecutablePropertiesKHR( |
| 24297 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkPipelineInfoKHR *>( &pipelineInfo ), &executableCount, nullptr ) ); |
| 24298 |
if ( ( result == Result::eSuccess ) && executableCount ) |
| 24299 |
{ |
| 24300 |
properties.resize( executableCount ); |
| 24301 |
result = static_cast<Result>( |
| 24302 |
getDispatcher()->vkGetPipelineExecutablePropertiesKHR( static_cast<VkDevice>( m_device ), |
| 24303 |
reinterpret_cast<const VkPipelineInfoKHR *>( &pipelineInfo ), |
| 24304 |
&executableCount, |
| 24305 |
reinterpret_cast<VkPipelineExecutablePropertiesKHR *>( properties.data() ) ) ); |
| 24306 |
} |
| 24307 |
} while ( result == Result::eIncomplete ); |
| 24308 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelineExecutablePropertiesKHR" ); |
| 24309 |
VULKAN_HPP_ASSERT( executableCount <= properties.size() ); |
| 24310 |
if ( executableCount < properties.size() ) |
| 24311 |
{ |
| 24312 |
properties.resize( executableCount ); |
| 24313 |
} |
| 24314 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 24315 |
} |
| 24316 |
|
| 24317 |
// wrapper function for command vkGetPipelineExecutableStatisticsKHR, see |
| 24318 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableStatisticsKHR.html |
| 24319 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PipelineExecutableStatisticKHR>>::type |
| 24320 |
Device::getPipelineExecutableStatisticsKHR( const PipelineExecutableInfoKHR & executableInfo ) const |
| 24321 |
{ |
| 24322 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineExecutableStatisticsKHR && |
| 24323 |
"Function <vkGetPipelineExecutableStatisticsKHR> requires <VK_KHR_pipeline_executable_properties>" ); |
| 24324 |
|
| 24325 |
std::vector<PipelineExecutableStatisticKHR> statistics; |
| 24326 |
uint32_t statisticCount; |
| 24327 |
Result result; |
| 24328 |
do |
| 24329 |
{ |
| 24330 |
result = static_cast<Result>( getDispatcher()->vkGetPipelineExecutableStatisticsKHR( |
| 24331 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ), &statisticCount, nullptr ) ); |
| 24332 |
if ( ( result == Result::eSuccess ) && statisticCount ) |
| 24333 |
{ |
| 24334 |
statistics.resize( statisticCount ); |
| 24335 |
result = static_cast<Result>( |
| 24336 |
getDispatcher()->vkGetPipelineExecutableStatisticsKHR( static_cast<VkDevice>( m_device ), |
| 24337 |
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ), |
| 24338 |
&statisticCount, |
| 24339 |
reinterpret_cast<VkPipelineExecutableStatisticKHR *>( statistics.data() ) ) ); |
| 24340 |
} |
| 24341 |
} while ( result == Result::eIncomplete ); |
| 24342 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelineExecutableStatisticsKHR" ); |
| 24343 |
VULKAN_HPP_ASSERT( statisticCount <= statistics.size() ); |
| 24344 |
if ( statisticCount < statistics.size() ) |
| 24345 |
{ |
| 24346 |
statistics.resize( statisticCount ); |
| 24347 |
} |
| 24348 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( statistics ) ); |
| 24349 |
} |
| 24350 |
|
| 24351 |
// wrapper function for command vkGetPipelineExecutableInternalRepresentationsKHR, see |
| 24352 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html |
| 24353 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PipelineExecutableInternalRepresentationKHR>>::type |
| 24354 |
Device::getPipelineExecutableInternalRepresentationsKHR( const PipelineExecutableInfoKHR & executableInfo ) const |
| 24355 |
{ |
| 24356 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR && |
| 24357 |
"Function <vkGetPipelineExecutableInternalRepresentationsKHR> requires <VK_KHR_pipeline_executable_properties>" ); |
| 24358 |
|
| 24359 |
std::vector<PipelineExecutableInternalRepresentationKHR> internalRepresentations; |
| 24360 |
uint32_t internalRepresentationCount; |
| 24361 |
Result result; |
| 24362 |
do |
| 24363 |
{ |
| 24364 |
result = static_cast<Result>( |
| 24365 |
getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR( static_cast<VkDevice>( m_device ), |
| 24366 |
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ), |
| 24367 |
&internalRepresentationCount, |
| 24368 |
nullptr ) ); |
| 24369 |
if ( ( result == Result::eSuccess ) && internalRepresentationCount ) |
| 24370 |
{ |
| 24371 |
internalRepresentations.resize( internalRepresentationCount ); |
| 24372 |
result = static_cast<Result>( getDispatcher()->vkGetPipelineExecutableInternalRepresentationsKHR( |
| 24373 |
static_cast<VkDevice>( m_device ), |
| 24374 |
reinterpret_cast<const VkPipelineExecutableInfoKHR *>( &executableInfo ), |
| 24375 |
&internalRepresentationCount, |
| 24376 |
reinterpret_cast<VkPipelineExecutableInternalRepresentationKHR *>( internalRepresentations.data() ) ) ); |
| 24377 |
} |
| 24378 |
} while ( result == Result::eIncomplete ); |
| 24379 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelineExecutableInternalRepresentationsKHR" ); |
| 24380 |
VULKAN_HPP_ASSERT( internalRepresentationCount <= internalRepresentations.size() ); |
| 24381 |
if ( internalRepresentationCount < internalRepresentations.size() ) |
| 24382 |
{ |
| 24383 |
internalRepresentations.resize( internalRepresentationCount ); |
| 24384 |
} |
| 24385 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( internalRepresentations ) ); |
| 24386 |
} |
| 24387 |
|
| 24388 |
//=== VK_EXT_host_image_copy === |
| 24389 |
|
| 24390 |
// wrapper function for command vkCopyMemoryToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToImageEXT.html |
| 24391 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::copyMemoryToImageEXT( const CopyMemoryToImageInfo & copyMemoryToImageInfo ) const |
| 24392 |
{ |
| 24393 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyMemoryToImageEXT && "Function <vkCopyMemoryToImageEXT> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 24394 |
|
| 24395 |
Result result = static_cast<Result>( getDispatcher()->vkCopyMemoryToImageEXT( |
| 24396 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkCopyMemoryToImageInfo *>( ©MemoryToImageInfo ) ) ); |
| 24397 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyMemoryToImageEXT" ); |
| 24398 |
|
| 24399 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24400 |
} |
| 24401 |
|
| 24402 |
// wrapper function for command vkCopyImageToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToMemoryEXT.html |
| 24403 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::copyImageToMemoryEXT( const CopyImageToMemoryInfo & copyImageToMemoryInfo ) const |
| 24404 |
{ |
| 24405 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyImageToMemoryEXT && "Function <vkCopyImageToMemoryEXT> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 24406 |
|
| 24407 |
Result result = static_cast<Result>( getDispatcher()->vkCopyImageToMemoryEXT( |
| 24408 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkCopyImageToMemoryInfo *>( ©ImageToMemoryInfo ) ) ); |
| 24409 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyImageToMemoryEXT" ); |
| 24410 |
|
| 24411 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24412 |
} |
| 24413 |
|
| 24414 |
// wrapper function for command vkCopyImageToImageEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyImageToImageEXT.html |
| 24415 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::copyImageToImageEXT( const CopyImageToImageInfo & copyImageToImageInfo ) const |
| 24416 |
{ |
| 24417 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyImageToImageEXT && "Function <vkCopyImageToImageEXT> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 24418 |
|
| 24419 |
Result result = static_cast<Result>( getDispatcher()->vkCopyImageToImageEXT( |
| 24420 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkCopyImageToImageInfo *>( ©ImageToImageInfo ) ) ); |
| 24421 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyImageToImageEXT" ); |
| 24422 |
|
| 24423 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24424 |
} |
| 24425 |
|
| 24426 |
// wrapper function for command vkTransitionImageLayoutEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkTransitionImageLayoutEXT.html |
| 24427 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 24428 |
Device::transitionImageLayoutEXT( ArrayProxy<const HostImageLayoutTransitionInfo> const & transitions ) const |
| 24429 |
{ |
| 24430 |
VULKAN_HPP_ASSERT( getDispatcher()->vkTransitionImageLayoutEXT && |
| 24431 |
"Function <vkTransitionImageLayoutEXT> requires <VK_EXT_host_image_copy> or <VK_VERSION_1_4>" ); |
| 24432 |
|
| 24433 |
Result result = static_cast<Result>( getDispatcher()->vkTransitionImageLayoutEXT( |
| 24434 |
static_cast<VkDevice>( m_device ), transitions.size(), reinterpret_cast<const VkHostImageLayoutTransitionInfo *>( transitions.data() ) ) ); |
| 24435 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::transitionImageLayoutEXT" ); |
| 24436 |
|
| 24437 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24438 |
} |
| 24439 |
|
| 24440 |
// wrapper function for command vkGetImageSubresourceLayout2EXT, see |
| 24441 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html |
| 24442 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Image::getSubresourceLayout2EXT( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT |
| 24443 |
{ |
| 24444 |
VULKAN_HPP_ASSERT( |
| 24445 |
getDispatcher()->vkGetImageSubresourceLayout2EXT && |
| 24446 |
"Function <vkGetImageSubresourceLayout2EXT> requires <VK_EXT_host_image_copy> or <VK_EXT_image_compression_control> or <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 24447 |
|
| 24448 |
SubresourceLayout2 layout; |
| 24449 |
getDispatcher()->vkGetImageSubresourceLayout2EXT( static_cast<VkDevice>( m_device ), |
| 24450 |
static_cast<VkImage>( m_image ), |
| 24451 |
reinterpret_cast<const VkImageSubresource2 *>( &subresource ), |
| 24452 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 24453 |
|
| 24454 |
return layout; |
| 24455 |
} |
| 24456 |
|
| 24457 |
// wrapper function for command vkGetImageSubresourceLayout2EXT, see |
| 24458 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2EXT.html |
| 24459 |
template <typename X, typename Y, typename... Z> |
| 24460 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 24461 |
Image::getSubresourceLayout2EXT( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT |
| 24462 |
{ |
| 24463 |
VULKAN_HPP_ASSERT( |
| 24464 |
getDispatcher()->vkGetImageSubresourceLayout2EXT && |
| 24465 |
"Function <vkGetImageSubresourceLayout2EXT> requires <VK_EXT_host_image_copy> or <VK_EXT_image_compression_control> or <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 24466 |
|
| 24467 |
StructureChain<X, Y, Z...> structureChain; |
| 24468 |
SubresourceLayout2 & layout = structureChain.template get<SubresourceLayout2>(); |
| 24469 |
getDispatcher()->vkGetImageSubresourceLayout2EXT( static_cast<VkDevice>( m_device ), |
| 24470 |
static_cast<VkImage>( m_image ), |
| 24471 |
reinterpret_cast<const VkImageSubresource2 *>( &subresource ), |
| 24472 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 24473 |
|
| 24474 |
return structureChain; |
| 24475 |
} |
| 24476 |
|
| 24477 |
//=== VK_KHR_map_memory2 === |
| 24478 |
|
| 24479 |
// wrapper function for command vkMapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkMapMemory2KHR.html |
| 24480 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<void *>::type Device::mapMemory2KHR( const MemoryMapInfo & memoryMapInfo ) const |
| 24481 |
{ |
| 24482 |
VULKAN_HPP_ASSERT( getDispatcher()->vkMapMemory2KHR && "Function <vkMapMemory2KHR> requires <VK_KHR_map_memory2> or <VK_VERSION_1_4>" ); |
| 24483 |
|
| 24484 |
void * pData; |
| 24485 |
Result result = static_cast<Result>( |
| 24486 |
getDispatcher()->vkMapMemory2KHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryMapInfo *>( &memoryMapInfo ), &pData ) ); |
| 24487 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::mapMemory2KHR" ); |
| 24488 |
|
| 24489 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pData ) ); |
| 24490 |
} |
| 24491 |
|
| 24492 |
// wrapper function for command vkUnmapMemory2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkUnmapMemory2KHR.html |
| 24493 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::unmapMemory2KHR( const MemoryUnmapInfo & memoryUnmapInfo ) const |
| 24494 |
{ |
| 24495 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUnmapMemory2KHR && "Function <vkUnmapMemory2KHR> requires <VK_KHR_map_memory2> or <VK_VERSION_1_4>" ); |
| 24496 |
|
| 24497 |
Result result = static_cast<Result>( |
| 24498 |
getDispatcher()->vkUnmapMemory2KHR( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryUnmapInfo *>( &memoryUnmapInfo ) ) ); |
| 24499 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::unmapMemory2KHR" ); |
| 24500 |
|
| 24501 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24502 |
} |
| 24503 |
|
| 24504 |
//=== VK_EXT_swapchain_maintenance1 === |
| 24505 |
|
| 24506 |
// wrapper function for command vkReleaseSwapchainImagesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesEXT.html |
| 24507 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::releaseSwapchainImagesEXT( const ReleaseSwapchainImagesInfoKHR & releaseInfo ) const |
| 24508 |
{ |
| 24509 |
VULKAN_HPP_ASSERT( getDispatcher()->vkReleaseSwapchainImagesEXT && |
| 24510 |
"Function <vkReleaseSwapchainImagesEXT> requires <VK_EXT_swapchain_maintenance1> or <VK_KHR_swapchain_maintenance1>" ); |
| 24511 |
|
| 24512 |
Result result = static_cast<Result>( getDispatcher()->vkReleaseSwapchainImagesEXT( |
| 24513 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkReleaseSwapchainImagesInfoKHR *>( &releaseInfo ) ) ); |
| 24514 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::releaseSwapchainImagesEXT" ); |
| 24515 |
|
| 24516 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24517 |
} |
| 24518 |
|
| 24519 |
//=== VK_NV_device_generated_commands === |
| 24520 |
|
| 24521 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see |
| 24522 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html |
| 24523 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 24524 |
Device::getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT |
| 24525 |
{ |
| 24526 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsNV && |
| 24527 |
"Function <vkGetGeneratedCommandsMemoryRequirementsNV> requires <VK_NV_device_generated_commands>" ); |
| 24528 |
|
| 24529 |
MemoryRequirements2 memoryRequirements; |
| 24530 |
getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsNV( static_cast<VkDevice>( m_device ), |
| 24531 |
reinterpret_cast<const VkGeneratedCommandsMemoryRequirementsInfoNV *>( &info ), |
| 24532 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 24533 |
|
| 24534 |
return memoryRequirements; |
| 24535 |
} |
| 24536 |
|
| 24537 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsNV, see |
| 24538 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsNV.html |
| 24539 |
template <typename X, typename Y, typename... Z> |
| 24540 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 24541 |
Device::getGeneratedCommandsMemoryRequirementsNV( const GeneratedCommandsMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT |
| 24542 |
{ |
| 24543 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsNV && |
| 24544 |
"Function <vkGetGeneratedCommandsMemoryRequirementsNV> requires <VK_NV_device_generated_commands>" ); |
| 24545 |
|
| 24546 |
StructureChain<X, Y, Z...> structureChain; |
| 24547 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 24548 |
getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsNV( static_cast<VkDevice>( m_device ), |
| 24549 |
reinterpret_cast<const VkGeneratedCommandsMemoryRequirementsInfoNV *>( &info ), |
| 24550 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 24551 |
|
| 24552 |
return structureChain; |
| 24553 |
} |
| 24554 |
|
| 24555 |
// wrapper function for command vkCmdPreprocessGeneratedCommandsNV, see |
| 24556 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsNV.html |
| 24557 |
VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsNV( const GeneratedCommandsInfoNV & generatedCommandsInfo ) const VULKAN_HPP_NOEXCEPT |
| 24558 |
{ |
| 24559 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPreprocessGeneratedCommandsNV && |
| 24560 |
"Function <vkCmdPreprocessGeneratedCommandsNV> requires <VK_NV_device_generated_commands>" ); |
| 24561 |
|
| 24562 |
getDispatcher()->vkCmdPreprocessGeneratedCommandsNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24563 |
reinterpret_cast<const VkGeneratedCommandsInfoNV *>( &generatedCommandsInfo ) ); |
| 24564 |
} |
| 24565 |
|
| 24566 |
// wrapper function for command vkCmdExecuteGeneratedCommandsNV, see |
| 24567 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsNV.html |
| 24568 |
VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsNV( Bool32 isPreprocessed, |
| 24569 |
const GeneratedCommandsInfoNV & generatedCommandsInfo ) const VULKAN_HPP_NOEXCEPT |
| 24570 |
{ |
| 24571 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdExecuteGeneratedCommandsNV && |
| 24572 |
"Function <vkCmdExecuteGeneratedCommandsNV> requires <VK_NV_device_generated_commands>" ); |
| 24573 |
|
| 24574 |
getDispatcher()->vkCmdExecuteGeneratedCommandsNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24575 |
static_cast<VkBool32>( isPreprocessed ), |
| 24576 |
reinterpret_cast<const VkGeneratedCommandsInfoNV *>( &generatedCommandsInfo ) ); |
| 24577 |
} |
| 24578 |
|
| 24579 |
// wrapper function for command vkCmdBindPipelineShaderGroupNV, see |
| 24580 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindPipelineShaderGroupNV.html |
| 24581 |
VULKAN_HPP_INLINE void CommandBuffer::bindPipelineShaderGroupNV( PipelineBindPoint pipelineBindPoint, |
| 24582 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline, |
| 24583 |
uint32_t groupIndex ) const VULKAN_HPP_NOEXCEPT |
| 24584 |
{ |
| 24585 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindPipelineShaderGroupNV && |
| 24586 |
"Function <vkCmdBindPipelineShaderGroupNV> requires <VK_NV_device_generated_commands>" ); |
| 24587 |
|
| 24588 |
getDispatcher()->vkCmdBindPipelineShaderGroupNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24589 |
static_cast<VkPipelineBindPoint>( pipelineBindPoint ), |
| 24590 |
static_cast<VkPipeline>( pipeline ), |
| 24591 |
groupIndex ); |
| 24592 |
} |
| 24593 |
|
| 24594 |
// wrapper function for command vkCreateIndirectCommandsLayoutNV, see |
| 24595 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutNV.html |
| 24596 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<IndirectCommandsLayoutNV>::type |
| 24597 |
Device::createIndirectCommandsLayoutNV( IndirectCommandsLayoutCreateInfoNV const & createInfo, |
| 24598 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 24599 |
{ |
| 24600 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateIndirectCommandsLayoutNV && |
| 24601 |
"Function <vkCreateIndirectCommandsLayoutNV> requires <VK_NV_device_generated_commands>" ); |
| 24602 |
|
| 24603 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutNV indirectCommandsLayout; |
| 24604 |
Result result = |
| 24605 |
static_cast<Result>( getDispatcher()->vkCreateIndirectCommandsLayoutNV( static_cast<VkDevice>( m_device ), |
| 24606 |
reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoNV *>( &createInfo ), |
| 24607 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 24608 |
reinterpret_cast<VkIndirectCommandsLayoutNV *>( &indirectCommandsLayout ) ) ); |
| 24609 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createIndirectCommandsLayoutNV" ); |
| 24610 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 24611 |
result, IndirectCommandsLayoutNV( *this, *reinterpret_cast<VkIndirectCommandsLayoutNV *>( &indirectCommandsLayout ), allocator ) ); |
| 24612 |
} |
| 24613 |
|
| 24614 |
//=== VK_EXT_depth_bias_control === |
| 24615 |
|
| 24616 |
// wrapper function for command vkCmdSetDepthBias2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBias2EXT.html |
| 24617 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthBias2EXT( const DepthBiasInfoEXT & depthBiasInfo ) const VULKAN_HPP_NOEXCEPT |
| 24618 |
{ |
| 24619 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBias2EXT && "Function <vkCmdSetDepthBias2EXT> requires <VK_EXT_depth_bias_control>" ); |
| 24620 |
|
| 24621 |
getDispatcher()->vkCmdSetDepthBias2EXT( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkDepthBiasInfoEXT *>( &depthBiasInfo ) ); |
| 24622 |
} |
| 24623 |
|
| 24624 |
//=== VK_EXT_acquire_drm_display === |
| 24625 |
|
| 24626 |
// wrapper function for command vkAcquireDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireDrmDisplayEXT.html |
| 24627 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type PhysicalDevice::acquireDrmDisplayEXT( int32_t drmFd, VULKAN_HPP_NAMESPACE::DisplayKHR display ) const |
| 24628 |
{ |
| 24629 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireDrmDisplayEXT && "Function <vkAcquireDrmDisplayEXT> requires <VK_EXT_acquire_drm_display>" ); |
| 24630 |
|
| 24631 |
Result result = static_cast<Result>( |
| 24632 |
getDispatcher()->vkAcquireDrmDisplayEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), drmFd, static_cast<VkDisplayKHR>( display ) ) ); |
| 24633 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::acquireDrmDisplayEXT" ); |
| 24634 |
|
| 24635 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24636 |
} |
| 24637 |
|
| 24638 |
// wrapper function for command vkGetDrmDisplayEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDrmDisplayEXT.html |
| 24639 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DisplayKHR>::type |
| 24640 |
PhysicalDevice::getDrmDisplayEXT( int32_t drmFd, uint32_t connectorId ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 24641 |
{ |
| 24642 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDrmDisplayEXT && "Function <vkGetDrmDisplayEXT> requires <VK_EXT_acquire_drm_display>" ); |
| 24643 |
|
| 24644 |
VULKAN_HPP_NAMESPACE::DisplayKHR display; |
| 24645 |
Result result = static_cast<Result>( getDispatcher()->vkGetDrmDisplayEXT( |
| 24646 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), drmFd, connectorId, reinterpret_cast<VkDisplayKHR *>( &display ) ) ); |
| 24647 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getDrmDisplayEXT" ); |
| 24648 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, DisplayKHR( *this, *reinterpret_cast<VkDisplayKHR *>( &display ) ) ); |
| 24649 |
} |
| 24650 |
|
| 24651 |
//=== VK_EXT_private_data === |
| 24652 |
|
| 24653 |
// wrapper function for command vkCreatePrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePrivateDataSlotEXT.html |
| 24654 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PrivateDataSlot>::type |
| 24655 |
Device::createPrivateDataSlotEXT( PrivateDataSlotCreateInfo const & createInfo, |
| 24656 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 24657 |
{ |
| 24658 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreatePrivateDataSlotEXT && |
| 24659 |
"Function <vkCreatePrivateDataSlotEXT> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 24660 |
|
| 24661 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot; |
| 24662 |
Result result = static_cast<Result>( getDispatcher()->vkCreatePrivateDataSlotEXT( static_cast<VkDevice>( m_device ), |
| 24663 |
reinterpret_cast<const VkPrivateDataSlotCreateInfo *>( &createInfo ), |
| 24664 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 24665 |
reinterpret_cast<VkPrivateDataSlot *>( &privateDataSlot ) ) ); |
| 24666 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createPrivateDataSlotEXT" ); |
| 24667 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 24668 |
result, PrivateDataSlot( *this, *reinterpret_cast<VkPrivateDataSlot *>( &privateDataSlot ), allocator ) ); |
| 24669 |
} |
| 24670 |
|
| 24671 |
// wrapper function for command vkDestroyPrivateDataSlotEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDestroyPrivateDataSlotEXT.html |
| 24672 |
VULKAN_HPP_INLINE void Device::destroyPrivateDataSlotEXT( VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot, |
| 24673 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT |
| 24674 |
{ |
| 24675 |
VULKAN_HPP_ASSERT( getDispatcher()->vkDestroyPrivateDataSlotEXT && |
| 24676 |
"Function <vkDestroyPrivateDataSlotEXT> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 24677 |
|
| 24678 |
getDispatcher()->vkDestroyPrivateDataSlotEXT( static_cast<VkDevice>( m_device ), |
| 24679 |
static_cast<VkPrivateDataSlot>( privateDataSlot ), |
| 24680 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ) ); |
| 24681 |
} |
| 24682 |
|
| 24683 |
// wrapper function for command vkSetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetPrivateDataEXT.html |
| 24684 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 24685 |
Device::setPrivateDataEXT( ObjectType objectType_, uint64_t objectHandle, VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot, uint64_t data ) const |
| 24686 |
{ |
| 24687 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetPrivateDataEXT && "Function <vkSetPrivateDataEXT> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 24688 |
|
| 24689 |
Result result = static_cast<Result>( getDispatcher()->vkSetPrivateDataEXT( |
| 24690 |
static_cast<VkDevice>( m_device ), static_cast<VkObjectType>( objectType_ ), objectHandle, static_cast<VkPrivateDataSlot>( privateDataSlot ), data ) ); |
| 24691 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::setPrivateDataEXT" ); |
| 24692 |
|
| 24693 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 24694 |
} |
| 24695 |
|
| 24696 |
// wrapper function for command vkGetPrivateDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPrivateDataEXT.html |
| 24697 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE uint64_t Device::getPrivateDataEXT( ObjectType objectType_, |
| 24698 |
uint64_t objectHandle, |
| 24699 |
VULKAN_HPP_NAMESPACE::PrivateDataSlot privateDataSlot ) const VULKAN_HPP_NOEXCEPT |
| 24700 |
{ |
| 24701 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPrivateDataEXT && "Function <vkGetPrivateDataEXT> requires <VK_EXT_private_data> or <VK_VERSION_1_3>" ); |
| 24702 |
|
| 24703 |
uint64_t data; |
| 24704 |
getDispatcher()->vkGetPrivateDataEXT( |
| 24705 |
static_cast<VkDevice>( m_device ), static_cast<VkObjectType>( objectType_ ), objectHandle, static_cast<VkPrivateDataSlot>( privateDataSlot ), &data ); |
| 24706 |
|
| 24707 |
return data; |
| 24708 |
} |
| 24709 |
|
| 24710 |
//=== VK_KHR_video_encode_queue === |
| 24711 |
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see |
| 24712 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html |
| 24713 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result |
| 24714 |
PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR * pQualityLevelInfo, |
| 24715 |
VideoEncodeQualityLevelPropertiesKHR * pQualityLevelProperties ) const VULKAN_HPP_NOEXCEPT |
| 24716 |
{ |
| 24717 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR && |
| 24718 |
"Function <vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR> requires <VK_KHR_video_encode_queue>" ); |
| 24719 |
return static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( |
| 24720 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 24721 |
reinterpret_cast<const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR *>( pQualityLevelInfo ), |
| 24722 |
reinterpret_cast<VkVideoEncodeQualityLevelPropertiesKHR *>( pQualityLevelProperties ) ) ); |
| 24723 |
} |
| 24724 |
|
| 24725 |
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see |
| 24726 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html |
| 24727 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<VideoEncodeQualityLevelPropertiesKHR>::type |
| 24728 |
PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR & qualityLevelInfo ) const |
| 24729 |
{ |
| 24730 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR && |
| 24731 |
"Function <vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR> requires <VK_KHR_video_encode_queue>" ); |
| 24732 |
|
| 24733 |
VideoEncodeQualityLevelPropertiesKHR qualityLevelProperties; |
| 24734 |
Result result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( |
| 24735 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 24736 |
reinterpret_cast<const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR *>( &qualityLevelInfo ), |
| 24737 |
reinterpret_cast<VkVideoEncodeQualityLevelPropertiesKHR *>( &qualityLevelProperties ) ) ); |
| 24738 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR" ); |
| 24739 |
|
| 24740 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( qualityLevelProperties ) ); |
| 24741 |
} |
| 24742 |
|
| 24743 |
// wrapper function for command vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR, see |
| 24744 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR.html |
| 24745 |
template <typename X, typename Y, typename... Z> |
| 24746 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 24747 |
PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR( const PhysicalDeviceVideoEncodeQualityLevelInfoKHR & qualityLevelInfo ) const |
| 24748 |
{ |
| 24749 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR && |
| 24750 |
"Function <vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR> requires <VK_KHR_video_encode_queue>" ); |
| 24751 |
|
| 24752 |
StructureChain<X, Y, Z...> structureChain; |
| 24753 |
VideoEncodeQualityLevelPropertiesKHR & qualityLevelProperties = structureChain.template get<VideoEncodeQualityLevelPropertiesKHR>(); |
| 24754 |
Result result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( |
| 24755 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 24756 |
reinterpret_cast<const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR *>( &qualityLevelInfo ), |
| 24757 |
reinterpret_cast<VkVideoEncodeQualityLevelPropertiesKHR *>( &qualityLevelProperties ) ) ); |
| 24758 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getVideoEncodeQualityLevelPropertiesKHR" ); |
| 24759 |
|
| 24760 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 24761 |
} |
| 24762 |
|
| 24763 |
// wrapper function for command vkGetEncodedVideoSessionParametersKHR, see |
| 24764 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html |
| 24765 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<VideoEncodeSessionParametersFeedbackInfoKHR, std::vector<uint8_t>>>::type |
| 24766 |
Device::getEncodedVideoSessionParametersKHR( const VideoEncodeSessionParametersGetInfoKHR & videoSessionParametersInfo ) const |
| 24767 |
{ |
| 24768 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetEncodedVideoSessionParametersKHR && |
| 24769 |
"Function <vkGetEncodedVideoSessionParametersKHR> requires <VK_KHR_video_encode_queue>" ); |
| 24770 |
|
| 24771 |
std::pair<VideoEncodeSessionParametersFeedbackInfoKHR, std::vector<uint8_t>> data_; |
| 24772 |
VideoEncodeSessionParametersFeedbackInfoKHR & feedbackInfo = data_.first; |
| 24773 |
std::vector<uint8_t> & data = data_.second; |
| 24774 |
size_t dataSize; |
| 24775 |
Result result; |
| 24776 |
do |
| 24777 |
{ |
| 24778 |
result = static_cast<Result>( getDispatcher()->vkGetEncodedVideoSessionParametersKHR( |
| 24779 |
static_cast<VkDevice>( m_device ), |
| 24780 |
reinterpret_cast<const VkVideoEncodeSessionParametersGetInfoKHR *>( &videoSessionParametersInfo ), |
| 24781 |
reinterpret_cast<VkVideoEncodeSessionParametersFeedbackInfoKHR *>( &feedbackInfo ), |
| 24782 |
&dataSize, |
| 24783 |
nullptr ) ); |
| 24784 |
if ( ( result == Result::eSuccess ) && dataSize ) |
| 24785 |
{ |
| 24786 |
data.resize( dataSize ); |
| 24787 |
result = static_cast<Result>( getDispatcher()->vkGetEncodedVideoSessionParametersKHR( |
| 24788 |
static_cast<VkDevice>( m_device ), |
| 24789 |
reinterpret_cast<const VkVideoEncodeSessionParametersGetInfoKHR *>( &videoSessionParametersInfo ), |
| 24790 |
reinterpret_cast<VkVideoEncodeSessionParametersFeedbackInfoKHR *>( &feedbackInfo ), |
| 24791 |
&dataSize, |
| 24792 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 24793 |
} |
| 24794 |
} while ( result == Result::eIncomplete ); |
| 24795 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getEncodedVideoSessionParametersKHR" ); |
| 24796 |
|
| 24797 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 24798 |
} |
| 24799 |
|
| 24800 |
// wrapper function for command vkGetEncodedVideoSessionParametersKHR, see |
| 24801 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetEncodedVideoSessionParametersKHR.html |
| 24802 |
template <typename X, typename Y, typename... Z> |
| 24803 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<StructureChain<X, Y, Z...>, std::vector<uint8_t>>>::type |
| 24804 |
Device::getEncodedVideoSessionParametersKHR( const VideoEncodeSessionParametersGetInfoKHR & videoSessionParametersInfo ) const |
| 24805 |
{ |
| 24806 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetEncodedVideoSessionParametersKHR && |
| 24807 |
"Function <vkGetEncodedVideoSessionParametersKHR> requires <VK_KHR_video_encode_queue>" ); |
| 24808 |
|
| 24809 |
std::pair<StructureChain<X, Y, Z...>, std::vector<uint8_t>> data_; |
| 24810 |
VideoEncodeSessionParametersFeedbackInfoKHR & feedbackInfo = data_.first.template get<VideoEncodeSessionParametersFeedbackInfoKHR>(); |
| 24811 |
std::vector<uint8_t> & data = data_.second; |
| 24812 |
size_t dataSize; |
| 24813 |
Result result; |
| 24814 |
do |
| 24815 |
{ |
| 24816 |
result = static_cast<Result>( getDispatcher()->vkGetEncodedVideoSessionParametersKHR( |
| 24817 |
static_cast<VkDevice>( m_device ), |
| 24818 |
reinterpret_cast<const VkVideoEncodeSessionParametersGetInfoKHR *>( &videoSessionParametersInfo ), |
| 24819 |
reinterpret_cast<VkVideoEncodeSessionParametersFeedbackInfoKHR *>( &feedbackInfo ), |
| 24820 |
&dataSize, |
| 24821 |
nullptr ) ); |
| 24822 |
if ( ( result == Result::eSuccess ) && dataSize ) |
| 24823 |
{ |
| 24824 |
data.resize( dataSize ); |
| 24825 |
result = static_cast<Result>( getDispatcher()->vkGetEncodedVideoSessionParametersKHR( |
| 24826 |
static_cast<VkDevice>( m_device ), |
| 24827 |
reinterpret_cast<const VkVideoEncodeSessionParametersGetInfoKHR *>( &videoSessionParametersInfo ), |
| 24828 |
reinterpret_cast<VkVideoEncodeSessionParametersFeedbackInfoKHR *>( &feedbackInfo ), |
| 24829 |
&dataSize, |
| 24830 |
reinterpret_cast<void *>( data.data() ) ) ); |
| 24831 |
} |
| 24832 |
} while ( result == Result::eIncomplete ); |
| 24833 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getEncodedVideoSessionParametersKHR" ); |
| 24834 |
|
| 24835 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 24836 |
} |
| 24837 |
|
| 24838 |
// wrapper function for command vkCmdEncodeVideoKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEncodeVideoKHR.html |
| 24839 |
VULKAN_HPP_INLINE void CommandBuffer::encodeVideoKHR( const VideoEncodeInfoKHR & encodeInfo ) const VULKAN_HPP_NOEXCEPT |
| 24840 |
{ |
| 24841 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEncodeVideoKHR && "Function <vkCmdEncodeVideoKHR> requires <VK_KHR_video_encode_queue>" ); |
| 24842 |
|
| 24843 |
getDispatcher()->vkCmdEncodeVideoKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkVideoEncodeInfoKHR *>( &encodeInfo ) ); |
| 24844 |
} |
| 24845 |
|
| 24846 |
# if defined( VK_ENABLE_BETA_EXTENSIONS ) |
| 24847 |
//=== VK_NV_cuda_kernel_launch === |
| 24848 |
|
| 24849 |
// wrapper function for command vkCreateCudaModuleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaModuleNV.html |
| 24850 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<CudaModuleNV>::type |
| 24851 |
Device::createCudaModuleNV( CudaModuleCreateInfoNV const & createInfo, |
| 24852 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 24853 |
{ |
| 24854 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateCudaModuleNV && "Function <vkCreateCudaModuleNV> requires <VK_NV_cuda_kernel_launch>" ); |
| 24855 |
|
| 24856 |
VULKAN_HPP_NAMESPACE::CudaModuleNV module; |
| 24857 |
Result result = static_cast<Result>( getDispatcher()->vkCreateCudaModuleNV( static_cast<VkDevice>( m_device ), |
| 24858 |
reinterpret_cast<const VkCudaModuleCreateInfoNV *>( &createInfo ), |
| 24859 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 24860 |
reinterpret_cast<VkCudaModuleNV *>( &module ) ) ); |
| 24861 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createCudaModuleNV" ); |
| 24862 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, CudaModuleNV( *this, *reinterpret_cast<VkCudaModuleNV *>( &module ), allocator ) ); |
| 24863 |
} |
| 24864 |
|
| 24865 |
// wrapper function for command vkGetCudaModuleCacheNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCudaModuleCacheNV.html |
| 24866 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t>>::type CudaModuleNV::getCache() const |
| 24867 |
{ |
| 24868 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetCudaModuleCacheNV && "Function <vkGetCudaModuleCacheNV> requires <VK_NV_cuda_kernel_launch>" ); |
| 24869 |
|
| 24870 |
std::vector<uint8_t> cacheData; |
| 24871 |
size_t cacheSize; |
| 24872 |
Result result; |
| 24873 |
do |
| 24874 |
{ |
| 24875 |
result = static_cast<Result>( |
| 24876 |
getDispatcher()->vkGetCudaModuleCacheNV( static_cast<VkDevice>( m_device ), static_cast<VkCudaModuleNV>( m_cudaModuleNV ), &cacheSize, nullptr ) ); |
| 24877 |
if ( ( result == Result::eSuccess ) && cacheSize ) |
| 24878 |
{ |
| 24879 |
cacheData.resize( cacheSize ); |
| 24880 |
result = static_cast<Result>( getDispatcher()->vkGetCudaModuleCacheNV( |
| 24881 |
static_cast<VkDevice>( m_device ), static_cast<VkCudaModuleNV>( m_cudaModuleNV ), &cacheSize, reinterpret_cast<void *>( cacheData.data() ) ) ); |
| 24882 |
} |
| 24883 |
} while ( result == Result::eIncomplete ); |
| 24884 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::CudaModuleNV::getCache" ); |
| 24885 |
VULKAN_HPP_ASSERT( cacheSize <= cacheData.size() ); |
| 24886 |
if ( cacheSize < cacheData.size() ) |
| 24887 |
{ |
| 24888 |
cacheData.resize( cacheSize ); |
| 24889 |
} |
| 24890 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( cacheData ) ); |
| 24891 |
} |
| 24892 |
|
| 24893 |
// wrapper function for command vkCreateCudaFunctionNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateCudaFunctionNV.html |
| 24894 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<CudaFunctionNV>::type |
| 24895 |
Device::createCudaFunctionNV( CudaFunctionCreateInfoNV const & createInfo, |
| 24896 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 24897 |
{ |
| 24898 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateCudaFunctionNV && "Function <vkCreateCudaFunctionNV> requires <VK_NV_cuda_kernel_launch>" ); |
| 24899 |
|
| 24900 |
VULKAN_HPP_NAMESPACE::CudaFunctionNV function; |
| 24901 |
Result result = static_cast<Result>( getDispatcher()->vkCreateCudaFunctionNV( static_cast<VkDevice>( m_device ), |
| 24902 |
reinterpret_cast<const VkCudaFunctionCreateInfoNV *>( &createInfo ), |
| 24903 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 24904 |
reinterpret_cast<VkCudaFunctionNV *>( &function ) ) ); |
| 24905 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createCudaFunctionNV" ); |
| 24906 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, |
| 24907 |
CudaFunctionNV( *this, *reinterpret_cast<VkCudaFunctionNV *>( &function ), allocator ) ); |
| 24908 |
} |
| 24909 |
|
| 24910 |
// wrapper function for command vkCmdCudaLaunchKernelNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCudaLaunchKernelNV.html |
| 24911 |
VULKAN_HPP_INLINE void CommandBuffer::cudaLaunchKernelNV( const CudaLaunchInfoNV & launchInfo ) const VULKAN_HPP_NOEXCEPT |
| 24912 |
{ |
| 24913 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCudaLaunchKernelNV && "Function <vkCmdCudaLaunchKernelNV> requires <VK_NV_cuda_kernel_launch>" ); |
| 24914 |
|
| 24915 |
getDispatcher()->vkCmdCudaLaunchKernelNV( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCudaLaunchInfoNV *>( &launchInfo ) ); |
| 24916 |
} |
| 24917 |
# endif /*VK_ENABLE_BETA_EXTENSIONS*/ |
| 24918 |
|
| 24919 |
//=== VK_QCOM_tile_shading === |
| 24920 |
|
| 24921 |
// wrapper function for command vkCmdDispatchTileQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchTileQCOM.html |
| 24922 |
VULKAN_HPP_INLINE void CommandBuffer::dispatchTileQCOM( const DispatchTileInfoQCOM & dispatchTileInfo ) const VULKAN_HPP_NOEXCEPT |
| 24923 |
{ |
| 24924 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchTileQCOM && "Function <vkCmdDispatchTileQCOM> requires <VK_QCOM_tile_shading>" ); |
| 24925 |
|
| 24926 |
getDispatcher()->vkCmdDispatchTileQCOM( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24927 |
reinterpret_cast<const VkDispatchTileInfoQCOM *>( &dispatchTileInfo ) ); |
| 24928 |
} |
| 24929 |
|
| 24930 |
// wrapper function for command vkCmdBeginPerTileExecutionQCOM, see |
| 24931 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginPerTileExecutionQCOM.html |
| 24932 |
VULKAN_HPP_INLINE void CommandBuffer::beginPerTileExecutionQCOM( const PerTileBeginInfoQCOM & perTileBeginInfo ) const VULKAN_HPP_NOEXCEPT |
| 24933 |
{ |
| 24934 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginPerTileExecutionQCOM && "Function <vkCmdBeginPerTileExecutionQCOM> requires <VK_QCOM_tile_shading>" ); |
| 24935 |
|
| 24936 |
getDispatcher()->vkCmdBeginPerTileExecutionQCOM( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24937 |
reinterpret_cast<const VkPerTileBeginInfoQCOM *>( &perTileBeginInfo ) ); |
| 24938 |
} |
| 24939 |
|
| 24940 |
// wrapper function for command vkCmdEndPerTileExecutionQCOM, see |
| 24941 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndPerTileExecutionQCOM.html |
| 24942 |
VULKAN_HPP_INLINE void CommandBuffer::endPerTileExecutionQCOM( const PerTileEndInfoQCOM & perTileEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 24943 |
{ |
| 24944 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndPerTileExecutionQCOM && "Function <vkCmdEndPerTileExecutionQCOM> requires <VK_QCOM_tile_shading>" ); |
| 24945 |
|
| 24946 |
getDispatcher()->vkCmdEndPerTileExecutionQCOM( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24947 |
reinterpret_cast<const VkPerTileEndInfoQCOM *>( &perTileEndInfo ) ); |
| 24948 |
} |
| 24949 |
|
| 24950 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 24951 |
//=== VK_EXT_metal_objects === |
| 24952 |
|
| 24953 |
// wrapper function for command vkExportMetalObjectsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkExportMetalObjectsEXT.html |
| 24954 |
VULKAN_HPP_INLINE void Device::exportMetalObjectsEXT( ExportMetalObjectsInfoEXT & metalObjectsInfo ) const VULKAN_HPP_NOEXCEPT |
| 24955 |
{ |
| 24956 |
VULKAN_HPP_ASSERT( getDispatcher()->vkExportMetalObjectsEXT && "Function <vkExportMetalObjectsEXT> requires <VK_EXT_metal_objects>" ); |
| 24957 |
|
| 24958 |
getDispatcher()->vkExportMetalObjectsEXT( static_cast<VkDevice>( m_device ), reinterpret_cast<VkExportMetalObjectsInfoEXT *>( &metalObjectsInfo ) ); |
| 24959 |
} |
| 24960 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 24961 |
|
| 24962 |
//=== VK_KHR_synchronization2 === |
| 24963 |
|
| 24964 |
// wrapper function for command vkCmdSetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetEvent2KHR.html |
| 24965 |
VULKAN_HPP_INLINE void CommandBuffer::setEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT |
| 24966 |
{ |
| 24967 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetEvent2KHR && "Function <vkCmdSetEvent2KHR> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 24968 |
|
| 24969 |
getDispatcher()->vkCmdSetEvent2KHR( |
| 24970 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkEvent>( event ), reinterpret_cast<const VkDependencyInfo *>( &dependencyInfo ) ); |
| 24971 |
} |
| 24972 |
|
| 24973 |
// wrapper function for command vkCmdResetEvent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResetEvent2KHR.html |
| 24974 |
VULKAN_HPP_INLINE void CommandBuffer::resetEvent2KHR( VULKAN_HPP_NAMESPACE::Event event, PipelineStageFlags2 stageMask ) const VULKAN_HPP_NOEXCEPT |
| 24975 |
{ |
| 24976 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResetEvent2KHR && "Function <vkCmdResetEvent2KHR> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 24977 |
|
| 24978 |
getDispatcher()->vkCmdResetEvent2KHR( |
| 24979 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkEvent>( event ), static_cast<VkPipelineStageFlags2>( stageMask ) ); |
| 24980 |
} |
| 24981 |
|
| 24982 |
// wrapper function for command vkCmdWaitEvents2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWaitEvents2KHR.html |
| 24983 |
VULKAN_HPP_INLINE void CommandBuffer::waitEvents2KHR( ArrayProxy<const VULKAN_HPP_NAMESPACE::Event> const & events, |
| 24984 |
ArrayProxy<const DependencyInfo> const & dependencyInfos ) const |
| 24985 |
{ |
| 24986 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWaitEvents2KHR && "Function <vkCmdWaitEvents2KHR> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 24987 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 24988 |
VULKAN_HPP_ASSERT( events.size() == dependencyInfos.size() ); |
| 24989 |
# else |
| 24990 |
if ( events.size() != dependencyInfos.size() ) |
| 24991 |
{ |
| 24992 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::waitEvents2KHR: events.size() != dependencyInfos.size()" ); |
| 24993 |
} |
| 24994 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 24995 |
|
| 24996 |
getDispatcher()->vkCmdWaitEvents2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 24997 |
events.size(), |
| 24998 |
reinterpret_cast<const VkEvent *>( events.data() ), |
| 24999 |
reinterpret_cast<const VkDependencyInfo *>( dependencyInfos.data() ) ); |
| 25000 |
} |
| 25001 |
|
| 25002 |
// wrapper function for command vkCmdPipelineBarrier2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPipelineBarrier2KHR.html |
| 25003 |
VULKAN_HPP_INLINE void CommandBuffer::pipelineBarrier2KHR( const DependencyInfo & dependencyInfo ) const VULKAN_HPP_NOEXCEPT |
| 25004 |
{ |
| 25005 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPipelineBarrier2KHR && |
| 25006 |
"Function <vkCmdPipelineBarrier2KHR> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 25007 |
|
| 25008 |
getDispatcher()->vkCmdPipelineBarrier2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25009 |
reinterpret_cast<const VkDependencyInfo *>( &dependencyInfo ) ); |
| 25010 |
} |
| 25011 |
|
| 25012 |
// wrapper function for command vkCmdWriteTimestamp2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteTimestamp2KHR.html |
| 25013 |
VULKAN_HPP_INLINE void |
| 25014 |
CommandBuffer::writeTimestamp2KHR( PipelineStageFlags2 stage, VULKAN_HPP_NAMESPACE::QueryPool queryPool, uint32_t query ) const VULKAN_HPP_NOEXCEPT |
| 25015 |
{ |
| 25016 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteTimestamp2KHR && |
| 25017 |
"Function <vkCmdWriteTimestamp2KHR> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 25018 |
|
| 25019 |
getDispatcher()->vkCmdWriteTimestamp2KHR( |
| 25020 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPipelineStageFlags2>( stage ), static_cast<VkQueryPool>( queryPool ), query ); |
| 25021 |
} |
| 25022 |
|
| 25023 |
// wrapper function for command vkQueueSubmit2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueSubmit2KHR.html |
| 25024 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Queue::submit2KHR( ArrayProxy<const SubmitInfo2> const & submits, |
| 25025 |
VULKAN_HPP_NAMESPACE::Fence fence ) const |
| 25026 |
{ |
| 25027 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueSubmit2KHR && "Function <vkQueueSubmit2KHR> requires <VK_KHR_synchronization2> or <VK_VERSION_1_3>" ); |
| 25028 |
|
| 25029 |
Result result = static_cast<Result>( getDispatcher()->vkQueueSubmit2KHR( |
| 25030 |
static_cast<VkQueue>( m_queue ), submits.size(), reinterpret_cast<const VkSubmitInfo2 *>( submits.data() ), static_cast<VkFence>( fence ) ) ); |
| 25031 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Queue::submit2KHR" ); |
| 25032 |
|
| 25033 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 25034 |
} |
| 25035 |
|
| 25036 |
//=== VK_EXT_descriptor_buffer === |
| 25037 |
|
| 25038 |
// wrapper function for command vkGetDescriptorSetLayoutSizeEXT, see |
| 25039 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutSizeEXT.html |
| 25040 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize DescriptorSetLayout::getSizeEXT() const VULKAN_HPP_NOEXCEPT |
| 25041 |
{ |
| 25042 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutSizeEXT && "Function <vkGetDescriptorSetLayoutSizeEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25043 |
|
| 25044 |
DeviceSize layoutSizeInBytes; |
| 25045 |
getDispatcher()->vkGetDescriptorSetLayoutSizeEXT( static_cast<VkDevice>( m_device ), |
| 25046 |
static_cast<VkDescriptorSetLayout>( m_descriptorSetLayout ), |
| 25047 |
reinterpret_cast<VkDeviceSize *>( &layoutSizeInBytes ) ); |
| 25048 |
|
| 25049 |
return layoutSizeInBytes; |
| 25050 |
} |
| 25051 |
|
| 25052 |
// wrapper function for command vkGetDescriptorSetLayoutBindingOffsetEXT, see |
| 25053 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutBindingOffsetEXT.html |
| 25054 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceSize DescriptorSetLayout::getBindingOffsetEXT( uint32_t binding ) const VULKAN_HPP_NOEXCEPT |
| 25055 |
{ |
| 25056 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutBindingOffsetEXT && |
| 25057 |
"Function <vkGetDescriptorSetLayoutBindingOffsetEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25058 |
|
| 25059 |
DeviceSize offset; |
| 25060 |
getDispatcher()->vkGetDescriptorSetLayoutBindingOffsetEXT( |
| 25061 |
static_cast<VkDevice>( m_device ), static_cast<VkDescriptorSetLayout>( m_descriptorSetLayout ), binding, reinterpret_cast<VkDeviceSize *>( &offset ) ); |
| 25062 |
|
| 25063 |
return offset; |
| 25064 |
} |
| 25065 |
|
| 25066 |
// wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html |
| 25067 |
VULKAN_HPP_INLINE void |
| 25068 |
Device::getDescriptorEXT( const DescriptorGetInfoEXT & descriptorInfo, size_t dataSize, void * pDescriptor ) const VULKAN_HPP_NOEXCEPT |
| 25069 |
{ |
| 25070 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorEXT && "Function <vkGetDescriptorEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25071 |
|
| 25072 |
getDispatcher()->vkGetDescriptorEXT( |
| 25073 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDescriptorGetInfoEXT *>( &descriptorInfo ), dataSize, pDescriptor ); |
| 25074 |
} |
| 25075 |
|
| 25076 |
// wrapper function for command vkGetDescriptorEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorEXT.html |
| 25077 |
template <typename DescriptorType> |
| 25078 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorType Device::getDescriptorEXT( const DescriptorGetInfoEXT & descriptorInfo ) const VULKAN_HPP_NOEXCEPT |
| 25079 |
{ |
| 25080 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorEXT && "Function <vkGetDescriptorEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25081 |
|
| 25082 |
DescriptorType descriptor; |
| 25083 |
getDispatcher()->vkGetDescriptorEXT( static_cast<VkDevice>( m_device ), |
| 25084 |
reinterpret_cast<const VkDescriptorGetInfoEXT *>( &descriptorInfo ), |
| 25085 |
sizeof( DescriptorType ), |
| 25086 |
reinterpret_cast<void *>( &descriptor ) ); |
| 25087 |
|
| 25088 |
return descriptor; |
| 25089 |
} |
| 25090 |
|
| 25091 |
// wrapper function for command vkCmdBindDescriptorBuffersEXT, see |
| 25092 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBuffersEXT.html |
| 25093 |
VULKAN_HPP_INLINE void |
| 25094 |
CommandBuffer::bindDescriptorBuffersEXT( ArrayProxy<const DescriptorBufferBindingInfoEXT> const & bindingInfos ) const VULKAN_HPP_NOEXCEPT |
| 25095 |
{ |
| 25096 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindDescriptorBuffersEXT && "Function <vkCmdBindDescriptorBuffersEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25097 |
|
| 25098 |
getDispatcher()->vkCmdBindDescriptorBuffersEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25099 |
bindingInfos.size(), |
| 25100 |
reinterpret_cast<const VkDescriptorBufferBindingInfoEXT *>( bindingInfos.data() ) ); |
| 25101 |
} |
| 25102 |
|
| 25103 |
// wrapper function for command vkCmdSetDescriptorBufferOffsetsEXT, see |
| 25104 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsetsEXT.html |
| 25105 |
VULKAN_HPP_INLINE void CommandBuffer::setDescriptorBufferOffsetsEXT( PipelineBindPoint pipelineBindPoint, |
| 25106 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 25107 |
uint32_t firstSet, |
| 25108 |
ArrayProxy<const uint32_t> const & bufferIndices, |
| 25109 |
ArrayProxy<const DeviceSize> const & offsets ) const |
| 25110 |
{ |
| 25111 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDescriptorBufferOffsetsEXT && |
| 25112 |
"Function <vkCmdSetDescriptorBufferOffsetsEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25113 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 25114 |
VULKAN_HPP_ASSERT( bufferIndices.size() == offsets.size() ); |
| 25115 |
# else |
| 25116 |
if ( bufferIndices.size() != offsets.size() ) |
| 25117 |
{ |
| 25118 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::setDescriptorBufferOffsetsEXT: bufferIndices.size() != offsets.size()" ); |
| 25119 |
} |
| 25120 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 25121 |
|
| 25122 |
getDispatcher()->vkCmdSetDescriptorBufferOffsetsEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25123 |
static_cast<VkPipelineBindPoint>( pipelineBindPoint ), |
| 25124 |
static_cast<VkPipelineLayout>( layout ), |
| 25125 |
firstSet, |
| 25126 |
bufferIndices.size(), |
| 25127 |
bufferIndices.data(), |
| 25128 |
reinterpret_cast<const VkDeviceSize *>( offsets.data() ) ); |
| 25129 |
} |
| 25130 |
|
| 25131 |
// wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplersEXT, see |
| 25132 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplersEXT.html |
| 25133 |
VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBufferEmbeddedSamplersEXT( PipelineBindPoint pipelineBindPoint, |
| 25134 |
VULKAN_HPP_NAMESPACE::PipelineLayout layout, |
| 25135 |
uint32_t set ) const VULKAN_HPP_NOEXCEPT |
| 25136 |
{ |
| 25137 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindDescriptorBufferEmbeddedSamplersEXT && |
| 25138 |
"Function <vkCmdBindDescriptorBufferEmbeddedSamplersEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25139 |
|
| 25140 |
getDispatcher()->vkCmdBindDescriptorBufferEmbeddedSamplersEXT( |
| 25141 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipelineLayout>( layout ), set ); |
| 25142 |
} |
| 25143 |
|
| 25144 |
// wrapper function for command vkGetBufferOpaqueCaptureDescriptorDataEXT, see |
| 25145 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferOpaqueCaptureDescriptorDataEXT.html |
| 25146 |
template <typename DataType> |
| 25147 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 25148 |
Device::getBufferOpaqueCaptureDescriptorDataEXT( const BufferCaptureDescriptorDataInfoEXT & info ) const |
| 25149 |
{ |
| 25150 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferOpaqueCaptureDescriptorDataEXT && |
| 25151 |
"Function <vkGetBufferOpaqueCaptureDescriptorDataEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25152 |
|
| 25153 |
DataType data; |
| 25154 |
Result result = static_cast<Result>( getDispatcher()->vkGetBufferOpaqueCaptureDescriptorDataEXT( |
| 25155 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkBufferCaptureDescriptorDataInfoEXT *>( &info ), &data ) ); |
| 25156 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getBufferOpaqueCaptureDescriptorDataEXT" ); |
| 25157 |
|
| 25158 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25159 |
} |
| 25160 |
|
| 25161 |
// wrapper function for command vkGetImageOpaqueCaptureDescriptorDataEXT, see |
| 25162 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageOpaqueCaptureDescriptorDataEXT.html |
| 25163 |
template <typename DataType> |
| 25164 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 25165 |
Device::getImageOpaqueCaptureDescriptorDataEXT( const ImageCaptureDescriptorDataInfoEXT & info ) const |
| 25166 |
{ |
| 25167 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageOpaqueCaptureDescriptorDataEXT && |
| 25168 |
"Function <vkGetImageOpaqueCaptureDescriptorDataEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25169 |
|
| 25170 |
DataType data; |
| 25171 |
Result result = static_cast<Result>( getDispatcher()->vkGetImageOpaqueCaptureDescriptorDataEXT( |
| 25172 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImageCaptureDescriptorDataInfoEXT *>( &info ), &data ) ); |
| 25173 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getImageOpaqueCaptureDescriptorDataEXT" ); |
| 25174 |
|
| 25175 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25176 |
} |
| 25177 |
|
| 25178 |
// wrapper function for command vkGetImageViewOpaqueCaptureDescriptorDataEXT, see |
| 25179 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageViewOpaqueCaptureDescriptorDataEXT.html |
| 25180 |
template <typename DataType> |
| 25181 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 25182 |
Device::getImageViewOpaqueCaptureDescriptorDataEXT( const ImageViewCaptureDescriptorDataInfoEXT & info ) const |
| 25183 |
{ |
| 25184 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetImageViewOpaqueCaptureDescriptorDataEXT && |
| 25185 |
"Function <vkGetImageViewOpaqueCaptureDescriptorDataEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25186 |
|
| 25187 |
DataType data; |
| 25188 |
Result result = static_cast<Result>( getDispatcher()->vkGetImageViewOpaqueCaptureDescriptorDataEXT( |
| 25189 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImageViewCaptureDescriptorDataInfoEXT *>( &info ), &data ) ); |
| 25190 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getImageViewOpaqueCaptureDescriptorDataEXT" ); |
| 25191 |
|
| 25192 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25193 |
} |
| 25194 |
|
| 25195 |
// wrapper function for command vkGetSamplerOpaqueCaptureDescriptorDataEXT, see |
| 25196 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSamplerOpaqueCaptureDescriptorDataEXT.html |
| 25197 |
template <typename DataType> |
| 25198 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 25199 |
Device::getSamplerOpaqueCaptureDescriptorDataEXT( const SamplerCaptureDescriptorDataInfoEXT & info ) const |
| 25200 |
{ |
| 25201 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSamplerOpaqueCaptureDescriptorDataEXT && |
| 25202 |
"Function <vkGetSamplerOpaqueCaptureDescriptorDataEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25203 |
|
| 25204 |
DataType data; |
| 25205 |
Result result = static_cast<Result>( getDispatcher()->vkGetSamplerOpaqueCaptureDescriptorDataEXT( |
| 25206 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSamplerCaptureDescriptorDataInfoEXT *>( &info ), &data ) ); |
| 25207 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getSamplerOpaqueCaptureDescriptorDataEXT" ); |
| 25208 |
|
| 25209 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25210 |
} |
| 25211 |
|
| 25212 |
// wrapper function for command vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT, see |
| 25213 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT.html |
| 25214 |
template <typename DataType> |
| 25215 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 25216 |
Device::getAccelerationStructureOpaqueCaptureDescriptorDataEXT( const AccelerationStructureCaptureDescriptorDataInfoEXT & info ) const |
| 25217 |
{ |
| 25218 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT && |
| 25219 |
"Function <vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT> requires <VK_EXT_descriptor_buffer>" ); |
| 25220 |
|
| 25221 |
DataType data; |
| 25222 |
Result result = static_cast<Result>( getDispatcher()->vkGetAccelerationStructureOpaqueCaptureDescriptorDataEXT( |
| 25223 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAccelerationStructureCaptureDescriptorDataInfoEXT *>( &info ), &data ) ); |
| 25224 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getAccelerationStructureOpaqueCaptureDescriptorDataEXT" ); |
| 25225 |
|
| 25226 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25227 |
} |
| 25228 |
|
| 25229 |
//=== VK_NV_fragment_shading_rate_enums === |
| 25230 |
|
| 25231 |
// wrapper function for command vkCmdSetFragmentShadingRateEnumNV, see |
| 25232 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetFragmentShadingRateEnumNV.html |
| 25233 |
VULKAN_HPP_INLINE void CommandBuffer::setFragmentShadingRateEnumNV( FragmentShadingRateNV shadingRate, |
| 25234 |
const FragmentShadingRateCombinerOpKHR combinerOps[2] ) const VULKAN_HPP_NOEXCEPT |
| 25235 |
{ |
| 25236 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetFragmentShadingRateEnumNV && |
| 25237 |
"Function <vkCmdSetFragmentShadingRateEnumNV> requires <VK_NV_fragment_shading_rate_enums>" ); |
| 25238 |
|
| 25239 |
getDispatcher()->vkCmdSetFragmentShadingRateEnumNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25240 |
static_cast<VkFragmentShadingRateNV>( shadingRate ), |
| 25241 |
reinterpret_cast<const VkFragmentShadingRateCombinerOpKHR *>( combinerOps ) ); |
| 25242 |
} |
| 25243 |
|
| 25244 |
//=== VK_EXT_mesh_shader === |
| 25245 |
|
| 25246 |
// wrapper function for command vkCmdDrawMeshTasksEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksEXT.html |
| 25247 |
VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksEXT( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT |
| 25248 |
{ |
| 25249 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMeshTasksEXT && "Function <vkCmdDrawMeshTasksEXT> requires <VK_EXT_mesh_shader>" ); |
| 25250 |
|
| 25251 |
getDispatcher()->vkCmdDrawMeshTasksEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), groupCountX, groupCountY, groupCountZ ); |
| 25252 |
} |
| 25253 |
|
| 25254 |
// wrapper function for command vkCmdDrawMeshTasksIndirectEXT, see |
| 25255 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectEXT.html |
| 25256 |
VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectEXT( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 25257 |
DeviceSize offset, |
| 25258 |
uint32_t drawCount, |
| 25259 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 25260 |
{ |
| 25261 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMeshTasksIndirectEXT && "Function <vkCmdDrawMeshTasksIndirectEXT> requires <VK_EXT_mesh_shader>" ); |
| 25262 |
|
| 25263 |
getDispatcher()->vkCmdDrawMeshTasksIndirectEXT( |
| 25264 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ), drawCount, stride ); |
| 25265 |
} |
| 25266 |
|
| 25267 |
// wrapper function for command vkCmdDrawMeshTasksIndirectCountEXT, see |
| 25268 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMeshTasksIndirectCountEXT.html |
| 25269 |
VULKAN_HPP_INLINE void CommandBuffer::drawMeshTasksIndirectCountEXT( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 25270 |
DeviceSize offset, |
| 25271 |
VULKAN_HPP_NAMESPACE::Buffer countBuffer, |
| 25272 |
DeviceSize countBufferOffset, |
| 25273 |
uint32_t maxDrawCount, |
| 25274 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 25275 |
{ |
| 25276 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMeshTasksIndirectCountEXT && "Function <vkCmdDrawMeshTasksIndirectCountEXT> requires <VK_EXT_mesh_shader>" ); |
| 25277 |
|
| 25278 |
getDispatcher()->vkCmdDrawMeshTasksIndirectCountEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25279 |
static_cast<VkBuffer>( buffer ), |
| 25280 |
static_cast<VkDeviceSize>( offset ), |
| 25281 |
static_cast<VkBuffer>( countBuffer ), |
| 25282 |
static_cast<VkDeviceSize>( countBufferOffset ), |
| 25283 |
maxDrawCount, |
| 25284 |
stride ); |
| 25285 |
} |
| 25286 |
|
| 25287 |
//=== VK_KHR_copy_commands2 === |
| 25288 |
|
| 25289 |
// wrapper function for command vkCmdCopyBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBuffer2KHR.html |
| 25290 |
VULKAN_HPP_INLINE void CommandBuffer::copyBuffer2KHR( const CopyBufferInfo2 & copyBufferInfo ) const VULKAN_HPP_NOEXCEPT |
| 25291 |
{ |
| 25292 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyBuffer2KHR && "Function <vkCmdCopyBuffer2KHR> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 25293 |
|
| 25294 |
getDispatcher()->vkCmdCopyBuffer2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCopyBufferInfo2 *>( ©BufferInfo ) ); |
| 25295 |
} |
| 25296 |
|
| 25297 |
// wrapper function for command vkCmdCopyImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImage2KHR.html |
| 25298 |
VULKAN_HPP_INLINE void CommandBuffer::copyImage2KHR( const CopyImageInfo2 & copyImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 25299 |
{ |
| 25300 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyImage2KHR && "Function <vkCmdCopyImage2KHR> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 25301 |
|
| 25302 |
getDispatcher()->vkCmdCopyImage2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCopyImageInfo2 *>( ©ImageInfo ) ); |
| 25303 |
} |
| 25304 |
|
| 25305 |
// wrapper function for command vkCmdCopyBufferToImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyBufferToImage2KHR.html |
| 25306 |
VULKAN_HPP_INLINE void CommandBuffer::copyBufferToImage2KHR( const CopyBufferToImageInfo2 & copyBufferToImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 25307 |
{ |
| 25308 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyBufferToImage2KHR && |
| 25309 |
"Function <vkCmdCopyBufferToImage2KHR> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 25310 |
|
| 25311 |
getDispatcher()->vkCmdCopyBufferToImage2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25312 |
reinterpret_cast<const VkCopyBufferToImageInfo2 *>( ©BufferToImageInfo ) ); |
| 25313 |
} |
| 25314 |
|
| 25315 |
// wrapper function for command vkCmdCopyImageToBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyImageToBuffer2KHR.html |
| 25316 |
VULKAN_HPP_INLINE void CommandBuffer::copyImageToBuffer2KHR( const CopyImageToBufferInfo2 & copyImageToBufferInfo ) const VULKAN_HPP_NOEXCEPT |
| 25317 |
{ |
| 25318 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyImageToBuffer2KHR && |
| 25319 |
"Function <vkCmdCopyImageToBuffer2KHR> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 25320 |
|
| 25321 |
getDispatcher()->vkCmdCopyImageToBuffer2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25322 |
reinterpret_cast<const VkCopyImageToBufferInfo2 *>( ©ImageToBufferInfo ) ); |
| 25323 |
} |
| 25324 |
|
| 25325 |
// wrapper function for command vkCmdBlitImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBlitImage2KHR.html |
| 25326 |
VULKAN_HPP_INLINE void CommandBuffer::blitImage2KHR( const BlitImageInfo2 & blitImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 25327 |
{ |
| 25328 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBlitImage2KHR && "Function <vkCmdBlitImage2KHR> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 25329 |
|
| 25330 |
getDispatcher()->vkCmdBlitImage2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkBlitImageInfo2 *>( &blitImageInfo ) ); |
| 25331 |
} |
| 25332 |
|
| 25333 |
// wrapper function for command vkCmdResolveImage2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdResolveImage2KHR.html |
| 25334 |
VULKAN_HPP_INLINE void CommandBuffer::resolveImage2KHR( const ResolveImageInfo2 & resolveImageInfo ) const VULKAN_HPP_NOEXCEPT |
| 25335 |
{ |
| 25336 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdResolveImage2KHR && "Function <vkCmdResolveImage2KHR> requires <VK_KHR_copy_commands2> or <VK_VERSION_1_3>" ); |
| 25337 |
|
| 25338 |
getDispatcher()->vkCmdResolveImage2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25339 |
reinterpret_cast<const VkResolveImageInfo2 *>( &resolveImageInfo ) ); |
| 25340 |
} |
| 25341 |
|
| 25342 |
//=== VK_EXT_device_fault === |
| 25343 |
// wrapper function for command vkGetDeviceFaultInfoEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceFaultInfoEXT.html |
| 25344 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getFaultInfoEXT( DeviceFaultCountsEXT * pFaultCounts, |
| 25345 |
DeviceFaultInfoEXT * pFaultInfo ) const VULKAN_HPP_NOEXCEPT |
| 25346 |
{ |
| 25347 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceFaultInfoEXT && "Function <vkGetDeviceFaultInfoEXT> requires <VK_EXT_device_fault>" ); |
| 25348 |
return static_cast<Result>( getDispatcher()->vkGetDeviceFaultInfoEXT( static_cast<VkDevice>( m_device ), |
| 25349 |
reinterpret_cast<VkDeviceFaultCountsEXT *>( pFaultCounts ), |
| 25350 |
reinterpret_cast<VkDeviceFaultInfoEXT *>( pFaultInfo ) ) ); |
| 25351 |
} |
| 25352 |
# if defined( VK_USE_PLATFORM_WIN32_KHR ) |
| 25353 |
//=== VK_NV_acquire_winrt_display === |
| 25354 |
|
| 25355 |
// wrapper function for command vkAcquireWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAcquireWinrtDisplayNV.html |
| 25356 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type DisplayKHR::acquireWinrtNV() const |
| 25357 |
{ |
| 25358 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireWinrtDisplayNV && "Function <vkAcquireWinrtDisplayNV> requires <VK_NV_acquire_winrt_display>" ); |
| 25359 |
|
| 25360 |
Result result = static_cast<Result>( |
| 25361 |
getDispatcher()->vkAcquireWinrtDisplayNV( static_cast<VkPhysicalDevice>( m_physicalDevice ), static_cast<VkDisplayKHR>( m_displayKHR ) ) ); |
| 25362 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::DisplayKHR::acquireWinrtNV" ); |
| 25363 |
|
| 25364 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 25365 |
} |
| 25366 |
|
| 25367 |
// wrapper function for command vkGetWinrtDisplayNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetWinrtDisplayNV.html |
| 25368 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DisplayKHR>::type |
| 25369 |
PhysicalDevice::getWinrtDisplayNV( uint32_t deviceRelativeId ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 25370 |
{ |
| 25371 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetWinrtDisplayNV && "Function <vkGetWinrtDisplayNV> requires <VK_NV_acquire_winrt_display>" ); |
| 25372 |
|
| 25373 |
VULKAN_HPP_NAMESPACE::DisplayKHR display; |
| 25374 |
Result result = static_cast<Result>( getDispatcher()->vkGetWinrtDisplayNV( |
| 25375 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), deviceRelativeId, reinterpret_cast<VkDisplayKHR *>( &display ) ) ); |
| 25376 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getWinrtDisplayNV" ); |
| 25377 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, DisplayKHR( *this, *reinterpret_cast<VkDisplayKHR *>( &display ) ) ); |
| 25378 |
} |
| 25379 |
# endif /*VK_USE_PLATFORM_WIN32_KHR*/ |
| 25380 |
|
| 25381 |
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT ) |
| 25382 |
//=== VK_EXT_directfb_surface === |
| 25383 |
|
| 25384 |
// wrapper function for command vkCreateDirectFBSurfaceEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDirectFBSurfaceEXT.html |
| 25385 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 25386 |
Instance::createDirectFBSurfaceEXT( DirectFBSurfaceCreateInfoEXT const & createInfo, |
| 25387 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 25388 |
{ |
| 25389 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDirectFBSurfaceEXT && "Function <vkCreateDirectFBSurfaceEXT> requires <VK_EXT_directfb_surface>" ); |
| 25390 |
|
| 25391 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 25392 |
Result result = static_cast<Result>( getDispatcher()->vkCreateDirectFBSurfaceEXT( static_cast<VkInstance>( m_instance ), |
| 25393 |
reinterpret_cast<const VkDirectFBSurfaceCreateInfoEXT *>( &createInfo ), |
| 25394 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 25395 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 25396 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createDirectFBSurfaceEXT" ); |
| 25397 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 25398 |
} |
| 25399 |
|
| 25400 |
// wrapper function for command vkGetPhysicalDeviceDirectFBPresentationSupportEXT, see |
| 25401 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceDirectFBPresentationSupportEXT.html |
| 25402 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 PhysicalDevice::getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, |
| 25403 |
IDirectFB & dfb ) const VULKAN_HPP_NOEXCEPT |
| 25404 |
{ |
| 25405 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceDirectFBPresentationSupportEXT && |
| 25406 |
"Function <vkGetPhysicalDeviceDirectFBPresentationSupportEXT> requires <VK_EXT_directfb_surface>" ); |
| 25407 |
|
| 25408 |
VkBool32 result = |
| 25409 |
getDispatcher()->vkGetPhysicalDeviceDirectFBPresentationSupportEXT( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &dfb ); |
| 25410 |
|
| 25411 |
return static_cast<Bool32>( result ); |
| 25412 |
} |
| 25413 |
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/ |
| 25414 |
|
| 25415 |
//=== VK_EXT_vertex_input_dynamic_state === |
| 25416 |
|
| 25417 |
// wrapper function for command vkCmdSetVertexInputEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetVertexInputEXT.html |
| 25418 |
VULKAN_HPP_INLINE void |
| 25419 |
CommandBuffer::setVertexInputEXT( ArrayProxy<const VertexInputBindingDescription2EXT> const & vertexBindingDescriptions, |
| 25420 |
ArrayProxy<const VertexInputAttributeDescription2EXT> const & vertexAttributeDescriptions ) const VULKAN_HPP_NOEXCEPT |
| 25421 |
{ |
| 25422 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetVertexInputEXT && |
| 25423 |
"Function <vkCmdSetVertexInputEXT> requires <VK_EXT_shader_object> or <VK_EXT_vertex_input_dynamic_state>" ); |
| 25424 |
|
| 25425 |
getDispatcher()->vkCmdSetVertexInputEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25426 |
vertexBindingDescriptions.size(), |
| 25427 |
reinterpret_cast<const VkVertexInputBindingDescription2EXT *>( vertexBindingDescriptions.data() ), |
| 25428 |
vertexAttributeDescriptions.size(), |
| 25429 |
reinterpret_cast<const VkVertexInputAttributeDescription2EXT *>( vertexAttributeDescriptions.data() ) ); |
| 25430 |
} |
| 25431 |
|
| 25432 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 25433 |
//=== VK_FUCHSIA_external_memory === |
| 25434 |
|
| 25435 |
// wrapper function for command vkGetMemoryZirconHandleFUCHSIA, see |
| 25436 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandleFUCHSIA.html |
| 25437 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<zx_handle_t>::type |
| 25438 |
Device::getMemoryZirconHandleFUCHSIA( const MemoryGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const |
| 25439 |
{ |
| 25440 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryZirconHandleFUCHSIA && "Function <vkGetMemoryZirconHandleFUCHSIA> requires <VK_FUCHSIA_external_memory>" ); |
| 25441 |
|
| 25442 |
zx_handle_t zirconHandle; |
| 25443 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryZirconHandleFUCHSIA( |
| 25444 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryGetZirconHandleInfoFUCHSIA *>( &getZirconHandleInfo ), &zirconHandle ) ); |
| 25445 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryZirconHandleFUCHSIA" ); |
| 25446 |
|
| 25447 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( zirconHandle ) ); |
| 25448 |
} |
| 25449 |
|
| 25450 |
// wrapper function for command vkGetMemoryZirconHandlePropertiesFUCHSIA, see |
| 25451 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryZirconHandlePropertiesFUCHSIA.html |
| 25452 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<MemoryZirconHandlePropertiesFUCHSIA>::type |
| 25453 |
Device::getMemoryZirconHandlePropertiesFUCHSIA( ExternalMemoryHandleTypeFlagBits handleType, zx_handle_t zirconHandle ) const |
| 25454 |
{ |
| 25455 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryZirconHandlePropertiesFUCHSIA && |
| 25456 |
"Function <vkGetMemoryZirconHandlePropertiesFUCHSIA> requires <VK_FUCHSIA_external_memory>" ); |
| 25457 |
|
| 25458 |
MemoryZirconHandlePropertiesFUCHSIA memoryZirconHandleProperties; |
| 25459 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryZirconHandlePropertiesFUCHSIA( |
| 25460 |
static_cast<VkDevice>( m_device ), |
| 25461 |
static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), |
| 25462 |
zirconHandle, |
| 25463 |
reinterpret_cast<VkMemoryZirconHandlePropertiesFUCHSIA *>( &memoryZirconHandleProperties ) ) ); |
| 25464 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryZirconHandlePropertiesFUCHSIA" ); |
| 25465 |
|
| 25466 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( memoryZirconHandleProperties ) ); |
| 25467 |
} |
| 25468 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 25469 |
|
| 25470 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 25471 |
//=== VK_FUCHSIA_external_semaphore === |
| 25472 |
|
| 25473 |
// wrapper function for command vkImportSemaphoreZirconHandleFUCHSIA, see |
| 25474 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkImportSemaphoreZirconHandleFUCHSIA.html |
| 25475 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 25476 |
Device::importSemaphoreZirconHandleFUCHSIA( const ImportSemaphoreZirconHandleInfoFUCHSIA & importSemaphoreZirconHandleInfo ) const |
| 25477 |
{ |
| 25478 |
VULKAN_HPP_ASSERT( getDispatcher()->vkImportSemaphoreZirconHandleFUCHSIA && |
| 25479 |
"Function <vkImportSemaphoreZirconHandleFUCHSIA> requires <VK_FUCHSIA_external_semaphore>" ); |
| 25480 |
|
| 25481 |
Result result = static_cast<Result>( getDispatcher()->vkImportSemaphoreZirconHandleFUCHSIA( |
| 25482 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkImportSemaphoreZirconHandleInfoFUCHSIA *>( &importSemaphoreZirconHandleInfo ) ) ); |
| 25483 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::importSemaphoreZirconHandleFUCHSIA" ); |
| 25484 |
|
| 25485 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 25486 |
} |
| 25487 |
|
| 25488 |
// wrapper function for command vkGetSemaphoreZirconHandleFUCHSIA, see |
| 25489 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetSemaphoreZirconHandleFUCHSIA.html |
| 25490 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<zx_handle_t>::type |
| 25491 |
Device::getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const |
| 25492 |
{ |
| 25493 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetSemaphoreZirconHandleFUCHSIA && |
| 25494 |
"Function <vkGetSemaphoreZirconHandleFUCHSIA> requires <VK_FUCHSIA_external_semaphore>" ); |
| 25495 |
|
| 25496 |
zx_handle_t zirconHandle; |
| 25497 |
Result result = static_cast<Result>( getDispatcher()->vkGetSemaphoreZirconHandleFUCHSIA( |
| 25498 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkSemaphoreGetZirconHandleInfoFUCHSIA *>( &getZirconHandleInfo ), &zirconHandle ) ); |
| 25499 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getSemaphoreZirconHandleFUCHSIA" ); |
| 25500 |
|
| 25501 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( zirconHandle ) ); |
| 25502 |
} |
| 25503 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 25504 |
|
| 25505 |
# if defined( VK_USE_PLATFORM_FUCHSIA ) |
| 25506 |
//=== VK_FUCHSIA_buffer_collection === |
| 25507 |
|
| 25508 |
// wrapper function for command vkCreateBufferCollectionFUCHSIA, see |
| 25509 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateBufferCollectionFUCHSIA.html |
| 25510 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<BufferCollectionFUCHSIA>::type |
| 25511 |
Device::createBufferCollectionFUCHSIA( BufferCollectionCreateInfoFUCHSIA const & createInfo, |
| 25512 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 25513 |
{ |
| 25514 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateBufferCollectionFUCHSIA && |
| 25515 |
"Function <vkCreateBufferCollectionFUCHSIA> requires <VK_FUCHSIA_buffer_collection>" ); |
| 25516 |
|
| 25517 |
VULKAN_HPP_NAMESPACE::BufferCollectionFUCHSIA collection; |
| 25518 |
Result result = |
| 25519 |
static_cast<Result>( getDispatcher()->vkCreateBufferCollectionFUCHSIA( static_cast<VkDevice>( m_device ), |
| 25520 |
reinterpret_cast<const VkBufferCollectionCreateInfoFUCHSIA *>( &createInfo ), |
| 25521 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 25522 |
reinterpret_cast<VkBufferCollectionFUCHSIA *>( &collection ) ) ); |
| 25523 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createBufferCollectionFUCHSIA" ); |
| 25524 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 25525 |
result, BufferCollectionFUCHSIA( *this, *reinterpret_cast<VkBufferCollectionFUCHSIA *>( &collection ), allocator ) ); |
| 25526 |
} |
| 25527 |
|
| 25528 |
// wrapper function for command vkSetBufferCollectionImageConstraintsFUCHSIA, see |
| 25529 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionImageConstraintsFUCHSIA.html |
| 25530 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 25531 |
BufferCollectionFUCHSIA::setImageConstraints( const ImageConstraintsInfoFUCHSIA & imageConstraintsInfo ) const |
| 25532 |
{ |
| 25533 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetBufferCollectionImageConstraintsFUCHSIA && |
| 25534 |
"Function <vkSetBufferCollectionImageConstraintsFUCHSIA> requires <VK_FUCHSIA_buffer_collection>" ); |
| 25535 |
|
| 25536 |
Result result = static_cast<Result>( |
| 25537 |
getDispatcher()->vkSetBufferCollectionImageConstraintsFUCHSIA( static_cast<VkDevice>( m_device ), |
| 25538 |
static_cast<VkBufferCollectionFUCHSIA>( m_bufferCollectionFUCHSIA ), |
| 25539 |
reinterpret_cast<const VkImageConstraintsInfoFUCHSIA *>( &imageConstraintsInfo ) ) ); |
| 25540 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::BufferCollectionFUCHSIA::setImageConstraints" ); |
| 25541 |
|
| 25542 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 25543 |
} |
| 25544 |
|
| 25545 |
// wrapper function for command vkSetBufferCollectionBufferConstraintsFUCHSIA, see |
| 25546 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetBufferCollectionBufferConstraintsFUCHSIA.html |
| 25547 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 25548 |
BufferCollectionFUCHSIA::setBufferConstraints( const BufferConstraintsInfoFUCHSIA & bufferConstraintsInfo ) const |
| 25549 |
{ |
| 25550 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetBufferCollectionBufferConstraintsFUCHSIA && |
| 25551 |
"Function <vkSetBufferCollectionBufferConstraintsFUCHSIA> requires <VK_FUCHSIA_buffer_collection>" ); |
| 25552 |
|
| 25553 |
Result result = static_cast<Result>( |
| 25554 |
getDispatcher()->vkSetBufferCollectionBufferConstraintsFUCHSIA( static_cast<VkDevice>( m_device ), |
| 25555 |
static_cast<VkBufferCollectionFUCHSIA>( m_bufferCollectionFUCHSIA ), |
| 25556 |
reinterpret_cast<const VkBufferConstraintsInfoFUCHSIA *>( &bufferConstraintsInfo ) ) ); |
| 25557 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::BufferCollectionFUCHSIA::setBufferConstraints" ); |
| 25558 |
|
| 25559 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 25560 |
} |
| 25561 |
|
| 25562 |
// wrapper function for command vkGetBufferCollectionPropertiesFUCHSIA, see |
| 25563 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetBufferCollectionPropertiesFUCHSIA.html |
| 25564 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<BufferCollectionPropertiesFUCHSIA>::type BufferCollectionFUCHSIA::getProperties() const |
| 25565 |
{ |
| 25566 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetBufferCollectionPropertiesFUCHSIA && |
| 25567 |
"Function <vkGetBufferCollectionPropertiesFUCHSIA> requires <VK_FUCHSIA_buffer_collection>" ); |
| 25568 |
|
| 25569 |
BufferCollectionPropertiesFUCHSIA properties; |
| 25570 |
Result result = static_cast<Result>( |
| 25571 |
getDispatcher()->vkGetBufferCollectionPropertiesFUCHSIA( static_cast<VkDevice>( m_device ), |
| 25572 |
static_cast<VkBufferCollectionFUCHSIA>( m_bufferCollectionFUCHSIA ), |
| 25573 |
reinterpret_cast<VkBufferCollectionPropertiesFUCHSIA *>( &properties ) ) ); |
| 25574 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::BufferCollectionFUCHSIA::getProperties" ); |
| 25575 |
|
| 25576 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 25577 |
} |
| 25578 |
# endif /*VK_USE_PLATFORM_FUCHSIA*/ |
| 25579 |
|
| 25580 |
//=== VK_HUAWEI_subpass_shading === |
| 25581 |
|
| 25582 |
// wrapper function for command vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI, see |
| 25583 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI.html |
| 25584 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Extent2D>::type RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI() const |
| 25585 |
{ |
| 25586 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI && |
| 25587 |
"Function <vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI> requires <VK_HUAWEI_subpass_shading>" ); |
| 25588 |
|
| 25589 |
Extent2D maxWorkgroupSize; |
| 25590 |
Result result = static_cast<Result>( getDispatcher()->vkGetDeviceSubpassShadingMaxWorkgroupSizeHUAWEI( |
| 25591 |
static_cast<VkDevice>( m_device ), static_cast<VkRenderPass>( m_renderPass ), reinterpret_cast<VkExtent2D *>( &maxWorkgroupSize ) ) ); |
| 25592 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::RenderPass::getSubpassShadingMaxWorkgroupSizeHUAWEI" ); |
| 25593 |
|
| 25594 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( maxWorkgroupSize ) ); |
| 25595 |
} |
| 25596 |
|
| 25597 |
// wrapper function for command vkCmdSubpassShadingHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSubpassShadingHUAWEI.html |
| 25598 |
VULKAN_HPP_INLINE void CommandBuffer::subpassShadingHUAWEI() const VULKAN_HPP_NOEXCEPT |
| 25599 |
{ |
| 25600 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSubpassShadingHUAWEI && "Function <vkCmdSubpassShadingHUAWEI> requires <VK_HUAWEI_subpass_shading>" ); |
| 25601 |
|
| 25602 |
getDispatcher()->vkCmdSubpassShadingHUAWEI( static_cast<VkCommandBuffer>( m_commandBuffer ) ); |
| 25603 |
} |
| 25604 |
|
| 25605 |
//=== VK_HUAWEI_invocation_mask === |
| 25606 |
|
| 25607 |
// wrapper function for command vkCmdBindInvocationMaskHUAWEI, see |
| 25608 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindInvocationMaskHUAWEI.html |
| 25609 |
VULKAN_HPP_INLINE void CommandBuffer::bindInvocationMaskHUAWEI( VULKAN_HPP_NAMESPACE::ImageView imageView, |
| 25610 |
ImageLayout imageLayout ) const VULKAN_HPP_NOEXCEPT |
| 25611 |
{ |
| 25612 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindInvocationMaskHUAWEI && "Function <vkCmdBindInvocationMaskHUAWEI> requires <VK_HUAWEI_invocation_mask>" ); |
| 25613 |
|
| 25614 |
getDispatcher()->vkCmdBindInvocationMaskHUAWEI( |
| 25615 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkImageView>( imageView ), static_cast<VkImageLayout>( imageLayout ) ); |
| 25616 |
} |
| 25617 |
|
| 25618 |
//=== VK_NV_external_memory_rdma === |
| 25619 |
|
| 25620 |
// wrapper function for command vkGetMemoryRemoteAddressNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryRemoteAddressNV.html |
| 25621 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<RemoteAddressNV>::type |
| 25622 |
Device::getMemoryRemoteAddressNV( const MemoryGetRemoteAddressInfoNV & memoryGetRemoteAddressInfo ) const |
| 25623 |
{ |
| 25624 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryRemoteAddressNV && "Function <vkGetMemoryRemoteAddressNV> requires <VK_NV_external_memory_rdma>" ); |
| 25625 |
|
| 25626 |
RemoteAddressNV address; |
| 25627 |
Result result = static_cast<Result>( |
| 25628 |
getDispatcher()->vkGetMemoryRemoteAddressNV( static_cast<VkDevice>( m_device ), |
| 25629 |
reinterpret_cast<const VkMemoryGetRemoteAddressInfoNV *>( &memoryGetRemoteAddressInfo ), |
| 25630 |
reinterpret_cast<VkRemoteAddressNV *>( &address ) ) ); |
| 25631 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryRemoteAddressNV" ); |
| 25632 |
|
| 25633 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( address ) ); |
| 25634 |
} |
| 25635 |
|
| 25636 |
//=== VK_EXT_pipeline_properties === |
| 25637 |
|
| 25638 |
// wrapper function for command vkGetPipelinePropertiesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelinePropertiesEXT.html |
| 25639 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<BaseOutStructure>::type |
| 25640 |
Device::getPipelinePropertiesEXT( const PipelineInfoEXT & pipelineInfo ) const |
| 25641 |
{ |
| 25642 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelinePropertiesEXT && "Function <vkGetPipelinePropertiesEXT> requires <VK_EXT_pipeline_properties>" ); |
| 25643 |
|
| 25644 |
BaseOutStructure pipelineProperties; |
| 25645 |
Result result = static_cast<Result>( getDispatcher()->vkGetPipelinePropertiesEXT( static_cast<VkDevice>( m_device ), |
| 25646 |
reinterpret_cast<const VkPipelineInfoEXT *>( &pipelineInfo ), |
| 25647 |
reinterpret_cast<VkBaseOutStructure *>( &pipelineProperties ) ) ); |
| 25648 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelinePropertiesEXT" ); |
| 25649 |
|
| 25650 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelineProperties ) ); |
| 25651 |
} |
| 25652 |
|
| 25653 |
//=== VK_EXT_extended_dynamic_state2 === |
| 25654 |
|
| 25655 |
// wrapper function for command vkCmdSetPatchControlPointsEXT, see |
| 25656 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPatchControlPointsEXT.html |
| 25657 |
VULKAN_HPP_INLINE void CommandBuffer::setPatchControlPointsEXT( uint32_t patchControlPoints ) const VULKAN_HPP_NOEXCEPT |
| 25658 |
{ |
| 25659 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPatchControlPointsEXT && |
| 25660 |
"Function <vkCmdSetPatchControlPointsEXT> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object>" ); |
| 25661 |
|
| 25662 |
getDispatcher()->vkCmdSetPatchControlPointsEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), patchControlPoints ); |
| 25663 |
} |
| 25664 |
|
| 25665 |
// wrapper function for command vkCmdSetRasterizerDiscardEnableEXT, see |
| 25666 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizerDiscardEnableEXT.html |
| 25667 |
VULKAN_HPP_INLINE void CommandBuffer::setRasterizerDiscardEnableEXT( Bool32 rasterizerDiscardEnable ) const VULKAN_HPP_NOEXCEPT |
| 25668 |
{ |
| 25669 |
VULKAN_HPP_ASSERT( |
| 25670 |
getDispatcher()->vkCmdSetRasterizerDiscardEnableEXT && |
| 25671 |
"Function <vkCmdSetRasterizerDiscardEnableEXT> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 25672 |
|
| 25673 |
getDispatcher()->vkCmdSetRasterizerDiscardEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( rasterizerDiscardEnable ) ); |
| 25674 |
} |
| 25675 |
|
| 25676 |
// wrapper function for command vkCmdSetDepthBiasEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthBiasEnableEXT.html |
| 25677 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthBiasEnableEXT( Bool32 depthBiasEnable ) const VULKAN_HPP_NOEXCEPT |
| 25678 |
{ |
| 25679 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthBiasEnableEXT && |
| 25680 |
"Function <vkCmdSetDepthBiasEnableEXT> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 25681 |
|
| 25682 |
getDispatcher()->vkCmdSetDepthBiasEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthBiasEnable ) ); |
| 25683 |
} |
| 25684 |
|
| 25685 |
// wrapper function for command vkCmdSetLogicOpEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEXT.html |
| 25686 |
VULKAN_HPP_INLINE void CommandBuffer::setLogicOpEXT( LogicOp logicOp ) const VULKAN_HPP_NOEXCEPT |
| 25687 |
{ |
| 25688 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLogicOpEXT && |
| 25689 |
"Function <vkCmdSetLogicOpEXT> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object>" ); |
| 25690 |
|
| 25691 |
getDispatcher()->vkCmdSetLogicOpEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkLogicOp>( logicOp ) ); |
| 25692 |
} |
| 25693 |
|
| 25694 |
// wrapper function for command vkCmdSetPrimitiveRestartEnableEXT, see |
| 25695 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPrimitiveRestartEnableEXT.html |
| 25696 |
VULKAN_HPP_INLINE void CommandBuffer::setPrimitiveRestartEnableEXT( Bool32 primitiveRestartEnable ) const VULKAN_HPP_NOEXCEPT |
| 25697 |
{ |
| 25698 |
VULKAN_HPP_ASSERT( |
| 25699 |
getDispatcher()->vkCmdSetPrimitiveRestartEnableEXT && |
| 25700 |
"Function <vkCmdSetPrimitiveRestartEnableEXT> requires <VK_EXT_extended_dynamic_state2> or <VK_EXT_shader_object> or <VK_VERSION_1_3>" ); |
| 25701 |
|
| 25702 |
getDispatcher()->vkCmdSetPrimitiveRestartEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( primitiveRestartEnable ) ); |
| 25703 |
} |
| 25704 |
|
| 25705 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 25706 |
//=== VK_QNX_screen_surface === |
| 25707 |
|
| 25708 |
// wrapper function for command vkCreateScreenSurfaceQNX, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateScreenSurfaceQNX.html |
| 25709 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 25710 |
Instance::createScreenSurfaceQNX( ScreenSurfaceCreateInfoQNX const & createInfo, |
| 25711 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 25712 |
{ |
| 25713 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateScreenSurfaceQNX && "Function <vkCreateScreenSurfaceQNX> requires <VK_QNX_screen_surface>" ); |
| 25714 |
|
| 25715 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 25716 |
Result result = static_cast<Result>( getDispatcher()->vkCreateScreenSurfaceQNX( static_cast<VkInstance>( m_instance ), |
| 25717 |
reinterpret_cast<const VkScreenSurfaceCreateInfoQNX *>( &createInfo ), |
| 25718 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 25719 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 25720 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createScreenSurfaceQNX" ); |
| 25721 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 25722 |
} |
| 25723 |
|
| 25724 |
// wrapper function for command vkGetPhysicalDeviceScreenPresentationSupportQNX, see |
| 25725 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceScreenPresentationSupportQNX.html |
| 25726 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Bool32 PhysicalDevice::getScreenPresentationSupportQNX( uint32_t queueFamilyIndex, |
| 25727 |
struct _screen_window & window ) const VULKAN_HPP_NOEXCEPT |
| 25728 |
{ |
| 25729 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceScreenPresentationSupportQNX && |
| 25730 |
"Function <vkGetPhysicalDeviceScreenPresentationSupportQNX> requires <VK_QNX_screen_surface>" ); |
| 25731 |
|
| 25732 |
VkBool32 result = |
| 25733 |
getDispatcher()->vkGetPhysicalDeviceScreenPresentationSupportQNX( static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &window ); |
| 25734 |
|
| 25735 |
return static_cast<Bool32>( result ); |
| 25736 |
} |
| 25737 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 25738 |
|
| 25739 |
//=== VK_EXT_color_write_enable === |
| 25740 |
|
| 25741 |
// wrapper function for command vkCmdSetColorWriteEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteEnableEXT.html |
| 25742 |
VULKAN_HPP_INLINE void CommandBuffer::setColorWriteEnableEXT( ArrayProxy<const Bool32> const & colorWriteEnables ) const VULKAN_HPP_NOEXCEPT |
| 25743 |
{ |
| 25744 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetColorWriteEnableEXT && "Function <vkCmdSetColorWriteEnableEXT> requires <VK_EXT_color_write_enable>" ); |
| 25745 |
|
| 25746 |
getDispatcher()->vkCmdSetColorWriteEnableEXT( |
| 25747 |
static_cast<VkCommandBuffer>( m_commandBuffer ), colorWriteEnables.size(), reinterpret_cast<const VkBool32 *>( colorWriteEnables.data() ) ); |
| 25748 |
} |
| 25749 |
|
| 25750 |
//=== VK_KHR_ray_tracing_maintenance1 === |
| 25751 |
|
| 25752 |
// wrapper function for command vkCmdTraceRaysIndirect2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdTraceRaysIndirect2KHR.html |
| 25753 |
VULKAN_HPP_INLINE void CommandBuffer::traceRaysIndirect2KHR( DeviceAddress indirectDeviceAddress ) const VULKAN_HPP_NOEXCEPT |
| 25754 |
{ |
| 25755 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdTraceRaysIndirect2KHR && "Function <vkCmdTraceRaysIndirect2KHR> requires <VK_KHR_ray_tracing_maintenance1>" ); |
| 25756 |
|
| 25757 |
getDispatcher()->vkCmdTraceRaysIndirect2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkDeviceAddress>( indirectDeviceAddress ) ); |
| 25758 |
} |
| 25759 |
|
| 25760 |
//=== VK_EXT_multi_draw === |
| 25761 |
|
| 25762 |
// wrapper function for command vkCmdDrawMultiEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiEXT.html |
| 25763 |
VULKAN_HPP_INLINE void CommandBuffer::drawMultiEXT( StridedArrayProxy<const MultiDrawInfoEXT> const & vertexInfo, |
| 25764 |
uint32_t instanceCount, |
| 25765 |
uint32_t firstInstance ) const VULKAN_HPP_NOEXCEPT |
| 25766 |
{ |
| 25767 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMultiEXT && "Function <vkCmdDrawMultiEXT> requires <VK_EXT_multi_draw>" ); |
| 25768 |
|
| 25769 |
getDispatcher()->vkCmdDrawMultiEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25770 |
vertexInfo.size(), |
| 25771 |
reinterpret_cast<const VkMultiDrawInfoEXT *>( vertexInfo.data() ), |
| 25772 |
instanceCount, |
| 25773 |
firstInstance, |
| 25774 |
vertexInfo.stride() ); |
| 25775 |
} |
| 25776 |
|
| 25777 |
// wrapper function for command vkCmdDrawMultiIndexedEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawMultiIndexedEXT.html |
| 25778 |
VULKAN_HPP_INLINE void CommandBuffer::drawMultiIndexedEXT( StridedArrayProxy<const MultiDrawIndexedInfoEXT> const & indexInfo, |
| 25779 |
uint32_t instanceCount, |
| 25780 |
uint32_t firstInstance, |
| 25781 |
Optional<const int32_t> vertexOffset ) const VULKAN_HPP_NOEXCEPT |
| 25782 |
{ |
| 25783 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawMultiIndexedEXT && "Function <vkCmdDrawMultiIndexedEXT> requires <VK_EXT_multi_draw>" ); |
| 25784 |
|
| 25785 |
getDispatcher()->vkCmdDrawMultiIndexedEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25786 |
indexInfo.size(), |
| 25787 |
reinterpret_cast<const VkMultiDrawIndexedInfoEXT *>( indexInfo.data() ), |
| 25788 |
instanceCount, |
| 25789 |
firstInstance, |
| 25790 |
indexInfo.stride(), |
| 25791 |
vertexOffset.get() ); |
| 25792 |
} |
| 25793 |
|
| 25794 |
//=== VK_EXT_opacity_micromap === |
| 25795 |
|
| 25796 |
// wrapper function for command vkCreateMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateMicromapEXT.html |
| 25797 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<MicromapEXT>::type |
| 25798 |
Device::createMicromapEXT( MicromapCreateInfoEXT const & createInfo, |
| 25799 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 25800 |
{ |
| 25801 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateMicromapEXT && "Function <vkCreateMicromapEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25802 |
|
| 25803 |
VULKAN_HPP_NAMESPACE::MicromapEXT micromap; |
| 25804 |
Result result = static_cast<Result>( getDispatcher()->vkCreateMicromapEXT( static_cast<VkDevice>( m_device ), |
| 25805 |
reinterpret_cast<const VkMicromapCreateInfoEXT *>( &createInfo ), |
| 25806 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 25807 |
reinterpret_cast<VkMicromapEXT *>( µmap ) ) ); |
| 25808 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createMicromapEXT" ); |
| 25809 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, MicromapEXT( *this, *reinterpret_cast<VkMicromapEXT *>( µmap ), allocator ) ); |
| 25810 |
} |
| 25811 |
|
| 25812 |
// wrapper function for command vkCmdBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildMicromapsEXT.html |
| 25813 |
VULKAN_HPP_INLINE void CommandBuffer::buildMicromapsEXT( ArrayProxy<const MicromapBuildInfoEXT> const & infos ) const VULKAN_HPP_NOEXCEPT |
| 25814 |
{ |
| 25815 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBuildMicromapsEXT && "Function <vkCmdBuildMicromapsEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25816 |
|
| 25817 |
getDispatcher()->vkCmdBuildMicromapsEXT( |
| 25818 |
static_cast<VkCommandBuffer>( m_commandBuffer ), infos.size(), reinterpret_cast<const VkMicromapBuildInfoEXT *>( infos.data() ) ); |
| 25819 |
} |
| 25820 |
|
| 25821 |
// wrapper function for command vkBuildMicromapsEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBuildMicromapsEXT.html |
| 25822 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::buildMicromapsEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 25823 |
ArrayProxy<const MicromapBuildInfoEXT> const & infos ) const |
| 25824 |
{ |
| 25825 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBuildMicromapsEXT && "Function <vkBuildMicromapsEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25826 |
|
| 25827 |
Result result = static_cast<Result>( getDispatcher()->vkBuildMicromapsEXT( static_cast<VkDevice>( m_device ), |
| 25828 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 25829 |
infos.size(), |
| 25830 |
reinterpret_cast<const VkMicromapBuildInfoEXT *>( infos.data() ) ) ); |
| 25831 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 25832 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::buildMicromapsEXT", |
| 25833 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 25834 |
|
| 25835 |
return static_cast<Result>( result ); |
| 25836 |
} |
| 25837 |
|
| 25838 |
// wrapper function for command vkCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapEXT.html |
| 25839 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMicromapEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 25840 |
const CopyMicromapInfoEXT & info ) const |
| 25841 |
{ |
| 25842 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyMicromapEXT && "Function <vkCopyMicromapEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25843 |
|
| 25844 |
Result result = static_cast<Result>( getDispatcher()->vkCopyMicromapEXT( static_cast<VkDevice>( m_device ), |
| 25845 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 25846 |
reinterpret_cast<const VkCopyMicromapInfoEXT *>( &info ) ) ); |
| 25847 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 25848 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyMicromapEXT", |
| 25849 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 25850 |
|
| 25851 |
return static_cast<Result>( result ); |
| 25852 |
} |
| 25853 |
|
| 25854 |
// wrapper function for command vkCopyMicromapToMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMicromapToMemoryEXT.html |
| 25855 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMicromapToMemoryEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 25856 |
const CopyMicromapToMemoryInfoEXT & info ) const |
| 25857 |
{ |
| 25858 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyMicromapToMemoryEXT && "Function <vkCopyMicromapToMemoryEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25859 |
|
| 25860 |
Result result = static_cast<Result>( getDispatcher()->vkCopyMicromapToMemoryEXT( static_cast<VkDevice>( m_device ), |
| 25861 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 25862 |
reinterpret_cast<const VkCopyMicromapToMemoryInfoEXT *>( &info ) ) ); |
| 25863 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 25864 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyMicromapToMemoryEXT", |
| 25865 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 25866 |
|
| 25867 |
return static_cast<Result>( result ); |
| 25868 |
} |
| 25869 |
|
| 25870 |
// wrapper function for command vkCopyMemoryToMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCopyMemoryToMicromapEXT.html |
| 25871 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::copyMemoryToMicromapEXT( VULKAN_HPP_NAMESPACE::DeferredOperationKHR deferredOperation, |
| 25872 |
const CopyMemoryToMicromapInfoEXT & info ) const |
| 25873 |
{ |
| 25874 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCopyMemoryToMicromapEXT && "Function <vkCopyMemoryToMicromapEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25875 |
|
| 25876 |
Result result = static_cast<Result>( getDispatcher()->vkCopyMemoryToMicromapEXT( static_cast<VkDevice>( m_device ), |
| 25877 |
static_cast<VkDeferredOperationKHR>( deferredOperation ), |
| 25878 |
reinterpret_cast<const VkCopyMemoryToMicromapInfoEXT *>( &info ) ) ); |
| 25879 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 25880 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::copyMemoryToMicromapEXT", |
| 25881 |
{ Result::eSuccess, Result::eOperationDeferredKHR, Result::eOperationNotDeferredKHR } ); |
| 25882 |
|
| 25883 |
return static_cast<Result>( result ); |
| 25884 |
} |
| 25885 |
|
| 25886 |
// wrapper function for command vkWriteMicromapsPropertiesEXT, see |
| 25887 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html |
| 25888 |
template <typename DataType> |
| 25889 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataType>>::type Device::writeMicromapsPropertiesEXT( |
| 25890 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::MicromapEXT> const & micromaps, QueryType queryType, size_t dataSize, size_t stride ) const |
| 25891 |
{ |
| 25892 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWriteMicromapsPropertiesEXT && "Function <vkWriteMicromapsPropertiesEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25893 |
|
| 25894 |
VULKAN_HPP_ASSERT( dataSize % sizeof( DataType ) == 0 ); |
| 25895 |
std::vector<DataType> data( dataSize / sizeof( DataType ) ); |
| 25896 |
Result result = static_cast<Result>( getDispatcher()->vkWriteMicromapsPropertiesEXT( static_cast<VkDevice>( m_device ), |
| 25897 |
micromaps.size(), |
| 25898 |
reinterpret_cast<const VkMicromapEXT *>( micromaps.data() ), |
| 25899 |
static_cast<VkQueryType>( queryType ), |
| 25900 |
data.size() * sizeof( DataType ), |
| 25901 |
reinterpret_cast<void *>( data.data() ), |
| 25902 |
stride ) ); |
| 25903 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::writeMicromapsPropertiesEXT" ); |
| 25904 |
|
| 25905 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25906 |
} |
| 25907 |
|
| 25908 |
// wrapper function for command vkWriteMicromapsPropertiesEXT, see |
| 25909 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkWriteMicromapsPropertiesEXT.html |
| 25910 |
template <typename DataType> |
| 25911 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 25912 |
Device::writeMicromapsPropertyEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::MicromapEXT> const & micromaps, QueryType queryType, size_t stride ) const |
| 25913 |
{ |
| 25914 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWriteMicromapsPropertiesEXT && "Function <vkWriteMicromapsPropertiesEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25915 |
|
| 25916 |
DataType data; |
| 25917 |
Result result = static_cast<Result>( getDispatcher()->vkWriteMicromapsPropertiesEXT( static_cast<VkDevice>( m_device ), |
| 25918 |
micromaps.size(), |
| 25919 |
reinterpret_cast<const VkMicromapEXT *>( micromaps.data() ), |
| 25920 |
static_cast<VkQueryType>( queryType ), |
| 25921 |
sizeof( DataType ), |
| 25922 |
reinterpret_cast<void *>( &data ), |
| 25923 |
stride ) ); |
| 25924 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::writeMicromapsPropertyEXT" ); |
| 25925 |
|
| 25926 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 25927 |
} |
| 25928 |
|
| 25929 |
// wrapper function for command vkCmdCopyMicromapEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapEXT.html |
| 25930 |
VULKAN_HPP_INLINE void CommandBuffer::copyMicromapEXT( const CopyMicromapInfoEXT & info ) const VULKAN_HPP_NOEXCEPT |
| 25931 |
{ |
| 25932 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMicromapEXT && "Function <vkCmdCopyMicromapEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25933 |
|
| 25934 |
getDispatcher()->vkCmdCopyMicromapEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCopyMicromapInfoEXT *>( &info ) ); |
| 25935 |
} |
| 25936 |
|
| 25937 |
// wrapper function for command vkCmdCopyMicromapToMemoryEXT, see |
| 25938 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMicromapToMemoryEXT.html |
| 25939 |
VULKAN_HPP_INLINE void CommandBuffer::copyMicromapToMemoryEXT( const CopyMicromapToMemoryInfoEXT & info ) const VULKAN_HPP_NOEXCEPT |
| 25940 |
{ |
| 25941 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMicromapToMemoryEXT && "Function <vkCmdCopyMicromapToMemoryEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25942 |
|
| 25943 |
getDispatcher()->vkCmdCopyMicromapToMemoryEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25944 |
reinterpret_cast<const VkCopyMicromapToMemoryInfoEXT *>( &info ) ); |
| 25945 |
} |
| 25946 |
|
| 25947 |
// wrapper function for command vkCmdCopyMemoryToMicromapEXT, see |
| 25948 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToMicromapEXT.html |
| 25949 |
VULKAN_HPP_INLINE void CommandBuffer::copyMemoryToMicromapEXT( const CopyMemoryToMicromapInfoEXT & info ) const VULKAN_HPP_NOEXCEPT |
| 25950 |
{ |
| 25951 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMemoryToMicromapEXT && "Function <vkCmdCopyMemoryToMicromapEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25952 |
|
| 25953 |
getDispatcher()->vkCmdCopyMemoryToMicromapEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25954 |
reinterpret_cast<const VkCopyMemoryToMicromapInfoEXT *>( &info ) ); |
| 25955 |
} |
| 25956 |
|
| 25957 |
// wrapper function for command vkCmdWriteMicromapsPropertiesEXT, see |
| 25958 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdWriteMicromapsPropertiesEXT.html |
| 25959 |
VULKAN_HPP_INLINE void CommandBuffer::writeMicromapsPropertiesEXT( ArrayProxy<const VULKAN_HPP_NAMESPACE::MicromapEXT> const & micromaps, |
| 25960 |
QueryType queryType, |
| 25961 |
VULKAN_HPP_NAMESPACE::QueryPool queryPool, |
| 25962 |
uint32_t firstQuery ) const VULKAN_HPP_NOEXCEPT |
| 25963 |
{ |
| 25964 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdWriteMicromapsPropertiesEXT && |
| 25965 |
"Function <vkCmdWriteMicromapsPropertiesEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25966 |
|
| 25967 |
getDispatcher()->vkCmdWriteMicromapsPropertiesEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 25968 |
micromaps.size(), |
| 25969 |
reinterpret_cast<const VkMicromapEXT *>( micromaps.data() ), |
| 25970 |
static_cast<VkQueryType>( queryType ), |
| 25971 |
static_cast<VkQueryPool>( queryPool ), |
| 25972 |
firstQuery ); |
| 25973 |
} |
| 25974 |
|
| 25975 |
// wrapper function for command vkGetDeviceMicromapCompatibilityEXT, see |
| 25976 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceMicromapCompatibilityEXT.html |
| 25977 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureCompatibilityKHR |
| 25978 |
Device::getMicromapCompatibilityEXT( const MicromapVersionInfoEXT & versionInfo ) const VULKAN_HPP_NOEXCEPT |
| 25979 |
{ |
| 25980 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceMicromapCompatibilityEXT && |
| 25981 |
"Function <vkGetDeviceMicromapCompatibilityEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25982 |
|
| 25983 |
AccelerationStructureCompatibilityKHR compatibility; |
| 25984 |
getDispatcher()->vkGetDeviceMicromapCompatibilityEXT( static_cast<VkDevice>( m_device ), |
| 25985 |
reinterpret_cast<const VkMicromapVersionInfoEXT *>( &versionInfo ), |
| 25986 |
reinterpret_cast<VkAccelerationStructureCompatibilityKHR *>( &compatibility ) ); |
| 25987 |
|
| 25988 |
return compatibility; |
| 25989 |
} |
| 25990 |
|
| 25991 |
// wrapper function for command vkGetMicromapBuildSizesEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMicromapBuildSizesEXT.html |
| 25992 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MicromapBuildSizesInfoEXT |
| 25993 |
Device::getMicromapBuildSizesEXT( AccelerationStructureBuildTypeKHR buildType, const MicromapBuildInfoEXT & buildInfo ) const VULKAN_HPP_NOEXCEPT |
| 25994 |
{ |
| 25995 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMicromapBuildSizesEXT && "Function <vkGetMicromapBuildSizesEXT> requires <VK_EXT_opacity_micromap>" ); |
| 25996 |
|
| 25997 |
MicromapBuildSizesInfoEXT sizeInfo; |
| 25998 |
getDispatcher()->vkGetMicromapBuildSizesEXT( static_cast<VkDevice>( m_device ), |
| 25999 |
static_cast<VkAccelerationStructureBuildTypeKHR>( buildType ), |
| 26000 |
reinterpret_cast<const VkMicromapBuildInfoEXT *>( &buildInfo ), |
| 26001 |
reinterpret_cast<VkMicromapBuildSizesInfoEXT *>( &sizeInfo ) ); |
| 26002 |
|
| 26003 |
return sizeInfo; |
| 26004 |
} |
| 26005 |
|
| 26006 |
//=== VK_HUAWEI_cluster_culling_shader === |
| 26007 |
|
| 26008 |
// wrapper function for command vkCmdDrawClusterHUAWEI, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterHUAWEI.html |
| 26009 |
VULKAN_HPP_INLINE void CommandBuffer::drawClusterHUAWEI( uint32_t groupCountX, uint32_t groupCountY, uint32_t groupCountZ ) const VULKAN_HPP_NOEXCEPT |
| 26010 |
{ |
| 26011 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawClusterHUAWEI && "Function <vkCmdDrawClusterHUAWEI> requires <VK_HUAWEI_cluster_culling_shader>" ); |
| 26012 |
|
| 26013 |
getDispatcher()->vkCmdDrawClusterHUAWEI( static_cast<VkCommandBuffer>( m_commandBuffer ), groupCountX, groupCountY, groupCountZ ); |
| 26014 |
} |
| 26015 |
|
| 26016 |
// wrapper function for command vkCmdDrawClusterIndirectHUAWEI, see |
| 26017 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDrawClusterIndirectHUAWEI.html |
| 26018 |
VULKAN_HPP_INLINE void CommandBuffer::drawClusterIndirectHUAWEI( VULKAN_HPP_NAMESPACE::Buffer buffer, DeviceSize offset ) const VULKAN_HPP_NOEXCEPT |
| 26019 |
{ |
| 26020 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDrawClusterIndirectHUAWEI && |
| 26021 |
"Function <vkCmdDrawClusterIndirectHUAWEI> requires <VK_HUAWEI_cluster_culling_shader>" ); |
| 26022 |
|
| 26023 |
getDispatcher()->vkCmdDrawClusterIndirectHUAWEI( |
| 26024 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBuffer>( buffer ), static_cast<VkDeviceSize>( offset ) ); |
| 26025 |
} |
| 26026 |
|
| 26027 |
//=== VK_EXT_pageable_device_local_memory === |
| 26028 |
|
| 26029 |
// wrapper function for command vkSetDeviceMemoryPriorityEXT, see |
| 26030 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetDeviceMemoryPriorityEXT.html |
| 26031 |
VULKAN_HPP_INLINE void DeviceMemory::setPriorityEXT( float priority ) const VULKAN_HPP_NOEXCEPT |
| 26032 |
{ |
| 26033 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetDeviceMemoryPriorityEXT && |
| 26034 |
"Function <vkSetDeviceMemoryPriorityEXT> requires <VK_EXT_pageable_device_local_memory>" ); |
| 26035 |
|
| 26036 |
getDispatcher()->vkSetDeviceMemoryPriorityEXT( static_cast<VkDevice>( m_device ), static_cast<VkDeviceMemory>( m_deviceMemory ), priority ); |
| 26037 |
} |
| 26038 |
|
| 26039 |
//=== VK_KHR_maintenance4 === |
| 26040 |
|
| 26041 |
// wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see |
| 26042 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html |
| 26043 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 26044 |
Device::getBufferMemoryRequirementsKHR( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 26045 |
{ |
| 26046 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceBufferMemoryRequirementsKHR && |
| 26047 |
"Function <vkGetDeviceBufferMemoryRequirementsKHR> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 26048 |
|
| 26049 |
MemoryRequirements2 memoryRequirements; |
| 26050 |
getDispatcher()->vkGetDeviceBufferMemoryRequirementsKHR( static_cast<VkDevice>( m_device ), |
| 26051 |
reinterpret_cast<const VkDeviceBufferMemoryRequirements *>( &info ), |
| 26052 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26053 |
|
| 26054 |
return memoryRequirements; |
| 26055 |
} |
| 26056 |
|
| 26057 |
// wrapper function for command vkGetDeviceBufferMemoryRequirementsKHR, see |
| 26058 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceBufferMemoryRequirementsKHR.html |
| 26059 |
template <typename X, typename Y, typename... Z> |
| 26060 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 26061 |
Device::getBufferMemoryRequirementsKHR( const DeviceBufferMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 26062 |
{ |
| 26063 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceBufferMemoryRequirementsKHR && |
| 26064 |
"Function <vkGetDeviceBufferMemoryRequirementsKHR> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 26065 |
|
| 26066 |
StructureChain<X, Y, Z...> structureChain; |
| 26067 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 26068 |
getDispatcher()->vkGetDeviceBufferMemoryRequirementsKHR( static_cast<VkDevice>( m_device ), |
| 26069 |
reinterpret_cast<const VkDeviceBufferMemoryRequirements *>( &info ), |
| 26070 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26071 |
|
| 26072 |
return structureChain; |
| 26073 |
} |
| 26074 |
|
| 26075 |
// wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see |
| 26076 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html |
| 26077 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 26078 |
Device::getImageMemoryRequirementsKHR( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 26079 |
{ |
| 26080 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageMemoryRequirementsKHR && |
| 26081 |
"Function <vkGetDeviceImageMemoryRequirementsKHR> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 26082 |
|
| 26083 |
MemoryRequirements2 memoryRequirements; |
| 26084 |
getDispatcher()->vkGetDeviceImageMemoryRequirementsKHR( static_cast<VkDevice>( m_device ), |
| 26085 |
reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), |
| 26086 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26087 |
|
| 26088 |
return memoryRequirements; |
| 26089 |
} |
| 26090 |
|
| 26091 |
// wrapper function for command vkGetDeviceImageMemoryRequirementsKHR, see |
| 26092 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageMemoryRequirementsKHR.html |
| 26093 |
template <typename X, typename Y, typename... Z> |
| 26094 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 26095 |
Device::getImageMemoryRequirementsKHR( const DeviceImageMemoryRequirements & info ) const VULKAN_HPP_NOEXCEPT |
| 26096 |
{ |
| 26097 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageMemoryRequirementsKHR && |
| 26098 |
"Function <vkGetDeviceImageMemoryRequirementsKHR> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 26099 |
|
| 26100 |
StructureChain<X, Y, Z...> structureChain; |
| 26101 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 26102 |
getDispatcher()->vkGetDeviceImageMemoryRequirementsKHR( static_cast<VkDevice>( m_device ), |
| 26103 |
reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), |
| 26104 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26105 |
|
| 26106 |
return structureChain; |
| 26107 |
} |
| 26108 |
|
| 26109 |
// wrapper function for command vkGetDeviceImageSparseMemoryRequirementsKHR, see |
| 26110 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSparseMemoryRequirementsKHR.html |
| 26111 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<SparseImageMemoryRequirements2> |
| 26112 |
Device::getImageSparseMemoryRequirementsKHR( const DeviceImageMemoryRequirements & info ) const |
| 26113 |
{ |
| 26114 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageSparseMemoryRequirementsKHR && |
| 26115 |
"Function <vkGetDeviceImageSparseMemoryRequirementsKHR> requires <VK_KHR_maintenance4> or <VK_VERSION_1_3>" ); |
| 26116 |
|
| 26117 |
std::vector<SparseImageMemoryRequirements2> sparseMemoryRequirements; |
| 26118 |
uint32_t sparseMemoryRequirementCount; |
| 26119 |
getDispatcher()->vkGetDeviceImageSparseMemoryRequirementsKHR( |
| 26120 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), &sparseMemoryRequirementCount, nullptr ); |
| 26121 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 26122 |
getDispatcher()->vkGetDeviceImageSparseMemoryRequirementsKHR( static_cast<VkDevice>( m_device ), |
| 26123 |
reinterpret_cast<const VkDeviceImageMemoryRequirements *>( &info ), |
| 26124 |
&sparseMemoryRequirementCount, |
| 26125 |
reinterpret_cast<VkSparseImageMemoryRequirements2 *>( sparseMemoryRequirements.data() ) ); |
| 26126 |
|
| 26127 |
VULKAN_HPP_ASSERT( sparseMemoryRequirementCount <= sparseMemoryRequirements.size() ); |
| 26128 |
if ( sparseMemoryRequirementCount < sparseMemoryRequirements.size() ) |
| 26129 |
{ |
| 26130 |
sparseMemoryRequirements.resize( sparseMemoryRequirementCount ); |
| 26131 |
} |
| 26132 |
return sparseMemoryRequirements; |
| 26133 |
} |
| 26134 |
|
| 26135 |
//=== VK_VALVE_descriptor_set_host_mapping === |
| 26136 |
|
| 26137 |
// wrapper function for command vkGetDescriptorSetLayoutHostMappingInfoVALVE, see |
| 26138 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetLayoutHostMappingInfoVALVE.html |
| 26139 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DescriptorSetLayoutHostMappingInfoVALVE |
| 26140 |
Device::getDescriptorSetLayoutHostMappingInfoVALVE( const DescriptorSetBindingReferenceVALVE & bindingReference ) const VULKAN_HPP_NOEXCEPT |
| 26141 |
{ |
| 26142 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetLayoutHostMappingInfoVALVE && |
| 26143 |
"Function <vkGetDescriptorSetLayoutHostMappingInfoVALVE> requires <VK_VALVE_descriptor_set_host_mapping>" ); |
| 26144 |
|
| 26145 |
DescriptorSetLayoutHostMappingInfoVALVE hostMapping; |
| 26146 |
getDispatcher()->vkGetDescriptorSetLayoutHostMappingInfoVALVE( static_cast<VkDevice>( m_device ), |
| 26147 |
reinterpret_cast<const VkDescriptorSetBindingReferenceVALVE *>( &bindingReference ), |
| 26148 |
reinterpret_cast<VkDescriptorSetLayoutHostMappingInfoVALVE *>( &hostMapping ) ); |
| 26149 |
|
| 26150 |
return hostMapping; |
| 26151 |
} |
| 26152 |
|
| 26153 |
// wrapper function for command vkGetDescriptorSetHostMappingVALVE, see |
| 26154 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDescriptorSetHostMappingVALVE.html |
| 26155 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE void * DescriptorSet::getHostMappingVALVE() const VULKAN_HPP_NOEXCEPT |
| 26156 |
{ |
| 26157 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDescriptorSetHostMappingVALVE && |
| 26158 |
"Function <vkGetDescriptorSetHostMappingVALVE> requires <VK_VALVE_descriptor_set_host_mapping>" ); |
| 26159 |
|
| 26160 |
void * pData; |
| 26161 |
getDispatcher()->vkGetDescriptorSetHostMappingVALVE( static_cast<VkDevice>( m_device ), static_cast<VkDescriptorSet>( m_descriptorSet ), &pData ); |
| 26162 |
|
| 26163 |
return pData; |
| 26164 |
} |
| 26165 |
|
| 26166 |
//=== VK_NV_copy_memory_indirect === |
| 26167 |
|
| 26168 |
// wrapper function for command vkCmdCopyMemoryIndirectNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectNV.html |
| 26169 |
VULKAN_HPP_INLINE void CommandBuffer::copyMemoryIndirectNV( DeviceAddress copyBufferAddress, uint32_t copyCount, uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 26170 |
{ |
| 26171 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMemoryIndirectNV && "Function <vkCmdCopyMemoryIndirectNV> requires <VK_NV_copy_memory_indirect>" ); |
| 26172 |
|
| 26173 |
getDispatcher()->vkCmdCopyMemoryIndirectNV( |
| 26174 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkDeviceAddress>( copyBufferAddress ), copyCount, stride ); |
| 26175 |
} |
| 26176 |
|
| 26177 |
// wrapper function for command vkCmdCopyMemoryToImageIndirectNV, see |
| 26178 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectNV.html |
| 26179 |
VULKAN_HPP_INLINE void |
| 26180 |
CommandBuffer::copyMemoryToImageIndirectNV( DeviceAddress copyBufferAddress, |
| 26181 |
uint32_t stride, |
| 26182 |
VULKAN_HPP_NAMESPACE::Image dstImage, |
| 26183 |
ImageLayout dstImageLayout, |
| 26184 |
ArrayProxy<const ImageSubresourceLayers> const & imageSubresources ) const VULKAN_HPP_NOEXCEPT |
| 26185 |
{ |
| 26186 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMemoryToImageIndirectNV && |
| 26187 |
"Function <vkCmdCopyMemoryToImageIndirectNV> requires <VK_NV_copy_memory_indirect>" ); |
| 26188 |
|
| 26189 |
getDispatcher()->vkCmdCopyMemoryToImageIndirectNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26190 |
static_cast<VkDeviceAddress>( copyBufferAddress ), |
| 26191 |
imageSubresources.size(), |
| 26192 |
stride, |
| 26193 |
static_cast<VkImage>( dstImage ), |
| 26194 |
static_cast<VkImageLayout>( dstImageLayout ), |
| 26195 |
reinterpret_cast<const VkImageSubresourceLayers *>( imageSubresources.data() ) ); |
| 26196 |
} |
| 26197 |
|
| 26198 |
//=== VK_NV_memory_decompression === |
| 26199 |
|
| 26200 |
// wrapper function for command vkCmdDecompressMemoryNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryNV.html |
| 26201 |
VULKAN_HPP_INLINE void |
| 26202 |
CommandBuffer::decompressMemoryNV( ArrayProxy<const DecompressMemoryRegionNV> const & decompressMemoryRegions ) const VULKAN_HPP_NOEXCEPT |
| 26203 |
{ |
| 26204 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDecompressMemoryNV && "Function <vkCmdDecompressMemoryNV> requires <VK_NV_memory_decompression>" ); |
| 26205 |
|
| 26206 |
getDispatcher()->vkCmdDecompressMemoryNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26207 |
decompressMemoryRegions.size(), |
| 26208 |
reinterpret_cast<const VkDecompressMemoryRegionNV *>( decompressMemoryRegions.data() ) ); |
| 26209 |
} |
| 26210 |
|
| 26211 |
// wrapper function for command vkCmdDecompressMemoryIndirectCountNV, see |
| 26212 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountNV.html |
| 26213 |
VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryIndirectCountNV( DeviceAddress indirectCommandsAddress, |
| 26214 |
DeviceAddress indirectCommandsCountAddress, |
| 26215 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 26216 |
{ |
| 26217 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDecompressMemoryIndirectCountNV && |
| 26218 |
"Function <vkCmdDecompressMemoryIndirectCountNV> requires <VK_NV_memory_decompression>" ); |
| 26219 |
|
| 26220 |
getDispatcher()->vkCmdDecompressMemoryIndirectCountNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26221 |
static_cast<VkDeviceAddress>( indirectCommandsAddress ), |
| 26222 |
static_cast<VkDeviceAddress>( indirectCommandsCountAddress ), |
| 26223 |
stride ); |
| 26224 |
} |
| 26225 |
|
| 26226 |
//=== VK_NV_device_generated_commands_compute === |
| 26227 |
|
| 26228 |
// wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see |
| 26229 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html |
| 26230 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 26231 |
Device::getPipelineIndirectMemoryRequirementsNV( const ComputePipelineCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 26232 |
{ |
| 26233 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineIndirectMemoryRequirementsNV && |
| 26234 |
"Function <vkGetPipelineIndirectMemoryRequirementsNV> requires <VK_NV_device_generated_commands_compute>" ); |
| 26235 |
|
| 26236 |
MemoryRequirements2 memoryRequirements; |
| 26237 |
getDispatcher()->vkGetPipelineIndirectMemoryRequirementsNV( static_cast<VkDevice>( m_device ), |
| 26238 |
reinterpret_cast<const VkComputePipelineCreateInfo *>( &createInfo ), |
| 26239 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26240 |
|
| 26241 |
return memoryRequirements; |
| 26242 |
} |
| 26243 |
|
| 26244 |
// wrapper function for command vkGetPipelineIndirectMemoryRequirementsNV, see |
| 26245 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectMemoryRequirementsNV.html |
| 26246 |
template <typename X, typename Y, typename... Z> |
| 26247 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 26248 |
Device::getPipelineIndirectMemoryRequirementsNV( const ComputePipelineCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 26249 |
{ |
| 26250 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineIndirectMemoryRequirementsNV && |
| 26251 |
"Function <vkGetPipelineIndirectMemoryRequirementsNV> requires <VK_NV_device_generated_commands_compute>" ); |
| 26252 |
|
| 26253 |
StructureChain<X, Y, Z...> structureChain; |
| 26254 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 26255 |
getDispatcher()->vkGetPipelineIndirectMemoryRequirementsNV( static_cast<VkDevice>( m_device ), |
| 26256 |
reinterpret_cast<const VkComputePipelineCreateInfo *>( &createInfo ), |
| 26257 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26258 |
|
| 26259 |
return structureChain; |
| 26260 |
} |
| 26261 |
|
| 26262 |
// wrapper function for command vkCmdUpdatePipelineIndirectBufferNV, see |
| 26263 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdUpdatePipelineIndirectBufferNV.html |
| 26264 |
VULKAN_HPP_INLINE void CommandBuffer::updatePipelineIndirectBufferNV( PipelineBindPoint pipelineBindPoint, |
| 26265 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline ) const VULKAN_HPP_NOEXCEPT |
| 26266 |
{ |
| 26267 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdUpdatePipelineIndirectBufferNV && |
| 26268 |
"Function <vkCmdUpdatePipelineIndirectBufferNV> requires <VK_NV_device_generated_commands_compute>" ); |
| 26269 |
|
| 26270 |
getDispatcher()->vkCmdUpdatePipelineIndirectBufferNV( |
| 26271 |
static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPipelineBindPoint>( pipelineBindPoint ), static_cast<VkPipeline>( pipeline ) ); |
| 26272 |
} |
| 26273 |
|
| 26274 |
// wrapper function for command vkGetPipelineIndirectDeviceAddressNV, see |
| 26275 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineIndirectDeviceAddressNV.html |
| 26276 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE DeviceAddress |
| 26277 |
Device::getPipelineIndirectAddressNV( const PipelineIndirectDeviceAddressInfoNV & info ) const VULKAN_HPP_NOEXCEPT |
| 26278 |
{ |
| 26279 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineIndirectDeviceAddressNV && |
| 26280 |
"Function <vkGetPipelineIndirectDeviceAddressNV> requires <VK_NV_device_generated_commands_compute>" ); |
| 26281 |
|
| 26282 |
VkDeviceAddress result = getDispatcher()->vkGetPipelineIndirectDeviceAddressNV( |
| 26283 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkPipelineIndirectDeviceAddressInfoNV *>( &info ) ); |
| 26284 |
|
| 26285 |
return static_cast<DeviceAddress>( result ); |
| 26286 |
} |
| 26287 |
|
| 26288 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 26289 |
//=== VK_OHOS_external_memory === |
| 26290 |
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see |
| 26291 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html |
| 26292 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer * buffer, |
| 26293 |
NativeBufferPropertiesOHOS * pProperties ) const VULKAN_HPP_NOEXCEPT |
| 26294 |
{ |
| 26295 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetNativeBufferPropertiesOHOS && "Function <vkGetNativeBufferPropertiesOHOS> requires <VK_OHOS_external_memory>" ); |
| 26296 |
return static_cast<Result>( getDispatcher()->vkGetNativeBufferPropertiesOHOS( |
| 26297 |
static_cast<VkDevice>( m_device ), buffer, reinterpret_cast<VkNativeBufferPropertiesOHOS *>( pProperties ) ) ); |
| 26298 |
} |
| 26299 |
|
| 26300 |
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see |
| 26301 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html |
| 26302 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<NativeBufferPropertiesOHOS>::type |
| 26303 |
Device::getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer & buffer ) const |
| 26304 |
{ |
| 26305 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetNativeBufferPropertiesOHOS && "Function <vkGetNativeBufferPropertiesOHOS> requires <VK_OHOS_external_memory>" ); |
| 26306 |
|
| 26307 |
NativeBufferPropertiesOHOS properties; |
| 26308 |
Result result = static_cast<Result>( getDispatcher()->vkGetNativeBufferPropertiesOHOS( |
| 26309 |
static_cast<VkDevice>( m_device ), &buffer, reinterpret_cast<VkNativeBufferPropertiesOHOS *>( &properties ) ) ); |
| 26310 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getNativeBufferPropertiesOHOS" ); |
| 26311 |
|
| 26312 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 26313 |
} |
| 26314 |
|
| 26315 |
// wrapper function for command vkGetNativeBufferPropertiesOHOS, see |
| 26316 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetNativeBufferPropertiesOHOS.html |
| 26317 |
template <typename X, typename Y, typename... Z> |
| 26318 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 26319 |
Device::getNativeBufferPropertiesOHOS( const struct OH_NativeBuffer & buffer ) const |
| 26320 |
{ |
| 26321 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetNativeBufferPropertiesOHOS && "Function <vkGetNativeBufferPropertiesOHOS> requires <VK_OHOS_external_memory>" ); |
| 26322 |
|
| 26323 |
StructureChain<X, Y, Z...> structureChain; |
| 26324 |
NativeBufferPropertiesOHOS & properties = structureChain.template get<NativeBufferPropertiesOHOS>(); |
| 26325 |
Result result = static_cast<Result>( getDispatcher()->vkGetNativeBufferPropertiesOHOS( |
| 26326 |
static_cast<VkDevice>( m_device ), &buffer, reinterpret_cast<VkNativeBufferPropertiesOHOS *>( &properties ) ) ); |
| 26327 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getNativeBufferPropertiesOHOS" ); |
| 26328 |
|
| 26329 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 26330 |
} |
| 26331 |
|
| 26332 |
// wrapper function for command vkGetMemoryNativeBufferOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryNativeBufferOHOS.html |
| 26333 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<struct OH_NativeBuffer *>::type |
| 26334 |
Device::getMemoryNativeBufferOHOS( const MemoryGetNativeBufferInfoOHOS & info ) const |
| 26335 |
{ |
| 26336 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryNativeBufferOHOS && "Function <vkGetMemoryNativeBufferOHOS> requires <VK_OHOS_external_memory>" ); |
| 26337 |
|
| 26338 |
struct OH_NativeBuffer * buffer; |
| 26339 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryNativeBufferOHOS( |
| 26340 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryGetNativeBufferInfoOHOS *>( &info ), &buffer ) ); |
| 26341 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryNativeBufferOHOS" ); |
| 26342 |
|
| 26343 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( buffer ) ); |
| 26344 |
} |
| 26345 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 26346 |
|
| 26347 |
//=== VK_EXT_extended_dynamic_state3 === |
| 26348 |
|
| 26349 |
// wrapper function for command vkCmdSetDepthClampEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampEnableEXT.html |
| 26350 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthClampEnableEXT( Bool32 depthClampEnable ) const VULKAN_HPP_NOEXCEPT |
| 26351 |
{ |
| 26352 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthClampEnableEXT && |
| 26353 |
"Function <vkCmdSetDepthClampEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26354 |
|
| 26355 |
getDispatcher()->vkCmdSetDepthClampEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthClampEnable ) ); |
| 26356 |
} |
| 26357 |
|
| 26358 |
// wrapper function for command vkCmdSetPolygonModeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetPolygonModeEXT.html |
| 26359 |
VULKAN_HPP_INLINE void CommandBuffer::setPolygonModeEXT( PolygonMode polygonMode ) const VULKAN_HPP_NOEXCEPT |
| 26360 |
{ |
| 26361 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetPolygonModeEXT && |
| 26362 |
"Function <vkCmdSetPolygonModeEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26363 |
|
| 26364 |
getDispatcher()->vkCmdSetPolygonModeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkPolygonMode>( polygonMode ) ); |
| 26365 |
} |
| 26366 |
|
| 26367 |
// wrapper function for command vkCmdSetRasterizationSamplesEXT, see |
| 26368 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationSamplesEXT.html |
| 26369 |
VULKAN_HPP_INLINE void CommandBuffer::setRasterizationSamplesEXT( SampleCountFlagBits rasterizationSamples ) const VULKAN_HPP_NOEXCEPT |
| 26370 |
{ |
| 26371 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRasterizationSamplesEXT && |
| 26372 |
"Function <vkCmdSetRasterizationSamplesEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26373 |
|
| 26374 |
getDispatcher()->vkCmdSetRasterizationSamplesEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26375 |
static_cast<VkSampleCountFlagBits>( rasterizationSamples ) ); |
| 26376 |
} |
| 26377 |
|
| 26378 |
// wrapper function for command vkCmdSetSampleMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleMaskEXT.html |
| 26379 |
VULKAN_HPP_INLINE void CommandBuffer::setSampleMaskEXT( SampleCountFlagBits samples, ArrayProxy<const SampleMask> const & sampleMask ) const |
| 26380 |
{ |
| 26381 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetSampleMaskEXT && |
| 26382 |
"Function <vkCmdSetSampleMaskEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26383 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 26384 |
VULKAN_HPP_ASSERT( sampleMask.size() == ( static_cast<uint32_t>( samples ) + 31 ) / 32 ); |
| 26385 |
# else |
| 26386 |
if ( sampleMask.size() != ( static_cast<uint32_t>( samples ) + 31 ) / 32 ) |
| 26387 |
{ |
| 26388 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING |
| 26389 |
"::CommandBuffer::setSampleMaskEXT: sampleMask.size() != ( static_cast<uint32_t>( samples ) + 31 ) / 32" ); |
| 26390 |
} |
| 26391 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 26392 |
|
| 26393 |
getDispatcher()->vkCmdSetSampleMaskEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26394 |
static_cast<VkSampleCountFlagBits>( samples ), |
| 26395 |
reinterpret_cast<const VkSampleMask *>( sampleMask.data() ) ); |
| 26396 |
} |
| 26397 |
|
| 26398 |
// wrapper function for command vkCmdSetAlphaToCoverageEnableEXT, see |
| 26399 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToCoverageEnableEXT.html |
| 26400 |
VULKAN_HPP_INLINE void CommandBuffer::setAlphaToCoverageEnableEXT( Bool32 alphaToCoverageEnable ) const VULKAN_HPP_NOEXCEPT |
| 26401 |
{ |
| 26402 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetAlphaToCoverageEnableEXT && |
| 26403 |
"Function <vkCmdSetAlphaToCoverageEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26404 |
|
| 26405 |
getDispatcher()->vkCmdSetAlphaToCoverageEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( alphaToCoverageEnable ) ); |
| 26406 |
} |
| 26407 |
|
| 26408 |
// wrapper function for command vkCmdSetAlphaToOneEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAlphaToOneEnableEXT.html |
| 26409 |
VULKAN_HPP_INLINE void CommandBuffer::setAlphaToOneEnableEXT( Bool32 alphaToOneEnable ) const VULKAN_HPP_NOEXCEPT |
| 26410 |
{ |
| 26411 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetAlphaToOneEnableEXT && |
| 26412 |
"Function <vkCmdSetAlphaToOneEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26413 |
|
| 26414 |
getDispatcher()->vkCmdSetAlphaToOneEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( alphaToOneEnable ) ); |
| 26415 |
} |
| 26416 |
|
| 26417 |
// wrapper function for command vkCmdSetLogicOpEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLogicOpEnableEXT.html |
| 26418 |
VULKAN_HPP_INLINE void CommandBuffer::setLogicOpEnableEXT( Bool32 logicOpEnable ) const VULKAN_HPP_NOEXCEPT |
| 26419 |
{ |
| 26420 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLogicOpEnableEXT && |
| 26421 |
"Function <vkCmdSetLogicOpEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26422 |
|
| 26423 |
getDispatcher()->vkCmdSetLogicOpEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( logicOpEnable ) ); |
| 26424 |
} |
| 26425 |
|
| 26426 |
// wrapper function for command vkCmdSetColorBlendEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEnableEXT.html |
| 26427 |
VULKAN_HPP_INLINE void CommandBuffer::setColorBlendEnableEXT( uint32_t firstAttachment, |
| 26428 |
ArrayProxy<const Bool32> const & colorBlendEnables ) const VULKAN_HPP_NOEXCEPT |
| 26429 |
{ |
| 26430 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetColorBlendEnableEXT && |
| 26431 |
"Function <vkCmdSetColorBlendEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26432 |
|
| 26433 |
getDispatcher()->vkCmdSetColorBlendEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26434 |
firstAttachment, |
| 26435 |
colorBlendEnables.size(), |
| 26436 |
reinterpret_cast<const VkBool32 *>( colorBlendEnables.data() ) ); |
| 26437 |
} |
| 26438 |
|
| 26439 |
// wrapper function for command vkCmdSetColorBlendEquationEXT, see |
| 26440 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendEquationEXT.html |
| 26441 |
VULKAN_HPP_INLINE void |
| 26442 |
CommandBuffer::setColorBlendEquationEXT( uint32_t firstAttachment, |
| 26443 |
ArrayProxy<const ColorBlendEquationEXT> const & colorBlendEquations ) const VULKAN_HPP_NOEXCEPT |
| 26444 |
{ |
| 26445 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetColorBlendEquationEXT && |
| 26446 |
"Function <vkCmdSetColorBlendEquationEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26447 |
|
| 26448 |
getDispatcher()->vkCmdSetColorBlendEquationEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26449 |
firstAttachment, |
| 26450 |
colorBlendEquations.size(), |
| 26451 |
reinterpret_cast<const VkColorBlendEquationEXT *>( colorBlendEquations.data() ) ); |
| 26452 |
} |
| 26453 |
|
| 26454 |
// wrapper function for command vkCmdSetColorWriteMaskEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorWriteMaskEXT.html |
| 26455 |
VULKAN_HPP_INLINE void CommandBuffer::setColorWriteMaskEXT( uint32_t firstAttachment, |
| 26456 |
ArrayProxy<const ColorComponentFlags> const & colorWriteMasks ) const VULKAN_HPP_NOEXCEPT |
| 26457 |
{ |
| 26458 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetColorWriteMaskEXT && |
| 26459 |
"Function <vkCmdSetColorWriteMaskEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26460 |
|
| 26461 |
getDispatcher()->vkCmdSetColorWriteMaskEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26462 |
firstAttachment, |
| 26463 |
colorWriteMasks.size(), |
| 26464 |
reinterpret_cast<const VkColorComponentFlags *>( colorWriteMasks.data() ) ); |
| 26465 |
} |
| 26466 |
|
| 26467 |
// wrapper function for command vkCmdSetTessellationDomainOriginEXT, see |
| 26468 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetTessellationDomainOriginEXT.html |
| 26469 |
VULKAN_HPP_INLINE void CommandBuffer::setTessellationDomainOriginEXT( TessellationDomainOrigin domainOrigin ) const VULKAN_HPP_NOEXCEPT |
| 26470 |
{ |
| 26471 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetTessellationDomainOriginEXT && |
| 26472 |
"Function <vkCmdSetTessellationDomainOriginEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26473 |
|
| 26474 |
getDispatcher()->vkCmdSetTessellationDomainOriginEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26475 |
static_cast<VkTessellationDomainOrigin>( domainOrigin ) ); |
| 26476 |
} |
| 26477 |
|
| 26478 |
// wrapper function for command vkCmdSetRasterizationStreamEXT, see |
| 26479 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRasterizationStreamEXT.html |
| 26480 |
VULKAN_HPP_INLINE void CommandBuffer::setRasterizationStreamEXT( uint32_t rasterizationStream ) const VULKAN_HPP_NOEXCEPT |
| 26481 |
{ |
| 26482 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRasterizationStreamEXT && |
| 26483 |
"Function <vkCmdSetRasterizationStreamEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26484 |
|
| 26485 |
getDispatcher()->vkCmdSetRasterizationStreamEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), rasterizationStream ); |
| 26486 |
} |
| 26487 |
|
| 26488 |
// wrapper function for command vkCmdSetConservativeRasterizationModeEXT, see |
| 26489 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetConservativeRasterizationModeEXT.html |
| 26490 |
VULKAN_HPP_INLINE void |
| 26491 |
CommandBuffer::setConservativeRasterizationModeEXT( ConservativeRasterizationModeEXT conservativeRasterizationMode ) const VULKAN_HPP_NOEXCEPT |
| 26492 |
{ |
| 26493 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetConservativeRasterizationModeEXT && |
| 26494 |
"Function <vkCmdSetConservativeRasterizationModeEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26495 |
|
| 26496 |
getDispatcher()->vkCmdSetConservativeRasterizationModeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26497 |
static_cast<VkConservativeRasterizationModeEXT>( conservativeRasterizationMode ) ); |
| 26498 |
} |
| 26499 |
|
| 26500 |
// wrapper function for command vkCmdSetExtraPrimitiveOverestimationSizeEXT, see |
| 26501 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetExtraPrimitiveOverestimationSizeEXT.html |
| 26502 |
VULKAN_HPP_INLINE void CommandBuffer::setExtraPrimitiveOverestimationSizeEXT( float extraPrimitiveOverestimationSize ) const VULKAN_HPP_NOEXCEPT |
| 26503 |
{ |
| 26504 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetExtraPrimitiveOverestimationSizeEXT && |
| 26505 |
"Function <vkCmdSetExtraPrimitiveOverestimationSizeEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26506 |
|
| 26507 |
getDispatcher()->vkCmdSetExtraPrimitiveOverestimationSizeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), extraPrimitiveOverestimationSize ); |
| 26508 |
} |
| 26509 |
|
| 26510 |
// wrapper function for command vkCmdSetDepthClipEnableEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipEnableEXT.html |
| 26511 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthClipEnableEXT( Bool32 depthClipEnable ) const VULKAN_HPP_NOEXCEPT |
| 26512 |
{ |
| 26513 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthClipEnableEXT && |
| 26514 |
"Function <vkCmdSetDepthClipEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26515 |
|
| 26516 |
getDispatcher()->vkCmdSetDepthClipEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( depthClipEnable ) ); |
| 26517 |
} |
| 26518 |
|
| 26519 |
// wrapper function for command vkCmdSetSampleLocationsEnableEXT, see |
| 26520 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetSampleLocationsEnableEXT.html |
| 26521 |
VULKAN_HPP_INLINE void CommandBuffer::setSampleLocationsEnableEXT( Bool32 sampleLocationsEnable ) const VULKAN_HPP_NOEXCEPT |
| 26522 |
{ |
| 26523 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetSampleLocationsEnableEXT && |
| 26524 |
"Function <vkCmdSetSampleLocationsEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26525 |
|
| 26526 |
getDispatcher()->vkCmdSetSampleLocationsEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( sampleLocationsEnable ) ); |
| 26527 |
} |
| 26528 |
|
| 26529 |
// wrapper function for command vkCmdSetColorBlendAdvancedEXT, see |
| 26530 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetColorBlendAdvancedEXT.html |
| 26531 |
VULKAN_HPP_INLINE void |
| 26532 |
CommandBuffer::setColorBlendAdvancedEXT( uint32_t firstAttachment, |
| 26533 |
ArrayProxy<const ColorBlendAdvancedEXT> const & colorBlendAdvanced ) const VULKAN_HPP_NOEXCEPT |
| 26534 |
{ |
| 26535 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetColorBlendAdvancedEXT && |
| 26536 |
"Function <vkCmdSetColorBlendAdvancedEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26537 |
|
| 26538 |
getDispatcher()->vkCmdSetColorBlendAdvancedEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26539 |
firstAttachment, |
| 26540 |
colorBlendAdvanced.size(), |
| 26541 |
reinterpret_cast<const VkColorBlendAdvancedEXT *>( colorBlendAdvanced.data() ) ); |
| 26542 |
} |
| 26543 |
|
| 26544 |
// wrapper function for command vkCmdSetProvokingVertexModeEXT, see |
| 26545 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetProvokingVertexModeEXT.html |
| 26546 |
VULKAN_HPP_INLINE void CommandBuffer::setProvokingVertexModeEXT( ProvokingVertexModeEXT provokingVertexMode ) const VULKAN_HPP_NOEXCEPT |
| 26547 |
{ |
| 26548 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetProvokingVertexModeEXT && |
| 26549 |
"Function <vkCmdSetProvokingVertexModeEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26550 |
|
| 26551 |
getDispatcher()->vkCmdSetProvokingVertexModeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26552 |
static_cast<VkProvokingVertexModeEXT>( provokingVertexMode ) ); |
| 26553 |
} |
| 26554 |
|
| 26555 |
// wrapper function for command vkCmdSetLineRasterizationModeEXT, see |
| 26556 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineRasterizationModeEXT.html |
| 26557 |
VULKAN_HPP_INLINE void CommandBuffer::setLineRasterizationModeEXT( LineRasterizationModeEXT lineRasterizationMode ) const VULKAN_HPP_NOEXCEPT |
| 26558 |
{ |
| 26559 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLineRasterizationModeEXT && |
| 26560 |
"Function <vkCmdSetLineRasterizationModeEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26561 |
|
| 26562 |
getDispatcher()->vkCmdSetLineRasterizationModeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26563 |
static_cast<VkLineRasterizationModeEXT>( lineRasterizationMode ) ); |
| 26564 |
} |
| 26565 |
|
| 26566 |
// wrapper function for command vkCmdSetLineStippleEnableEXT, see |
| 26567 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleEnableEXT.html |
| 26568 |
VULKAN_HPP_INLINE void CommandBuffer::setLineStippleEnableEXT( Bool32 stippledLineEnable ) const VULKAN_HPP_NOEXCEPT |
| 26569 |
{ |
| 26570 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLineStippleEnableEXT && |
| 26571 |
"Function <vkCmdSetLineStippleEnableEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26572 |
|
| 26573 |
getDispatcher()->vkCmdSetLineStippleEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( stippledLineEnable ) ); |
| 26574 |
} |
| 26575 |
|
| 26576 |
// wrapper function for command vkCmdSetDepthClipNegativeOneToOneEXT, see |
| 26577 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClipNegativeOneToOneEXT.html |
| 26578 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthClipNegativeOneToOneEXT( Bool32 negativeOneToOne ) const VULKAN_HPP_NOEXCEPT |
| 26579 |
{ |
| 26580 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthClipNegativeOneToOneEXT && |
| 26581 |
"Function <vkCmdSetDepthClipNegativeOneToOneEXT> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26582 |
|
| 26583 |
getDispatcher()->vkCmdSetDepthClipNegativeOneToOneEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( negativeOneToOne ) ); |
| 26584 |
} |
| 26585 |
|
| 26586 |
// wrapper function for command vkCmdSetViewportWScalingEnableNV, see |
| 26587 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportWScalingEnableNV.html |
| 26588 |
VULKAN_HPP_INLINE void CommandBuffer::setViewportWScalingEnableNV( Bool32 viewportWScalingEnable ) const VULKAN_HPP_NOEXCEPT |
| 26589 |
{ |
| 26590 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewportWScalingEnableNV && |
| 26591 |
"Function <vkCmdSetViewportWScalingEnableNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26592 |
|
| 26593 |
getDispatcher()->vkCmdSetViewportWScalingEnableNV( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( viewportWScalingEnable ) ); |
| 26594 |
} |
| 26595 |
|
| 26596 |
// wrapper function for command vkCmdSetViewportSwizzleNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetViewportSwizzleNV.html |
| 26597 |
VULKAN_HPP_INLINE void CommandBuffer::setViewportSwizzleNV( uint32_t firstViewport, |
| 26598 |
ArrayProxy<const ViewportSwizzleNV> const & viewportSwizzles ) const VULKAN_HPP_NOEXCEPT |
| 26599 |
{ |
| 26600 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetViewportSwizzleNV && |
| 26601 |
"Function <vkCmdSetViewportSwizzleNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26602 |
|
| 26603 |
getDispatcher()->vkCmdSetViewportSwizzleNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26604 |
firstViewport, |
| 26605 |
viewportSwizzles.size(), |
| 26606 |
reinterpret_cast<const VkViewportSwizzleNV *>( viewportSwizzles.data() ) ); |
| 26607 |
} |
| 26608 |
|
| 26609 |
// wrapper function for command vkCmdSetCoverageToColorEnableNV, see |
| 26610 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorEnableNV.html |
| 26611 |
VULKAN_HPP_INLINE void CommandBuffer::setCoverageToColorEnableNV( Bool32 coverageToColorEnable ) const VULKAN_HPP_NOEXCEPT |
| 26612 |
{ |
| 26613 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoverageToColorEnableNV && |
| 26614 |
"Function <vkCmdSetCoverageToColorEnableNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26615 |
|
| 26616 |
getDispatcher()->vkCmdSetCoverageToColorEnableNV( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( coverageToColorEnable ) ); |
| 26617 |
} |
| 26618 |
|
| 26619 |
// wrapper function for command vkCmdSetCoverageToColorLocationNV, see |
| 26620 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageToColorLocationNV.html |
| 26621 |
VULKAN_HPP_INLINE void CommandBuffer::setCoverageToColorLocationNV( uint32_t coverageToColorLocation ) const VULKAN_HPP_NOEXCEPT |
| 26622 |
{ |
| 26623 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoverageToColorLocationNV && |
| 26624 |
"Function <vkCmdSetCoverageToColorLocationNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26625 |
|
| 26626 |
getDispatcher()->vkCmdSetCoverageToColorLocationNV( static_cast<VkCommandBuffer>( m_commandBuffer ), coverageToColorLocation ); |
| 26627 |
} |
| 26628 |
|
| 26629 |
// wrapper function for command vkCmdSetCoverageModulationModeNV, see |
| 26630 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationModeNV.html |
| 26631 |
VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationModeNV( CoverageModulationModeNV coverageModulationMode ) const VULKAN_HPP_NOEXCEPT |
| 26632 |
{ |
| 26633 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoverageModulationModeNV && |
| 26634 |
"Function <vkCmdSetCoverageModulationModeNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26635 |
|
| 26636 |
getDispatcher()->vkCmdSetCoverageModulationModeNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26637 |
static_cast<VkCoverageModulationModeNV>( coverageModulationMode ) ); |
| 26638 |
} |
| 26639 |
|
| 26640 |
// wrapper function for command vkCmdSetCoverageModulationTableEnableNV, see |
| 26641 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableEnableNV.html |
| 26642 |
VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationTableEnableNV( Bool32 coverageModulationTableEnable ) const VULKAN_HPP_NOEXCEPT |
| 26643 |
{ |
| 26644 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoverageModulationTableEnableNV && |
| 26645 |
"Function <vkCmdSetCoverageModulationTableEnableNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26646 |
|
| 26647 |
getDispatcher()->vkCmdSetCoverageModulationTableEnableNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26648 |
static_cast<VkBool32>( coverageModulationTableEnable ) ); |
| 26649 |
} |
| 26650 |
|
| 26651 |
// wrapper function for command vkCmdSetCoverageModulationTableNV, see |
| 26652 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageModulationTableNV.html |
| 26653 |
VULKAN_HPP_INLINE void CommandBuffer::setCoverageModulationTableNV( ArrayProxy<const float> const & coverageModulationTable ) const VULKAN_HPP_NOEXCEPT |
| 26654 |
{ |
| 26655 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoverageModulationTableNV && |
| 26656 |
"Function <vkCmdSetCoverageModulationTableNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26657 |
|
| 26658 |
getDispatcher()->vkCmdSetCoverageModulationTableNV( |
| 26659 |
static_cast<VkCommandBuffer>( m_commandBuffer ), coverageModulationTable.size(), coverageModulationTable.data() ); |
| 26660 |
} |
| 26661 |
|
| 26662 |
// wrapper function for command vkCmdSetShadingRateImageEnableNV, see |
| 26663 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetShadingRateImageEnableNV.html |
| 26664 |
VULKAN_HPP_INLINE void CommandBuffer::setShadingRateImageEnableNV( Bool32 shadingRateImageEnable ) const VULKAN_HPP_NOEXCEPT |
| 26665 |
{ |
| 26666 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetShadingRateImageEnableNV && |
| 26667 |
"Function <vkCmdSetShadingRateImageEnableNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26668 |
|
| 26669 |
getDispatcher()->vkCmdSetShadingRateImageEnableNV( static_cast<VkCommandBuffer>( m_commandBuffer ), static_cast<VkBool32>( shadingRateImageEnable ) ); |
| 26670 |
} |
| 26671 |
|
| 26672 |
// wrapper function for command vkCmdSetRepresentativeFragmentTestEnableNV, see |
| 26673 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetRepresentativeFragmentTestEnableNV.html |
| 26674 |
VULKAN_HPP_INLINE void CommandBuffer::setRepresentativeFragmentTestEnableNV( Bool32 representativeFragmentTestEnable ) const VULKAN_HPP_NOEXCEPT |
| 26675 |
{ |
| 26676 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetRepresentativeFragmentTestEnableNV && |
| 26677 |
"Function <vkCmdSetRepresentativeFragmentTestEnableNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26678 |
|
| 26679 |
getDispatcher()->vkCmdSetRepresentativeFragmentTestEnableNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26680 |
static_cast<VkBool32>( representativeFragmentTestEnable ) ); |
| 26681 |
} |
| 26682 |
|
| 26683 |
// wrapper function for command vkCmdSetCoverageReductionModeNV, see |
| 26684 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetCoverageReductionModeNV.html |
| 26685 |
VULKAN_HPP_INLINE void CommandBuffer::setCoverageReductionModeNV( CoverageReductionModeNV coverageReductionMode ) const VULKAN_HPP_NOEXCEPT |
| 26686 |
{ |
| 26687 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetCoverageReductionModeNV && |
| 26688 |
"Function <vkCmdSetCoverageReductionModeNV> requires <VK_EXT_extended_dynamic_state3> or <VK_EXT_shader_object>" ); |
| 26689 |
|
| 26690 |
getDispatcher()->vkCmdSetCoverageReductionModeNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26691 |
static_cast<VkCoverageReductionModeNV>( coverageReductionMode ) ); |
| 26692 |
} |
| 26693 |
|
| 26694 |
//=== VK_ARM_tensors === |
| 26695 |
|
| 26696 |
// wrapper function for command vkCreateTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorARM.html |
| 26697 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<TensorARM>::type |
| 26698 |
Device::createTensorARM( TensorCreateInfoARM const & createInfo, |
| 26699 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 26700 |
{ |
| 26701 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateTensorARM && "Function <vkCreateTensorARM> requires <VK_ARM_tensors>" ); |
| 26702 |
|
| 26703 |
VULKAN_HPP_NAMESPACE::TensorARM tensor; |
| 26704 |
Result result = static_cast<Result>( getDispatcher()->vkCreateTensorARM( static_cast<VkDevice>( m_device ), |
| 26705 |
reinterpret_cast<const VkTensorCreateInfoARM *>( &createInfo ), |
| 26706 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 26707 |
reinterpret_cast<VkTensorARM *>( &tensor ) ) ); |
| 26708 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createTensorARM" ); |
| 26709 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, TensorARM( *this, *reinterpret_cast<VkTensorARM *>( &tensor ), allocator ) ); |
| 26710 |
} |
| 26711 |
|
| 26712 |
// wrapper function for command vkCreateTensorViewARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateTensorViewARM.html |
| 26713 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<TensorViewARM>::type |
| 26714 |
Device::createTensorViewARM( TensorViewCreateInfoARM const & createInfo, |
| 26715 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 26716 |
{ |
| 26717 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateTensorViewARM && "Function <vkCreateTensorViewARM> requires <VK_ARM_tensors>" ); |
| 26718 |
|
| 26719 |
VULKAN_HPP_NAMESPACE::TensorViewARM view; |
| 26720 |
Result result = static_cast<Result>( getDispatcher()->vkCreateTensorViewARM( static_cast<VkDevice>( m_device ), |
| 26721 |
reinterpret_cast<const VkTensorViewCreateInfoARM *>( &createInfo ), |
| 26722 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 26723 |
reinterpret_cast<VkTensorViewARM *>( &view ) ) ); |
| 26724 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createTensorViewARM" ); |
| 26725 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, TensorViewARM( *this, *reinterpret_cast<VkTensorViewARM *>( &view ), allocator ) ); |
| 26726 |
} |
| 26727 |
|
| 26728 |
// wrapper function for command vkGetTensorMemoryRequirementsARM, see |
| 26729 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html |
| 26730 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 26731 |
Device::getTensorMemoryRequirementsARM( const TensorMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT |
| 26732 |
{ |
| 26733 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorMemoryRequirementsARM && "Function <vkGetTensorMemoryRequirementsARM> requires <VK_ARM_tensors>" ); |
| 26734 |
|
| 26735 |
MemoryRequirements2 memoryRequirements; |
| 26736 |
getDispatcher()->vkGetTensorMemoryRequirementsARM( static_cast<VkDevice>( m_device ), |
| 26737 |
reinterpret_cast<const VkTensorMemoryRequirementsInfoARM *>( &info ), |
| 26738 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26739 |
|
| 26740 |
return memoryRequirements; |
| 26741 |
} |
| 26742 |
|
| 26743 |
// wrapper function for command vkGetTensorMemoryRequirementsARM, see |
| 26744 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorMemoryRequirementsARM.html |
| 26745 |
template <typename X, typename Y, typename... Z> |
| 26746 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 26747 |
Device::getTensorMemoryRequirementsARM( const TensorMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT |
| 26748 |
{ |
| 26749 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorMemoryRequirementsARM && "Function <vkGetTensorMemoryRequirementsARM> requires <VK_ARM_tensors>" ); |
| 26750 |
|
| 26751 |
StructureChain<X, Y, Z...> structureChain; |
| 26752 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 26753 |
getDispatcher()->vkGetTensorMemoryRequirementsARM( static_cast<VkDevice>( m_device ), |
| 26754 |
reinterpret_cast<const VkTensorMemoryRequirementsInfoARM *>( &info ), |
| 26755 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26756 |
|
| 26757 |
return structureChain; |
| 26758 |
} |
| 26759 |
|
| 26760 |
// wrapper function for command vkBindTensorMemoryARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindTensorMemoryARM.html |
| 26761 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::bindTensorMemoryARM( ArrayProxy<const BindTensorMemoryInfoARM> const & bindInfos ) const |
| 26762 |
{ |
| 26763 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindTensorMemoryARM && "Function <vkBindTensorMemoryARM> requires <VK_ARM_tensors>" ); |
| 26764 |
|
| 26765 |
Result result = static_cast<Result>( getDispatcher()->vkBindTensorMemoryARM( |
| 26766 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindTensorMemoryInfoARM *>( bindInfos.data() ) ) ); |
| 26767 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindTensorMemoryARM" ); |
| 26768 |
|
| 26769 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 26770 |
} |
| 26771 |
|
| 26772 |
// wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see |
| 26773 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html |
| 26774 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 26775 |
Device::getTensorMemoryRequirementsARM( const DeviceTensorMemoryRequirementsARM & info ) const VULKAN_HPP_NOEXCEPT |
| 26776 |
{ |
| 26777 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceTensorMemoryRequirementsARM && |
| 26778 |
"Function <vkGetDeviceTensorMemoryRequirementsARM> requires <VK_ARM_tensors>" ); |
| 26779 |
|
| 26780 |
MemoryRequirements2 memoryRequirements; |
| 26781 |
getDispatcher()->vkGetDeviceTensorMemoryRequirementsARM( static_cast<VkDevice>( m_device ), |
| 26782 |
reinterpret_cast<const VkDeviceTensorMemoryRequirementsARM *>( &info ), |
| 26783 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26784 |
|
| 26785 |
return memoryRequirements; |
| 26786 |
} |
| 26787 |
|
| 26788 |
// wrapper function for command vkGetDeviceTensorMemoryRequirementsARM, see |
| 26789 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceTensorMemoryRequirementsARM.html |
| 26790 |
template <typename X, typename Y, typename... Z> |
| 26791 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 26792 |
Device::getTensorMemoryRequirementsARM( const DeviceTensorMemoryRequirementsARM & info ) const VULKAN_HPP_NOEXCEPT |
| 26793 |
{ |
| 26794 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceTensorMemoryRequirementsARM && |
| 26795 |
"Function <vkGetDeviceTensorMemoryRequirementsARM> requires <VK_ARM_tensors>" ); |
| 26796 |
|
| 26797 |
StructureChain<X, Y, Z...> structureChain; |
| 26798 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 26799 |
getDispatcher()->vkGetDeviceTensorMemoryRequirementsARM( static_cast<VkDevice>( m_device ), |
| 26800 |
reinterpret_cast<const VkDeviceTensorMemoryRequirementsARM *>( &info ), |
| 26801 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 26802 |
|
| 26803 |
return structureChain; |
| 26804 |
} |
| 26805 |
|
| 26806 |
// wrapper function for command vkCmdCopyTensorARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyTensorARM.html |
| 26807 |
VULKAN_HPP_INLINE void CommandBuffer::copyTensorARM( const CopyTensorInfoARM & copyTensorInfo ) const VULKAN_HPP_NOEXCEPT |
| 26808 |
{ |
| 26809 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyTensorARM && "Function <vkCmdCopyTensorARM> requires <VK_ARM_tensors>" ); |
| 26810 |
|
| 26811 |
getDispatcher()->vkCmdCopyTensorARM( static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkCopyTensorInfoARM *>( ©TensorInfo ) ); |
| 26812 |
} |
| 26813 |
|
| 26814 |
// wrapper function for command vkGetPhysicalDeviceExternalTensorPropertiesARM, see |
| 26815 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceExternalTensorPropertiesARM.html |
| 26816 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ExternalTensorPropertiesARM |
| 26817 |
PhysicalDevice::getExternalTensorPropertiesARM( const PhysicalDeviceExternalTensorInfoARM & externalTensorInfo ) const VULKAN_HPP_NOEXCEPT |
| 26818 |
{ |
| 26819 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceExternalTensorPropertiesARM && |
| 26820 |
"Function <vkGetPhysicalDeviceExternalTensorPropertiesARM> requires <VK_ARM_tensors>" ); |
| 26821 |
|
| 26822 |
ExternalTensorPropertiesARM externalTensorProperties; |
| 26823 |
getDispatcher()->vkGetPhysicalDeviceExternalTensorPropertiesARM( static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 26824 |
reinterpret_cast<const VkPhysicalDeviceExternalTensorInfoARM *>( &externalTensorInfo ), |
| 26825 |
reinterpret_cast<VkExternalTensorPropertiesARM *>( &externalTensorProperties ) ); |
| 26826 |
|
| 26827 |
return externalTensorProperties; |
| 26828 |
} |
| 26829 |
|
| 26830 |
// wrapper function for command vkGetTensorOpaqueCaptureDescriptorDataARM, see |
| 26831 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorOpaqueCaptureDescriptorDataARM.html |
| 26832 |
template <typename DataType> |
| 26833 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 26834 |
Device::getTensorOpaqueCaptureDescriptorDataARM( const TensorCaptureDescriptorDataInfoARM & info ) const |
| 26835 |
{ |
| 26836 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorOpaqueCaptureDescriptorDataARM && |
| 26837 |
"Function <vkGetTensorOpaqueCaptureDescriptorDataARM> requires <VK_ARM_tensors>" ); |
| 26838 |
|
| 26839 |
DataType data; |
| 26840 |
Result result = static_cast<Result>( getDispatcher()->vkGetTensorOpaqueCaptureDescriptorDataARM( |
| 26841 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkTensorCaptureDescriptorDataInfoARM *>( &info ), &data ) ); |
| 26842 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getTensorOpaqueCaptureDescriptorDataARM" ); |
| 26843 |
|
| 26844 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 26845 |
} |
| 26846 |
|
| 26847 |
// wrapper function for command vkGetTensorViewOpaqueCaptureDescriptorDataARM, see |
| 26848 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetTensorViewOpaqueCaptureDescriptorDataARM.html |
| 26849 |
template <typename DataType> |
| 26850 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataType>::type |
| 26851 |
Device::getTensorViewOpaqueCaptureDescriptorDataARM( const TensorViewCaptureDescriptorDataInfoARM & info ) const |
| 26852 |
{ |
| 26853 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetTensorViewOpaqueCaptureDescriptorDataARM && |
| 26854 |
"Function <vkGetTensorViewOpaqueCaptureDescriptorDataARM> requires <VK_ARM_tensors>" ); |
| 26855 |
|
| 26856 |
DataType data; |
| 26857 |
Result result = static_cast<Result>( getDispatcher()->vkGetTensorViewOpaqueCaptureDescriptorDataARM( |
| 26858 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkTensorViewCaptureDescriptorDataInfoARM *>( &info ), &data ) ); |
| 26859 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getTensorViewOpaqueCaptureDescriptorDataARM" ); |
| 26860 |
|
| 26861 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 26862 |
} |
| 26863 |
|
| 26864 |
//=== VK_EXT_shader_module_identifier === |
| 26865 |
|
| 26866 |
// wrapper function for command vkGetShaderModuleIdentifierEXT, see |
| 26867 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleIdentifierEXT.html |
| 26868 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ShaderModuleIdentifierEXT ShaderModule::getIdentifierEXT() const VULKAN_HPP_NOEXCEPT |
| 26869 |
{ |
| 26870 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetShaderModuleIdentifierEXT && |
| 26871 |
"Function <vkGetShaderModuleIdentifierEXT> requires <VK_EXT_shader_module_identifier>" ); |
| 26872 |
|
| 26873 |
ShaderModuleIdentifierEXT identifier; |
| 26874 |
getDispatcher()->vkGetShaderModuleIdentifierEXT( |
| 26875 |
static_cast<VkDevice>( m_device ), static_cast<VkShaderModule>( m_shaderModule ), reinterpret_cast<VkShaderModuleIdentifierEXT *>( &identifier ) ); |
| 26876 |
|
| 26877 |
return identifier; |
| 26878 |
} |
| 26879 |
|
| 26880 |
// wrapper function for command vkGetShaderModuleCreateInfoIdentifierEXT, see |
| 26881 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderModuleCreateInfoIdentifierEXT.html |
| 26882 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE ShaderModuleIdentifierEXT |
| 26883 |
Device::getShaderModuleCreateInfoIdentifierEXT( const ShaderModuleCreateInfo & createInfo ) const VULKAN_HPP_NOEXCEPT |
| 26884 |
{ |
| 26885 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetShaderModuleCreateInfoIdentifierEXT && |
| 26886 |
"Function <vkGetShaderModuleCreateInfoIdentifierEXT> requires <VK_EXT_shader_module_identifier>" ); |
| 26887 |
|
| 26888 |
ShaderModuleIdentifierEXT identifier; |
| 26889 |
getDispatcher()->vkGetShaderModuleCreateInfoIdentifierEXT( static_cast<VkDevice>( m_device ), |
| 26890 |
reinterpret_cast<const VkShaderModuleCreateInfo *>( &createInfo ), |
| 26891 |
reinterpret_cast<VkShaderModuleIdentifierEXT *>( &identifier ) ); |
| 26892 |
|
| 26893 |
return identifier; |
| 26894 |
} |
| 26895 |
|
| 26896 |
//=== VK_NV_optical_flow === |
| 26897 |
|
| 26898 |
// wrapper function for command vkGetPhysicalDeviceOpticalFlowImageFormatsNV, see |
| 26899 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceOpticalFlowImageFormatsNV.html |
| 26900 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<OpticalFlowImageFormatPropertiesNV>>::type |
| 26901 |
PhysicalDevice::getOpticalFlowImageFormatsNV( const OpticalFlowImageFormatInfoNV & opticalFlowImageFormatInfo ) const |
| 26902 |
{ |
| 26903 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceOpticalFlowImageFormatsNV && |
| 26904 |
"Function <vkGetPhysicalDeviceOpticalFlowImageFormatsNV> requires <VK_NV_optical_flow>" ); |
| 26905 |
|
| 26906 |
std::vector<OpticalFlowImageFormatPropertiesNV> imageFormatProperties; |
| 26907 |
uint32_t formatCount; |
| 26908 |
Result result; |
| 26909 |
do |
| 26910 |
{ |
| 26911 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceOpticalFlowImageFormatsNV( |
| 26912 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 26913 |
reinterpret_cast<const VkOpticalFlowImageFormatInfoNV *>( &opticalFlowImageFormatInfo ), |
| 26914 |
&formatCount, |
| 26915 |
nullptr ) ); |
| 26916 |
if ( ( result == Result::eSuccess ) && formatCount ) |
| 26917 |
{ |
| 26918 |
imageFormatProperties.resize( formatCount ); |
| 26919 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceOpticalFlowImageFormatsNV( |
| 26920 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 26921 |
reinterpret_cast<const VkOpticalFlowImageFormatInfoNV *>( &opticalFlowImageFormatInfo ), |
| 26922 |
&formatCount, |
| 26923 |
reinterpret_cast<VkOpticalFlowImageFormatPropertiesNV *>( imageFormatProperties.data() ) ) ); |
| 26924 |
} |
| 26925 |
} while ( result == Result::eIncomplete ); |
| 26926 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getOpticalFlowImageFormatsNV" ); |
| 26927 |
VULKAN_HPP_ASSERT( formatCount <= imageFormatProperties.size() ); |
| 26928 |
if ( formatCount < imageFormatProperties.size() ) |
| 26929 |
{ |
| 26930 |
imageFormatProperties.resize( formatCount ); |
| 26931 |
} |
| 26932 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( imageFormatProperties ) ); |
| 26933 |
} |
| 26934 |
|
| 26935 |
// wrapper function for command vkCreateOpticalFlowSessionNV, see |
| 26936 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateOpticalFlowSessionNV.html |
| 26937 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<OpticalFlowSessionNV>::type |
| 26938 |
Device::createOpticalFlowSessionNV( OpticalFlowSessionCreateInfoNV const & createInfo, |
| 26939 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 26940 |
{ |
| 26941 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateOpticalFlowSessionNV && "Function <vkCreateOpticalFlowSessionNV> requires <VK_NV_optical_flow>" ); |
| 26942 |
|
| 26943 |
VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV session; |
| 26944 |
Result result = |
| 26945 |
static_cast<Result>( getDispatcher()->vkCreateOpticalFlowSessionNV( static_cast<VkDevice>( m_device ), |
| 26946 |
reinterpret_cast<const VkOpticalFlowSessionCreateInfoNV *>( &createInfo ), |
| 26947 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 26948 |
reinterpret_cast<VkOpticalFlowSessionNV *>( &session ) ) ); |
| 26949 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createOpticalFlowSessionNV" ); |
| 26950 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 26951 |
result, OpticalFlowSessionNV( *this, *reinterpret_cast<VkOpticalFlowSessionNV *>( &session ), allocator ) ); |
| 26952 |
} |
| 26953 |
|
| 26954 |
// wrapper function for command vkBindOpticalFlowSessionImageNV, see |
| 26955 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindOpticalFlowSessionImageNV.html |
| 26956 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 26957 |
OpticalFlowSessionNV::bindImage( OpticalFlowSessionBindingPointNV bindingPoint, VULKAN_HPP_NAMESPACE::ImageView view, ImageLayout layout ) const |
| 26958 |
{ |
| 26959 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindOpticalFlowSessionImageNV && "Function <vkBindOpticalFlowSessionImageNV> requires <VK_NV_optical_flow>" ); |
| 26960 |
|
| 26961 |
Result result = static_cast<Result>( getDispatcher()->vkBindOpticalFlowSessionImageNV( static_cast<VkDevice>( m_device ), |
| 26962 |
static_cast<VkOpticalFlowSessionNV>( m_opticalFlowSessionNV ), |
| 26963 |
static_cast<VkOpticalFlowSessionBindingPointNV>( bindingPoint ), |
| 26964 |
static_cast<VkImageView>( view ), |
| 26965 |
static_cast<VkImageLayout>( layout ) ) ); |
| 26966 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::OpticalFlowSessionNV::bindImage" ); |
| 26967 |
|
| 26968 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 26969 |
} |
| 26970 |
|
| 26971 |
// wrapper function for command vkCmdOpticalFlowExecuteNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdOpticalFlowExecuteNV.html |
| 26972 |
VULKAN_HPP_INLINE void CommandBuffer::opticalFlowExecuteNV( VULKAN_HPP_NAMESPACE::OpticalFlowSessionNV session, |
| 26973 |
const OpticalFlowExecuteInfoNV & executeInfo ) const VULKAN_HPP_NOEXCEPT |
| 26974 |
{ |
| 26975 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdOpticalFlowExecuteNV && "Function <vkCmdOpticalFlowExecuteNV> requires <VK_NV_optical_flow>" ); |
| 26976 |
|
| 26977 |
getDispatcher()->vkCmdOpticalFlowExecuteNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26978 |
static_cast<VkOpticalFlowSessionNV>( session ), |
| 26979 |
reinterpret_cast<const VkOpticalFlowExecuteInfoNV *>( &executeInfo ) ); |
| 26980 |
} |
| 26981 |
|
| 26982 |
//=== VK_KHR_maintenance5 === |
| 26983 |
|
| 26984 |
// wrapper function for command vkCmdBindIndexBuffer2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindIndexBuffer2KHR.html |
| 26985 |
VULKAN_HPP_INLINE void CommandBuffer::bindIndexBuffer2KHR( VULKAN_HPP_NAMESPACE::Buffer buffer, |
| 26986 |
DeviceSize offset, |
| 26987 |
DeviceSize size, |
| 26988 |
IndexType indexType ) const VULKAN_HPP_NOEXCEPT |
| 26989 |
{ |
| 26990 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindIndexBuffer2KHR && |
| 26991 |
"Function <vkCmdBindIndexBuffer2KHR> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 26992 |
|
| 26993 |
getDispatcher()->vkCmdBindIndexBuffer2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 26994 |
static_cast<VkBuffer>( buffer ), |
| 26995 |
static_cast<VkDeviceSize>( offset ), |
| 26996 |
static_cast<VkDeviceSize>( size ), |
| 26997 |
static_cast<VkIndexType>( indexType ) ); |
| 26998 |
} |
| 26999 |
|
| 27000 |
// wrapper function for command vkGetRenderingAreaGranularityKHR, see |
| 27001 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetRenderingAreaGranularityKHR.html |
| 27002 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Extent2D |
| 27003 |
Device::getRenderingAreaGranularityKHR( const RenderingAreaInfo & renderingAreaInfo ) const VULKAN_HPP_NOEXCEPT |
| 27004 |
{ |
| 27005 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetRenderingAreaGranularityKHR && |
| 27006 |
"Function <vkGetRenderingAreaGranularityKHR> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 27007 |
|
| 27008 |
Extent2D granularity; |
| 27009 |
getDispatcher()->vkGetRenderingAreaGranularityKHR( static_cast<VkDevice>( m_device ), |
| 27010 |
reinterpret_cast<const VkRenderingAreaInfo *>( &renderingAreaInfo ), |
| 27011 |
reinterpret_cast<VkExtent2D *>( &granularity ) ); |
| 27012 |
|
| 27013 |
return granularity; |
| 27014 |
} |
| 27015 |
|
| 27016 |
// wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see |
| 27017 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html |
| 27018 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 |
| 27019 |
Device::getImageSubresourceLayoutKHR( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 27020 |
{ |
| 27021 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageSubresourceLayoutKHR && |
| 27022 |
"Function <vkGetDeviceImageSubresourceLayoutKHR> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 27023 |
|
| 27024 |
SubresourceLayout2 layout; |
| 27025 |
getDispatcher()->vkGetDeviceImageSubresourceLayoutKHR( static_cast<VkDevice>( m_device ), |
| 27026 |
reinterpret_cast<const VkDeviceImageSubresourceInfo *>( &info ), |
| 27027 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 27028 |
|
| 27029 |
return layout; |
| 27030 |
} |
| 27031 |
|
| 27032 |
// wrapper function for command vkGetDeviceImageSubresourceLayoutKHR, see |
| 27033 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDeviceImageSubresourceLayoutKHR.html |
| 27034 |
template <typename X, typename Y, typename... Z> |
| 27035 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 27036 |
Device::getImageSubresourceLayoutKHR( const DeviceImageSubresourceInfo & info ) const VULKAN_HPP_NOEXCEPT |
| 27037 |
{ |
| 27038 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDeviceImageSubresourceLayoutKHR && |
| 27039 |
"Function <vkGetDeviceImageSubresourceLayoutKHR> requires <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 27040 |
|
| 27041 |
StructureChain<X, Y, Z...> structureChain; |
| 27042 |
SubresourceLayout2 & layout = structureChain.template get<SubresourceLayout2>(); |
| 27043 |
getDispatcher()->vkGetDeviceImageSubresourceLayoutKHR( static_cast<VkDevice>( m_device ), |
| 27044 |
reinterpret_cast<const VkDeviceImageSubresourceInfo *>( &info ), |
| 27045 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 27046 |
|
| 27047 |
return structureChain; |
| 27048 |
} |
| 27049 |
|
| 27050 |
// wrapper function for command vkGetImageSubresourceLayout2KHR, see |
| 27051 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html |
| 27052 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE SubresourceLayout2 Image::getSubresourceLayout2KHR( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT |
| 27053 |
{ |
| 27054 |
VULKAN_HPP_ASSERT( |
| 27055 |
getDispatcher()->vkGetImageSubresourceLayout2KHR && |
| 27056 |
"Function <vkGetImageSubresourceLayout2KHR> requires <VK_EXT_host_image_copy> or <VK_EXT_image_compression_control> or <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 27057 |
|
| 27058 |
SubresourceLayout2 layout; |
| 27059 |
getDispatcher()->vkGetImageSubresourceLayout2KHR( static_cast<VkDevice>( m_device ), |
| 27060 |
static_cast<VkImage>( m_image ), |
| 27061 |
reinterpret_cast<const VkImageSubresource2 *>( &subresource ), |
| 27062 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 27063 |
|
| 27064 |
return layout; |
| 27065 |
} |
| 27066 |
|
| 27067 |
// wrapper function for command vkGetImageSubresourceLayout2KHR, see |
| 27068 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetImageSubresourceLayout2KHR.html |
| 27069 |
template <typename X, typename Y, typename... Z> |
| 27070 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 27071 |
Image::getSubresourceLayout2KHR( const ImageSubresource2 & subresource ) const VULKAN_HPP_NOEXCEPT |
| 27072 |
{ |
| 27073 |
VULKAN_HPP_ASSERT( |
| 27074 |
getDispatcher()->vkGetImageSubresourceLayout2KHR && |
| 27075 |
"Function <vkGetImageSubresourceLayout2KHR> requires <VK_EXT_host_image_copy> or <VK_EXT_image_compression_control> or <VK_KHR_maintenance5> or <VK_VERSION_1_4>" ); |
| 27076 |
|
| 27077 |
StructureChain<X, Y, Z...> structureChain; |
| 27078 |
SubresourceLayout2 & layout = structureChain.template get<SubresourceLayout2>(); |
| 27079 |
getDispatcher()->vkGetImageSubresourceLayout2KHR( static_cast<VkDevice>( m_device ), |
| 27080 |
static_cast<VkImage>( m_image ), |
| 27081 |
reinterpret_cast<const VkImageSubresource2 *>( &subresource ), |
| 27082 |
reinterpret_cast<VkSubresourceLayout2 *>( &layout ) ); |
| 27083 |
|
| 27084 |
return structureChain; |
| 27085 |
} |
| 27086 |
|
| 27087 |
//=== VK_AMD_anti_lag === |
| 27088 |
|
| 27089 |
// wrapper function for command vkAntiLagUpdateAMD, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkAntiLagUpdateAMD.html |
| 27090 |
VULKAN_HPP_INLINE void Device::antiLagUpdateAMD( const AntiLagDataAMD & data ) const VULKAN_HPP_NOEXCEPT |
| 27091 |
{ |
| 27092 |
VULKAN_HPP_ASSERT( getDispatcher()->vkAntiLagUpdateAMD && "Function <vkAntiLagUpdateAMD> requires <VK_AMD_anti_lag>" ); |
| 27093 |
|
| 27094 |
getDispatcher()->vkAntiLagUpdateAMD( static_cast<VkDevice>( m_device ), reinterpret_cast<const VkAntiLagDataAMD *>( &data ) ); |
| 27095 |
} |
| 27096 |
|
| 27097 |
//=== VK_KHR_present_wait2 === |
| 27098 |
|
| 27099 |
// wrapper function for command vkWaitForPresent2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkWaitForPresent2KHR.html |
| 27100 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result SwapchainKHR::waitForPresent2( const PresentWait2InfoKHR & presentWait2Info ) const |
| 27101 |
{ |
| 27102 |
VULKAN_HPP_ASSERT( getDispatcher()->vkWaitForPresent2KHR && "Function <vkWaitForPresent2KHR> requires <VK_KHR_present_wait2>" ); |
| 27103 |
|
| 27104 |
Result result = static_cast<Result>( getDispatcher()->vkWaitForPresent2KHR( static_cast<VkDevice>( m_device ), |
| 27105 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 27106 |
reinterpret_cast<const VkPresentWait2InfoKHR *>( &presentWait2Info ) ) ); |
| 27107 |
|
| 27108 |
# if defined( VULKAN_HPP_HANDLE_ERROR_OUT_OF_DATE_AS_SUCCESS ) |
| 27109 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 27110 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::waitForPresent2", |
| 27111 |
{ Result::eSuccess, Result::eTimeout, Result::eSuboptimalKHR, Result::eErrorOutOfDateKHR } ); |
| 27112 |
# else |
| 27113 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 27114 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::waitForPresent2", { Result::eSuccess, Result::eTimeout, Result::eSuboptimalKHR } ); |
| 27115 |
# endif |
| 27116 |
|
| 27117 |
return static_cast<Result>( result ); |
| 27118 |
} |
| 27119 |
|
| 27120 |
//=== VK_EXT_shader_object === |
| 27121 |
|
| 27122 |
// wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html |
| 27123 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<ShaderEXT>>::type |
| 27124 |
Device::createShadersEXT( ArrayProxy<ShaderCreateInfoEXT> const & createInfos, Optional<const AllocationCallbacks> allocator ) const |
| 27125 |
{ |
| 27126 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateShadersEXT && "Function <vkCreateShadersEXT> requires <VK_EXT_shader_object>" ); |
| 27127 |
|
| 27128 |
std::vector<VULKAN_HPP_NAMESPACE::ShaderEXT> shaders( createInfos.size() ); |
| 27129 |
Result result = static_cast<Result>( getDispatcher()->vkCreateShadersEXT( static_cast<VkDevice>( m_device ), |
| 27130 |
createInfos.size(), |
| 27131 |
reinterpret_cast<const VkShaderCreateInfoEXT *>( createInfos.data() ), |
| 27132 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27133 |
reinterpret_cast<VkShaderEXT *>( shaders.data() ) ) ); |
| 27134 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 27135 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createShadersEXT", { Result::eSuccess, Result::eIncompatibleShaderBinaryEXT } ); |
| 27136 |
std::vector<ShaderEXT> shadersRAII; |
| 27137 |
if ( result == Result::eSuccess ) |
| 27138 |
{ |
| 27139 |
shadersRAII.reserve( shaders.size() ); |
| 27140 |
for ( auto & shader : shaders ) |
| 27141 |
{ |
| 27142 |
shadersRAII.emplace_back( *this, *reinterpret_cast<VkShaderEXT *>( &shader ), allocator, result ); |
| 27143 |
} |
| 27144 |
} |
| 27145 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( shadersRAII ) ); |
| 27146 |
} |
| 27147 |
|
| 27148 |
// wrapper function for command vkCreateShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateShadersEXT.html |
| 27149 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ShaderEXT>::type |
| 27150 |
Device::createShaderEXT( ShaderCreateInfoEXT const & createInfo, |
| 27151 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 27152 |
{ |
| 27153 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateShadersEXT && "Function <vkCreateShadersEXT> requires <VK_EXT_shader_object>" ); |
| 27154 |
|
| 27155 |
VULKAN_HPP_NAMESPACE::ShaderEXT shader; |
| 27156 |
Result result = static_cast<Result>( getDispatcher()->vkCreateShadersEXT( static_cast<VkDevice>( m_device ), |
| 27157 |
1, |
| 27158 |
reinterpret_cast<const VkShaderCreateInfoEXT *>( &createInfo ), |
| 27159 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27160 |
reinterpret_cast<VkShaderEXT *>( &shader ) ) ); |
| 27161 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 27162 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createShaderEXT", { Result::eSuccess, Result::eIncompatibleShaderBinaryEXT } ); |
| 27163 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, ShaderEXT( *this, *reinterpret_cast<VkShaderEXT *>( &shader ), allocator, result ) ); |
| 27164 |
} |
| 27165 |
|
| 27166 |
// wrapper function for command vkGetShaderBinaryDataEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetShaderBinaryDataEXT.html |
| 27167 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<uint8_t>>::type ShaderEXT::getBinaryData() const |
| 27168 |
{ |
| 27169 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetShaderBinaryDataEXT && "Function <vkGetShaderBinaryDataEXT> requires <VK_EXT_shader_object>" ); |
| 27170 |
|
| 27171 |
std::vector<uint8_t> data; |
| 27172 |
size_t dataSize; |
| 27173 |
Result result; |
| 27174 |
do |
| 27175 |
{ |
| 27176 |
result = static_cast<Result>( |
| 27177 |
getDispatcher()->vkGetShaderBinaryDataEXT( static_cast<VkDevice>( m_device ), static_cast<VkShaderEXT>( m_shaderEXT ), &dataSize, nullptr ) ); |
| 27178 |
if ( ( result == Result::eSuccess ) && dataSize ) |
| 27179 |
{ |
| 27180 |
data.resize( dataSize ); |
| 27181 |
result = static_cast<Result>( getDispatcher()->vkGetShaderBinaryDataEXT( |
| 27182 |
static_cast<VkDevice>( m_device ), static_cast<VkShaderEXT>( m_shaderEXT ), &dataSize, reinterpret_cast<void *>( data.data() ) ) ); |
| 27183 |
} |
| 27184 |
} while ( result == Result::eIncomplete ); |
| 27185 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::ShaderEXT::getBinaryData" ); |
| 27186 |
VULKAN_HPP_ASSERT( dataSize <= data.size() ); |
| 27187 |
if ( dataSize < data.size() ) |
| 27188 |
{ |
| 27189 |
data.resize( dataSize ); |
| 27190 |
} |
| 27191 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data ) ); |
| 27192 |
} |
| 27193 |
|
| 27194 |
// wrapper function for command vkCmdBindShadersEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindShadersEXT.html |
| 27195 |
VULKAN_HPP_INLINE void CommandBuffer::bindShadersEXT( ArrayProxy<const ShaderStageFlagBits> const & stages, |
| 27196 |
ArrayProxy<const VULKAN_HPP_NAMESPACE::ShaderEXT> const & shaders ) const |
| 27197 |
{ |
| 27198 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindShadersEXT && "Function <vkCmdBindShadersEXT> requires <VK_EXT_shader_object>" ); |
| 27199 |
# ifdef VULKAN_HPP_NO_EXCEPTIONS |
| 27200 |
VULKAN_HPP_ASSERT( stages.size() == shaders.size() ); |
| 27201 |
# else |
| 27202 |
if ( stages.size() != shaders.size() ) |
| 27203 |
{ |
| 27204 |
throw LogicError( VULKAN_HPP_NAMESPACE_STRING "::CommandBuffer::bindShadersEXT: stages.size() != shaders.size()" ); |
| 27205 |
} |
| 27206 |
# endif /*VULKAN_HPP_NO_EXCEPTIONS*/ |
| 27207 |
|
| 27208 |
getDispatcher()->vkCmdBindShadersEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 27209 |
stages.size(), |
| 27210 |
reinterpret_cast<const VkShaderStageFlagBits *>( stages.data() ), |
| 27211 |
reinterpret_cast<const VkShaderEXT *>( shaders.data() ) ); |
| 27212 |
} |
| 27213 |
|
| 27214 |
// wrapper function for command vkCmdSetDepthClampRangeEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDepthClampRangeEXT.html |
| 27215 |
VULKAN_HPP_INLINE void CommandBuffer::setDepthClampRangeEXT( DepthClampModeEXT depthClampMode, |
| 27216 |
Optional<const DepthClampRangeEXT> depthClampRange ) const VULKAN_HPP_NOEXCEPT |
| 27217 |
{ |
| 27218 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDepthClampRangeEXT && |
| 27219 |
"Function <vkCmdSetDepthClampRangeEXT> requires <VK_EXT_depth_clamp_control> or <VK_EXT_shader_object>" ); |
| 27220 |
|
| 27221 |
getDispatcher()->vkCmdSetDepthClampRangeEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 27222 |
static_cast<VkDepthClampModeEXT>( depthClampMode ), |
| 27223 |
reinterpret_cast<const VkDepthClampRangeEXT *>( depthClampRange.get() ) ); |
| 27224 |
} |
| 27225 |
|
| 27226 |
//=== VK_KHR_pipeline_binary === |
| 27227 |
|
| 27228 |
// wrapper function for command vkCreatePipelineBinariesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreatePipelineBinariesKHR.html |
| 27229 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<PipelineBinaryKHR>>::type |
| 27230 |
Device::createPipelineBinariesKHR( PipelineBinaryCreateInfoKHR const & createInfo, Optional<const AllocationCallbacks> allocator ) const |
| 27231 |
{ |
| 27232 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreatePipelineBinariesKHR && "Function <vkCreatePipelineBinariesKHR> requires <VK_KHR_pipeline_binary>" ); |
| 27233 |
|
| 27234 |
std::vector<VULKAN_HPP_NAMESPACE::PipelineBinaryKHR> pipelineBinaries; |
| 27235 |
PipelineBinaryHandlesInfoKHR binaries; |
| 27236 |
Result result; |
| 27237 |
if ( createInfo.pKeysAndDataInfo ) |
| 27238 |
{ |
| 27239 |
VULKAN_HPP_ASSERT( !createInfo.pipeline && !createInfo.pPipelineCreateInfo ); |
| 27240 |
pipelineBinaries.resize( createInfo.pKeysAndDataInfo->binaryCount ); |
| 27241 |
binaries.pipelineBinaryCount = createInfo.pKeysAndDataInfo->binaryCount; |
| 27242 |
binaries.pPipelineBinaries = pipelineBinaries.data(); |
| 27243 |
result = static_cast<Result>( getDispatcher()->vkCreatePipelineBinariesKHR( static_cast<VkDevice>( m_device ), |
| 27244 |
reinterpret_cast<const VkPipelineBinaryCreateInfoKHR *>( &createInfo ), |
| 27245 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27246 |
reinterpret_cast<VkPipelineBinaryHandlesInfoKHR *>( &binaries ) ) ); |
| 27247 |
} |
| 27248 |
else |
| 27249 |
{ |
| 27250 |
VULKAN_HPP_ASSERT( !createInfo.pipeline ^ !createInfo.pPipelineCreateInfo ); |
| 27251 |
result = static_cast<Result>( getDispatcher()->vkCreatePipelineBinariesKHR( static_cast<VkDevice>( m_device ), |
| 27252 |
reinterpret_cast<const VkPipelineBinaryCreateInfoKHR *>( &createInfo ), |
| 27253 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27254 |
reinterpret_cast<VkPipelineBinaryHandlesInfoKHR *>( &binaries ) ) ); |
| 27255 |
if ( result == Result::eSuccess ) |
| 27256 |
{ |
| 27257 |
pipelineBinaries.resize( binaries.pipelineBinaryCount ); |
| 27258 |
binaries.pPipelineBinaries = pipelineBinaries.data(); |
| 27259 |
result = static_cast<Result>( getDispatcher()->vkCreatePipelineBinariesKHR( static_cast<VkDevice>( m_device ), |
| 27260 |
reinterpret_cast<const VkPipelineBinaryCreateInfoKHR *>( &createInfo ), |
| 27261 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27262 |
reinterpret_cast<VkPipelineBinaryHandlesInfoKHR *>( &binaries ) ) ); |
| 27263 |
} |
| 27264 |
} |
| 27265 |
|
| 27266 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 27267 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createPipelineBinariesKHR", |
| 27268 |
{ Result::eSuccess, Result::eIncomplete, Result::ePipelineBinaryMissingKHR } ); |
| 27269 |
std::vector<PipelineBinaryKHR> pipelineBinariesRAII; |
| 27270 |
if ( result == Result::eSuccess ) |
| 27271 |
{ |
| 27272 |
pipelineBinariesRAII.reserve( pipelineBinaries.size() ); |
| 27273 |
for ( auto & pipelineBinary : pipelineBinaries ) |
| 27274 |
{ |
| 27275 |
pipelineBinariesRAII.emplace_back( *this, *reinterpret_cast<VkPipelineBinaryKHR *>( &pipelineBinary ), allocator, result ); |
| 27276 |
} |
| 27277 |
} |
| 27278 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelineBinariesRAII ) ); |
| 27279 |
} |
| 27280 |
|
| 27281 |
// wrapper function for command vkGetPipelineKeyKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineKeyKHR.html |
| 27282 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<PipelineBinaryKeyKHR>::type |
| 27283 |
Device::getPipelineKeyKHR( Optional<const PipelineCreateInfoKHR> pipelineCreateInfo ) const |
| 27284 |
{ |
| 27285 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineKeyKHR && "Function <vkGetPipelineKeyKHR> requires <VK_KHR_pipeline_binary>" ); |
| 27286 |
|
| 27287 |
PipelineBinaryKeyKHR pipelineKey; |
| 27288 |
Result result = static_cast<Result>( getDispatcher()->vkGetPipelineKeyKHR( static_cast<VkDevice>( m_device ), |
| 27289 |
reinterpret_cast<const VkPipelineCreateInfoKHR *>( pipelineCreateInfo.get() ), |
| 27290 |
reinterpret_cast<VkPipelineBinaryKeyKHR *>( &pipelineKey ) ) ); |
| 27291 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelineKeyKHR" ); |
| 27292 |
|
| 27293 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelineKey ) ); |
| 27294 |
} |
| 27295 |
|
| 27296 |
// wrapper function for command vkGetPipelineBinaryDataKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPipelineBinaryDataKHR.html |
| 27297 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<PipelineBinaryKeyKHR, std::vector<uint8_t>>>::type |
| 27298 |
Device::getPipelineBinaryDataKHR( const PipelineBinaryDataInfoKHR & info ) const |
| 27299 |
{ |
| 27300 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPipelineBinaryDataKHR && "Function <vkGetPipelineBinaryDataKHR> requires <VK_KHR_pipeline_binary>" ); |
| 27301 |
|
| 27302 |
std::pair<PipelineBinaryKeyKHR, std::vector<uint8_t>> data_; |
| 27303 |
PipelineBinaryKeyKHR & pipelineBinaryKey = data_.first; |
| 27304 |
std::vector<uint8_t> & pipelineBinaryData = data_.second; |
| 27305 |
size_t pipelineBinaryDataSize; |
| 27306 |
Result result = static_cast<Result>( getDispatcher()->vkGetPipelineBinaryDataKHR( static_cast<VkDevice>( m_device ), |
| 27307 |
reinterpret_cast<const VkPipelineBinaryDataInfoKHR *>( &info ), |
| 27308 |
reinterpret_cast<VkPipelineBinaryKeyKHR *>( &pipelineBinaryKey ), |
| 27309 |
&pipelineBinaryDataSize, |
| 27310 |
nullptr ) ); |
| 27311 |
if ( result == Result::eSuccess ) |
| 27312 |
{ |
| 27313 |
pipelineBinaryData.resize( pipelineBinaryDataSize ); |
| 27314 |
result = static_cast<Result>( getDispatcher()->vkGetPipelineBinaryDataKHR( static_cast<VkDevice>( m_device ), |
| 27315 |
reinterpret_cast<const VkPipelineBinaryDataInfoKHR *>( &info ), |
| 27316 |
reinterpret_cast<VkPipelineBinaryKeyKHR *>( &pipelineBinaryKey ), |
| 27317 |
&pipelineBinaryDataSize, |
| 27318 |
reinterpret_cast<void *>( pipelineBinaryData.data() ) ) ); |
| 27319 |
} |
| 27320 |
|
| 27321 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getPipelineBinaryDataKHR" ); |
| 27322 |
|
| 27323 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 27324 |
} |
| 27325 |
|
| 27326 |
// wrapper function for command vkReleaseCapturedPipelineDataKHR, see |
| 27327 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseCapturedPipelineDataKHR.html |
| 27328 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::releaseCapturedPipelineDataKHR( const ReleaseCapturedPipelineDataInfoKHR & info, |
| 27329 |
Optional<const AllocationCallbacks> allocator ) const |
| 27330 |
{ |
| 27331 |
VULKAN_HPP_ASSERT( getDispatcher()->vkReleaseCapturedPipelineDataKHR && "Function <vkReleaseCapturedPipelineDataKHR> requires <VK_KHR_pipeline_binary>" ); |
| 27332 |
|
| 27333 |
Result result = |
| 27334 |
static_cast<Result>( getDispatcher()->vkReleaseCapturedPipelineDataKHR( static_cast<VkDevice>( m_device ), |
| 27335 |
reinterpret_cast<const VkReleaseCapturedPipelineDataInfoKHR *>( &info ), |
| 27336 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ) ) ); |
| 27337 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::releaseCapturedPipelineDataKHR" ); |
| 27338 |
|
| 27339 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 27340 |
} |
| 27341 |
|
| 27342 |
//=== VK_QCOM_tile_properties === |
| 27343 |
|
| 27344 |
// wrapper function for command vkGetFramebufferTilePropertiesQCOM, see |
| 27345 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetFramebufferTilePropertiesQCOM.html |
| 27346 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<TilePropertiesQCOM>>::type Framebuffer::getTilePropertiesQCOM() const |
| 27347 |
{ |
| 27348 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetFramebufferTilePropertiesQCOM && |
| 27349 |
"Function <vkGetFramebufferTilePropertiesQCOM> requires <VK_QCOM_tile_properties>" ); |
| 27350 |
|
| 27351 |
std::vector<TilePropertiesQCOM> properties; |
| 27352 |
uint32_t propertiesCount; |
| 27353 |
Result result; |
| 27354 |
do |
| 27355 |
{ |
| 27356 |
result = static_cast<Result>( getDispatcher()->vkGetFramebufferTilePropertiesQCOM( |
| 27357 |
static_cast<VkDevice>( m_device ), static_cast<VkFramebuffer>( m_framebuffer ), &propertiesCount, nullptr ) ); |
| 27358 |
if ( ( result == Result::eSuccess ) && propertiesCount ) |
| 27359 |
{ |
| 27360 |
properties.resize( propertiesCount ); |
| 27361 |
result = static_cast<Result>( getDispatcher()->vkGetFramebufferTilePropertiesQCOM( static_cast<VkDevice>( m_device ), |
| 27362 |
static_cast<VkFramebuffer>( m_framebuffer ), |
| 27363 |
&propertiesCount, |
| 27364 |
reinterpret_cast<VkTilePropertiesQCOM *>( properties.data() ) ) ); |
| 27365 |
} |
| 27366 |
} while ( result == Result::eIncomplete ); |
| 27367 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Framebuffer::getTilePropertiesQCOM" ); |
| 27368 |
VULKAN_HPP_ASSERT( propertiesCount <= properties.size() ); |
| 27369 |
if ( propertiesCount < properties.size() ) |
| 27370 |
{ |
| 27371 |
properties.resize( propertiesCount ); |
| 27372 |
} |
| 27373 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 27374 |
} |
| 27375 |
|
| 27376 |
// wrapper function for command vkGetDynamicRenderingTilePropertiesQCOM, see |
| 27377 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDynamicRenderingTilePropertiesQCOM.html |
| 27378 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<TilePropertiesQCOM>::type |
| 27379 |
Device::getDynamicRenderingTilePropertiesQCOM( const RenderingInfo & renderingInfo ) const |
| 27380 |
{ |
| 27381 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDynamicRenderingTilePropertiesQCOM && |
| 27382 |
"Function <vkGetDynamicRenderingTilePropertiesQCOM> requires <VK_QCOM_tile_properties>" ); |
| 27383 |
|
| 27384 |
TilePropertiesQCOM properties; |
| 27385 |
Result result = |
| 27386 |
static_cast<Result>( getDispatcher()->vkGetDynamicRenderingTilePropertiesQCOM( static_cast<VkDevice>( m_device ), |
| 27387 |
reinterpret_cast<const VkRenderingInfo *>( &renderingInfo ), |
| 27388 |
reinterpret_cast<VkTilePropertiesQCOM *>( &properties ) ) ); |
| 27389 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getDynamicRenderingTilePropertiesQCOM" ); |
| 27390 |
|
| 27391 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 27392 |
} |
| 27393 |
|
| 27394 |
//=== VK_KHR_swapchain_maintenance1 === |
| 27395 |
|
| 27396 |
// wrapper function for command vkReleaseSwapchainImagesKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkReleaseSwapchainImagesKHR.html |
| 27397 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type Device::releaseSwapchainImagesKHR( const ReleaseSwapchainImagesInfoKHR & releaseInfo ) const |
| 27398 |
{ |
| 27399 |
VULKAN_HPP_ASSERT( getDispatcher()->vkReleaseSwapchainImagesKHR && |
| 27400 |
"Function <vkReleaseSwapchainImagesKHR> requires <VK_EXT_swapchain_maintenance1> or <VK_KHR_swapchain_maintenance1>" ); |
| 27401 |
|
| 27402 |
Result result = static_cast<Result>( getDispatcher()->vkReleaseSwapchainImagesKHR( |
| 27403 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkReleaseSwapchainImagesInfoKHR *>( &releaseInfo ) ) ); |
| 27404 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::releaseSwapchainImagesKHR" ); |
| 27405 |
|
| 27406 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 27407 |
} |
| 27408 |
|
| 27409 |
//=== VK_NV_cooperative_vector === |
| 27410 |
|
| 27411 |
// wrapper function for command vkGetPhysicalDeviceCooperativeVectorPropertiesNV, see |
| 27412 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeVectorPropertiesNV.html |
| 27413 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<CooperativeVectorPropertiesNV>>::type |
| 27414 |
PhysicalDevice::getCooperativeVectorPropertiesNV() const |
| 27415 |
{ |
| 27416 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceCooperativeVectorPropertiesNV && |
| 27417 |
"Function <vkGetPhysicalDeviceCooperativeVectorPropertiesNV> requires <VK_NV_cooperative_vector>" ); |
| 27418 |
|
| 27419 |
std::vector<CooperativeVectorPropertiesNV> properties; |
| 27420 |
uint32_t propertyCount; |
| 27421 |
Result result; |
| 27422 |
do |
| 27423 |
{ |
| 27424 |
result = static_cast<Result>( |
| 27425 |
getDispatcher()->vkGetPhysicalDeviceCooperativeVectorPropertiesNV( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 27426 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 27427 |
{ |
| 27428 |
properties.resize( propertyCount ); |
| 27429 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCooperativeVectorPropertiesNV( |
| 27430 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkCooperativeVectorPropertiesNV *>( properties.data() ) ) ); |
| 27431 |
} |
| 27432 |
} while ( result == Result::eIncomplete ); |
| 27433 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCooperativeVectorPropertiesNV" ); |
| 27434 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 27435 |
if ( propertyCount < properties.size() ) |
| 27436 |
{ |
| 27437 |
properties.resize( propertyCount ); |
| 27438 |
} |
| 27439 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 27440 |
} |
| 27441 |
|
| 27442 |
// wrapper function for command vkConvertCooperativeVectorMatrixNV, see |
| 27443 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkConvertCooperativeVectorMatrixNV.html |
| 27444 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::convertCooperativeVectorMatrixNV( const ConvertCooperativeVectorMatrixInfoNV & info ) const |
| 27445 |
{ |
| 27446 |
VULKAN_HPP_ASSERT( getDispatcher()->vkConvertCooperativeVectorMatrixNV && |
| 27447 |
"Function <vkConvertCooperativeVectorMatrixNV> requires <VK_NV_cooperative_vector>" ); |
| 27448 |
|
| 27449 |
Result result = static_cast<Result>( getDispatcher()->vkConvertCooperativeVectorMatrixNV( |
| 27450 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkConvertCooperativeVectorMatrixInfoNV *>( &info ) ) ); |
| 27451 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 27452 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::convertCooperativeVectorMatrixNV", { Result::eSuccess, Result::eIncomplete } ); |
| 27453 |
|
| 27454 |
return static_cast<Result>( result ); |
| 27455 |
} |
| 27456 |
|
| 27457 |
// wrapper function for command vkCmdConvertCooperativeVectorMatrixNV, see |
| 27458 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdConvertCooperativeVectorMatrixNV.html |
| 27459 |
VULKAN_HPP_INLINE void |
| 27460 |
CommandBuffer::convertCooperativeVectorMatrixNV( ArrayProxy<const ConvertCooperativeVectorMatrixInfoNV> const & infos ) const VULKAN_HPP_NOEXCEPT |
| 27461 |
{ |
| 27462 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdConvertCooperativeVectorMatrixNV && |
| 27463 |
"Function <vkCmdConvertCooperativeVectorMatrixNV> requires <VK_NV_cooperative_vector>" ); |
| 27464 |
|
| 27465 |
getDispatcher()->vkCmdConvertCooperativeVectorMatrixNV( |
| 27466 |
static_cast<VkCommandBuffer>( m_commandBuffer ), infos.size(), reinterpret_cast<const VkConvertCooperativeVectorMatrixInfoNV *>( infos.data() ) ); |
| 27467 |
} |
| 27468 |
|
| 27469 |
//=== VK_NV_low_latency2 === |
| 27470 |
|
| 27471 |
// wrapper function for command vkSetLatencySleepModeNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencySleepModeNV.html |
| 27472 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type SwapchainKHR::setLatencySleepModeNV( const LatencySleepModeInfoNV & sleepModeInfo ) const |
| 27473 |
{ |
| 27474 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetLatencySleepModeNV && "Function <vkSetLatencySleepModeNV> requires <VK_NV_low_latency2>" ); |
| 27475 |
|
| 27476 |
Result result = static_cast<Result>( getDispatcher()->vkSetLatencySleepModeNV( static_cast<VkDevice>( m_device ), |
| 27477 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 27478 |
reinterpret_cast<const VkLatencySleepModeInfoNV *>( &sleepModeInfo ) ) ); |
| 27479 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::setLatencySleepModeNV" ); |
| 27480 |
|
| 27481 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 27482 |
} |
| 27483 |
|
| 27484 |
// wrapper function for command vkLatencySleepNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkLatencySleepNV.html |
| 27485 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type SwapchainKHR::latencySleepNV( const LatencySleepInfoNV & sleepInfo ) const |
| 27486 |
{ |
| 27487 |
VULKAN_HPP_ASSERT( getDispatcher()->vkLatencySleepNV && "Function <vkLatencySleepNV> requires <VK_NV_low_latency2>" ); |
| 27488 |
|
| 27489 |
Result result = static_cast<Result>( getDispatcher()->vkLatencySleepNV( |
| 27490 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<const VkLatencySleepInfoNV *>( &sleepInfo ) ) ); |
| 27491 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::SwapchainKHR::latencySleepNV" ); |
| 27492 |
|
| 27493 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 27494 |
} |
| 27495 |
|
| 27496 |
// wrapper function for command vkSetLatencyMarkerNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkSetLatencyMarkerNV.html |
| 27497 |
VULKAN_HPP_INLINE void SwapchainKHR::setLatencyMarkerNV( const SetLatencyMarkerInfoNV & latencyMarkerInfo ) const VULKAN_HPP_NOEXCEPT |
| 27498 |
{ |
| 27499 |
VULKAN_HPP_ASSERT( getDispatcher()->vkSetLatencyMarkerNV && "Function <vkSetLatencyMarkerNV> requires <VK_NV_low_latency2>" ); |
| 27500 |
|
| 27501 |
getDispatcher()->vkSetLatencyMarkerNV( static_cast<VkDevice>( m_device ), |
| 27502 |
static_cast<VkSwapchainKHR>( m_swapchainKHR ), |
| 27503 |
reinterpret_cast<const VkSetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) ); |
| 27504 |
} |
| 27505 |
|
| 27506 |
// wrapper function for command vkGetLatencyTimingsNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetLatencyTimingsNV.html |
| 27507 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<VULKAN_HPP_NAMESPACE::LatencyTimingsFrameReportNV> SwapchainKHR::getLatencyTimingsNV() const |
| 27508 |
{ |
| 27509 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetLatencyTimingsNV && "Function <vkGetLatencyTimingsNV> requires <VK_NV_low_latency2>" ); |
| 27510 |
|
| 27511 |
std::vector<VULKAN_HPP_NAMESPACE::LatencyTimingsFrameReportNV> timings; |
| 27512 |
GetLatencyMarkerInfoNV latencyMarkerInfo; |
| 27513 |
getDispatcher()->vkGetLatencyTimingsNV( |
| 27514 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) ); |
| 27515 |
timings.resize( latencyMarkerInfo.timingCount ); |
| 27516 |
latencyMarkerInfo.pTimings = timings.data(); |
| 27517 |
getDispatcher()->vkGetLatencyTimingsNV( |
| 27518 |
static_cast<VkDevice>( m_device ), static_cast<VkSwapchainKHR>( m_swapchainKHR ), reinterpret_cast<VkGetLatencyMarkerInfoNV *>( &latencyMarkerInfo ) ); |
| 27519 |
|
| 27520 |
return timings; |
| 27521 |
} |
| 27522 |
|
| 27523 |
// wrapper function for command vkQueueNotifyOutOfBandNV, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkQueueNotifyOutOfBandNV.html |
| 27524 |
VULKAN_HPP_INLINE void Queue::notifyOutOfBandNV( const OutOfBandQueueTypeInfoNV & queueTypeInfo ) const VULKAN_HPP_NOEXCEPT |
| 27525 |
{ |
| 27526 |
VULKAN_HPP_ASSERT( getDispatcher()->vkQueueNotifyOutOfBandNV && "Function <vkQueueNotifyOutOfBandNV> requires <VK_NV_low_latency2>" ); |
| 27527 |
|
| 27528 |
getDispatcher()->vkQueueNotifyOutOfBandNV( static_cast<VkQueue>( m_queue ), reinterpret_cast<const VkOutOfBandQueueTypeInfoNV *>( &queueTypeInfo ) ); |
| 27529 |
} |
| 27530 |
|
| 27531 |
//=== VK_KHR_cooperative_matrix === |
| 27532 |
|
| 27533 |
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR, see |
| 27534 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR.html |
| 27535 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<CooperativeMatrixPropertiesKHR>>::type |
| 27536 |
PhysicalDevice::getCooperativeMatrixPropertiesKHR() const |
| 27537 |
{ |
| 27538 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR && |
| 27539 |
"Function <vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR> requires <VK_KHR_cooperative_matrix>" ); |
| 27540 |
|
| 27541 |
std::vector<CooperativeMatrixPropertiesKHR> properties; |
| 27542 |
uint32_t propertyCount; |
| 27543 |
Result result; |
| 27544 |
do |
| 27545 |
{ |
| 27546 |
result = static_cast<Result>( |
| 27547 |
getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 27548 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 27549 |
{ |
| 27550 |
properties.resize( propertyCount ); |
| 27551 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixPropertiesKHR( |
| 27552 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, reinterpret_cast<VkCooperativeMatrixPropertiesKHR *>( properties.data() ) ) ); |
| 27553 |
} |
| 27554 |
} while ( result == Result::eIncomplete ); |
| 27555 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixPropertiesKHR" ); |
| 27556 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 27557 |
if ( propertyCount < properties.size() ) |
| 27558 |
{ |
| 27559 |
properties.resize( propertyCount ); |
| 27560 |
} |
| 27561 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 27562 |
} |
| 27563 |
|
| 27564 |
//=== VK_ARM_data_graph === |
| 27565 |
|
| 27566 |
// wrapper function for command vkCreateDataGraphPipelinesARM, see |
| 27567 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html |
| 27568 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<Pipeline>>::type |
| 27569 |
Device::createDataGraphPipelinesARM( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 27570 |
Optional<const PipelineCache> const & pipelineCache, |
| 27571 |
ArrayProxy<DataGraphPipelineCreateInfoARM> const & createInfos, |
| 27572 |
Optional<const AllocationCallbacks> allocator ) const |
| 27573 |
{ |
| 27574 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDataGraphPipelinesARM && "Function <vkCreateDataGraphPipelinesARM> requires <VK_ARM_data_graph>" ); |
| 27575 |
|
| 27576 |
std::vector<VULKAN_HPP_NAMESPACE::Pipeline> pipelines( createInfos.size() ); |
| 27577 |
Result result = |
| 27578 |
static_cast<Result>( getDispatcher()->vkCreateDataGraphPipelinesARM( static_cast<VkDevice>( m_device ), |
| 27579 |
deferredOperation ? static_cast<VkDeferredOperationKHR>( **deferredOperation ) : 0, |
| 27580 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 27581 |
createInfos.size(), |
| 27582 |
reinterpret_cast<const VkDataGraphPipelineCreateInfoARM *>( createInfos.data() ), |
| 27583 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27584 |
reinterpret_cast<VkPipeline *>( pipelines.data() ) ) ); |
| 27585 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 27586 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDataGraphPipelinesARM", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 27587 |
std::vector<Pipeline> pipelinesRAII; |
| 27588 |
if ( result == Result::eSuccess ) |
| 27589 |
{ |
| 27590 |
pipelinesRAII.reserve( pipelines.size() ); |
| 27591 |
for ( auto & pipeline : pipelines ) |
| 27592 |
{ |
| 27593 |
pipelinesRAII.emplace_back( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ); |
| 27594 |
} |
| 27595 |
} |
| 27596 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( pipelinesRAII ) ); |
| 27597 |
} |
| 27598 |
|
| 27599 |
// wrapper function for command vkCreateDataGraphPipelinesARM, see |
| 27600 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelinesARM.html |
| 27601 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<Pipeline>::type |
| 27602 |
Device::createDataGraphPipelineARM( Optional<const DeferredOperationKHR> const & deferredOperation, |
| 27603 |
Optional<const PipelineCache> const & pipelineCache, |
| 27604 |
DataGraphPipelineCreateInfoARM const & createInfo, |
| 27605 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 27606 |
{ |
| 27607 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDataGraphPipelinesARM && "Function <vkCreateDataGraphPipelinesARM> requires <VK_ARM_data_graph>" ); |
| 27608 |
|
| 27609 |
VULKAN_HPP_NAMESPACE::Pipeline pipeline; |
| 27610 |
Result result = |
| 27611 |
static_cast<Result>( getDispatcher()->vkCreateDataGraphPipelinesARM( static_cast<VkDevice>( m_device ), |
| 27612 |
deferredOperation ? static_cast<VkDeferredOperationKHR>( **deferredOperation ) : 0, |
| 27613 |
pipelineCache ? static_cast<VkPipelineCache>( **pipelineCache ) : 0, |
| 27614 |
1, |
| 27615 |
reinterpret_cast<const VkDataGraphPipelineCreateInfoARM *>( &createInfo ), |
| 27616 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27617 |
reinterpret_cast<VkPipeline *>( &pipeline ) ) ); |
| 27618 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( |
| 27619 |
result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDataGraphPipelineARM", { Result::eSuccess, Result::ePipelineCompileRequiredEXT } ); |
| 27620 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, Pipeline( *this, *reinterpret_cast<VkPipeline *>( &pipeline ), allocator, result ) ); |
| 27621 |
} |
| 27622 |
|
| 27623 |
// wrapper function for command vkCreateDataGraphPipelineSessionARM, see |
| 27624 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateDataGraphPipelineSessionARM.html |
| 27625 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<DataGraphPipelineSessionARM>::type |
| 27626 |
Device::createDataGraphPipelineSessionARM( DataGraphPipelineSessionCreateInfoARM const & createInfo, |
| 27627 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 27628 |
{ |
| 27629 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateDataGraphPipelineSessionARM && |
| 27630 |
"Function <vkCreateDataGraphPipelineSessionARM> requires <VK_ARM_data_graph>" ); |
| 27631 |
|
| 27632 |
VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM session; |
| 27633 |
Result result = static_cast<Result>( |
| 27634 |
getDispatcher()->vkCreateDataGraphPipelineSessionARM( static_cast<VkDevice>( m_device ), |
| 27635 |
reinterpret_cast<const VkDataGraphPipelineSessionCreateInfoARM *>( &createInfo ), |
| 27636 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 27637 |
reinterpret_cast<VkDataGraphPipelineSessionARM *>( &session ) ) ); |
| 27638 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createDataGraphPipelineSessionARM" ); |
| 27639 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 27640 |
result, DataGraphPipelineSessionARM( *this, *reinterpret_cast<VkDataGraphPipelineSessionARM *>( &session ), allocator ) ); |
| 27641 |
} |
| 27642 |
|
| 27643 |
// wrapper function for command vkGetDataGraphPipelineSessionBindPointRequirementsARM, see |
| 27644 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionBindPointRequirementsARM.html |
| 27645 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataGraphPipelineSessionBindPointRequirementARM>>::type |
| 27646 |
Device::getDataGraphPipelineSessionBindPointRequirementsARM( const DataGraphPipelineSessionBindPointRequirementsInfoARM & info ) const |
| 27647 |
{ |
| 27648 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDataGraphPipelineSessionBindPointRequirementsARM && |
| 27649 |
"Function <vkGetDataGraphPipelineSessionBindPointRequirementsARM> requires <VK_ARM_data_graph>" ); |
| 27650 |
|
| 27651 |
std::vector<DataGraphPipelineSessionBindPointRequirementARM> bindPointRequirements; |
| 27652 |
uint32_t bindPointRequirementCount; |
| 27653 |
Result result; |
| 27654 |
do |
| 27655 |
{ |
| 27656 |
result = static_cast<Result>( getDispatcher()->vkGetDataGraphPipelineSessionBindPointRequirementsARM( |
| 27657 |
static_cast<VkDevice>( m_device ), |
| 27658 |
reinterpret_cast<const VkDataGraphPipelineSessionBindPointRequirementsInfoARM *>( &info ), |
| 27659 |
&bindPointRequirementCount, |
| 27660 |
nullptr ) ); |
| 27661 |
if ( ( result == Result::eSuccess ) && bindPointRequirementCount ) |
| 27662 |
{ |
| 27663 |
bindPointRequirements.resize( bindPointRequirementCount ); |
| 27664 |
result = static_cast<Result>( getDispatcher()->vkGetDataGraphPipelineSessionBindPointRequirementsARM( |
| 27665 |
static_cast<VkDevice>( m_device ), |
| 27666 |
reinterpret_cast<const VkDataGraphPipelineSessionBindPointRequirementsInfoARM *>( &info ), |
| 27667 |
&bindPointRequirementCount, |
| 27668 |
reinterpret_cast<VkDataGraphPipelineSessionBindPointRequirementARM *>( bindPointRequirements.data() ) ) ); |
| 27669 |
} |
| 27670 |
} while ( result == Result::eIncomplete ); |
| 27671 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getDataGraphPipelineSessionBindPointRequirementsARM" ); |
| 27672 |
VULKAN_HPP_ASSERT( bindPointRequirementCount <= bindPointRequirements.size() ); |
| 27673 |
if ( bindPointRequirementCount < bindPointRequirements.size() ) |
| 27674 |
{ |
| 27675 |
bindPointRequirements.resize( bindPointRequirementCount ); |
| 27676 |
} |
| 27677 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( bindPointRequirements ) ); |
| 27678 |
} |
| 27679 |
|
| 27680 |
// wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see |
| 27681 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html |
| 27682 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 27683 |
Device::getDataGraphPipelineSessionMemoryRequirementsARM( const DataGraphPipelineSessionMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT |
| 27684 |
{ |
| 27685 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDataGraphPipelineSessionMemoryRequirementsARM && |
| 27686 |
"Function <vkGetDataGraphPipelineSessionMemoryRequirementsARM> requires <VK_ARM_data_graph>" ); |
| 27687 |
|
| 27688 |
MemoryRequirements2 memoryRequirements; |
| 27689 |
getDispatcher()->vkGetDataGraphPipelineSessionMemoryRequirementsARM( |
| 27690 |
static_cast<VkDevice>( m_device ), |
| 27691 |
reinterpret_cast<const VkDataGraphPipelineSessionMemoryRequirementsInfoARM *>( &info ), |
| 27692 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 27693 |
|
| 27694 |
return memoryRequirements; |
| 27695 |
} |
| 27696 |
|
| 27697 |
// wrapper function for command vkGetDataGraphPipelineSessionMemoryRequirementsARM, see |
| 27698 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineSessionMemoryRequirementsARM.html |
| 27699 |
template <typename X, typename Y, typename... Z> |
| 27700 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 27701 |
Device::getDataGraphPipelineSessionMemoryRequirementsARM( const DataGraphPipelineSessionMemoryRequirementsInfoARM & info ) const VULKAN_HPP_NOEXCEPT |
| 27702 |
{ |
| 27703 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDataGraphPipelineSessionMemoryRequirementsARM && |
| 27704 |
"Function <vkGetDataGraphPipelineSessionMemoryRequirementsARM> requires <VK_ARM_data_graph>" ); |
| 27705 |
|
| 27706 |
StructureChain<X, Y, Z...> structureChain; |
| 27707 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 27708 |
getDispatcher()->vkGetDataGraphPipelineSessionMemoryRequirementsARM( |
| 27709 |
static_cast<VkDevice>( m_device ), |
| 27710 |
reinterpret_cast<const VkDataGraphPipelineSessionMemoryRequirementsInfoARM *>( &info ), |
| 27711 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 27712 |
|
| 27713 |
return structureChain; |
| 27714 |
} |
| 27715 |
|
| 27716 |
// wrapper function for command vkBindDataGraphPipelineSessionMemoryARM, see |
| 27717 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkBindDataGraphPipelineSessionMemoryARM.html |
| 27718 |
VULKAN_HPP_INLINE typename ResultValueType<void>::type |
| 27719 |
Device::bindDataGraphPipelineSessionMemoryARM( ArrayProxy<const BindDataGraphPipelineSessionMemoryInfoARM> const & bindInfos ) const |
| 27720 |
{ |
| 27721 |
VULKAN_HPP_ASSERT( getDispatcher()->vkBindDataGraphPipelineSessionMemoryARM && |
| 27722 |
"Function <vkBindDataGraphPipelineSessionMemoryARM> requires <VK_ARM_data_graph>" ); |
| 27723 |
|
| 27724 |
Result result = static_cast<Result>( getDispatcher()->vkBindDataGraphPipelineSessionMemoryARM( |
| 27725 |
static_cast<VkDevice>( m_device ), bindInfos.size(), reinterpret_cast<const VkBindDataGraphPipelineSessionMemoryInfoARM *>( bindInfos.data() ) ) ); |
| 27726 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::bindDataGraphPipelineSessionMemoryARM" ); |
| 27727 |
|
| 27728 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result ); |
| 27729 |
} |
| 27730 |
|
| 27731 |
// wrapper function for command vkCmdDispatchDataGraphARM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDispatchDataGraphARM.html |
| 27732 |
VULKAN_HPP_INLINE void CommandBuffer::dispatchDataGraphARM( VULKAN_HPP_NAMESPACE::DataGraphPipelineSessionARM session, |
| 27733 |
Optional<const DataGraphPipelineDispatchInfoARM> info ) const VULKAN_HPP_NOEXCEPT |
| 27734 |
{ |
| 27735 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDispatchDataGraphARM && "Function <vkCmdDispatchDataGraphARM> requires <VK_ARM_data_graph>" ); |
| 27736 |
|
| 27737 |
getDispatcher()->vkCmdDispatchDataGraphARM( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 27738 |
static_cast<VkDataGraphPipelineSessionARM>( session ), |
| 27739 |
reinterpret_cast<const VkDataGraphPipelineDispatchInfoARM *>( info.get() ) ); |
| 27740 |
} |
| 27741 |
|
| 27742 |
// wrapper function for command vkGetDataGraphPipelineAvailablePropertiesARM, see |
| 27743 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelineAvailablePropertiesARM.html |
| 27744 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<DataGraphPipelinePropertyARM>>::type |
| 27745 |
Device::getDataGraphPipelineAvailablePropertiesARM( const DataGraphPipelineInfoARM & pipelineInfo ) const |
| 27746 |
{ |
| 27747 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDataGraphPipelineAvailablePropertiesARM && |
| 27748 |
"Function <vkGetDataGraphPipelineAvailablePropertiesARM> requires <VK_ARM_data_graph>" ); |
| 27749 |
|
| 27750 |
std::vector<DataGraphPipelinePropertyARM> properties; |
| 27751 |
uint32_t propertiesCount; |
| 27752 |
Result result; |
| 27753 |
do |
| 27754 |
{ |
| 27755 |
result = static_cast<Result>( getDispatcher()->vkGetDataGraphPipelineAvailablePropertiesARM( |
| 27756 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkDataGraphPipelineInfoARM *>( &pipelineInfo ), &propertiesCount, nullptr ) ); |
| 27757 |
if ( ( result == Result::eSuccess ) && propertiesCount ) |
| 27758 |
{ |
| 27759 |
properties.resize( propertiesCount ); |
| 27760 |
result = static_cast<Result>( |
| 27761 |
getDispatcher()->vkGetDataGraphPipelineAvailablePropertiesARM( static_cast<VkDevice>( m_device ), |
| 27762 |
reinterpret_cast<const VkDataGraphPipelineInfoARM *>( &pipelineInfo ), |
| 27763 |
&propertiesCount, |
| 27764 |
reinterpret_cast<VkDataGraphPipelinePropertyARM *>( properties.data() ) ) ); |
| 27765 |
} |
| 27766 |
} while ( result == Result::eIncomplete ); |
| 27767 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getDataGraphPipelineAvailablePropertiesARM" ); |
| 27768 |
VULKAN_HPP_ASSERT( propertiesCount <= properties.size() ); |
| 27769 |
if ( propertiesCount < properties.size() ) |
| 27770 |
{ |
| 27771 |
properties.resize( propertiesCount ); |
| 27772 |
} |
| 27773 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 27774 |
} |
| 27775 |
|
| 27776 |
// wrapper function for command vkGetDataGraphPipelinePropertiesARM, see |
| 27777 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetDataGraphPipelinePropertiesARM.html |
| 27778 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result |
| 27779 |
Device::getDataGraphPipelinePropertiesARM( const DataGraphPipelineInfoARM * pPipelineInfo, |
| 27780 |
uint32_t propertiesCount, |
| 27781 |
DataGraphPipelinePropertyQueryResultARM * pProperties ) const VULKAN_HPP_NOEXCEPT |
| 27782 |
{ |
| 27783 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetDataGraphPipelinePropertiesARM && |
| 27784 |
"Function <vkGetDataGraphPipelinePropertiesARM> requires <VK_ARM_data_graph>" ); |
| 27785 |
return static_cast<Result>( |
| 27786 |
getDispatcher()->vkGetDataGraphPipelinePropertiesARM( static_cast<VkDevice>( m_device ), |
| 27787 |
reinterpret_cast<const VkDataGraphPipelineInfoARM *>( pPipelineInfo ), |
| 27788 |
propertiesCount, |
| 27789 |
reinterpret_cast<VkDataGraphPipelinePropertyQueryResultARM *>( pProperties ) ) ); |
| 27790 |
} |
| 27791 |
|
| 27792 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM, see |
| 27793 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM.html |
| 27794 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<QueueFamilyDataGraphPropertiesARM>>::type |
| 27795 |
PhysicalDevice::getQueueFamilyDataGraphPropertiesARM( uint32_t queueFamilyIndex ) const |
| 27796 |
{ |
| 27797 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM && |
| 27798 |
"Function <vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM> requires <VK_ARM_data_graph>" ); |
| 27799 |
|
| 27800 |
std::vector<QueueFamilyDataGraphPropertiesARM> queueFamilyDataGraphProperties; |
| 27801 |
uint32_t queueFamilyDataGraphPropertyCount; |
| 27802 |
Result result; |
| 27803 |
do |
| 27804 |
{ |
| 27805 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( |
| 27806 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &queueFamilyDataGraphPropertyCount, nullptr ) ); |
| 27807 |
if ( ( result == Result::eSuccess ) && queueFamilyDataGraphPropertyCount ) |
| 27808 |
{ |
| 27809 |
queueFamilyDataGraphProperties.resize( queueFamilyDataGraphPropertyCount ); |
| 27810 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceQueueFamilyDataGraphPropertiesARM( |
| 27811 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 27812 |
queueFamilyIndex, |
| 27813 |
&queueFamilyDataGraphPropertyCount, |
| 27814 |
reinterpret_cast<VkQueueFamilyDataGraphPropertiesARM *>( queueFamilyDataGraphProperties.data() ) ) ); |
| 27815 |
} |
| 27816 |
} while ( result == Result::eIncomplete ); |
| 27817 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getQueueFamilyDataGraphPropertiesARM" ); |
| 27818 |
VULKAN_HPP_ASSERT( queueFamilyDataGraphPropertyCount <= queueFamilyDataGraphProperties.size() ); |
| 27819 |
if ( queueFamilyDataGraphPropertyCount < queueFamilyDataGraphProperties.size() ) |
| 27820 |
{ |
| 27821 |
queueFamilyDataGraphProperties.resize( queueFamilyDataGraphPropertyCount ); |
| 27822 |
} |
| 27823 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( queueFamilyDataGraphProperties ) ); |
| 27824 |
} |
| 27825 |
|
| 27826 |
// wrapper function for command vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM, see |
| 27827 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM.html |
| 27828 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE QueueFamilyDataGraphProcessingEnginePropertiesARM |
| 27829 |
PhysicalDevice::getQueueFamilyDataGraphProcessingEnginePropertiesARM( |
| 27830 |
const PhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM & queueFamilyDataGraphProcessingEngineInfo ) const VULKAN_HPP_NOEXCEPT |
| 27831 |
{ |
| 27832 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM && |
| 27833 |
"Function <vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM> requires <VK_ARM_data_graph>" ); |
| 27834 |
|
| 27835 |
QueueFamilyDataGraphProcessingEnginePropertiesARM queueFamilyDataGraphProcessingEngineProperties; |
| 27836 |
getDispatcher()->vkGetPhysicalDeviceQueueFamilyDataGraphProcessingEnginePropertiesARM( |
| 27837 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 27838 |
reinterpret_cast<const VkPhysicalDeviceQueueFamilyDataGraphProcessingEngineInfoARM *>( &queueFamilyDataGraphProcessingEngineInfo ), |
| 27839 |
reinterpret_cast<VkQueueFamilyDataGraphProcessingEnginePropertiesARM *>( &queueFamilyDataGraphProcessingEngineProperties ) ); |
| 27840 |
|
| 27841 |
return queueFamilyDataGraphProcessingEngineProperties; |
| 27842 |
} |
| 27843 |
|
| 27844 |
//=== VK_EXT_attachment_feedback_loop_dynamic_state === |
| 27845 |
|
| 27846 |
// wrapper function for command vkCmdSetAttachmentFeedbackLoopEnableEXT, see |
| 27847 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetAttachmentFeedbackLoopEnableEXT.html |
| 27848 |
VULKAN_HPP_INLINE void CommandBuffer::setAttachmentFeedbackLoopEnableEXT( ImageAspectFlags aspectMask ) const VULKAN_HPP_NOEXCEPT |
| 27849 |
{ |
| 27850 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetAttachmentFeedbackLoopEnableEXT && |
| 27851 |
"Function <vkCmdSetAttachmentFeedbackLoopEnableEXT> requires <VK_EXT_attachment_feedback_loop_dynamic_state>" ); |
| 27852 |
|
| 27853 |
getDispatcher()->vkCmdSetAttachmentFeedbackLoopEnableEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 27854 |
static_cast<VkImageAspectFlags>( aspectMask ) ); |
| 27855 |
} |
| 27856 |
|
| 27857 |
# if defined( VK_USE_PLATFORM_SCREEN_QNX ) |
| 27858 |
//=== VK_QNX_external_memory_screen_buffer === |
| 27859 |
// wrapper function for command vkGetScreenBufferPropertiesQNX, see |
| 27860 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html |
| 27861 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Result Device::getScreenBufferPropertiesQNX( const struct _screen_buffer * buffer, |
| 27862 |
ScreenBufferPropertiesQNX * pProperties ) const VULKAN_HPP_NOEXCEPT |
| 27863 |
{ |
| 27864 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetScreenBufferPropertiesQNX && |
| 27865 |
"Function <vkGetScreenBufferPropertiesQNX> requires <VK_QNX_external_memory_screen_buffer>" ); |
| 27866 |
return static_cast<Result>( getDispatcher()->vkGetScreenBufferPropertiesQNX( |
| 27867 |
static_cast<VkDevice>( m_device ), buffer, reinterpret_cast<VkScreenBufferPropertiesQNX *>( pProperties ) ) ); |
| 27868 |
} |
| 27869 |
|
| 27870 |
// wrapper function for command vkGetScreenBufferPropertiesQNX, see |
| 27871 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html |
| 27872 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ScreenBufferPropertiesQNX>::type |
| 27873 |
Device::getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const |
| 27874 |
{ |
| 27875 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetScreenBufferPropertiesQNX && |
| 27876 |
"Function <vkGetScreenBufferPropertiesQNX> requires <VK_QNX_external_memory_screen_buffer>" ); |
| 27877 |
|
| 27878 |
ScreenBufferPropertiesQNX properties; |
| 27879 |
Result result = static_cast<Result>( getDispatcher()->vkGetScreenBufferPropertiesQNX( |
| 27880 |
static_cast<VkDevice>( m_device ), &buffer, reinterpret_cast<VkScreenBufferPropertiesQNX *>( &properties ) ) ); |
| 27881 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getScreenBufferPropertiesQNX" ); |
| 27882 |
|
| 27883 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 27884 |
} |
| 27885 |
|
| 27886 |
// wrapper function for command vkGetScreenBufferPropertiesQNX, see |
| 27887 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetScreenBufferPropertiesQNX.html |
| 27888 |
template <typename X, typename Y, typename... Z> |
| 27889 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<StructureChain<X, Y, Z...>>::type |
| 27890 |
Device::getScreenBufferPropertiesQNX( const struct _screen_buffer & buffer ) const |
| 27891 |
{ |
| 27892 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetScreenBufferPropertiesQNX && |
| 27893 |
"Function <vkGetScreenBufferPropertiesQNX> requires <VK_QNX_external_memory_screen_buffer>" ); |
| 27894 |
|
| 27895 |
StructureChain<X, Y, Z...> structureChain; |
| 27896 |
ScreenBufferPropertiesQNX & properties = structureChain.template get<ScreenBufferPropertiesQNX>(); |
| 27897 |
Result result = static_cast<Result>( getDispatcher()->vkGetScreenBufferPropertiesQNX( |
| 27898 |
static_cast<VkDevice>( m_device ), &buffer, reinterpret_cast<VkScreenBufferPropertiesQNX *>( &properties ) ) ); |
| 27899 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getScreenBufferPropertiesQNX" ); |
| 27900 |
|
| 27901 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( structureChain ) ); |
| 27902 |
} |
| 27903 |
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/ |
| 27904 |
|
| 27905 |
//=== VK_KHR_line_rasterization === |
| 27906 |
|
| 27907 |
// wrapper function for command vkCmdSetLineStippleKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetLineStippleKHR.html |
| 27908 |
VULKAN_HPP_INLINE void CommandBuffer::setLineStippleKHR( uint32_t lineStippleFactor, uint16_t lineStipplePattern ) const VULKAN_HPP_NOEXCEPT |
| 27909 |
{ |
| 27910 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetLineStippleKHR && |
| 27911 |
"Function <vkCmdSetLineStippleKHR> requires <VK_EXT_line_rasterization> or <VK_KHR_line_rasterization> or <VK_VERSION_1_4>" ); |
| 27912 |
|
| 27913 |
getDispatcher()->vkCmdSetLineStippleKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), lineStippleFactor, lineStipplePattern ); |
| 27914 |
} |
| 27915 |
|
| 27916 |
//=== VK_KHR_calibrated_timestamps === |
| 27917 |
|
| 27918 |
// wrapper function for command vkGetPhysicalDeviceCalibrateableTimeDomainsKHR, see |
| 27919 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsKHR.html |
| 27920 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<TimeDomainKHR>>::type PhysicalDevice::getCalibrateableTimeDomainsKHR() const |
| 27921 |
{ |
| 27922 |
VULKAN_HPP_ASSERT( |
| 27923 |
getDispatcher()->vkGetPhysicalDeviceCalibrateableTimeDomainsKHR && |
| 27924 |
"Function <vkGetPhysicalDeviceCalibrateableTimeDomainsKHR> requires <VK_EXT_calibrated_timestamps> or <VK_KHR_calibrated_timestamps>" ); |
| 27925 |
|
| 27926 |
std::vector<TimeDomainKHR> timeDomains; |
| 27927 |
uint32_t timeDomainCount; |
| 27928 |
Result result; |
| 27929 |
do |
| 27930 |
{ |
| 27931 |
result = static_cast<Result>( |
| 27932 |
getDispatcher()->vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( static_cast<VkPhysicalDevice>( m_physicalDevice ), &timeDomainCount, nullptr ) ); |
| 27933 |
if ( ( result == Result::eSuccess ) && timeDomainCount ) |
| 27934 |
{ |
| 27935 |
timeDomains.resize( timeDomainCount ); |
| 27936 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCalibrateableTimeDomainsKHR( |
| 27937 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &timeDomainCount, reinterpret_cast<VkTimeDomainKHR *>( timeDomains.data() ) ) ); |
| 27938 |
} |
| 27939 |
} while ( result == Result::eIncomplete ); |
| 27940 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCalibrateableTimeDomainsKHR" ); |
| 27941 |
VULKAN_HPP_ASSERT( timeDomainCount <= timeDomains.size() ); |
| 27942 |
if ( timeDomainCount < timeDomains.size() ) |
| 27943 |
{ |
| 27944 |
timeDomains.resize( timeDomainCount ); |
| 27945 |
} |
| 27946 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( timeDomains ) ); |
| 27947 |
} |
| 27948 |
|
| 27949 |
// wrapper function for command vkGetCalibratedTimestampsKHR, see |
| 27950 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html |
| 27951 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<std::vector<uint64_t>, uint64_t>>::type |
| 27952 |
Device::getCalibratedTimestampsKHR( ArrayProxy<const CalibratedTimestampInfoKHR> const & timestampInfos ) const |
| 27953 |
{ |
| 27954 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetCalibratedTimestampsKHR && |
| 27955 |
"Function <vkGetCalibratedTimestampsKHR> requires <VK_EXT_calibrated_timestamps> or <VK_KHR_calibrated_timestamps>" ); |
| 27956 |
|
| 27957 |
std::pair<std::vector<uint64_t>, uint64_t> data_( std::piecewise_construct, std::forward_as_tuple( timestampInfos.size() ), std::forward_as_tuple( 0 ) ); |
| 27958 |
std::vector<uint64_t> & timestamps = data_.first; |
| 27959 |
uint64_t & maxDeviation = data_.second; |
| 27960 |
Result result = |
| 27961 |
static_cast<Result>( getDispatcher()->vkGetCalibratedTimestampsKHR( static_cast<VkDevice>( m_device ), |
| 27962 |
timestampInfos.size(), |
| 27963 |
reinterpret_cast<const VkCalibratedTimestampInfoKHR *>( timestampInfos.data() ), |
| 27964 |
timestamps.data(), |
| 27965 |
&maxDeviation ) ); |
| 27966 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getCalibratedTimestampsKHR" ); |
| 27967 |
|
| 27968 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 27969 |
} |
| 27970 |
|
| 27971 |
// wrapper function for command vkGetCalibratedTimestampsKHR, see |
| 27972 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetCalibratedTimestampsKHR.html |
| 27973 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::pair<uint64_t, uint64_t>>::type |
| 27974 |
Device::getCalibratedTimestampKHR( const CalibratedTimestampInfoKHR & timestampInfo ) const |
| 27975 |
{ |
| 27976 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetCalibratedTimestampsKHR && |
| 27977 |
"Function <vkGetCalibratedTimestampsKHR> requires <VK_EXT_calibrated_timestamps> or <VK_KHR_calibrated_timestamps>" ); |
| 27978 |
|
| 27979 |
std::pair<uint64_t, uint64_t> data_; |
| 27980 |
uint64_t & timestamp = data_.first; |
| 27981 |
uint64_t & maxDeviation = data_.second; |
| 27982 |
Result result = static_cast<Result>( getDispatcher()->vkGetCalibratedTimestampsKHR( |
| 27983 |
static_cast<VkDevice>( m_device ), 1, reinterpret_cast<const VkCalibratedTimestampInfoKHR *>( ×tampInfo ), ×tamp, &maxDeviation ) ); |
| 27984 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getCalibratedTimestampKHR" ); |
| 27985 |
|
| 27986 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 27987 |
} |
| 27988 |
|
| 27989 |
//=== VK_KHR_maintenance6 === |
| 27990 |
|
| 27991 |
// wrapper function for command vkCmdBindDescriptorSets2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorSets2KHR.html |
| 27992 |
VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorSets2KHR( const BindDescriptorSetsInfo & bindDescriptorSetsInfo ) const VULKAN_HPP_NOEXCEPT |
| 27993 |
{ |
| 27994 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindDescriptorSets2KHR && |
| 27995 |
"Function <vkCmdBindDescriptorSets2KHR> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 27996 |
|
| 27997 |
getDispatcher()->vkCmdBindDescriptorSets2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 27998 |
reinterpret_cast<const VkBindDescriptorSetsInfo *>( &bindDescriptorSetsInfo ) ); |
| 27999 |
} |
| 28000 |
|
| 28001 |
// wrapper function for command vkCmdPushConstants2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushConstants2KHR.html |
| 28002 |
VULKAN_HPP_INLINE void CommandBuffer::pushConstants2KHR( const PushConstantsInfo & pushConstantsInfo ) const VULKAN_HPP_NOEXCEPT |
| 28003 |
{ |
| 28004 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushConstants2KHR && "Function <vkCmdPushConstants2KHR> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 28005 |
|
| 28006 |
getDispatcher()->vkCmdPushConstants2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28007 |
reinterpret_cast<const VkPushConstantsInfo *>( &pushConstantsInfo ) ); |
| 28008 |
} |
| 28009 |
|
| 28010 |
// wrapper function for command vkCmdPushDescriptorSet2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSet2KHR.html |
| 28011 |
VULKAN_HPP_INLINE void CommandBuffer::pushDescriptorSet2KHR( const PushDescriptorSetInfo & pushDescriptorSetInfo ) const VULKAN_HPP_NOEXCEPT |
| 28012 |
{ |
| 28013 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDescriptorSet2KHR && |
| 28014 |
"Function <vkCmdPushDescriptorSet2KHR> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 28015 |
|
| 28016 |
getDispatcher()->vkCmdPushDescriptorSet2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28017 |
reinterpret_cast<const VkPushDescriptorSetInfo *>( &pushDescriptorSetInfo ) ); |
| 28018 |
} |
| 28019 |
|
| 28020 |
// wrapper function for command vkCmdPushDescriptorSetWithTemplate2KHR, see |
| 28021 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPushDescriptorSetWithTemplate2KHR.html |
| 28022 |
VULKAN_HPP_INLINE void |
| 28023 |
CommandBuffer::pushDescriptorSetWithTemplate2KHR( const PushDescriptorSetWithTemplateInfo & pushDescriptorSetWithTemplateInfo ) const VULKAN_HPP_NOEXCEPT |
| 28024 |
{ |
| 28025 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPushDescriptorSetWithTemplate2KHR && |
| 28026 |
"Function <vkCmdPushDescriptorSetWithTemplate2KHR> requires <VK_KHR_maintenance6> or <VK_VERSION_1_4>" ); |
| 28027 |
|
| 28028 |
getDispatcher()->vkCmdPushDescriptorSetWithTemplate2KHR( |
| 28029 |
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkPushDescriptorSetWithTemplateInfo *>( &pushDescriptorSetWithTemplateInfo ) ); |
| 28030 |
} |
| 28031 |
|
| 28032 |
// wrapper function for command vkCmdSetDescriptorBufferOffsets2EXT, see |
| 28033 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetDescriptorBufferOffsets2EXT.html |
| 28034 |
VULKAN_HPP_INLINE void |
| 28035 |
CommandBuffer::setDescriptorBufferOffsets2EXT( const SetDescriptorBufferOffsetsInfoEXT & setDescriptorBufferOffsetsInfo ) const VULKAN_HPP_NOEXCEPT |
| 28036 |
{ |
| 28037 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetDescriptorBufferOffsets2EXT && |
| 28038 |
"Function <vkCmdSetDescriptorBufferOffsets2EXT> requires <VK_KHR_maintenance6>" ); |
| 28039 |
|
| 28040 |
getDispatcher()->vkCmdSetDescriptorBufferOffsets2EXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28041 |
reinterpret_cast<const VkSetDescriptorBufferOffsetsInfoEXT *>( &setDescriptorBufferOffsetsInfo ) ); |
| 28042 |
} |
| 28043 |
|
| 28044 |
// wrapper function for command vkCmdBindDescriptorBufferEmbeddedSamplers2EXT, see |
| 28045 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindDescriptorBufferEmbeddedSamplers2EXT.html |
| 28046 |
VULKAN_HPP_INLINE void CommandBuffer::bindDescriptorBufferEmbeddedSamplers2EXT( |
| 28047 |
const BindDescriptorBufferEmbeddedSamplersInfoEXT & bindDescriptorBufferEmbeddedSamplersInfo ) const VULKAN_HPP_NOEXCEPT |
| 28048 |
{ |
| 28049 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindDescriptorBufferEmbeddedSamplers2EXT && |
| 28050 |
"Function <vkCmdBindDescriptorBufferEmbeddedSamplers2EXT> requires <VK_KHR_maintenance6>" ); |
| 28051 |
|
| 28052 |
getDispatcher()->vkCmdBindDescriptorBufferEmbeddedSamplers2EXT( |
| 28053 |
static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28054 |
reinterpret_cast<const VkBindDescriptorBufferEmbeddedSamplersInfoEXT *>( &bindDescriptorBufferEmbeddedSamplersInfo ) ); |
| 28055 |
} |
| 28056 |
|
| 28057 |
//=== VK_QCOM_tile_memory_heap === |
| 28058 |
|
| 28059 |
// wrapper function for command vkCmdBindTileMemoryQCOM, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBindTileMemoryQCOM.html |
| 28060 |
VULKAN_HPP_INLINE void CommandBuffer::bindTileMemoryQCOM( Optional<const TileMemoryBindInfoQCOM> tileMemoryBindInfo ) const VULKAN_HPP_NOEXCEPT |
| 28061 |
{ |
| 28062 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBindTileMemoryQCOM && "Function <vkCmdBindTileMemoryQCOM> requires <VK_QCOM_tile_memory_heap>" ); |
| 28063 |
|
| 28064 |
getDispatcher()->vkCmdBindTileMemoryQCOM( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28065 |
reinterpret_cast<const VkTileMemoryBindInfoQCOM *>( tileMemoryBindInfo.get() ) ); |
| 28066 |
} |
| 28067 |
|
| 28068 |
//=== VK_KHR_copy_memory_indirect === |
| 28069 |
|
| 28070 |
// wrapper function for command vkCmdCopyMemoryIndirectKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryIndirectKHR.html |
| 28071 |
VULKAN_HPP_INLINE void CommandBuffer::copyMemoryIndirectKHR( const CopyMemoryIndirectInfoKHR & copyMemoryIndirectInfo ) const VULKAN_HPP_NOEXCEPT |
| 28072 |
{ |
| 28073 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMemoryIndirectKHR && "Function <vkCmdCopyMemoryIndirectKHR> requires <VK_KHR_copy_memory_indirect>" ); |
| 28074 |
|
| 28075 |
getDispatcher()->vkCmdCopyMemoryIndirectKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28076 |
reinterpret_cast<const VkCopyMemoryIndirectInfoKHR *>( ©MemoryIndirectInfo ) ); |
| 28077 |
} |
| 28078 |
|
| 28079 |
// wrapper function for command vkCmdCopyMemoryToImageIndirectKHR, see |
| 28080 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdCopyMemoryToImageIndirectKHR.html |
| 28081 |
VULKAN_HPP_INLINE void |
| 28082 |
CommandBuffer::copyMemoryToImageIndirectKHR( const CopyMemoryToImageIndirectInfoKHR & copyMemoryToImageIndirectInfo ) const VULKAN_HPP_NOEXCEPT |
| 28083 |
{ |
| 28084 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdCopyMemoryToImageIndirectKHR && |
| 28085 |
"Function <vkCmdCopyMemoryToImageIndirectKHR> requires <VK_KHR_copy_memory_indirect>" ); |
| 28086 |
|
| 28087 |
getDispatcher()->vkCmdCopyMemoryToImageIndirectKHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28088 |
reinterpret_cast<const VkCopyMemoryToImageIndirectInfoKHR *>( ©MemoryToImageIndirectInfo ) ); |
| 28089 |
} |
| 28090 |
|
| 28091 |
//=== VK_EXT_memory_decompression === |
| 28092 |
|
| 28093 |
// wrapper function for command vkCmdDecompressMemoryEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryEXT.html |
| 28094 |
VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryEXT( const DecompressMemoryInfoEXT & decompressMemoryInfoEXT ) const VULKAN_HPP_NOEXCEPT |
| 28095 |
{ |
| 28096 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDecompressMemoryEXT && "Function <vkCmdDecompressMemoryEXT> requires <VK_EXT_memory_decompression>" ); |
| 28097 |
|
| 28098 |
getDispatcher()->vkCmdDecompressMemoryEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28099 |
reinterpret_cast<const VkDecompressMemoryInfoEXT *>( &decompressMemoryInfoEXT ) ); |
| 28100 |
} |
| 28101 |
|
| 28102 |
// wrapper function for command vkCmdDecompressMemoryIndirectCountEXT, see |
| 28103 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdDecompressMemoryIndirectCountEXT.html |
| 28104 |
VULKAN_HPP_INLINE void CommandBuffer::decompressMemoryIndirectCountEXT( MemoryDecompressionMethodFlagsEXT decompressionMethod, |
| 28105 |
DeviceAddress indirectCommandsAddress, |
| 28106 |
DeviceAddress indirectCommandsCountAddress, |
| 28107 |
uint32_t maxDecompressionCount, |
| 28108 |
uint32_t stride ) const VULKAN_HPP_NOEXCEPT |
| 28109 |
{ |
| 28110 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdDecompressMemoryIndirectCountEXT && |
| 28111 |
"Function <vkCmdDecompressMemoryIndirectCountEXT> requires <VK_EXT_memory_decompression>" ); |
| 28112 |
|
| 28113 |
getDispatcher()->vkCmdDecompressMemoryIndirectCountEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28114 |
static_cast<VkMemoryDecompressionMethodFlagsEXT>( decompressionMethod ), |
| 28115 |
static_cast<VkDeviceAddress>( indirectCommandsAddress ), |
| 28116 |
static_cast<VkDeviceAddress>( indirectCommandsCountAddress ), |
| 28117 |
maxDecompressionCount, |
| 28118 |
stride ); |
| 28119 |
} |
| 28120 |
|
| 28121 |
//=== VK_NV_external_compute_queue === |
| 28122 |
|
| 28123 |
// wrapper function for command vkCreateExternalComputeQueueNV, see |
| 28124 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateExternalComputeQueueNV.html |
| 28125 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<ExternalComputeQueueNV>::type |
| 28126 |
Device::createExternalComputeQueueNV( ExternalComputeQueueCreateInfoNV const & createInfo, |
| 28127 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 28128 |
{ |
| 28129 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateExternalComputeQueueNV && |
| 28130 |
"Function <vkCreateExternalComputeQueueNV> requires <VK_NV_external_compute_queue>" ); |
| 28131 |
|
| 28132 |
VULKAN_HPP_NAMESPACE::ExternalComputeQueueNV externalQueue; |
| 28133 |
Result result = |
| 28134 |
static_cast<Result>( getDispatcher()->vkCreateExternalComputeQueueNV( static_cast<VkDevice>( m_device ), |
| 28135 |
reinterpret_cast<const VkExternalComputeQueueCreateInfoNV *>( &createInfo ), |
| 28136 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 28137 |
reinterpret_cast<VkExternalComputeQueueNV *>( &externalQueue ) ) ); |
| 28138 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createExternalComputeQueueNV" ); |
| 28139 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 28140 |
result, ExternalComputeQueueNV( *this, *reinterpret_cast<VkExternalComputeQueueNV *>( &externalQueue ), allocator ) ); |
| 28141 |
} |
| 28142 |
|
| 28143 |
// wrapper function for command vkGetExternalComputeQueueDataNV, see |
| 28144 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetExternalComputeQueueDataNV.html |
| 28145 |
template <typename DataType> |
| 28146 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::pair<ExternalComputeQueueDataParamsNV, DataType> ExternalComputeQueueNV::getData() const VULKAN_HPP_NOEXCEPT |
| 28147 |
{ |
| 28148 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetExternalComputeQueueDataNV && |
| 28149 |
"Function <vkGetExternalComputeQueueDataNV> requires <VK_NV_external_compute_queue>" ); |
| 28150 |
|
| 28151 |
std::pair<ExternalComputeQueueDataParamsNV, DataType> data_; |
| 28152 |
ExternalComputeQueueDataParamsNV & arams = data_.first; |
| 28153 |
DataType & data = data_.second; |
| 28154 |
getDispatcher()->vkGetExternalComputeQueueDataNV( |
| 28155 |
static_cast<VkExternalComputeQueueNV>( m_externalComputeQueueNV ), reinterpret_cast<VkExternalComputeQueueDataParamsNV *>( &arams ), &data ); |
| 28156 |
|
| 28157 |
return data_; |
| 28158 |
} |
| 28159 |
|
| 28160 |
//=== VK_NV_cluster_acceleration_structure === |
| 28161 |
|
| 28162 |
// wrapper function for command vkGetClusterAccelerationStructureBuildSizesNV, see |
| 28163 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetClusterAccelerationStructureBuildSizesNV.html |
| 28164 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureBuildSizesInfoKHR |
| 28165 |
Device::getClusterAccelerationStructureBuildSizesNV( const ClusterAccelerationStructureInputInfoNV & info ) const VULKAN_HPP_NOEXCEPT |
| 28166 |
{ |
| 28167 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetClusterAccelerationStructureBuildSizesNV && |
| 28168 |
"Function <vkGetClusterAccelerationStructureBuildSizesNV> requires <VK_NV_cluster_acceleration_structure>" ); |
| 28169 |
|
| 28170 |
AccelerationStructureBuildSizesInfoKHR sizeInfo; |
| 28171 |
getDispatcher()->vkGetClusterAccelerationStructureBuildSizesNV( static_cast<VkDevice>( m_device ), |
| 28172 |
reinterpret_cast<const VkClusterAccelerationStructureInputInfoNV *>( &info ), |
| 28173 |
reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); |
| 28174 |
|
| 28175 |
return sizeInfo; |
| 28176 |
} |
| 28177 |
|
| 28178 |
// wrapper function for command vkCmdBuildClusterAccelerationStructureIndirectNV, see |
| 28179 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildClusterAccelerationStructureIndirectNV.html |
| 28180 |
VULKAN_HPP_INLINE void |
| 28181 |
CommandBuffer::buildClusterAccelerationStructureIndirectNV( const ClusterAccelerationStructureCommandsInfoNV & commandInfos ) const VULKAN_HPP_NOEXCEPT |
| 28182 |
{ |
| 28183 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBuildClusterAccelerationStructureIndirectNV && |
| 28184 |
"Function <vkCmdBuildClusterAccelerationStructureIndirectNV> requires <VK_NV_cluster_acceleration_structure>" ); |
| 28185 |
|
| 28186 |
getDispatcher()->vkCmdBuildClusterAccelerationStructureIndirectNV( |
| 28187 |
static_cast<VkCommandBuffer>( m_commandBuffer ), reinterpret_cast<const VkClusterAccelerationStructureCommandsInfoNV *>( &commandInfos ) ); |
| 28188 |
} |
| 28189 |
|
| 28190 |
//=== VK_NV_partitioned_acceleration_structure === |
| 28191 |
|
| 28192 |
// wrapper function for command vkGetPartitionedAccelerationStructuresBuildSizesNV, see |
| 28193 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPartitionedAccelerationStructuresBuildSizesNV.html |
| 28194 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE AccelerationStructureBuildSizesInfoKHR |
| 28195 |
Device::getPartitionedAccelerationStructuresBuildSizesNV( const PartitionedAccelerationStructureInstancesInputNV & info ) const VULKAN_HPP_NOEXCEPT |
| 28196 |
{ |
| 28197 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPartitionedAccelerationStructuresBuildSizesNV && |
| 28198 |
"Function <vkGetPartitionedAccelerationStructuresBuildSizesNV> requires <VK_NV_partitioned_acceleration_structure>" ); |
| 28199 |
|
| 28200 |
AccelerationStructureBuildSizesInfoKHR sizeInfo; |
| 28201 |
getDispatcher()->vkGetPartitionedAccelerationStructuresBuildSizesNV( |
| 28202 |
static_cast<VkDevice>( m_device ), |
| 28203 |
reinterpret_cast<const VkPartitionedAccelerationStructureInstancesInputNV *>( &info ), |
| 28204 |
reinterpret_cast<VkAccelerationStructureBuildSizesInfoKHR *>( &sizeInfo ) ); |
| 28205 |
|
| 28206 |
return sizeInfo; |
| 28207 |
} |
| 28208 |
|
| 28209 |
// wrapper function for command vkCmdBuildPartitionedAccelerationStructuresNV, see |
| 28210 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBuildPartitionedAccelerationStructuresNV.html |
| 28211 |
VULKAN_HPP_INLINE void |
| 28212 |
CommandBuffer::buildPartitionedAccelerationStructuresNV( const BuildPartitionedAccelerationStructureInfoNV & buildInfo ) const VULKAN_HPP_NOEXCEPT |
| 28213 |
{ |
| 28214 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBuildPartitionedAccelerationStructuresNV && |
| 28215 |
"Function <vkCmdBuildPartitionedAccelerationStructuresNV> requires <VK_NV_partitioned_acceleration_structure>" ); |
| 28216 |
|
| 28217 |
getDispatcher()->vkCmdBuildPartitionedAccelerationStructuresNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28218 |
reinterpret_cast<const VkBuildPartitionedAccelerationStructureInfoNV *>( &buildInfo ) ); |
| 28219 |
} |
| 28220 |
|
| 28221 |
//=== VK_EXT_device_generated_commands === |
| 28222 |
|
| 28223 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see |
| 28224 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html |
| 28225 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE MemoryRequirements2 |
| 28226 |
Device::getGeneratedCommandsMemoryRequirementsEXT( const GeneratedCommandsMemoryRequirementsInfoEXT & info ) const VULKAN_HPP_NOEXCEPT |
| 28227 |
{ |
| 28228 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsEXT && |
| 28229 |
"Function <vkGetGeneratedCommandsMemoryRequirementsEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28230 |
|
| 28231 |
MemoryRequirements2 memoryRequirements; |
| 28232 |
getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsEXT( static_cast<VkDevice>( m_device ), |
| 28233 |
reinterpret_cast<const VkGeneratedCommandsMemoryRequirementsInfoEXT *>( &info ), |
| 28234 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 28235 |
|
| 28236 |
return memoryRequirements; |
| 28237 |
} |
| 28238 |
|
| 28239 |
// wrapper function for command vkGetGeneratedCommandsMemoryRequirementsEXT, see |
| 28240 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetGeneratedCommandsMemoryRequirementsEXT.html |
| 28241 |
template <typename X, typename Y, typename... Z> |
| 28242 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE StructureChain<X, Y, Z...> |
| 28243 |
Device::getGeneratedCommandsMemoryRequirementsEXT( const GeneratedCommandsMemoryRequirementsInfoEXT & info ) const VULKAN_HPP_NOEXCEPT |
| 28244 |
{ |
| 28245 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsEXT && |
| 28246 |
"Function <vkGetGeneratedCommandsMemoryRequirementsEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28247 |
|
| 28248 |
StructureChain<X, Y, Z...> structureChain; |
| 28249 |
MemoryRequirements2 & memoryRequirements = structureChain.template get<MemoryRequirements2>(); |
| 28250 |
getDispatcher()->vkGetGeneratedCommandsMemoryRequirementsEXT( static_cast<VkDevice>( m_device ), |
| 28251 |
reinterpret_cast<const VkGeneratedCommandsMemoryRequirementsInfoEXT *>( &info ), |
| 28252 |
reinterpret_cast<VkMemoryRequirements2 *>( &memoryRequirements ) ); |
| 28253 |
|
| 28254 |
return structureChain; |
| 28255 |
} |
| 28256 |
|
| 28257 |
// wrapper function for command vkCmdPreprocessGeneratedCommandsEXT, see |
| 28258 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdPreprocessGeneratedCommandsEXT.html |
| 28259 |
VULKAN_HPP_INLINE void CommandBuffer::preprocessGeneratedCommandsEXT( const GeneratedCommandsInfoEXT & generatedCommandsInfo, |
| 28260 |
VULKAN_HPP_NAMESPACE::CommandBuffer stateCommandBuffer ) const VULKAN_HPP_NOEXCEPT |
| 28261 |
{ |
| 28262 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdPreprocessGeneratedCommandsEXT && |
| 28263 |
"Function <vkCmdPreprocessGeneratedCommandsEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28264 |
|
| 28265 |
getDispatcher()->vkCmdPreprocessGeneratedCommandsEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28266 |
reinterpret_cast<const VkGeneratedCommandsInfoEXT *>( &generatedCommandsInfo ), |
| 28267 |
static_cast<VkCommandBuffer>( stateCommandBuffer ) ); |
| 28268 |
} |
| 28269 |
|
| 28270 |
// wrapper function for command vkCmdExecuteGeneratedCommandsEXT, see |
| 28271 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdExecuteGeneratedCommandsEXT.html |
| 28272 |
VULKAN_HPP_INLINE void CommandBuffer::executeGeneratedCommandsEXT( Bool32 isPreprocessed, |
| 28273 |
const GeneratedCommandsInfoEXT & generatedCommandsInfo ) const VULKAN_HPP_NOEXCEPT |
| 28274 |
{ |
| 28275 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdExecuteGeneratedCommandsEXT && |
| 28276 |
"Function <vkCmdExecuteGeneratedCommandsEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28277 |
|
| 28278 |
getDispatcher()->vkCmdExecuteGeneratedCommandsEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28279 |
static_cast<VkBool32>( isPreprocessed ), |
| 28280 |
reinterpret_cast<const VkGeneratedCommandsInfoEXT *>( &generatedCommandsInfo ) ); |
| 28281 |
} |
| 28282 |
|
| 28283 |
// wrapper function for command vkCreateIndirectCommandsLayoutEXT, see |
| 28284 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectCommandsLayoutEXT.html |
| 28285 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<IndirectCommandsLayoutEXT>::type |
| 28286 |
Device::createIndirectCommandsLayoutEXT( IndirectCommandsLayoutCreateInfoEXT const & createInfo, |
| 28287 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 28288 |
{ |
| 28289 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateIndirectCommandsLayoutEXT && |
| 28290 |
"Function <vkCreateIndirectCommandsLayoutEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28291 |
|
| 28292 |
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutEXT indirectCommandsLayout; |
| 28293 |
Result result = |
| 28294 |
static_cast<Result>( getDispatcher()->vkCreateIndirectCommandsLayoutEXT( static_cast<VkDevice>( m_device ), |
| 28295 |
reinterpret_cast<const VkIndirectCommandsLayoutCreateInfoEXT *>( &createInfo ), |
| 28296 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 28297 |
reinterpret_cast<VkIndirectCommandsLayoutEXT *>( &indirectCommandsLayout ) ) ); |
| 28298 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createIndirectCommandsLayoutEXT" ); |
| 28299 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 28300 |
result, IndirectCommandsLayoutEXT( *this, *reinterpret_cast<VkIndirectCommandsLayoutEXT *>( &indirectCommandsLayout ), allocator ) ); |
| 28301 |
} |
| 28302 |
|
| 28303 |
// wrapper function for command vkCreateIndirectExecutionSetEXT, see |
| 28304 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateIndirectExecutionSetEXT.html |
| 28305 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<IndirectExecutionSetEXT>::type |
| 28306 |
Device::createIndirectExecutionSetEXT( IndirectExecutionSetCreateInfoEXT const & createInfo, |
| 28307 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 28308 |
{ |
| 28309 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateIndirectExecutionSetEXT && |
| 28310 |
"Function <vkCreateIndirectExecutionSetEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28311 |
|
| 28312 |
VULKAN_HPP_NAMESPACE::IndirectExecutionSetEXT indirectExecutionSet; |
| 28313 |
Result result = |
| 28314 |
static_cast<Result>( getDispatcher()->vkCreateIndirectExecutionSetEXT( static_cast<VkDevice>( m_device ), |
| 28315 |
reinterpret_cast<const VkIndirectExecutionSetCreateInfoEXT *>( &createInfo ), |
| 28316 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 28317 |
reinterpret_cast<VkIndirectExecutionSetEXT *>( &indirectExecutionSet ) ) ); |
| 28318 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::createIndirectExecutionSetEXT" ); |
| 28319 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( |
| 28320 |
result, IndirectExecutionSetEXT( *this, *reinterpret_cast<VkIndirectExecutionSetEXT *>( &indirectExecutionSet ), allocator ) ); |
| 28321 |
} |
| 28322 |
|
| 28323 |
// wrapper function for command vkUpdateIndirectExecutionSetPipelineEXT, see |
| 28324 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetPipelineEXT.html |
| 28325 |
VULKAN_HPP_INLINE void |
| 28326 |
IndirectExecutionSetEXT::updatePipeline( ArrayProxy<const WriteIndirectExecutionSetPipelineEXT> const & executionSetWrites ) const VULKAN_HPP_NOEXCEPT |
| 28327 |
{ |
| 28328 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateIndirectExecutionSetPipelineEXT && |
| 28329 |
"Function <vkUpdateIndirectExecutionSetPipelineEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28330 |
|
| 28331 |
getDispatcher()->vkUpdateIndirectExecutionSetPipelineEXT( static_cast<VkDevice>( m_device ), |
| 28332 |
static_cast<VkIndirectExecutionSetEXT>( m_indirectExecutionSetEXT ), |
| 28333 |
executionSetWrites.size(), |
| 28334 |
reinterpret_cast<const VkWriteIndirectExecutionSetPipelineEXT *>( executionSetWrites.data() ) ); |
| 28335 |
} |
| 28336 |
|
| 28337 |
// wrapper function for command vkUpdateIndirectExecutionSetShaderEXT, see |
| 28338 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkUpdateIndirectExecutionSetShaderEXT.html |
| 28339 |
VULKAN_HPP_INLINE void |
| 28340 |
IndirectExecutionSetEXT::updateShader( ArrayProxy<const WriteIndirectExecutionSetShaderEXT> const & executionSetWrites ) const VULKAN_HPP_NOEXCEPT |
| 28341 |
{ |
| 28342 |
VULKAN_HPP_ASSERT( getDispatcher()->vkUpdateIndirectExecutionSetShaderEXT && |
| 28343 |
"Function <vkUpdateIndirectExecutionSetShaderEXT> requires <VK_EXT_device_generated_commands>" ); |
| 28344 |
|
| 28345 |
getDispatcher()->vkUpdateIndirectExecutionSetShaderEXT( static_cast<VkDevice>( m_device ), |
| 28346 |
static_cast<VkIndirectExecutionSetEXT>( m_indirectExecutionSetEXT ), |
| 28347 |
executionSetWrites.size(), |
| 28348 |
reinterpret_cast<const VkWriteIndirectExecutionSetShaderEXT *>( executionSetWrites.data() ) ); |
| 28349 |
} |
| 28350 |
|
| 28351 |
# if defined( VK_USE_PLATFORM_OHOS ) |
| 28352 |
//=== VK_OHOS_surface === |
| 28353 |
|
| 28354 |
// wrapper function for command vkCreateSurfaceOHOS, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCreateSurfaceOHOS.html |
| 28355 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<SurfaceKHR>::type |
| 28356 |
Instance::createSurfaceOHOS( SurfaceCreateInfoOHOS const & createInfo, |
| 28357 |
Optional<const AllocationCallbacks> allocator ) const VULKAN_HPP_NOEXCEPT_WHEN_NO_EXCEPTIONS |
| 28358 |
{ |
| 28359 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCreateSurfaceOHOS && "Function <vkCreateSurfaceOHOS> requires <VK_OHOS_surface>" ); |
| 28360 |
|
| 28361 |
VULKAN_HPP_NAMESPACE::SurfaceKHR surface; |
| 28362 |
Result result = static_cast<Result>( getDispatcher()->vkCreateSurfaceOHOS( static_cast<VkInstance>( m_instance ), |
| 28363 |
reinterpret_cast<const VkSurfaceCreateInfoOHOS *>( &createInfo ), |
| 28364 |
reinterpret_cast<const VkAllocationCallbacks *>( allocator.get() ), |
| 28365 |
reinterpret_cast<VkSurfaceKHR *>( &surface ) ) ); |
| 28366 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Instance::createSurfaceOHOS" ); |
| 28367 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, SurfaceKHR( *this, *reinterpret_cast<VkSurfaceKHR *>( &surface ), allocator ) ); |
| 28368 |
} |
| 28369 |
# endif /*VK_USE_PLATFORM_OHOS*/ |
| 28370 |
|
| 28371 |
//=== VK_NV_cooperative_matrix2 === |
| 28372 |
|
| 28373 |
// wrapper function for command vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV, see |
| 28374 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV.html |
| 28375 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<std::vector<CooperativeMatrixFlexibleDimensionsPropertiesNV>>::type |
| 28376 |
PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV() const |
| 28377 |
{ |
| 28378 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV && |
| 28379 |
"Function <vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV> requires <VK_NV_cooperative_matrix2>" ); |
| 28380 |
|
| 28381 |
std::vector<CooperativeMatrixFlexibleDimensionsPropertiesNV> properties; |
| 28382 |
uint32_t propertyCount; |
| 28383 |
Result result; |
| 28384 |
do |
| 28385 |
{ |
| 28386 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( |
| 28387 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), &propertyCount, nullptr ) ); |
| 28388 |
if ( ( result == Result::eSuccess ) && propertyCount ) |
| 28389 |
{ |
| 28390 |
properties.resize( propertyCount ); |
| 28391 |
result = static_cast<Result>( getDispatcher()->vkGetPhysicalDeviceCooperativeMatrixFlexibleDimensionsPropertiesNV( |
| 28392 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 28393 |
&propertyCount, |
| 28394 |
reinterpret_cast<VkCooperativeMatrixFlexibleDimensionsPropertiesNV *>( properties.data() ) ) ); |
| 28395 |
} |
| 28396 |
} while ( result == Result::eIncomplete ); |
| 28397 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 28398 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::getCooperativeMatrixFlexibleDimensionsPropertiesNV" ); |
| 28399 |
VULKAN_HPP_ASSERT( propertyCount <= properties.size() ); |
| 28400 |
if ( propertyCount < properties.size() ) |
| 28401 |
{ |
| 28402 |
properties.resize( propertyCount ); |
| 28403 |
} |
| 28404 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( properties ) ); |
| 28405 |
} |
| 28406 |
|
| 28407 |
# if defined( VK_USE_PLATFORM_METAL_EXT ) |
| 28408 |
//=== VK_EXT_external_memory_metal === |
| 28409 |
|
| 28410 |
// wrapper function for command vkGetMemoryMetalHandleEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandleEXT.html |
| 28411 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<void *>::type |
| 28412 |
Device::getMemoryMetalHandleEXT( const MemoryGetMetalHandleInfoEXT & getMetalHandleInfo ) const |
| 28413 |
{ |
| 28414 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryMetalHandleEXT && "Function <vkGetMemoryMetalHandleEXT> requires <VK_EXT_external_memory_metal>" ); |
| 28415 |
|
| 28416 |
void * handle; |
| 28417 |
Result result = static_cast<Result>( getDispatcher()->vkGetMemoryMetalHandleEXT( |
| 28418 |
static_cast<VkDevice>( m_device ), reinterpret_cast<const VkMemoryGetMetalHandleInfoEXT *>( &getMetalHandleInfo ), &handle ) ); |
| 28419 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryMetalHandleEXT" ); |
| 28420 |
|
| 28421 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( handle ) ); |
| 28422 |
} |
| 28423 |
|
| 28424 |
// wrapper function for command vkGetMemoryMetalHandlePropertiesEXT, see |
| 28425 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetMemoryMetalHandlePropertiesEXT.html |
| 28426 |
template <typename HandleType> |
| 28427 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE typename ResultValueType<MemoryMetalHandlePropertiesEXT>::type |
| 28428 |
Device::getMemoryMetalHandlePropertiesEXT( ExternalMemoryHandleTypeFlagBits handleType, HandleType const & handle ) const |
| 28429 |
{ |
| 28430 |
VULKAN_HPP_ASSERT( getDispatcher()->vkGetMemoryMetalHandlePropertiesEXT && |
| 28431 |
"Function <vkGetMemoryMetalHandlePropertiesEXT> requires <VK_EXT_external_memory_metal>" ); |
| 28432 |
|
| 28433 |
MemoryMetalHandlePropertiesEXT memoryMetalHandleProperties; |
| 28434 |
Result result = static_cast<Result>( |
| 28435 |
getDispatcher()->vkGetMemoryMetalHandlePropertiesEXT( static_cast<VkDevice>( m_device ), |
| 28436 |
static_cast<VkExternalMemoryHandleTypeFlagBits>( handleType ), |
| 28437 |
reinterpret_cast<const void *>( &handle ), |
| 28438 |
reinterpret_cast<VkMemoryMetalHandlePropertiesEXT *>( &memoryMetalHandleProperties ) ) ); |
| 28439 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, VULKAN_HPP_RAII_NAMESPACE_STRING "::Device::getMemoryMetalHandlePropertiesEXT" ); |
| 28440 |
|
| 28441 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( memoryMetalHandleProperties ) ); |
| 28442 |
} |
| 28443 |
# endif /*VK_USE_PLATFORM_METAL_EXT*/ |
| 28444 |
|
| 28445 |
//=== VK_ARM_performance_counters_by_region === |
| 28446 |
|
| 28447 |
// wrapper function for command vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM, see |
| 28448 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM.html |
| 28449 |
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE |
| 28450 |
typename ResultValueType<std::pair<std::vector<PerformanceCounterARM>, std::vector<PerformanceCounterDescriptionARM>>>::type |
| 28451 |
PhysicalDevice::enumerateQueueFamilyPerformanceCountersByRegionARM( uint32_t queueFamilyIndex ) const |
| 28452 |
{ |
| 28453 |
VULKAN_HPP_ASSERT( getDispatcher()->vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM && |
| 28454 |
"Function <vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM> requires <VK_ARM_performance_counters_by_region>" ); |
| 28455 |
|
| 28456 |
std::pair<std::vector<PerformanceCounterARM>, std::vector<PerformanceCounterDescriptionARM>> data_; |
| 28457 |
std::vector<PerformanceCounterARM> & counters = data_.first; |
| 28458 |
std::vector<PerformanceCounterDescriptionARM> & counterDescriptions = data_.second; |
| 28459 |
uint32_t counterCount; |
| 28460 |
Result result; |
| 28461 |
do |
| 28462 |
{ |
| 28463 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( |
| 28464 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), queueFamilyIndex, &counterCount, nullptr, nullptr ) ); |
| 28465 |
if ( ( result == Result::eSuccess ) && counterCount ) |
| 28466 |
{ |
| 28467 |
counters.resize( counterCount ); |
| 28468 |
counterDescriptions.resize( counterCount ); |
| 28469 |
result = static_cast<Result>( getDispatcher()->vkEnumeratePhysicalDeviceQueueFamilyPerformanceCountersByRegionARM( |
| 28470 |
static_cast<VkPhysicalDevice>( m_physicalDevice ), |
| 28471 |
queueFamilyIndex, |
| 28472 |
&counterCount, |
| 28473 |
reinterpret_cast<VkPerformanceCounterARM *>( counters.data() ), |
| 28474 |
reinterpret_cast<VkPerformanceCounterDescriptionARM *>( counterDescriptions.data() ) ) ); |
| 28475 |
} |
| 28476 |
} while ( result == Result::eIncomplete ); |
| 28477 |
VULKAN_HPP_NAMESPACE::detail::resultCheck( result, |
| 28478 |
VULKAN_HPP_RAII_NAMESPACE_STRING "::PhysicalDevice::enumerateQueueFamilyPerformanceCountersByRegionARM" ); |
| 28479 |
VULKAN_HPP_ASSERT( counterCount <= counters.size() ); |
| 28480 |
if ( counterCount < counters.size() ) |
| 28481 |
{ |
| 28482 |
counters.resize( counterCount ); |
| 28483 |
counterDescriptions.resize( counterCount ); |
| 28484 |
} |
| 28485 |
return VULKAN_HPP_NAMESPACE::detail::createResultValueType( result, std::move( data_ ) ); |
| 28486 |
} |
| 28487 |
|
| 28488 |
//=== VK_EXT_fragment_density_map_offset === |
| 28489 |
|
| 28490 |
// wrapper function for command vkCmdEndRendering2EXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2EXT.html |
| 28491 |
VULKAN_HPP_INLINE void CommandBuffer::endRendering2EXT( Optional<const RenderingEndInfoKHR> renderingEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 28492 |
{ |
| 28493 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRendering2EXT && |
| 28494 |
"Function <vkCmdEndRendering2EXT> requires <VK_EXT_fragment_density_map_offset> or <VK_KHR_maintenance10>" ); |
| 28495 |
|
| 28496 |
getDispatcher()->vkCmdEndRendering2EXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28497 |
reinterpret_cast<const VkRenderingEndInfoKHR *>( renderingEndInfo.get() ) ); |
| 28498 |
} |
| 28499 |
|
| 28500 |
//=== VK_EXT_custom_resolve === |
| 28501 |
|
| 28502 |
// wrapper function for command vkCmdBeginCustomResolveEXT, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdBeginCustomResolveEXT.html |
| 28503 |
VULKAN_HPP_INLINE void CommandBuffer::beginCustomResolveEXT( Optional<const BeginCustomResolveInfoEXT> beginCustomResolveInfo ) const VULKAN_HPP_NOEXCEPT |
| 28504 |
{ |
| 28505 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdBeginCustomResolveEXT && "Function <vkCmdBeginCustomResolveEXT> requires <VK_EXT_custom_resolve>" ); |
| 28506 |
|
| 28507 |
getDispatcher()->vkCmdBeginCustomResolveEXT( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28508 |
reinterpret_cast<const VkBeginCustomResolveInfoEXT *>( beginCustomResolveInfo.get() ) ); |
| 28509 |
} |
| 28510 |
|
| 28511 |
//=== VK_KHR_maintenance10 === |
| 28512 |
|
| 28513 |
// wrapper function for command vkCmdEndRendering2KHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdEndRendering2KHR.html |
| 28514 |
VULKAN_HPP_INLINE void CommandBuffer::endRendering2KHR( Optional<const RenderingEndInfoKHR> renderingEndInfo ) const VULKAN_HPP_NOEXCEPT |
| 28515 |
{ |
| 28516 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdEndRendering2KHR && |
| 28517 |
"Function <vkCmdEndRendering2KHR> requires <VK_EXT_fragment_density_map_offset> or <VK_KHR_maintenance10>" ); |
| 28518 |
|
| 28519 |
getDispatcher()->vkCmdEndRendering2KHR( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28520 |
reinterpret_cast<const VkRenderingEndInfoKHR *>( renderingEndInfo.get() ) ); |
| 28521 |
} |
| 28522 |
|
| 28523 |
//=== VK_NV_compute_occupancy_priority === |
| 28524 |
|
| 28525 |
// wrapper function for command vkCmdSetComputeOccupancyPriorityNV, see |
| 28526 |
// https://registry.khronos.org/vulkan/specs/latest/man/html/vkCmdSetComputeOccupancyPriorityNV.html |
| 28527 |
VULKAN_HPP_INLINE void CommandBuffer::setComputeOccupancyPriorityNV( const ComputeOccupancyPriorityParametersNV & parameters ) const VULKAN_HPP_NOEXCEPT |
| 28528 |
{ |
| 28529 |
VULKAN_HPP_ASSERT( getDispatcher()->vkCmdSetComputeOccupancyPriorityNV && |
| 28530 |
"Function <vkCmdSetComputeOccupancyPriorityNV> requires <VK_NV_compute_occupancy_priority>" ); |
| 28531 |
|
| 28532 |
getDispatcher()->vkCmdSetComputeOccupancyPriorityNV( static_cast<VkCommandBuffer>( m_commandBuffer ), |
| 28533 |
reinterpret_cast<const VkComputeOccupancyPriorityParametersNV *>( ¶meters ) ); |
| 28534 |
} |
| 28535 |
|
| 28536 |
//==================== |
| 28537 |
//=== RAII Helpers === |
| 28538 |
//==================== |
| 28539 |
|
| 28540 |
template <typename RAIIType> |
| 28541 |
std::vector<typename RAIIType::CppType> filterCppTypes( std::vector<RAIIType> const & raiiTypes ) |
| 28542 |
{ |
| 28543 |
std::vector<typename RAIIType::CppType> cppTypes( raiiTypes.size() ); |
| 28544 |
std::transform( raiiTypes.begin(), raiiTypes.end(), cppTypes.begin(), []( RAIIType const & d ) { return *d; } ); |
| 28545 |
return cppTypes; |
| 28546 |
} |
| 28547 |
|
| 28548 |
template <typename RAIIType, class UnaryPredicate> |
| 28549 |
std::vector<typename RAIIType::CppType> filterCppTypes( std::vector<RAIIType> const & raiiTypes, UnaryPredicate p ) |
| 28550 |
{ |
| 28551 |
std::vector<typename RAIIType::CppType> cppTypes; |
| 28552 |
for ( auto const & t : raiiTypes ) |
| 28553 |
{ |
| 28554 |
if ( p( t ) ) |
| 28555 |
{ |
| 28556 |
cppTypes.push_back( *t ); |
| 28557 |
} |
| 28558 |
} |
| 28559 |
return cppTypes; |
| 28560 |
} |
| 28561 |
|
| 28562 |
} // namespace VULKAN_HPP_RAII_NAMESPACE |
| 28563 |
} // namespace VULKAN_HPP_NAMESPACE |
| 28564 |
#endif |
| 28565 |
#endif |