mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Allow older version of clang-format.
This commit is contained in:
parent
6b478d567c
commit
ae49faf6b8
@ -33,7 +33,7 @@ BraceWrapping :
|
||||
AfterExternBlock : true
|
||||
BeforeCatch : true
|
||||
BeforeElse : true
|
||||
# BeforeLambdaBody : true
|
||||
BeforeLambdaBody : true
|
||||
IndentBraces : false
|
||||
SplitEmptyFunction : false
|
||||
SplitEmptyRecord : false
|
||||
@ -52,7 +52,7 @@ ContinuationIndentWidth : 2
|
||||
Cpp11BracedListStyle : false
|
||||
FixNamespaceComments : true
|
||||
IncludeBlocks : Regroup
|
||||
# IndentCaseBlocks : true
|
||||
IndentCaseBlocks : true
|
||||
IndentCaseLabels : true
|
||||
IndentPPDirectives : AfterHash
|
||||
IndentWidth : 2
|
||||
@ -79,7 +79,7 @@ SpaceInEmptyParentheses : false
|
||||
SpacesBeforeTrailingComments : 2
|
||||
SpacesInAngles : false
|
||||
SpacesInCStyleCastParentheses : false
|
||||
# SpacesInConditionalStatement : true
|
||||
SpacesInConditionalStatement : true
|
||||
SpacesInContainerLiterals : true
|
||||
SpacesInParentheses : true
|
||||
SpacesInSquareBrackets : false
|
77
.clang-format_7
Normal file
77
.clang-format_7
Normal file
@ -0,0 +1,77 @@
|
||||
---
|
||||
AccessModifierOffset : -2
|
||||
AlignAfterOpenBracket : Align
|
||||
AlignConsecutiveAssignments : true
|
||||
AlignConsecutiveDeclarations : true
|
||||
AlignEscapedNewlines : Left
|
||||
AlignOperands : true
|
||||
AlignTrailingComments : true
|
||||
AllowAllParametersOfDeclarationOnNextLine : true
|
||||
AllowShortBlocksOnASingleLine : false
|
||||
AllowShortCaseLabelsOnASingleLine : true
|
||||
AllowShortFunctionsOnASingleLine : Empty
|
||||
AllowShortIfStatementsOnASingleLine : false
|
||||
AllowShortLoopsOnASingleLine : false
|
||||
AlwaysBreakAfterReturnType : None
|
||||
AlwaysBreakBeforeMultilineStrings : true
|
||||
AlwaysBreakTemplateDeclarations : Yes
|
||||
BinPackArguments : false
|
||||
BinPackParameters : false
|
||||
BraceWrapping :
|
||||
AfterClass : true
|
||||
AfterControlStatement : true
|
||||
AfterEnum : true
|
||||
AfterFunction : true
|
||||
AfterNamespace : true
|
||||
AfterStruct : true
|
||||
AfterUnion : true
|
||||
AfterExternBlock : true
|
||||
BeforeCatch : true
|
||||
BeforeElse : true
|
||||
IndentBraces : false
|
||||
SplitEmptyFunction : false
|
||||
SplitEmptyRecord : false
|
||||
SplitEmptyNamespace : false
|
||||
BreakBeforeBinaryOperators : None
|
||||
BreakBeforeBraces : Custom
|
||||
BreakBeforeTernaryOperators : true
|
||||
BreakConstructorInitializers : BeforeComma
|
||||
BreakInheritanceList : BeforeComma
|
||||
BreakStringLiterals : false
|
||||
ColumnLimit : 120
|
||||
CompactNamespaces : false
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine : true
|
||||
ConstructorInitializerIndentWidth : 2
|
||||
ContinuationIndentWidth : 2
|
||||
Cpp11BracedListStyle : false
|
||||
FixNamespaceComments : true
|
||||
IncludeBlocks : Regroup
|
||||
IndentCaseLabels : true
|
||||
IndentPPDirectives : AfterHash
|
||||
IndentWidth : 2
|
||||
IndentWrappedFunctionNames : true
|
||||
KeepEmptyLinesAtTheStartOfBlocks : false
|
||||
MaxEmptyLinesToKeep : 1
|
||||
NamespaceIndentation : All
|
||||
PointerAlignment : Middle
|
||||
ReflowComments : true
|
||||
SortIncludes : true
|
||||
SortUsingDeclarations : true
|
||||
SpaceAfterCStyleCast : false
|
||||
SpaceAfterTemplateKeyword : true
|
||||
SpaceBeforeAssignmentOperators : true
|
||||
SpaceBeforeCpp11BracedList : false
|
||||
SpaceBeforeCtorInitializerColon : true
|
||||
SpaceBeforeInheritanceColon : true
|
||||
SpaceBeforeParens : ControlStatements
|
||||
SpaceBeforeRangeBasedForLoopColon : true
|
||||
SpaceInEmptyParentheses : false
|
||||
SpacesBeforeTrailingComments : 2
|
||||
SpacesInAngles : false
|
||||
SpacesInCStyleCastParentheses : false
|
||||
SpacesInContainerLiterals : true
|
||||
SpacesInParentheses : true
|
||||
SpacesInSquareBrackets : false
|
||||
Standard : Cpp11
|
||||
UseTab : Never
|
||||
...
|
@ -347,3 +347,4 @@ script:
|
||||
-DCMAKE_CXX_STANDARD=$CXX_STANDARD
|
||||
$ADDITIONAL_BUILD_OPTIONS
|
||||
- cmake --build .
|
||||
- ./VulkanHppGenerator
|
||||
|
@ -37,14 +37,23 @@ if(CLANG_FORMAT_EXECUTABLE)
|
||||
execute_process(COMMAND ${CLANG_FORMAT_EXECUTABLE} "--version" OUTPUT_VARIABLE clangFormatVersion)
|
||||
# filter out the actual version
|
||||
string(REGEX MATCH [0123456789.]+ clangFormatVersion "${clangFormatVersion}")
|
||||
# we need at least version 10.0.0 !
|
||||
if (clangFormatVersion VERSION_LESS 10.0.0)
|
||||
message(WARNING " Found too old clang-format version <" ${clangFormatVersion} ">, we need version 10 and up to nicely format vulkan.hpp")
|
||||
# we need at least version 7.0.0 !
|
||||
if (clangFormatVersion VERSION_LESS 7.0.0)
|
||||
message(WARNING " Found too old clang-format version <" ${clangFormatVersion} ">, we need version 7 and up to nicely format vulkan.hpp and vulkan_raii.hpp")
|
||||
else ()
|
||||
message(STATUS " Found clang-format version <" ${clangFormatVersion} ">.")
|
||||
add_definitions(-DCLANG_FORMAT_EXECUTABLE="${CLANG_FORMAT_EXECUTABLE}")
|
||||
if (clangFormatVersion VERSION_LESS 10.0.0)
|
||||
message(STATUS " Using .clang-format version 7." )
|
||||
file(READ ".clang-format_7" clangFormat)
|
||||
else ()
|
||||
message(STATUS " Using .clang-format version 10." )
|
||||
file(READ ".clang-format_10" clangFormat)
|
||||
endif ()
|
||||
file(WRITE ".clang-format" ${clangFormat})
|
||||
endif()
|
||||
else()
|
||||
message(WARNING " Could not find clang-format version 10 and up. Generated vulkan.hpp will not be nicely formatted.")
|
||||
message(WARNING " Could not find clang-format. Generated vulkan.hpp and vulkan_raii.hpp will not be nicely formatted.")
|
||||
endif()
|
||||
|
||||
if (NOT DEFINED CMAKE_CXX_STANDARD)
|
||||
|
@ -9585,7 +9585,7 @@ void VulkanHppGenerator::appendStructConstructorsEnhanced( std::string &
|
||||
${templateHeader}${prefix}${structName}( ${arguments} )
|
||||
${prefix}${initializers}
|
||||
${prefix}{${sizeChecks}}
|
||||
#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE)
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
)";
|
||||
|
||||
str += replaceWithMap( constructorTemplate,
|
||||
@ -9810,7 +9810,7 @@ void VulkanHppGenerator::appendStructSetter( std::string & str
|
||||
${memberName} = ${arrayName}_.data();
|
||||
return *this;
|
||||
}
|
||||
#endif // !defined(VULKAN_HPP_DISABLE_ENHANCED_MODE)
|
||||
#endif /*VULKAN_HPP_DISABLE_ENHANCED_MODE*/
|
||||
)";
|
||||
|
||||
str += replaceWithMap( setArrayTemplate,
|
||||
@ -9881,7 +9881,7 @@ void VulkanHppGenerator::appendStructure( std::string &
|
||||
constructorAndSetters += "#if !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )";
|
||||
appendStructConstructors( constructorAndSetters, structure, " " );
|
||||
appendStructSubConstructor( constructorAndSetters, structure, " " );
|
||||
constructorAndSetters += "#endif // !defined( VULKAN_HPP_NO_STRUCT_CONSTRUCTORS )\n";
|
||||
constructorAndSetters += "#endif /*VULKAN_HPP_NO_STRUCT_CONSTRUCTORS*/\n";
|
||||
appendStructAssignmentOperators( constructorAndSetters, structure, " " );
|
||||
if ( !structure.second.returnedOnly )
|
||||
{
|
||||
@ -11089,7 +11089,7 @@ std::pair<std::string, std::string>
|
||||
std::string const & protect = platformIt->second.protect;
|
||||
if ( !protect.empty() )
|
||||
{
|
||||
return std::make_pair( "#ifdef " + protect + "\n", "#endif /*" + protect + "*/\n" );
|
||||
return std::make_pair( "#if defined( " + protect + " )\n", "#endif /*" + protect + "*/\n" );
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -13698,6 +13698,14 @@ void VulkanHppGenerator::setVulkanLicenseHeader( int line, std::string const & c
|
||||
{
|
||||
m_vulkanLicenseHeader.replace( pos, 1, "\n// " );
|
||||
}
|
||||
// replace any " \n" with "\n"
|
||||
for ( size_t pos = m_vulkanLicenseHeader.find( " \n" ); pos != std::string::npos;
|
||||
pos = m_vulkanLicenseHeader.find( " \n", pos ) )
|
||||
{
|
||||
m_vulkanLicenseHeader.replace( pos, 2, "\n" );
|
||||
}
|
||||
// remove any trailing spaces
|
||||
m_vulkanLicenseHeader = trimEnd( m_vulkanLicenseHeader );
|
||||
|
||||
// and add a little message on our own
|
||||
m_vulkanLicenseHeader += "\n\n// This header is generated from the Khronos Vulkan XML API Registry.";
|
||||
@ -14259,9 +14267,13 @@ int main( int argc, char ** argv )
|
||||
)";
|
||||
|
||||
static const std::string classFlags = R"(
|
||||
template <typename FlagBitsType> struct FlagTraits
|
||||
template <typename FlagBitsType>
|
||||
struct FlagTraits
|
||||
{
|
||||
enum { allFlags = 0 };
|
||||
enum
|
||||
{
|
||||
allFlags = 0
|
||||
};
|
||||
};
|
||||
|
||||
template <typename BitType>
|
||||
@ -14587,13 +14599,31 @@ int main( int argc, char ** argv )
|
||||
class Optional
|
||||
{
|
||||
public:
|
||||
Optional(RefType & reference) VULKAN_HPP_NOEXCEPT { m_ptr = &reference; }
|
||||
Optional(RefType * ptr) VULKAN_HPP_NOEXCEPT { m_ptr = ptr; }
|
||||
Optional(std::nullptr_t) VULKAN_HPP_NOEXCEPT { m_ptr = nullptr; }
|
||||
Optional( RefType & reference ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
m_ptr = &reference;
|
||||
}
|
||||
Optional( RefType * ptr ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
m_ptr = ptr;
|
||||
}
|
||||
Optional( std::nullptr_t ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
m_ptr = nullptr;
|
||||
}
|
||||
|
||||
operator RefType*() const VULKAN_HPP_NOEXCEPT { return m_ptr; }
|
||||
RefType const* operator->() const VULKAN_HPP_NOEXCEPT { return m_ptr; }
|
||||
explicit operator bool() const VULKAN_HPP_NOEXCEPT { return !!m_ptr; }
|
||||
operator RefType *() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return m_ptr;
|
||||
}
|
||||
RefType const * operator->() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return m_ptr;
|
||||
}
|
||||
explicit operator bool() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return !!m_ptr;
|
||||
}
|
||||
|
||||
private:
|
||||
RefType * m_ptr;
|
||||
@ -14633,7 +14663,14 @@ int main( int argc, char ** argv )
|
||||
)";
|
||||
|
||||
static const std::string classStructureChain = R"(
|
||||
template <typename X, typename Y> struct StructExtends { enum { value = false }; };
|
||||
template <typename X, typename Y>
|
||||
struct StructExtends
|
||||
{
|
||||
enum
|
||||
{
|
||||
value = false
|
||||
};
|
||||
};
|
||||
|
||||
template <typename Type, class...>
|
||||
struct IsPartOfStructureChain
|
||||
@ -14650,14 +14687,16 @@ int main( int argc, char ** argv )
|
||||
template <size_t Index, typename T, typename... ChainElements>
|
||||
struct StructureChainContains
|
||||
{
|
||||
static const bool value = std::is_same<T, typename std::tuple_element<Index, std::tuple<ChainElements...>>::type>::value ||
|
||||
static const bool value =
|
||||
std::is_same<T, typename std::tuple_element<Index, std::tuple<ChainElements...>>::type>::value ||
|
||||
StructureChainContains<Index - 1, T, ChainElements...>::value;
|
||||
};
|
||||
|
||||
template <typename T, typename... ChainElements>
|
||||
struct StructureChainContains<0, T, ChainElements...>
|
||||
{
|
||||
static const bool value = std::is_same<T, typename std::tuple_element<0, std::tuple<ChainElements...>>::type>::value;
|
||||
static const bool value =
|
||||
std::is_same<T, typename std::tuple_element<0, std::tuple<ChainElements...>>::type>::value;
|
||||
};
|
||||
|
||||
template <size_t Index, typename... ChainElements>
|
||||
@ -14721,13 +14760,15 @@ int main( int argc, char ** argv )
|
||||
template <typename T = typename std::tuple_element<0, std::tuple<ChainElements...>>::type, size_t Which = 0>
|
||||
T & get() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return std::get<ChainElementIndex<0, T, Which, void, ChainElements...>::value>( static_cast<std::tuple<ChainElements...>&>( *this ) );
|
||||
return std::get<ChainElementIndex<0, T, Which, void, ChainElements...>::value>(
|
||||
static_cast<std::tuple<ChainElements...> &>( *this ) );
|
||||
}
|
||||
|
||||
template <typename T = typename std::tuple_element<0, std::tuple<ChainElements...>>::type, size_t Which = 0>
|
||||
T const & get() const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
return std::get<ChainElementIndex<0, T, Which, void, ChainElements...>::value>( static_cast<std::tuple<ChainElements...> const &>( *this ) );
|
||||
return std::get<ChainElementIndex<0, T, Which, void, ChainElements...>::value>(
|
||||
static_cast<std::tuple<ChainElements...> const &>( *this ) );
|
||||
}
|
||||
|
||||
template <typename T0, typename T1, typename... Ts>
|
||||
@ -14851,8 +14892,8 @@ int main( int argc, char ** argv )
|
||||
|
||||
void unlink( VkBaseOutStructure const * pNext ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
VkBaseOutStructure * elementPtr = reinterpret_cast<VkBaseOutStructure *>(
|
||||
&std::get<0>( static_cast<std::tuple<ChainElements...> &>( *this ) ) );
|
||||
VkBaseOutStructure * elementPtr =
|
||||
reinterpret_cast<VkBaseOutStructure *>( &std::get<0>( static_cast<std::tuple<ChainElements...> &>( *this ) ) );
|
||||
while ( elementPtr && ( elementPtr->pNext != pNext ) )
|
||||
{
|
||||
elementPtr = elementPtr->pNext;
|
||||
@ -14871,7 +14912,8 @@ int main( int argc, char ** argv )
|
||||
|
||||
static const std::string classUniqueHandle = R"(
|
||||
#if !defined( VULKAN_HPP_NO_SMART_HANDLE )
|
||||
template <typename Type, typename Dispatch> class UniqueHandleTraits;
|
||||
template <typename Type, typename Dispatch>
|
||||
class UniqueHandleTraits;
|
||||
|
||||
template <typename Type, typename Dispatch>
|
||||
class UniqueHandle : public UniqueHandleTraits<Type, Dispatch>::deleter
|
||||
@ -14901,7 +14943,10 @@ int main( int argc, char ** argv )
|
||||
|
||||
~UniqueHandle() VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
if ( m_value ) this->destroy( m_value );
|
||||
if ( m_value )
|
||||
{
|
||||
this->destroy( m_value );
|
||||
}
|
||||
}
|
||||
|
||||
UniqueHandle & operator=( UniqueHandle const & ) = delete;
|
||||
@ -14952,7 +14997,10 @@ int main( int argc, char ** argv )
|
||||
{
|
||||
if ( m_value != value )
|
||||
{
|
||||
if ( m_value ) this->destroy( m_value );
|
||||
if ( m_value )
|
||||
{
|
||||
this->destroy( m_value );
|
||||
}
|
||||
m_value = value;
|
||||
}
|
||||
}
|
||||
@ -14975,15 +15023,18 @@ int main( int argc, char ** argv )
|
||||
};
|
||||
|
||||
template <typename UniqueType>
|
||||
VULKAN_HPP_INLINE std::vector<typename UniqueType::element_type> uniqueToRaw(std::vector<UniqueType> const& handles)
|
||||
VULKAN_HPP_INLINE std::vector<typename UniqueType::element_type>
|
||||
uniqueToRaw( std::vector<UniqueType> const & handles )
|
||||
{
|
||||
std::vector<typename UniqueType::element_type> newBuffer( handles.size() );
|
||||
std::transform(handles.begin(), handles.end(), newBuffer.begin(), [](UniqueType const& handle) { return handle.get(); });
|
||||
std::transform(
|
||||
handles.begin(), handles.end(), newBuffer.begin(), []( UniqueType const & handle ) { return handle.get(); } );
|
||||
return newBuffer;
|
||||
}
|
||||
|
||||
template <typename Type, typename Dispatch>
|
||||
VULKAN_HPP_INLINE void swap( UniqueHandle<Type,Dispatch> & lhs, UniqueHandle<Type,Dispatch> & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
VULKAN_HPP_INLINE void swap( UniqueHandle<Type, Dispatch> & lhs,
|
||||
UniqueHandle<Type, Dispatch> & rhs ) VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
lhs.swap( rhs );
|
||||
}
|
||||
@ -15577,7 +15628,7 @@ namespace std
|
||||
str += generator.getVulkanLicenseHeader() + includes + "\n";
|
||||
appendVersionCheck( str, generator.getVersion() );
|
||||
appendTypesafeStuff( str, generator.getTypesafeCheck() );
|
||||
str += defines + "\n" + "namespace VULKAN_HPP_NAMESPACE\n" + "{\n" + classArrayProxy + classArrayWrapper +
|
||||
str += defines + "\n" + "namespace VULKAN_HPP_NAMESPACE\n" + "{" + classArrayProxy + classArrayWrapper +
|
||||
classFlags + classOptional + classStructureChain + classUniqueHandle;
|
||||
generator.appendDispatchLoaderStatic( str );
|
||||
generator.appendDispatchLoaderDefault( str );
|
||||
@ -15614,7 +15665,9 @@ namespace std
|
||||
|
||||
#if defined( CLANG_FORMAT_EXECUTABLE )
|
||||
std::cout << "VulkanHppGenerator: Formatting " << VULKAN_HPP_FILE << " using clang-format..." << std::endl;
|
||||
int ret = std::system( "\"" CLANG_FORMAT_EXECUTABLE "\" -i --style=file " VULKAN_HPP_FILE );
|
||||
int ret = std::system( "\"" CLANG_FORMAT_EXECUTABLE "\" --version" );
|
||||
assert( ret == 0 );
|
||||
ret = std::system( "\"" CLANG_FORMAT_EXECUTABLE "\" -i --style=file " VULKAN_HPP_FILE );
|
||||
if ( ret != 0 )
|
||||
{
|
||||
std::cout << "VulkanHppGenerator: failed to format file " << VULKAN_HPP_FILE << " with error <" << ret << ">\n";
|
||||
|
2436
vulkan/vulkan.hpp
2436
vulkan/vulkan.hpp
File diff suppressed because it is too large
Load Diff
@ -219,7 +219,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return *this;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
||||
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT )
|
||||
void acquireXlibDisplayEXT( Display & dpy, VULKAN_HPP_NAMESPACE::DisplayKHR display ) const;
|
||||
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/
|
||||
|
||||
@ -239,7 +239,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::CooperativeMatrixPropertiesNV>
|
||||
getCooperativeMatrixPropertiesNV() const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_DIRECTFB_EXT
|
||||
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Bool32
|
||||
getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex, IDirectFB & dfb ) const VULKAN_HPP_NOEXCEPT;
|
||||
# endif /*VK_USE_PLATFORM_DIRECTFB_EXT*/
|
||||
@ -340,7 +340,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
template <typename StructureChain>
|
||||
VULKAN_HPP_NODISCARD std::vector<StructureChain> getQueueFamilyProperties2() const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_SCREEN_QNX
|
||||
# if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Bool32
|
||||
getScreenPresentationSupportQNX( uint32_t queueFamilyIndex,
|
||||
struct _screen_window & window ) const VULKAN_HPP_NOEXCEPT;
|
||||
@ -379,7 +379,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::SurfaceFormatKHR>
|
||||
getSurfaceFormatsKHR( VULKAN_HPP_NAMESPACE::SurfaceKHR surface ) const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR>
|
||||
getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
@ -393,23 +393,23 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD std::vector<VULKAN_HPP_NAMESPACE::PhysicalDeviceToolPropertiesEXT>
|
||||
getToolPropertiesEXT() const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
||||
# if defined( VK_USE_PLATFORM_WAYLAND_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Bool32
|
||||
getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex,
|
||||
struct wl_display & display ) const VULKAN_HPP_NOEXCEPT;
|
||||
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Bool32
|
||||
getWin32PresentationSupportKHR( uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XCB_KHR
|
||||
# if defined( VK_USE_PLATFORM_XCB_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Bool32 getXcbPresentationSupportKHR(
|
||||
uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id ) const VULKAN_HPP_NOEXCEPT;
|
||||
# endif /*VK_USE_PLATFORM_XCB_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XLIB_KHR
|
||||
# if defined( VK_USE_PLATFORM_XLIB_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Bool32 getXlibPresentationSupportKHR(
|
||||
uint32_t queueFamilyIndex, Display & dpy, VisualID visualID ) const VULKAN_HPP_NOEXCEPT;
|
||||
# endif /*VK_USE_PLATFORM_XLIB_KHR*/
|
||||
@ -599,12 +599,12 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...> getAccelerationStructureMemoryRequirementsNV(
|
||||
const AccelerationStructureMemoryRequirementsInfoNV & info ) const VULKAN_HPP_NOEXCEPT;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID
|
||||
getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const;
|
||||
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
template <typename X, typename Y, typename... Z>
|
||||
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...>
|
||||
getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const;
|
||||
@ -643,7 +643,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DeviceGroupPresentCapabilitiesKHR
|
||||
getGroupPresentCapabilitiesKHR() const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR
|
||||
getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
@ -658,7 +658,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
VULKAN_HPP_NODISCARD int getFenceFdKHR( const FenceGetFdInfoKHR & getFdInfo ) const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD HANDLE getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
@ -682,7 +682,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NODISCARD uint32_t
|
||||
getImageViewHandleNVX( const ImageViewHandleInfoNVX & info ) const VULKAN_HPP_NOEXCEPT;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
VULKAN_HPP_NODISCARD struct AHardwareBuffer *
|
||||
getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info ) const;
|
||||
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/
|
||||
@ -696,23 +696,23 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
getMemoryHostPointerPropertiesEXT( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType,
|
||||
const void * pHostPointer ) const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD HANDLE
|
||||
getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR
|
||||
getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType,
|
||||
HANDLE handle ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_NODISCARD zx_handle_t
|
||||
getMemoryZirconHandleFUCHSIA( const MemoryGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::MemoryZirconHandlePropertiesFUCHSIA
|
||||
getMemoryZirconHandlePropertiesFUCHSIA( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType,
|
||||
zx_handle_t zirconHandle ) const;
|
||||
@ -737,30 +737,30 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
VULKAN_HPP_NODISCARD int getSemaphoreFdKHR( const SemaphoreGetFdInfoKHR & getFdInfo ) const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD HANDLE
|
||||
getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_NODISCARD zx_handle_t
|
||||
getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
|
||||
void importFenceFdKHR( const ImportFenceFdInfoKHR & importFenceFdInfo ) const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
void importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
void importSemaphoreFdKHR( const ImportSemaphoreFdInfoKHR & importSemaphoreFdInfo ) const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
void
|
||||
importSemaphoreWin32HandleKHR( const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
void importSemaphoreZirconHandleFUCHSIA(
|
||||
const ImportSemaphoreZirconHandleInfoFUCHSIA & importSemaphoreZirconHandleInfo ) const;
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
@ -2681,7 +2681,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::DeviceSize getCommitment() const VULKAN_HPP_NOEXCEPT;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD HANDLE
|
||||
getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType ) const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
@ -2721,7 +2721,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eDisplayKHR;
|
||||
|
||||
public:
|
||||
# ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
||||
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT )
|
||||
DisplayKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::PhysicalDevice const & physicalDevice,
|
||||
Display & dpy,
|
||||
RROutput rrOutput )
|
||||
@ -2739,7 +2739,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_XLIB_XRANDR_EXT*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
DisplayKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::PhysicalDevice const & physicalDevice,
|
||||
uint32_t deviceRelativeId )
|
||||
: m_physicalDevice( *physicalDevice ), m_dispatcher( physicalDevice.getDispatcher() )
|
||||
@ -2796,7 +2796,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return *this;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
void acquireWinrtNV() const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
@ -4955,7 +4955,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSurfaceKHR;
|
||||
|
||||
public:
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::AndroidSurfaceCreateInfoKHR const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -4977,7 +4977,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_DIRECTFB_EXT
|
||||
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::DirectFBSurfaceCreateInfoEXT const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5039,7 +5039,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_IOS_MVK
|
||||
# if defined( VK_USE_PLATFORM_IOS_MVK )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::IOSSurfaceCreateInfoMVK const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5060,7 +5060,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_IOS_MVK*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateInfoFUCHSIA const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5082,7 +5082,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_MACOS_MVK
|
||||
# if defined( VK_USE_PLATFORM_MACOS_MVK )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::MacOSSurfaceCreateInfoMVK const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5104,7 +5104,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_MACOS_MVK*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_METAL_EXT
|
||||
# if defined( VK_USE_PLATFORM_METAL_EXT )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::MetalSurfaceCreateInfoEXT const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5126,7 +5126,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_METAL_EXT*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_SCREEN_QNX
|
||||
# if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::ScreenSurfaceCreateInfoQNX const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5148,7 +5148,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_SCREEN_QNX*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_GGP
|
||||
# if defined( VK_USE_PLATFORM_GGP )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::StreamDescriptorSurfaceCreateInfoGGP const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5170,7 +5170,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_GGP*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_VI_NN
|
||||
# if defined( VK_USE_PLATFORM_VI_NN )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::ViSurfaceCreateInfoNN const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5191,7 +5191,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_VI_NN*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
||||
# if defined( VK_USE_PLATFORM_WAYLAND_KHR )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::WaylandSurfaceCreateInfoKHR const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5213,7 +5213,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::Win32SurfaceCreateInfoKHR const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5235,7 +5235,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XCB_KHR
|
||||
# if defined( VK_USE_PLATFORM_XCB_KHR )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::XcbSurfaceCreateInfoKHR const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5256,7 +5256,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_XCB_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XLIB_KHR
|
||||
# if defined( VK_USE_PLATFORM_XLIB_KHR )
|
||||
SurfaceKHR( VULKAN_HPP_NAMESPACE::VULKAN_HPP_RAII_NAMESPACE::Instance const & instance,
|
||||
VULKAN_HPP_NAMESPACE::XlibSurfaceCreateInfoKHR const & createInfo,
|
||||
VULKAN_HPP_NAMESPACE::Optional<const VULKAN_HPP_NAMESPACE::AllocationCallbacks> allocator = nullptr )
|
||||
@ -5415,7 +5415,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return *this;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
void acquireFullScreenExclusiveModeEXT() const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
@ -5435,7 +5435,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_NAMESPACE::Result getStatus() const;
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
void releaseFullScreenExclusiveModeEXT() const;
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
@ -5745,7 +5745,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
reinterpret_cast<const VkDebugUtilsMessengerCallbackDataEXT *>( &callbackData ) );
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XLIB_XRANDR_EXT
|
||||
# if defined( VK_USE_PLATFORM_XLIB_XRANDR_EXT )
|
||||
VULKAN_HPP_INLINE void PhysicalDevice::acquireXlibDisplayEXT( Display & dpy,
|
||||
VULKAN_HPP_NAMESPACE::DisplayKHR display ) const
|
||||
{
|
||||
@ -5969,7 +5969,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return properties;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_DIRECTFB_EXT
|
||||
# if defined( VK_USE_PLATFORM_DIRECTFB_EXT )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Bool32
|
||||
PhysicalDevice::getDirectFBPresentationSupportEXT( uint32_t queueFamilyIndex,
|
||||
IDirectFB & dfb ) const VULKAN_HPP_NOEXCEPT
|
||||
@ -6546,7 +6546,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return returnVector;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_SCREEN_QNX
|
||||
# if defined( VK_USE_PLATFORM_SCREEN_QNX )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Bool32
|
||||
PhysicalDevice::getScreenPresentationSupportQNX( uint32_t queueFamilyIndex,
|
||||
struct _screen_window & window ) const VULKAN_HPP_NOEXCEPT
|
||||
@ -6807,7 +6807,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return surfaceFormats;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE std::vector<VULKAN_HPP_NAMESPACE::PresentModeKHR>
|
||||
PhysicalDevice::getSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const
|
||||
{
|
||||
@ -6943,7 +6943,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return toolProperties;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WAYLAND_KHR
|
||||
# if defined( VK_USE_PLATFORM_WAYLAND_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Bool32
|
||||
PhysicalDevice::getWaylandPresentationSupportKHR( uint32_t queueFamilyIndex,
|
||||
struct wl_display & display ) const VULKAN_HPP_NOEXCEPT
|
||||
@ -6958,7 +6958,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WAYLAND_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Bool32
|
||||
PhysicalDevice::getWin32PresentationSupportKHR( uint32_t queueFamilyIndex ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
@ -6971,7 +6971,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XCB_KHR
|
||||
# if defined( VK_USE_PLATFORM_XCB_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Bool32 PhysicalDevice::getXcbPresentationSupportKHR(
|
||||
uint32_t queueFamilyIndex, xcb_connection_t & connection, xcb_visualid_t visual_id ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
@ -6984,7 +6984,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_XCB_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_XLIB_KHR
|
||||
# if defined( VK_USE_PLATFORM_XLIB_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::Bool32 PhysicalDevice::getXlibPresentationSupportKHR(
|
||||
uint32_t queueFamilyIndex, Display & dpy, VisualID visualID ) const VULKAN_HPP_NOEXCEPT
|
||||
{
|
||||
@ -7312,7 +7312,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return structureChain;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::AndroidHardwareBufferPropertiesANDROID
|
||||
Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const
|
||||
{
|
||||
@ -7335,7 +7335,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_ANDROID_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
template <typename X, typename Y, typename... Z>
|
||||
VULKAN_HPP_NODISCARD StructureChain<X, Y, Z...>
|
||||
Device::getAndroidHardwareBufferPropertiesANDROID( const struct AHardwareBuffer & buffer ) const
|
||||
@ -7498,7 +7498,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return deviceGroupPresentCapabilities;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagsKHR
|
||||
Device::getGroupSurfacePresentModes2EXT( const PhysicalDeviceSurfaceInfo2KHR & surfaceInfo ) const
|
||||
{
|
||||
@ -7568,7 +7568,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return fd;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE HANDLE
|
||||
Device::getFenceWin32HandleKHR( const FenceGetWin32HandleInfoKHR & getWin32HandleInfo ) const
|
||||
{
|
||||
@ -7679,7 +7679,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
reinterpret_cast<const VkImageViewHandleInfoNVX *>( &info ) );
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_ANDROID_KHR
|
||||
# if defined( VK_USE_PLATFORM_ANDROID_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE struct AHardwareBuffer *
|
||||
Device::getMemoryAndroidHardwareBufferANDROID( const MemoryGetAndroidHardwareBufferInfoANDROID & info ) const
|
||||
{
|
||||
@ -7760,7 +7760,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return memoryHostPointerProperties;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE HANDLE
|
||||
Device::getMemoryWin32HandleKHR( const MemoryGetWin32HandleInfoKHR & getWin32HandleInfo ) const
|
||||
{
|
||||
@ -7782,7 +7782,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryWin32HandlePropertiesKHR
|
||||
Device::getMemoryWin32HandlePropertiesKHR( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType,
|
||||
HANDLE handle ) const
|
||||
@ -7806,7 +7806,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE zx_handle_t
|
||||
Device::getMemoryZirconHandleFUCHSIA( const MemoryGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const
|
||||
{
|
||||
@ -7828,7 +7828,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE VULKAN_HPP_NAMESPACE::MemoryZirconHandlePropertiesFUCHSIA
|
||||
Device::getMemoryZirconHandlePropertiesFUCHSIA( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType,
|
||||
zx_handle_t zirconHandle ) const
|
||||
@ -8027,7 +8027,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return fd;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE HANDLE
|
||||
Device::getSemaphoreWin32HandleKHR( const SemaphoreGetWin32HandleInfoKHR & getWin32HandleInfo ) const
|
||||
{
|
||||
@ -8049,7 +8049,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE zx_handle_t
|
||||
Device::getSemaphoreZirconHandleFUCHSIA( const SemaphoreGetZirconHandleInfoFUCHSIA & getZirconHandleInfo ) const
|
||||
{
|
||||
@ -8085,7 +8085,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_INLINE void
|
||||
Device::importFenceWin32HandleKHR( const ImportFenceWin32HandleInfoKHR & importFenceWin32HandleInfo ) const
|
||||
{
|
||||
@ -8119,7 +8119,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_INLINE void Device::importSemaphoreWin32HandleKHR(
|
||||
const ImportSemaphoreWin32HandleInfoKHR & importSemaphoreWin32HandleInfo ) const
|
||||
{
|
||||
@ -8138,7 +8138,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
}
|
||||
# endif /*VK_USE_PLATFORM_WIN32_KHR*/
|
||||
|
||||
# ifdef VK_USE_PLATFORM_FUCHSIA
|
||||
# if defined( VK_USE_PLATFORM_FUCHSIA )
|
||||
VULKAN_HPP_INLINE void Device::importSemaphoreZirconHandleFUCHSIA(
|
||||
const ImportSemaphoreZirconHandleInfoFUCHSIA & importSemaphoreZirconHandleInfo ) const
|
||||
{
|
||||
@ -10291,7 +10291,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return committedMemoryInBytes;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE HANDLE
|
||||
DeviceMemory::getMemoryWin32HandleNV( VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagsNV handleType ) const
|
||||
{
|
||||
@ -10338,7 +10338,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
static_cast<VkDeviceMemory>( m_deviceMemory ) );
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_INLINE void DisplayKHR::acquireWinrtNV() const
|
||||
{
|
||||
VULKAN_HPP_ASSERT( getDispatcher()->vkAcquireWinrtDisplayNV &&
|
||||
@ -11020,7 +11020,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return value;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_INLINE void SwapchainKHR::acquireFullScreenExclusiveModeEXT() const
|
||||
{
|
||||
VULKAN_HPP_ASSERT(
|
||||
@ -11196,7 +11196,7 @@ namespace VULKAN_HPP_NAMESPACE
|
||||
return result;
|
||||
}
|
||||
|
||||
# ifdef VK_USE_PLATFORM_WIN32_KHR
|
||||
# if defined( VK_USE_PLATFORM_WIN32_KHR )
|
||||
VULKAN_HPP_INLINE void SwapchainKHR::releaseFullScreenExclusiveModeEXT() const
|
||||
{
|
||||
VULKAN_HPP_ASSERT(
|
||||
|
Loading…
Reference in New Issue
Block a user