mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
parent
05bd56f8c5
commit
047961e987
@ -1 +1 @@
|
||||
Subproject commit 25f952fe85f5a8bb9e166e9e026f1de081b684af
|
||||
Subproject commit 2f5bc66d7adcf5bda62bb2e3666e36992b93792d
|
File diff suppressed because it is too large
Load Diff
@ -33,7 +33,7 @@
|
||||
# include <memory>
|
||||
# include <vector>
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
static_assert( VK_HEADER_VERSION == 65 , "Wrong VK_HEADER_VERSION!" );
|
||||
static_assert( VK_HEADER_VERSION == 66 , "Wrong VK_HEADER_VERSION!" );
|
||||
|
||||
// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default.
|
||||
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
@ -7025,7 +7025,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eBindImageMemoryInfoKHR = VK_STRUCTURE_TYPE_BIND_IMAGE_MEMORY_INFO_KHR,
|
||||
eValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_VALIDATION_CACHE_CREATE_INFO_EXT,
|
||||
eShaderModuleValidationCacheCreateInfoEXT = VK_STRUCTURE_TYPE_SHADER_MODULE_VALIDATION_CACHE_CREATE_INFO_EXT,
|
||||
eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT
|
||||
eDeviceQueueGlobalPriorityCreateInfoEXT = VK_STRUCTURE_TYPE_DEVICE_QUEUE_GLOBAL_PRIORITY_CREATE_INFO_EXT,
|
||||
eImportMemoryHostPointerInfoEXT = VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT,
|
||||
eMemoryHostPointerPropertiesEXT = VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT,
|
||||
ePhysicalDeviceExternalMemoryHostPropertiesEXT = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT
|
||||
};
|
||||
|
||||
struct ApplicationInfo
|
||||
@ -14127,6 +14130,120 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
static_assert( sizeof( ShaderModuleValidationCacheCreateInfoEXT ) == sizeof( VkShaderModuleValidationCacheCreateInfoEXT ), "struct and wrapper have different size!" );
|
||||
|
||||
struct MemoryHostPointerPropertiesEXT
|
||||
{
|
||||
MemoryHostPointerPropertiesEXT( uint32_t memoryTypeBits_ = 0 )
|
||||
: sType( StructureType::eMemoryHostPointerPropertiesEXT )
|
||||
, pNext( nullptr )
|
||||
, memoryTypeBits( memoryTypeBits_ )
|
||||
{
|
||||
}
|
||||
|
||||
MemoryHostPointerPropertiesEXT( VkMemoryHostPointerPropertiesEXT const & rhs )
|
||||
{
|
||||
memcpy( this, &rhs, sizeof( MemoryHostPointerPropertiesEXT ) );
|
||||
}
|
||||
|
||||
MemoryHostPointerPropertiesEXT& operator=( VkMemoryHostPointerPropertiesEXT const & rhs )
|
||||
{
|
||||
memcpy( this, &rhs, sizeof( MemoryHostPointerPropertiesEXT ) );
|
||||
return *this;
|
||||
}
|
||||
MemoryHostPointerPropertiesEXT& setPNext( void* pNext_ )
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
MemoryHostPointerPropertiesEXT& setMemoryTypeBits( uint32_t memoryTypeBits_ )
|
||||
{
|
||||
memoryTypeBits = memoryTypeBits_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator const VkMemoryHostPointerPropertiesEXT&() const
|
||||
{
|
||||
return *reinterpret_cast<const VkMemoryHostPointerPropertiesEXT*>(this);
|
||||
}
|
||||
|
||||
bool operator==( MemoryHostPointerPropertiesEXT const& rhs ) const
|
||||
{
|
||||
return ( sType == rhs.sType )
|
||||
&& ( pNext == rhs.pNext )
|
||||
&& ( memoryTypeBits == rhs.memoryTypeBits );
|
||||
}
|
||||
|
||||
bool operator!=( MemoryHostPointerPropertiesEXT const& rhs ) const
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
|
||||
private:
|
||||
StructureType sType;
|
||||
|
||||
public:
|
||||
void* pNext;
|
||||
uint32_t memoryTypeBits;
|
||||
};
|
||||
static_assert( sizeof( MemoryHostPointerPropertiesEXT ) == sizeof( VkMemoryHostPointerPropertiesEXT ), "struct and wrapper have different size!" );
|
||||
|
||||
struct PhysicalDeviceExternalMemoryHostPropertiesEXT
|
||||
{
|
||||
PhysicalDeviceExternalMemoryHostPropertiesEXT( DeviceSize minImportedHostPointerAlignment_ = 0 )
|
||||
: sType( StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT )
|
||||
, pNext( nullptr )
|
||||
, minImportedHostPointerAlignment( minImportedHostPointerAlignment_ )
|
||||
{
|
||||
}
|
||||
|
||||
PhysicalDeviceExternalMemoryHostPropertiesEXT( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs )
|
||||
{
|
||||
memcpy( this, &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) );
|
||||
}
|
||||
|
||||
PhysicalDeviceExternalMemoryHostPropertiesEXT& operator=( VkPhysicalDeviceExternalMemoryHostPropertiesEXT const & rhs )
|
||||
{
|
||||
memcpy( this, &rhs, sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) );
|
||||
return *this;
|
||||
}
|
||||
PhysicalDeviceExternalMemoryHostPropertiesEXT& setPNext( void* pNext_ )
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
PhysicalDeviceExternalMemoryHostPropertiesEXT& setMinImportedHostPointerAlignment( DeviceSize minImportedHostPointerAlignment_ )
|
||||
{
|
||||
minImportedHostPointerAlignment = minImportedHostPointerAlignment_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator const VkPhysicalDeviceExternalMemoryHostPropertiesEXT&() const
|
||||
{
|
||||
return *reinterpret_cast<const VkPhysicalDeviceExternalMemoryHostPropertiesEXT*>(this);
|
||||
}
|
||||
|
||||
bool operator==( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const
|
||||
{
|
||||
return ( sType == rhs.sType )
|
||||
&& ( pNext == rhs.pNext )
|
||||
&& ( minImportedHostPointerAlignment == rhs.minImportedHostPointerAlignment );
|
||||
}
|
||||
|
||||
bool operator!=( PhysicalDeviceExternalMemoryHostPropertiesEXT const& rhs ) const
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
|
||||
private:
|
||||
StructureType sType;
|
||||
|
||||
public:
|
||||
void* pNext;
|
||||
DeviceSize minImportedHostPointerAlignment;
|
||||
};
|
||||
static_assert( sizeof( PhysicalDeviceExternalMemoryHostPropertiesEXT ) == sizeof( VkPhysicalDeviceExternalMemoryHostPropertiesEXT ), "struct and wrapper have different size!" );
|
||||
|
||||
enum class SubpassContents
|
||||
{
|
||||
eInline = VK_SUBPASS_CONTENTS_INLINE,
|
||||
@ -22709,7 +22826,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
eD3D11Texture = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_BIT_KHR,
|
||||
eD3D11TextureKmt = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D11_TEXTURE_KMT_BIT_KHR,
|
||||
eD3D12Heap = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_HEAP_BIT_KHR,
|
||||
eD3D12Resource = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT_KHR
|
||||
eD3D12Resource = VK_EXTERNAL_MEMORY_HANDLE_TYPE_D3D12_RESOURCE_BIT_KHR,
|
||||
eDmaBufEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_DMA_BUF_BIT_EXT,
|
||||
eHostAllocationEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT,
|
||||
eHostMappedForeignMemoryEXT = VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT
|
||||
};
|
||||
|
||||
using ExternalMemoryHandleTypeFlagsKHR = Flags<ExternalMemoryHandleTypeFlagBitsKHR, VkExternalMemoryHandleTypeFlagsKHR>;
|
||||
@ -22728,7 +22848,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
{
|
||||
enum
|
||||
{
|
||||
allFlags = VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueFd) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D11Texture) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D11TextureKmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Heap) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Resource)
|
||||
allFlags = VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueFd) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueWin32) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueWin32Kmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D11Texture) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D11TextureKmt) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Heap) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Resource) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eDmaBufEXT) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eHostAllocationEXT) | VkFlags(ExternalMemoryHandleTypeFlagBitsKHR::eHostMappedForeignMemoryEXT)
|
||||
};
|
||||
};
|
||||
|
||||
@ -23312,6 +23432,72 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
};
|
||||
static_assert( sizeof( MemoryGetFdInfoKHR ) == sizeof( VkMemoryGetFdInfoKHR ), "struct and wrapper have different size!" );
|
||||
|
||||
struct ImportMemoryHostPointerInfoEXT
|
||||
{
|
||||
ImportMemoryHostPointerInfoEXT( ExternalMemoryHandleTypeFlagBitsKHR handleType_ = ExternalMemoryHandleTypeFlagBitsKHR::eOpaqueFd, void* pHostPointer_ = nullptr )
|
||||
: sType( StructureType::eImportMemoryHostPointerInfoEXT )
|
||||
, pNext( nullptr )
|
||||
, handleType( handleType_ )
|
||||
, pHostPointer( pHostPointer_ )
|
||||
{
|
||||
}
|
||||
|
||||
ImportMemoryHostPointerInfoEXT( VkImportMemoryHostPointerInfoEXT const & rhs )
|
||||
{
|
||||
memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
|
||||
}
|
||||
|
||||
ImportMemoryHostPointerInfoEXT& operator=( VkImportMemoryHostPointerInfoEXT const & rhs )
|
||||
{
|
||||
memcpy( this, &rhs, sizeof( ImportMemoryHostPointerInfoEXT ) );
|
||||
return *this;
|
||||
}
|
||||
ImportMemoryHostPointerInfoEXT& setPNext( const void* pNext_ )
|
||||
{
|
||||
pNext = pNext_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
ImportMemoryHostPointerInfoEXT& setHandleType( ExternalMemoryHandleTypeFlagBitsKHR handleType_ )
|
||||
{
|
||||
handleType = handleType_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
ImportMemoryHostPointerInfoEXT& setPHostPointer( void* pHostPointer_ )
|
||||
{
|
||||
pHostPointer = pHostPointer_;
|
||||
return *this;
|
||||
}
|
||||
|
||||
operator const VkImportMemoryHostPointerInfoEXT&() const
|
||||
{
|
||||
return *reinterpret_cast<const VkImportMemoryHostPointerInfoEXT*>(this);
|
||||
}
|
||||
|
||||
bool operator==( ImportMemoryHostPointerInfoEXT const& rhs ) const
|
||||
{
|
||||
return ( sType == rhs.sType )
|
||||
&& ( pNext == rhs.pNext )
|
||||
&& ( handleType == rhs.handleType )
|
||||
&& ( pHostPointer == rhs.pHostPointer );
|
||||
}
|
||||
|
||||
bool operator!=( ImportMemoryHostPointerInfoEXT const& rhs ) const
|
||||
{
|
||||
return !operator==( rhs );
|
||||
}
|
||||
|
||||
private:
|
||||
StructureType sType;
|
||||
|
||||
public:
|
||||
const void* pNext;
|
||||
ExternalMemoryHandleTypeFlagBitsKHR handleType;
|
||||
void* pHostPointer;
|
||||
};
|
||||
static_assert( sizeof( ImportMemoryHostPointerInfoEXT ) == sizeof( VkImportMemoryHostPointerInfoEXT ), "struct and wrapper have different size!" );
|
||||
|
||||
enum class ExternalMemoryFeatureFlagBitsKHR
|
||||
{
|
||||
eDedicatedOnly = VK_EXTERNAL_MEMORY_FEATURE_DEDICATED_ONLY_BIT_KHR,
|
||||
@ -26472,10 +26658,10 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
enum class QueueGlobalPriorityEXT
|
||||
{
|
||||
eLow = VK_QUEUE_GLOBAL_PRIORITY_LOW,
|
||||
eMedium = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM,
|
||||
eHigh = VK_QUEUE_GLOBAL_PRIORITY_HIGH,
|
||||
eRealtime = VK_QUEUE_GLOBAL_PRIORITY_REALTIME
|
||||
eLow = VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT,
|
||||
eMedium = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT,
|
||||
eHigh = VK_QUEUE_GLOBAL_PRIORITY_HIGH_EXT,
|
||||
eRealtime = VK_QUEUE_GLOBAL_PRIORITY_REALTIME_EXT
|
||||
};
|
||||
|
||||
struct DeviceQueueGlobalPriorityCreateInfoEXT
|
||||
@ -28510,6 +28696,11 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
typename ResultValueType<std::vector<uint8_t,Allocator>>::type getShaderInfoAMD( Pipeline pipeline, ShaderStageFlagBits shaderStage, ShaderInfoTypeAMD infoType ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
Result getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBitsKHR handleType, const void* pHostPointer, MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) const;
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
ResultValueType<MemoryHostPointerPropertiesEXT>::type getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBitsKHR handleType, const void* pHostPointer ) const;
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
|
||||
|
||||
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkDevice() const
|
||||
@ -31054,6 +31245,19 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
VULKAN_HPP_INLINE Result Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBitsKHR handleType, const void* pHostPointer, MemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties ) const
|
||||
{
|
||||
return static_cast<Result>( vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast<VkExternalMemoryHandleTypeFlagBitsKHR>( handleType ), pHostPointer, reinterpret_cast<VkMemoryHostPointerPropertiesEXT*>( pMemoryHostPointerProperties ) ) );
|
||||
}
|
||||
#ifndef VULKAN_HPP_DISABLE_ENHANCED_MODE
|
||||
VULKAN_HPP_INLINE ResultValueType<MemoryHostPointerPropertiesEXT>::type Device::getMemoryHostPointerPropertiesEXT( ExternalMemoryHandleTypeFlagBitsKHR handleType, const void* pHostPointer ) const
|
||||
{
|
||||
MemoryHostPointerPropertiesEXT memoryHostPointerProperties;
|
||||
Result result = static_cast<Result>( vkGetMemoryHostPointerPropertiesEXT( m_device, static_cast<VkExternalMemoryHandleTypeFlagBitsKHR>( handleType ), pHostPointer, reinterpret_cast<VkMemoryHostPointerPropertiesEXT*>( &memoryHostPointerProperties ) ) );
|
||||
return createResultValue( result, memoryHostPointerProperties, "VULKAN_HPP_NAMESPACE::Device::getMemoryHostPointerPropertiesEXT" );
|
||||
}
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
|
||||
#ifndef VULKAN_HPP_NO_SMART_HANDLE
|
||||
class DeviceDeleter;
|
||||
template <> class UniqueHandleTraits<Device> {public: using deleter = DeviceDeleter; };
|
||||
@ -33167,6 +33371,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
template <> struct isStructureChainValid<PhysicalDeviceProperties2KHR, PhysicalDeviceBlendOperationAdvancedPropertiesEXT>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<ImageCreateInfo, ImageFormatListCreateInfoKHR>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<ShaderModuleCreateInfo, ShaderModuleValidationCacheCreateInfoEXT>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<PhysicalDeviceProperties2KHR, PhysicalDeviceExternalMemoryHostPropertiesEXT>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<SurfaceCapabilities2KHR, SharedPresentSurfaceCapabilitiesKHR>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<ImageViewCreateInfo, ImageViewUsageCreateInfoKHR>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<RenderPassCreateInfo, RenderPassInputAttachmentAspectCreateInfoKHR>{ enum { value = true }; };
|
||||
@ -33192,6 +33397,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryWin32HandleInfoKHR>{ enum { value = true }; };
|
||||
#endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryFdInfoKHR>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<MemoryAllocateInfo, ImportMemoryHostPointerInfoEXT>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<ImageFormatProperties2KHR, ExternalImageFormatPropertiesKHR>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<SemaphoreCreateInfo, ExportSemaphoreCreateInfoKHR>{ enum { value = true }; };
|
||||
template <> struct isStructureChainValid<FenceCreateInfo, ExportFenceCreateInfoKHR>{ enum { value = true }; };
|
||||
@ -34594,6 +34800,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case StructureType::eValidationCacheCreateInfoEXT: return "ValidationCacheCreateInfoEXT";
|
||||
case StructureType::eShaderModuleValidationCacheCreateInfoEXT: return "ShaderModuleValidationCacheCreateInfoEXT";
|
||||
case StructureType::eDeviceQueueGlobalPriorityCreateInfoEXT: return "DeviceQueueGlobalPriorityCreateInfoEXT";
|
||||
case StructureType::eImportMemoryHostPointerInfoEXT: return "ImportMemoryHostPointerInfoEXT";
|
||||
case StructureType::eMemoryHostPointerPropertiesEXT: return "MemoryHostPointerPropertiesEXT";
|
||||
case StructureType::ePhysicalDeviceExternalMemoryHostPropertiesEXT: return "PhysicalDeviceExternalMemoryHostPropertiesEXT";
|
||||
default: return "invalid";
|
||||
}
|
||||
}
|
||||
@ -35809,6 +36018,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
case ExternalMemoryHandleTypeFlagBitsKHR::eD3D11TextureKmt: return "D3D11TextureKmt";
|
||||
case ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Heap: return "D3D12Heap";
|
||||
case ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Resource: return "D3D12Resource";
|
||||
case ExternalMemoryHandleTypeFlagBitsKHR::eDmaBufEXT: return "DmaBufEXT";
|
||||
case ExternalMemoryHandleTypeFlagBitsKHR::eHostAllocationEXT: return "HostAllocationEXT";
|
||||
case ExternalMemoryHandleTypeFlagBitsKHR::eHostMappedForeignMemoryEXT: return "HostMappedForeignMemoryEXT";
|
||||
default: return "invalid";
|
||||
}
|
||||
}
|
||||
@ -35824,6 +36036,9 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
if (value & ExternalMemoryHandleTypeFlagBitsKHR::eD3D11TextureKmt) result += "D3D11TextureKmt | ";
|
||||
if (value & ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Heap) result += "D3D12Heap | ";
|
||||
if (value & ExternalMemoryHandleTypeFlagBitsKHR::eD3D12Resource) result += "D3D12Resource | ";
|
||||
if (value & ExternalMemoryHandleTypeFlagBitsKHR::eDmaBufEXT) result += "DmaBufEXT | ";
|
||||
if (value & ExternalMemoryHandleTypeFlagBitsKHR::eHostAllocationEXT) result += "HostAllocationEXT | ";
|
||||
if (value & ExternalMemoryHandleTypeFlagBitsKHR::eHostMappedForeignMemoryEXT) result += "HostMappedForeignMemoryEXT | ";
|
||||
return "{" + result.substr(0, result.size() - 3) + "}";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user