|
8 | 8 | #ifndef VULKAN_STRUCTS_HPP
|
9 | 9 | #define VULKAN_STRUCTS_HPP
|
10 | 10 |
|
| 11 | +// include-what-you-use: make sure, vulkan.hpp is used by code-completers |
| 12 | +// IWYU pragma: private; include "vulkan.hpp" |
| 13 | + |
11 | 14 | #include <cstring> // strcmp
|
12 | 15 |
|
13 | 16 | namespace VULKAN_HPP_NAMESPACE
|
@@ -58661,6 +58664,105 @@ namespace VULKAN_HPP_NAMESPACE
|
58661 | 58664 | using Type = PhysicalDeviceColorWriteEnableFeaturesEXT;
|
58662 | 58665 | };
|
58663 | 58666 |
|
| 58667 | + struct PhysicalDeviceCommandBufferInheritanceFeaturesNV |
| 58668 | + { |
| 58669 | + using NativeType = VkPhysicalDeviceCommandBufferInheritanceFeaturesNV; |
| 58670 | + |
| 58671 | + static const bool allowDuplicate = false; |
| 58672 | + static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::ePhysicalDeviceCommandBufferInheritanceFeaturesNV; |
| 58673 | + |
| 58674 | +#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS ) |
| 58675 | + VULKAN_HPP_CONSTEXPR PhysicalDeviceCommandBufferInheritanceFeaturesNV( VULKAN_HPP_NAMESPACE::Bool32 commandBufferInheritance_ = {}, |
| 58676 | + void * pNext_ = nullptr ) VULKAN_HPP_NOEXCEPT |
| 58677 | + : pNext{ pNext_ } |
| 58678 | + , commandBufferInheritance{ commandBufferInheritance_ } |
| 58679 | + { |
| 58680 | + } |
| 58681 | + |
| 58682 | + VULKAN_HPP_CONSTEXPR |
| 58683 | + PhysicalDeviceCommandBufferInheritanceFeaturesNV( PhysicalDeviceCommandBufferInheritanceFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; |
| 58684 | + |
| 58685 | + PhysicalDeviceCommandBufferInheritanceFeaturesNV( VkPhysicalDeviceCommandBufferInheritanceFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT |
| 58686 | + : PhysicalDeviceCommandBufferInheritanceFeaturesNV( *reinterpret_cast<PhysicalDeviceCommandBufferInheritanceFeaturesNV const *>( &rhs ) ) |
| 58687 | + { |
| 58688 | + } |
| 58689 | + |
| 58690 | + PhysicalDeviceCommandBufferInheritanceFeaturesNV & operator=( PhysicalDeviceCommandBufferInheritanceFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT = default; |
| 58691 | +#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/ |
| 58692 | + |
| 58693 | + PhysicalDeviceCommandBufferInheritanceFeaturesNV & operator=( VkPhysicalDeviceCommandBufferInheritanceFeaturesNV const & rhs ) VULKAN_HPP_NOEXCEPT |
| 58694 | + { |
| 58695 | + *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceCommandBufferInheritanceFeaturesNV const *>( &rhs ); |
| 58696 | + return *this; |
| 58697 | + } |
| 58698 | + |
| 58699 | +#if !defined( VULKAN_HPP_NO_STRUCT_SETTERS ) |
| 58700 | + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCommandBufferInheritanceFeaturesNV & setPNext( void * pNext_ ) VULKAN_HPP_NOEXCEPT |
| 58701 | + { |
| 58702 | + pNext = pNext_; |
| 58703 | + return *this; |
| 58704 | + } |
| 58705 | + |
| 58706 | + VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceCommandBufferInheritanceFeaturesNV & |
| 58707 | + setCommandBufferInheritance( VULKAN_HPP_NAMESPACE::Bool32 commandBufferInheritance_ ) VULKAN_HPP_NOEXCEPT |
| 58708 | + { |
| 58709 | + commandBufferInheritance = commandBufferInheritance_; |
| 58710 | + return *this; |
| 58711 | + } |
| 58712 | +#endif /*VULKAN_HPP_NO_STRUCT_SETTERS*/ |
| 58713 | + |
| 58714 | + operator VkPhysicalDeviceCommandBufferInheritanceFeaturesNV const &() const VULKAN_HPP_NOEXCEPT |
| 58715 | + { |
| 58716 | + return *reinterpret_cast<const VkPhysicalDeviceCommandBufferInheritanceFeaturesNV *>( this ); |
| 58717 | + } |
| 58718 | + |
| 58719 | + operator VkPhysicalDeviceCommandBufferInheritanceFeaturesNV &() VULKAN_HPP_NOEXCEPT |
| 58720 | + { |
| 58721 | + return *reinterpret_cast<VkPhysicalDeviceCommandBufferInheritanceFeaturesNV *>( this ); |
| 58722 | + } |
| 58723 | + |
| 58724 | +#if defined( VULKAN_HPP_USE_REFLECT ) |
| 58725 | +# if 14 <= VULKAN_HPP_CPP_VERSION |
| 58726 | + auto |
| 58727 | +# else |
| 58728 | + std::tuple<VULKAN_HPP_NAMESPACE::StructureType const &, void * const &, VULKAN_HPP_NAMESPACE::Bool32 const &> |
| 58729 | +# endif |
| 58730 | + reflect() const VULKAN_HPP_NOEXCEPT |
| 58731 | + { |
| 58732 | + return std::tie( sType, pNext, commandBufferInheritance ); |
| 58733 | + } |
| 58734 | +#endif |
| 58735 | + |
| 58736 | +#if defined( VULKAN_HPP_HAS_SPACESHIP_OPERATOR ) |
| 58737 | + auto operator<=>( PhysicalDeviceCommandBufferInheritanceFeaturesNV const & ) const = default; |
| 58738 | +#else |
| 58739 | + bool operator==( PhysicalDeviceCommandBufferInheritanceFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT |
| 58740 | + { |
| 58741 | +# if defined( VULKAN_HPP_USE_REFLECT ) |
| 58742 | + return this->reflect() == rhs.reflect(); |
| 58743 | +# else |
| 58744 | + return ( sType == rhs.sType ) && ( pNext == rhs.pNext ) && ( commandBufferInheritance == rhs.commandBufferInheritance ); |
| 58745 | +# endif |
| 58746 | + } |
| 58747 | + |
| 58748 | + bool operator!=( PhysicalDeviceCommandBufferInheritanceFeaturesNV const & rhs ) const VULKAN_HPP_NOEXCEPT |
| 58749 | + { |
| 58750 | + return !operator==( rhs ); |
| 58751 | + } |
| 58752 | +#endif |
| 58753 | + |
| 58754 | + public: |
| 58755 | + VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceCommandBufferInheritanceFeaturesNV; |
| 58756 | + void * pNext = {}; |
| 58757 | + VULKAN_HPP_NAMESPACE::Bool32 commandBufferInheritance = {}; |
| 58758 | + }; |
| 58759 | + |
| 58760 | + template <> |
| 58761 | + struct CppType<StructureType, StructureType::ePhysicalDeviceCommandBufferInheritanceFeaturesNV> |
| 58762 | + { |
| 58763 | + using Type = PhysicalDeviceCommandBufferInheritanceFeaturesNV; |
| 58764 | + }; |
| 58765 | + |
58664 | 58766 | struct PhysicalDeviceComputeShaderDerivativesFeaturesNV
|
58665 | 58767 | {
|
58666 | 58768 | using NativeType = VkPhysicalDeviceComputeShaderDerivativesFeaturesNV;
|
|
0 commit comments