mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-17 09:29:20 +01:00
455 lines
16 KiB
C++
455 lines
16 KiB
C++
|
// Copyright (c) 2015-2019 The Khronos Group Inc.
|
||
|
//
|
||
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
// you may not use this file except in compliance with the License.
|
||
|
// You may obtain a copy of the License at
|
||
|
//
|
||
|
// http://www.apache.org/licenses/LICENSE-2.0
|
||
|
//
|
||
|
// Unless required by applicable law or agreed to in writing, software
|
||
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
// See the License for the specific language governing permissions and
|
||
|
// limitations under the License.
|
||
|
//
|
||
|
// ---- Exceptions to the Apache 2.0 License: ----
|
||
|
//
|
||
|
// As an exception, if you use this Software to generate code and portions of
|
||
|
// this Software are embedded into the generated code as a result, you may
|
||
|
// redistribute such product without providing attribution as would otherwise
|
||
|
// be required by Sections 4(a), 4(b) and 4(d) of the License.
|
||
|
//
|
||
|
// In addition, if you combine or link code generated by this Software with
|
||
|
// software that is licensed under the GPLv2 or the LGPL v2.0 or 2.1
|
||
|
// ("`Combined Software`") and if a court of competent jurisdiction determines
|
||
|
// that the patent provision (Section 3), the indemnity provision (Section 9)
|
||
|
// or other Section of the License conflicts with the conditions of the
|
||
|
// applicable GPL or LGPL license, you may retroactively and prospectively
|
||
|
// choose to deem waived or otherwise exclude such Section(s) of the License,
|
||
|
// but only in their entirety and only with respect to the Combined Software.
|
||
|
//
|
||
|
|
||
|
// This header is generated from the Khronos Vulkan XML API Registry.
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#include "../handles.hpp"
|
||
|
#include "VkAcquire.hpp"
|
||
|
#include "VkAcceleration.hpp"
|
||
|
#include "VkApplication.hpp"
|
||
|
#include "VkInitialize.hpp"
|
||
|
#include "VkAllocation.hpp"
|
||
|
#include "VkExternal.hpp"
|
||
|
#include "VkBind.hpp"
|
||
|
#include "VkObject.hpp"
|
||
|
#include "VkCooperative.hpp"
|
||
|
#include "VkAndroid.hpp"
|
||
|
#include "VkImport.hpp"
|
||
|
#include "VkImage.hpp"
|
||
|
#include "VkDescriptor.hpp"
|
||
|
#include "VkBase.hpp"
|
||
|
#include "VkAttachment.hpp"
|
||
|
#include "VkBuffer.hpp"
|
||
|
#include "VkFramebuffer.hpp"
|
||
|
#include "VkCalibrated.hpp"
|
||
|
#include "VkDevice.hpp"
|
||
|
#include "VkSubresource.hpp"
|
||
|
#include "VkCheckpoint.hpp"
|
||
|
#include "VkConformance.hpp"
|
||
|
#include "VkClear.hpp"
|
||
|
#include "VkStream.hpp"
|
||
|
#include "VkCmd.hpp"
|
||
|
#include "VkCoarse.hpp"
|
||
|
#include "VkExtension.hpp"
|
||
|
#include "VkCommand.hpp"
|
||
|
#include "VkFormat.hpp"
|
||
|
#include "VkMetal.hpp"
|
||
|
#include "VkComponent.hpp"
|
||
|
#include "VkCopy.hpp"
|
||
|
#include "VkCompute.hpp"
|
||
|
#include "VkPast.hpp"
|
||
|
#include "VkConditional.hpp"
|
||
|
#include "VkMapped.hpp"
|
||
|
#include "VkD3D.hpp"
|
||
|
#include "VkDebug.hpp"
|
||
|
#include "VkDedicated.hpp"
|
||
|
#include "VkFence.hpp"
|
||
|
#include "VkDispatch.hpp"
|
||
|
#include "VkPipeline.hpp"
|
||
|
#include "VkViewport.hpp"
|
||
|
#include "VkDraw.hpp"
|
||
|
#include "VkDisplay.hpp"
|
||
|
#include "VkDrm.hpp"
|
||
|
#include "VkEvent.hpp"
|
||
|
#include "VkExport.hpp"
|
||
|
#include "VkRay.hpp"
|
||
|
#include "VkExtent.hpp"
|
||
|
#include "VkPerformance.hpp"
|
||
|
#include "VkFilter.hpp"
|
||
|
#include "VkRender.hpp"
|
||
|
#include "VkGeometry.hpp"
|
||
|
#include "VkGraphics.hpp"
|
||
|
#include "VkHdr.hpp"
|
||
|
#include "VkHeadless.hpp"
|
||
|
#include "VkMultisample.hpp"
|
||
|
#include "VkI.hpp"
|
||
|
#include "VkIndirect.hpp"
|
||
|
#include "VkInput.hpp"
|
||
|
#include "VkOffset.hpp"
|
||
|
#include "VkMemory.hpp"
|
||
|
#include "VkInstance.hpp"
|
||
|
#include "VkLayer.hpp"
|
||
|
#include "VkMac.hpp"
|
||
|
#include "VkPhysical.hpp"
|
||
|
#include "VkPresent.hpp"
|
||
|
#include "VkProtected.hpp"
|
||
|
#include "VkPush.hpp"
|
||
|
#include "VkQuery.hpp"
|
||
|
#include "VkQueue.hpp"
|
||
|
#include "VkRect.hpp"
|
||
|
#include "VkRefresh.hpp"
|
||
|
#include "VkSample.hpp"
|
||
|
#include "VkSampler.hpp"
|
||
|
#include "VkSemaphore.hpp"
|
||
|
#include "VkShader.hpp"
|
||
|
#include "VkShading.hpp"
|
||
|
#include "VkShared.hpp"
|
||
|
#include "VkSwapchain.hpp"
|
||
|
#include "VkSparse.hpp"
|
||
|
#include "VkSpecialization.hpp"
|
||
|
#include "VkStencil.hpp"
|
||
|
#include "VkSubmit.hpp"
|
||
|
#include "VkSubpass.hpp"
|
||
|
#include "VkSurface.hpp"
|
||
|
#include "VkTexture.hpp"
|
||
|
#include "VkValidation.hpp"
|
||
|
#include "VkVertex.hpp"
|
||
|
#include "VkVi.hpp"
|
||
|
#include "VkWayland.hpp"
|
||
|
#include "VkWin32.hpp"
|
||
|
#include "VkWrite.hpp"
|
||
|
|
||
|
namespace VULKAN_HPP_NAMESPACE
|
||
|
{
|
||
|
struct WriteDescriptorSet
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR WriteDescriptorSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ = {},
|
||
|
uint32_t dstBinding_ = {},
|
||
|
uint32_t dstArrayElement_ = {},
|
||
|
uint32_t descriptorCount_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler,
|
||
|
const VULKAN_HPP_NAMESPACE::DescriptorImageInfo* pImageInfo_ = {},
|
||
|
const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo* pBufferInfo_ = {},
|
||
|
const VULKAN_HPP_NAMESPACE::BufferView* pTexelBufferView_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: dstSet( dstSet_ )
|
||
|
, dstBinding( dstBinding_ )
|
||
|
, dstArrayElement( dstArrayElement_ )
|
||
|
, descriptorCount( descriptorCount_ )
|
||
|
, descriptorType( descriptorType_ )
|
||
|
, pImageInfo( pImageInfo_ )
|
||
|
, pBufferInfo( pBufferInfo_ )
|
||
|
, pTexelBufferView( pTexelBufferView_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR WriteDescriptorSet( WriteDescriptorSet const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, dstSet( rhs.dstSet )
|
||
|
, dstBinding( rhs.dstBinding )
|
||
|
, dstArrayElement( rhs.dstArrayElement )
|
||
|
, descriptorCount( rhs.descriptorCount )
|
||
|
, descriptorType( rhs.descriptorType )
|
||
|
, pImageInfo( rhs.pImageInfo )
|
||
|
, pBufferInfo( rhs.pBufferInfo )
|
||
|
, pTexelBufferView( rhs.pTexelBufferView )
|
||
|
{}
|
||
|
|
||
|
WriteDescriptorSet & operator=( WriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( WriteDescriptorSet ) - offsetof( WriteDescriptorSet, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet( VkWriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet& operator=( VkWriteDescriptorSet const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::WriteDescriptorSet const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setDstSet( VULKAN_HPP_NAMESPACE::DescriptorSet dstSet_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstSet = dstSet_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setDstBinding( uint32_t dstBinding_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstBinding = dstBinding_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setDstArrayElement( uint32_t dstArrayElement_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstArrayElement = dstArrayElement_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setDescriptorCount( uint32_t descriptorCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
descriptorCount = descriptorCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
descriptorType = descriptorType_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setPImageInfo( const VULKAN_HPP_NAMESPACE::DescriptorImageInfo* pImageInfo_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pImageInfo = pImageInfo_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setPBufferInfo( const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo* pBufferInfo_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pBufferInfo = pBufferInfo_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSet & setPTexelBufferView( const VULKAN_HPP_NAMESPACE::BufferView* pTexelBufferView_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pTexelBufferView = pTexelBufferView_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkWriteDescriptorSet const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkWriteDescriptorSet*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkWriteDescriptorSet &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkWriteDescriptorSet*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( WriteDescriptorSet const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( WriteDescriptorSet const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( dstSet == rhs.dstSet )
|
||
|
&& ( dstBinding == rhs.dstBinding )
|
||
|
&& ( dstArrayElement == rhs.dstArrayElement )
|
||
|
&& ( descriptorCount == rhs.descriptorCount )
|
||
|
&& ( descriptorType == rhs.descriptorType )
|
||
|
&& ( pImageInfo == rhs.pImageInfo )
|
||
|
&& ( pBufferInfo == rhs.pBufferInfo )
|
||
|
&& ( pTexelBufferView == rhs.pTexelBufferView );
|
||
|
}
|
||
|
|
||
|
bool operator!=( WriteDescriptorSet const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSet;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::DescriptorSet dstSet = {};
|
||
|
uint32_t dstBinding = {};
|
||
|
uint32_t dstArrayElement = {};
|
||
|
uint32_t descriptorCount = {};
|
||
|
VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler;
|
||
|
const VULKAN_HPP_NAMESPACE::DescriptorImageInfo* pImageInfo = {};
|
||
|
const VULKAN_HPP_NAMESPACE::DescriptorBufferInfo* pBufferInfo = {};
|
||
|
const VULKAN_HPP_NAMESPACE::BufferView* pTexelBufferView = {};
|
||
|
};
|
||
|
static_assert( sizeof( WriteDescriptorSet ) == sizeof( VkWriteDescriptorSet ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<WriteDescriptorSet>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct WriteDescriptorSetAccelerationStructureNV
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureNV( uint32_t accelerationStructureCount_ = {},
|
||
|
const VULKAN_HPP_NAMESPACE::AccelerationStructureNV* pAccelerationStructures_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: accelerationStructureCount( accelerationStructureCount_ )
|
||
|
, pAccelerationStructures( pAccelerationStructures_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR WriteDescriptorSetAccelerationStructureNV( WriteDescriptorSetAccelerationStructureNV const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, accelerationStructureCount( rhs.accelerationStructureCount )
|
||
|
, pAccelerationStructures( rhs.pAccelerationStructures )
|
||
|
{}
|
||
|
|
||
|
WriteDescriptorSetAccelerationStructureNV & operator=( WriteDescriptorSetAccelerationStructureNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( WriteDescriptorSetAccelerationStructureNV ) - offsetof( WriteDescriptorSetAccelerationStructureNV, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetAccelerationStructureNV( VkWriteDescriptorSetAccelerationStructureNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetAccelerationStructureNV& operator=( VkWriteDescriptorSetAccelerationStructureNV const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::WriteDescriptorSetAccelerationStructureNV const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetAccelerationStructureNV & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetAccelerationStructureNV & setAccelerationStructureCount( uint32_t accelerationStructureCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
accelerationStructureCount = accelerationStructureCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetAccelerationStructureNV & setPAccelerationStructures( const VULKAN_HPP_NAMESPACE::AccelerationStructureNV* pAccelerationStructures_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pAccelerationStructures = pAccelerationStructures_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkWriteDescriptorSetAccelerationStructureNV const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkWriteDescriptorSetAccelerationStructureNV*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkWriteDescriptorSetAccelerationStructureNV &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkWriteDescriptorSetAccelerationStructureNV*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( WriteDescriptorSetAccelerationStructureNV const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( WriteDescriptorSetAccelerationStructureNV const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( accelerationStructureCount == rhs.accelerationStructureCount )
|
||
|
&& ( pAccelerationStructures == rhs.pAccelerationStructures );
|
||
|
}
|
||
|
|
||
|
bool operator!=( WriteDescriptorSetAccelerationStructureNV const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetAccelerationStructureNV;
|
||
|
const void* pNext = {};
|
||
|
uint32_t accelerationStructureCount = {};
|
||
|
const VULKAN_HPP_NAMESPACE::AccelerationStructureNV* pAccelerationStructures = {};
|
||
|
};
|
||
|
static_assert( sizeof( WriteDescriptorSetAccelerationStructureNV ) == sizeof( VkWriteDescriptorSetAccelerationStructureNV ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<WriteDescriptorSetAccelerationStructureNV>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct WriteDescriptorSetInlineUniformBlockEXT
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR WriteDescriptorSetInlineUniformBlockEXT( uint32_t dataSize_ = {},
|
||
|
const void* pData_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: dataSize( dataSize_ )
|
||
|
, pData( pData_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR WriteDescriptorSetInlineUniformBlockEXT( WriteDescriptorSetInlineUniformBlockEXT const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, dataSize( rhs.dataSize )
|
||
|
, pData( rhs.pData )
|
||
|
{}
|
||
|
|
||
|
WriteDescriptorSetInlineUniformBlockEXT & operator=( WriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( WriteDescriptorSetInlineUniformBlockEXT ) - offsetof( WriteDescriptorSetInlineUniformBlockEXT, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetInlineUniformBlockEXT( VkWriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetInlineUniformBlockEXT& operator=( VkWriteDescriptorSetInlineUniformBlockEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::WriteDescriptorSetInlineUniformBlockEXT const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetInlineUniformBlockEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetInlineUniformBlockEXT & setDataSize( uint32_t dataSize_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dataSize = dataSize_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
WriteDescriptorSetInlineUniformBlockEXT & setPData( const void* pData_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pData = pData_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkWriteDescriptorSetInlineUniformBlockEXT const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkWriteDescriptorSetInlineUniformBlockEXT*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkWriteDescriptorSetInlineUniformBlockEXT &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkWriteDescriptorSetInlineUniformBlockEXT*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( WriteDescriptorSetInlineUniformBlockEXT const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( WriteDescriptorSetInlineUniformBlockEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( dataSize == rhs.dataSize )
|
||
|
&& ( pData == rhs.pData );
|
||
|
}
|
||
|
|
||
|
bool operator!=( WriteDescriptorSetInlineUniformBlockEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eWriteDescriptorSetInlineUniformBlockEXT;
|
||
|
const void* pNext = {};
|
||
|
uint32_t dataSize = {};
|
||
|
const void* pData = {};
|
||
|
};
|
||
|
static_assert( sizeof( WriteDescriptorSetInlineUniformBlockEXT ) == sizeof( VkWriteDescriptorSetInlineUniformBlockEXT ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<WriteDescriptorSetInlineUniformBlockEXT>::value, "struct wrapper is not a standard layout!" );
|
||
|
} // namespace VULKAN_HPP_NAMESPACE
|