mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-12-26 04:21:50 +01:00
2162 lines
78 KiB
C++
2162 lines
78 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 "VkAllocation.hpp"
|
||
|
#include "VkExternal.hpp"
|
||
|
#include "VkBind.hpp"
|
||
|
#include "VkCooperative.hpp"
|
||
|
#include "VkAndroid.hpp"
|
||
|
#include "VkDescriptor.hpp"
|
||
|
#include "VkBase.hpp"
|
||
|
#include "VkAttachment.hpp"
|
||
|
#include "VkBuffer.hpp"
|
||
|
#include "VkFramebuffer.hpp"
|
||
|
#include "VkCalibrated.hpp"
|
||
|
#include "VkDevice.hpp"
|
||
|
#include "VkCheckpoint.hpp"
|
||
|
#include "VkConformance.hpp"
|
||
|
#include "VkClear.hpp"
|
||
|
#include "VkCmd.hpp"
|
||
|
#include "VkExtension.hpp"
|
||
|
#include "VkCoarse.hpp"
|
||
|
#include "VkCommand.hpp"
|
||
|
#include "VkFormat.hpp"
|
||
|
#include "VkComponent.hpp"
|
||
|
#include "VkCopy.hpp"
|
||
|
#include "VkCompute.hpp"
|
||
|
#include "VkConditional.hpp"
|
||
|
#include "VkD3D.hpp"
|
||
|
#include "VkDebug.hpp"
|
||
|
#include "VkFence.hpp"
|
||
|
#include "VkDedicated.hpp"
|
||
|
#include "VkDraw.hpp"
|
||
|
#include "VkDispatch.hpp"
|
||
|
#include "VkDisplay.hpp"
|
||
|
#include "VkDrm.hpp"
|
||
|
#include "VkEvent.hpp"
|
||
|
#include "VkExport.hpp"
|
||
|
#include "VkExtent.hpp"
|
||
|
#include "VkFilter.hpp"
|
||
|
#include "VkGeometry.hpp"
|
||
|
#include "VkGraphics.hpp"
|
||
|
#include "VkHdr.hpp"
|
||
|
#include "VkHeadless.hpp"
|
||
|
#include "VkI.hpp"
|
||
|
#include "VkImage.hpp"
|
||
|
|
||
|
namespace VULKAN_HPP_NAMESPACE
|
||
|
{
|
||
|
struct ImageBlit
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR_14 ImageBlit( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {},
|
||
|
std::array<VULKAN_HPP_NAMESPACE::Offset3D,2> const& srcOffsets_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {},
|
||
|
std::array<VULKAN_HPP_NAMESPACE::Offset3D,2> const& dstOffsets_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcSubresource( srcSubresource_ )
|
||
|
, srcOffsets{}
|
||
|
, dstSubresource( dstSubresource_ )
|
||
|
, dstOffsets{}
|
||
|
{
|
||
|
VULKAN_HPP_NAMESPACE::ConstExpression1DArrayCopy<VULKAN_HPP_NAMESPACE::Offset3D,2>::copy( srcOffsets, srcOffsets_ );
|
||
|
VULKAN_HPP_NAMESPACE::ConstExpression1DArrayCopy<VULKAN_HPP_NAMESPACE::Offset3D,2>::copy( dstOffsets, dstOffsets_ );
|
||
|
}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR_14 ImageBlit( ImageBlit const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcSubresource( rhs.srcSubresource )
|
||
|
, srcOffsets{}
|
||
|
, dstSubresource( rhs.dstSubresource )
|
||
|
, dstOffsets{}
|
||
|
{
|
||
|
VULKAN_HPP_NAMESPACE::ConstExpression1DArrayCopy<VULKAN_HPP_NAMESPACE::Offset3D,2>::copy( srcOffsets, rhs.srcOffsets );
|
||
|
VULKAN_HPP_NAMESPACE::ConstExpression1DArrayCopy<VULKAN_HPP_NAMESPACE::Offset3D,2>::copy( dstOffsets, rhs.dstOffsets );
|
||
|
}
|
||
|
|
||
|
ImageBlit & operator=( ImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( static_cast<void*>(this), &rhs, sizeof( ImageBlit ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageBlit( VkImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageBlit& operator=( VkImageBlit const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageBlit const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageBlit & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcSubresource = srcSubresource_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageBlit & setSrcOffsets( std::array<VULKAN_HPP_NAMESPACE::Offset3D,2> srcOffsets_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( srcOffsets, srcOffsets_.data(), 2 * sizeof( VULKAN_HPP_NAMESPACE::Offset3D ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageBlit & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstSubresource = dstSubresource_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageBlit & setDstOffsets( std::array<VULKAN_HPP_NAMESPACE::Offset3D,2> dstOffsets_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( dstOffsets, dstOffsets_.data(), 2 * sizeof( VULKAN_HPP_NAMESPACE::Offset3D ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageBlit const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageBlit*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageBlit &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageBlit*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageBlit const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageBlit const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( srcSubresource == rhs.srcSubresource )
|
||
|
&& ( memcmp( srcOffsets, rhs.srcOffsets, 2 * sizeof( VULKAN_HPP_NAMESPACE::Offset3D ) ) == 0 )
|
||
|
&& ( dstSubresource == rhs.dstSubresource )
|
||
|
&& ( memcmp( dstOffsets, rhs.dstOffsets, 2 * sizeof( VULKAN_HPP_NAMESPACE::Offset3D ) ) == 0 );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageBlit const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {};
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D srcOffsets[2] = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {};
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D dstOffsets[2] = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageBlit ) == sizeof( VkImageBlit ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageBlit>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageCopy
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageCopy( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Extent3D extent_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcSubresource( srcSubresource_ )
|
||
|
, srcOffset( srcOffset_ )
|
||
|
, dstSubresource( dstSubresource_ )
|
||
|
, dstOffset( dstOffset_ )
|
||
|
, extent( extent_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageCopy( ImageCopy const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcSubresource( rhs.srcSubresource )
|
||
|
, srcOffset( rhs.srcOffset )
|
||
|
, dstSubresource( rhs.dstSubresource )
|
||
|
, dstOffset( rhs.dstOffset )
|
||
|
, extent( rhs.extent )
|
||
|
{}
|
||
|
|
||
|
ImageCopy & operator=( ImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( static_cast<void*>(this), &rhs, sizeof( ImageCopy ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCopy( VkImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageCopy& operator=( VkImageCopy const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageCopy const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCopy & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcSubresource = srcSubresource_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCopy & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcOffset = srcOffset_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCopy & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstSubresource = dstSubresource_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCopy & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstOffset = dstOffset_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCopy & setExtent( VULKAN_HPP_NAMESPACE::Extent3D extent_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
extent = extent_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageCopy const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageCopy*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageCopy &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageCopy*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageCopy const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageCopy const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( srcSubresource == rhs.srcSubresource )
|
||
|
&& ( srcOffset == rhs.srcOffset )
|
||
|
&& ( dstSubresource == rhs.dstSubresource )
|
||
|
&& ( dstOffset == rhs.dstOffset )
|
||
|
&& ( extent == rhs.extent );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageCopy const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {};
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {};
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {};
|
||
|
VULKAN_HPP_NAMESPACE::Extent3D extent = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageCopy ) == sizeof( VkImageCopy ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageCopy>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageCreateInfo
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageCreateInfo( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageType imageType_ = VULKAN_HPP_NAMESPACE::ImageType::e1D,
|
||
|
VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined,
|
||
|
VULKAN_HPP_NAMESPACE::Extent3D extent_ = {},
|
||
|
uint32_t mipLevels_ = {},
|
||
|
uint32_t arrayLayers_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1,
|
||
|
VULKAN_HPP_NAMESPACE::ImageTiling tiling_ = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal,
|
||
|
VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive,
|
||
|
uint32_t queueFamilyIndexCount_ = {},
|
||
|
const uint32_t* pQueueFamilyIndices_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined ) VULKAN_HPP_NOEXCEPT
|
||
|
: flags( flags_ )
|
||
|
, imageType( imageType_ )
|
||
|
, format( format_ )
|
||
|
, extent( extent_ )
|
||
|
, mipLevels( mipLevels_ )
|
||
|
, arrayLayers( arrayLayers_ )
|
||
|
, samples( samples_ )
|
||
|
, tiling( tiling_ )
|
||
|
, usage( usage_ )
|
||
|
, sharingMode( sharingMode_ )
|
||
|
, queueFamilyIndexCount( queueFamilyIndexCount_ )
|
||
|
, pQueueFamilyIndices( pQueueFamilyIndices_ )
|
||
|
, initialLayout( initialLayout_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageCreateInfo( ImageCreateInfo const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, flags( rhs.flags )
|
||
|
, imageType( rhs.imageType )
|
||
|
, format( rhs.format )
|
||
|
, extent( rhs.extent )
|
||
|
, mipLevels( rhs.mipLevels )
|
||
|
, arrayLayers( rhs.arrayLayers )
|
||
|
, samples( rhs.samples )
|
||
|
, tiling( rhs.tiling )
|
||
|
, usage( rhs.usage )
|
||
|
, sharingMode( rhs.sharingMode )
|
||
|
, queueFamilyIndexCount( rhs.queueFamilyIndexCount )
|
||
|
, pQueueFamilyIndices( rhs.pQueueFamilyIndices )
|
||
|
, initialLayout( rhs.initialLayout )
|
||
|
{}
|
||
|
|
||
|
ImageCreateInfo & operator=( ImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageCreateInfo ) - offsetof( ImageCreateInfo, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo( VkImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo& operator=( VkImageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageCreateInfo const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
flags = flags_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setImageType( VULKAN_HPP_NAMESPACE::ImageType imageType_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
imageType = imageType_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
format = format_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setExtent( VULKAN_HPP_NAMESPACE::Extent3D extent_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
extent = extent_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setMipLevels( uint32_t mipLevels_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
mipLevels = mipLevels_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setArrayLayers( uint32_t arrayLayers_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
arrayLayers = arrayLayers_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setSamples( VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
samples = samples_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setTiling( VULKAN_HPP_NAMESPACE::ImageTiling tiling_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
tiling = tiling_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
usage = usage_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setSharingMode( VULKAN_HPP_NAMESPACE::SharingMode sharingMode_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
sharingMode = sharingMode_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setQueueFamilyIndexCount( uint32_t queueFamilyIndexCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
queueFamilyIndexCount = queueFamilyIndexCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setPQueueFamilyIndices( const uint32_t* pQueueFamilyIndices_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pQueueFamilyIndices = pQueueFamilyIndices_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageCreateInfo & setInitialLayout( VULKAN_HPP_NAMESPACE::ImageLayout initialLayout_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
initialLayout = initialLayout_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageCreateInfo const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageCreateInfo*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageCreateInfo &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageCreateInfo*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageCreateInfo const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( flags == rhs.flags )
|
||
|
&& ( imageType == rhs.imageType )
|
||
|
&& ( format == rhs.format )
|
||
|
&& ( extent == rhs.extent )
|
||
|
&& ( mipLevels == rhs.mipLevels )
|
||
|
&& ( arrayLayers == rhs.arrayLayers )
|
||
|
&& ( samples == rhs.samples )
|
||
|
&& ( tiling == rhs.tiling )
|
||
|
&& ( usage == rhs.usage )
|
||
|
&& ( sharingMode == rhs.sharingMode )
|
||
|
&& ( queueFamilyIndexCount == rhs.queueFamilyIndexCount )
|
||
|
&& ( pQueueFamilyIndices == rhs.pQueueFamilyIndices )
|
||
|
&& ( initialLayout == rhs.initialLayout );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageCreateInfo;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageCreateFlags flags = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageType imageType = VULKAN_HPP_NAMESPACE::ImageType::e1D;
|
||
|
VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined;
|
||
|
VULKAN_HPP_NAMESPACE::Extent3D extent = {};
|
||
|
uint32_t mipLevels = {};
|
||
|
uint32_t arrayLayers = {};
|
||
|
VULKAN_HPP_NAMESPACE::SampleCountFlagBits samples = VULKAN_HPP_NAMESPACE::SampleCountFlagBits::e1;
|
||
|
VULKAN_HPP_NAMESPACE::ImageTiling tiling = VULKAN_HPP_NAMESPACE::ImageTiling::eOptimal;
|
||
|
VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {};
|
||
|
VULKAN_HPP_NAMESPACE::SharingMode sharingMode = VULKAN_HPP_NAMESPACE::SharingMode::eExclusive;
|
||
|
uint32_t queueFamilyIndexCount = {};
|
||
|
const uint32_t* pQueueFamilyIndices = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageLayout initialLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined;
|
||
|
};
|
||
|
static_assert( sizeof( ImageCreateInfo ) == sizeof( VkImageCreateInfo ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageCreateInfo>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct SubresourceLayout
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR SubresourceLayout( VULKAN_HPP_NAMESPACE::DeviceSize offset_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize size_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize rowPitch_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize arrayPitch_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize depthPitch_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: offset( offset_ )
|
||
|
, size( size_ )
|
||
|
, rowPitch( rowPitch_ )
|
||
|
, arrayPitch( arrayPitch_ )
|
||
|
, depthPitch( depthPitch_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR SubresourceLayout( SubresourceLayout const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: offset( rhs.offset )
|
||
|
, size( rhs.size )
|
||
|
, rowPitch( rhs.rowPitch )
|
||
|
, arrayPitch( rhs.arrayPitch )
|
||
|
, depthPitch( rhs.depthPitch )
|
||
|
{}
|
||
|
|
||
|
SubresourceLayout & operator=( SubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( static_cast<void*>(this), &rhs, sizeof( SubresourceLayout ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
SubresourceLayout( VkSubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
SubresourceLayout& operator=( VkSubresourceLayout const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SubresourceLayout const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkSubresourceLayout const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkSubresourceLayout*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkSubresourceLayout &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkSubresourceLayout*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( SubresourceLayout const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( SubresourceLayout const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( offset == rhs.offset )
|
||
|
&& ( size == rhs.size )
|
||
|
&& ( rowPitch == rhs.rowPitch )
|
||
|
&& ( arrayPitch == rhs.arrayPitch )
|
||
|
&& ( depthPitch == rhs.depthPitch );
|
||
|
}
|
||
|
|
||
|
bool operator!=( SubresourceLayout const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize offset = {};
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize size = {};
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize rowPitch = {};
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize arrayPitch = {};
|
||
|
VULKAN_HPP_NAMESPACE::DeviceSize depthPitch = {};
|
||
|
};
|
||
|
static_assert( sizeof( SubresourceLayout ) == sizeof( VkSubresourceLayout ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<SubresourceLayout>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageDrmFormatModifierExplicitCreateInfoEXT
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierExplicitCreateInfoEXT( uint64_t drmFormatModifier_ = {},
|
||
|
uint32_t drmFormatModifierPlaneCount_ = {},
|
||
|
const VULKAN_HPP_NAMESPACE::SubresourceLayout* pPlaneLayouts_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: drmFormatModifier( drmFormatModifier_ )
|
||
|
, drmFormatModifierPlaneCount( drmFormatModifierPlaneCount_ )
|
||
|
, pPlaneLayouts( pPlaneLayouts_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierExplicitCreateInfoEXT( ImageDrmFormatModifierExplicitCreateInfoEXT const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, drmFormatModifier( rhs.drmFormatModifier )
|
||
|
, drmFormatModifierPlaneCount( rhs.drmFormatModifierPlaneCount )
|
||
|
, pPlaneLayouts( rhs.pPlaneLayouts )
|
||
|
{}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT & operator=( ImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageDrmFormatModifierExplicitCreateInfoEXT ) - offsetof( ImageDrmFormatModifierExplicitCreateInfoEXT, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT( VkImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT& operator=( VkImageDrmFormatModifierExplicitCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierExplicitCreateInfoEXT const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT & setDrmFormatModifier( uint64_t drmFormatModifier_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
drmFormatModifier = drmFormatModifier_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT & setDrmFormatModifierPlaneCount( uint32_t drmFormatModifierPlaneCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
drmFormatModifierPlaneCount = drmFormatModifierPlaneCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierExplicitCreateInfoEXT & setPPlaneLayouts( const VULKAN_HPP_NAMESPACE::SubresourceLayout* pPlaneLayouts_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pPlaneLayouts = pPlaneLayouts_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageDrmFormatModifierExplicitCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageDrmFormatModifierExplicitCreateInfoEXT*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageDrmFormatModifierExplicitCreateInfoEXT &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageDrmFormatModifierExplicitCreateInfoEXT*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageDrmFormatModifierExplicitCreateInfoEXT const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageDrmFormatModifierExplicitCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( drmFormatModifier == rhs.drmFormatModifier )
|
||
|
&& ( drmFormatModifierPlaneCount == rhs.drmFormatModifierPlaneCount )
|
||
|
&& ( pPlaneLayouts == rhs.pPlaneLayouts );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageDrmFormatModifierExplicitCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierExplicitCreateInfoEXT;
|
||
|
const void* pNext = {};
|
||
|
uint64_t drmFormatModifier = {};
|
||
|
uint32_t drmFormatModifierPlaneCount = {};
|
||
|
const VULKAN_HPP_NAMESPACE::SubresourceLayout* pPlaneLayouts = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageDrmFormatModifierExplicitCreateInfoEXT ) == sizeof( VkImageDrmFormatModifierExplicitCreateInfoEXT ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageDrmFormatModifierExplicitCreateInfoEXT>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageDrmFormatModifierListCreateInfoEXT
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierListCreateInfoEXT( uint32_t drmFormatModifierCount_ = {},
|
||
|
const uint64_t* pDrmFormatModifiers_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: drmFormatModifierCount( drmFormatModifierCount_ )
|
||
|
, pDrmFormatModifiers( pDrmFormatModifiers_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierListCreateInfoEXT( ImageDrmFormatModifierListCreateInfoEXT const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, drmFormatModifierCount( rhs.drmFormatModifierCount )
|
||
|
, pDrmFormatModifiers( rhs.pDrmFormatModifiers )
|
||
|
{}
|
||
|
|
||
|
ImageDrmFormatModifierListCreateInfoEXT & operator=( ImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageDrmFormatModifierListCreateInfoEXT ) - offsetof( ImageDrmFormatModifierListCreateInfoEXT, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierListCreateInfoEXT( VkImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierListCreateInfoEXT& operator=( VkImageDrmFormatModifierListCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierListCreateInfoEXT const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierListCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierListCreateInfoEXT & setDrmFormatModifierCount( uint32_t drmFormatModifierCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
drmFormatModifierCount = drmFormatModifierCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierListCreateInfoEXT & setPDrmFormatModifiers( const uint64_t* pDrmFormatModifiers_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pDrmFormatModifiers = pDrmFormatModifiers_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageDrmFormatModifierListCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageDrmFormatModifierListCreateInfoEXT*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageDrmFormatModifierListCreateInfoEXT &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageDrmFormatModifierListCreateInfoEXT*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageDrmFormatModifierListCreateInfoEXT const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageDrmFormatModifierListCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( drmFormatModifierCount == rhs.drmFormatModifierCount )
|
||
|
&& ( pDrmFormatModifiers == rhs.pDrmFormatModifiers );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageDrmFormatModifierListCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierListCreateInfoEXT;
|
||
|
const void* pNext = {};
|
||
|
uint32_t drmFormatModifierCount = {};
|
||
|
const uint64_t* pDrmFormatModifiers = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageDrmFormatModifierListCreateInfoEXT ) == sizeof( VkImageDrmFormatModifierListCreateInfoEXT ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageDrmFormatModifierListCreateInfoEXT>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageDrmFormatModifierPropertiesEXT
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierPropertiesEXT( uint64_t drmFormatModifier_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: drmFormatModifier( drmFormatModifier_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageDrmFormatModifierPropertiesEXT( ImageDrmFormatModifierPropertiesEXT const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, drmFormatModifier( rhs.drmFormatModifier )
|
||
|
{}
|
||
|
|
||
|
ImageDrmFormatModifierPropertiesEXT & operator=( ImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageDrmFormatModifierPropertiesEXT ) - offsetof( ImageDrmFormatModifierPropertiesEXT, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierPropertiesEXT( VkImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageDrmFormatModifierPropertiesEXT& operator=( VkImageDrmFormatModifierPropertiesEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageDrmFormatModifierPropertiesEXT const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageDrmFormatModifierPropertiesEXT const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageDrmFormatModifierPropertiesEXT*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageDrmFormatModifierPropertiesEXT &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageDrmFormatModifierPropertiesEXT*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageDrmFormatModifierPropertiesEXT const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageDrmFormatModifierPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( drmFormatModifier == rhs.drmFormatModifier );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageDrmFormatModifierPropertiesEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageDrmFormatModifierPropertiesEXT;
|
||
|
void* pNext = {};
|
||
|
uint64_t drmFormatModifier = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageDrmFormatModifierPropertiesEXT ) == sizeof( VkImageDrmFormatModifierPropertiesEXT ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageDrmFormatModifierPropertiesEXT>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageFormatListCreateInfoKHR
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageFormatListCreateInfoKHR( uint32_t viewFormatCount_ = {},
|
||
|
const VULKAN_HPP_NAMESPACE::Format* pViewFormats_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: viewFormatCount( viewFormatCount_ )
|
||
|
, pViewFormats( pViewFormats_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageFormatListCreateInfoKHR( ImageFormatListCreateInfoKHR const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, viewFormatCount( rhs.viewFormatCount )
|
||
|
, pViewFormats( rhs.pViewFormats )
|
||
|
{}
|
||
|
|
||
|
ImageFormatListCreateInfoKHR & operator=( ImageFormatListCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageFormatListCreateInfoKHR ) - offsetof( ImageFormatListCreateInfoKHR, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageFormatListCreateInfoKHR( VkImageFormatListCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageFormatListCreateInfoKHR& operator=( VkImageFormatListCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageFormatListCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageFormatListCreateInfoKHR & setViewFormatCount( uint32_t viewFormatCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
viewFormatCount = viewFormatCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageFormatListCreateInfoKHR & setPViewFormats( const VULKAN_HPP_NAMESPACE::Format* pViewFormats_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pViewFormats = pViewFormats_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageFormatListCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageFormatListCreateInfoKHR*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageFormatListCreateInfoKHR &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageFormatListCreateInfoKHR*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageFormatListCreateInfoKHR const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageFormatListCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( viewFormatCount == rhs.viewFormatCount )
|
||
|
&& ( pViewFormats == rhs.pViewFormats );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageFormatListCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageFormatListCreateInfoKHR;
|
||
|
const void* pNext = {};
|
||
|
uint32_t viewFormatCount = {};
|
||
|
const VULKAN_HPP_NAMESPACE::Format* pViewFormats = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageFormatListCreateInfoKHR ) == sizeof( VkImageFormatListCreateInfoKHR ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageFormatListCreateInfoKHR>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageFormatProperties2
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageFormatProperties2( VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: imageFormatProperties( imageFormatProperties_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageFormatProperties2( ImageFormatProperties2 const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, imageFormatProperties( rhs.imageFormatProperties )
|
||
|
{}
|
||
|
|
||
|
ImageFormatProperties2 & operator=( ImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageFormatProperties2 ) - offsetof( ImageFormatProperties2, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageFormatProperties2( VkImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageFormatProperties2& operator=( VkImageFormatProperties2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageFormatProperties2 const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageFormatProperties2 const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageFormatProperties2*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageFormatProperties2 &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageFormatProperties2*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageFormatProperties2 const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageFormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( imageFormatProperties == rhs.imageFormatProperties );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageFormatProperties2 const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageFormatProperties2;
|
||
|
void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageFormatProperties imageFormatProperties = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageFormatProperties2 ) == sizeof( VkImageFormatProperties2 ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageFormatProperties2>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageSubresourceRange
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageSubresourceRange( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {},
|
||
|
uint32_t baseMipLevel_ = {},
|
||
|
uint32_t levelCount_ = {},
|
||
|
uint32_t baseArrayLayer_ = {},
|
||
|
uint32_t layerCount_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: aspectMask( aspectMask_ )
|
||
|
, baseMipLevel( baseMipLevel_ )
|
||
|
, levelCount( levelCount_ )
|
||
|
, baseArrayLayer( baseArrayLayer_ )
|
||
|
, layerCount( layerCount_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageSubresourceRange( ImageSubresourceRange const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: aspectMask( rhs.aspectMask )
|
||
|
, baseMipLevel( rhs.baseMipLevel )
|
||
|
, levelCount( rhs.levelCount )
|
||
|
, baseArrayLayer( rhs.baseArrayLayer )
|
||
|
, layerCount( rhs.layerCount )
|
||
|
{}
|
||
|
|
||
|
ImageSubresourceRange & operator=( ImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( static_cast<void*>(this), &rhs, sizeof( ImageSubresourceRange ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange( VkImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange& operator=( VkImageSubresourceRange const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageSubresourceRange const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange & setAspectMask( VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
aspectMask = aspectMask_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange & setBaseMipLevel( uint32_t baseMipLevel_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
baseMipLevel = baseMipLevel_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange & setLevelCount( uint32_t levelCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
levelCount = levelCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange & setBaseArrayLayer( uint32_t baseArrayLayer_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
baseArrayLayer = baseArrayLayer_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSubresourceRange & setLayerCount( uint32_t layerCount_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
layerCount = layerCount_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageSubresourceRange const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageSubresourceRange*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageSubresourceRange &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageSubresourceRange*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageSubresourceRange const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageSubresourceRange const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( aspectMask == rhs.aspectMask )
|
||
|
&& ( baseMipLevel == rhs.baseMipLevel )
|
||
|
&& ( levelCount == rhs.levelCount )
|
||
|
&& ( baseArrayLayer == rhs.baseArrayLayer )
|
||
|
&& ( layerCount == rhs.layerCount );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageSubresourceRange const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {};
|
||
|
uint32_t baseMipLevel = {};
|
||
|
uint32_t levelCount = {};
|
||
|
uint32_t baseArrayLayer = {};
|
||
|
uint32_t layerCount = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageSubresourceRange ) == sizeof( VkImageSubresourceRange ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageSubresourceRange>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageMemoryBarrier
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageMemoryBarrier( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined,
|
||
|
VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined,
|
||
|
uint32_t srcQueueFamilyIndex_ = {},
|
||
|
uint32_t dstQueueFamilyIndex_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Image image_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcAccessMask( srcAccessMask_ )
|
||
|
, dstAccessMask( dstAccessMask_ )
|
||
|
, oldLayout( oldLayout_ )
|
||
|
, newLayout( newLayout_ )
|
||
|
, srcQueueFamilyIndex( srcQueueFamilyIndex_ )
|
||
|
, dstQueueFamilyIndex( dstQueueFamilyIndex_ )
|
||
|
, image( image_ )
|
||
|
, subresourceRange( subresourceRange_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageMemoryBarrier( ImageMemoryBarrier const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, srcAccessMask( rhs.srcAccessMask )
|
||
|
, dstAccessMask( rhs.dstAccessMask )
|
||
|
, oldLayout( rhs.oldLayout )
|
||
|
, newLayout( rhs.newLayout )
|
||
|
, srcQueueFamilyIndex( rhs.srcQueueFamilyIndex )
|
||
|
, dstQueueFamilyIndex( rhs.dstQueueFamilyIndex )
|
||
|
, image( rhs.image )
|
||
|
, subresourceRange( rhs.subresourceRange )
|
||
|
{}
|
||
|
|
||
|
ImageMemoryBarrier & operator=( ImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageMemoryBarrier ) - offsetof( ImageMemoryBarrier, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier( VkImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier& operator=( VkImageMemoryBarrier const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageMemoryBarrier const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setSrcAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcAccessMask = srcAccessMask_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setDstAccessMask( VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstAccessMask = dstAccessMask_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setOldLayout( VULKAN_HPP_NAMESPACE::ImageLayout oldLayout_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
oldLayout = oldLayout_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setNewLayout( VULKAN_HPP_NAMESPACE::ImageLayout newLayout_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
newLayout = newLayout_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setSrcQueueFamilyIndex( uint32_t srcQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcQueueFamilyIndex = srcQueueFamilyIndex_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setDstQueueFamilyIndex( uint32_t dstQueueFamilyIndex_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstQueueFamilyIndex = dstQueueFamilyIndex_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
image = image_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryBarrier & setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
subresourceRange = subresourceRange_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageMemoryBarrier const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageMemoryBarrier*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageMemoryBarrier &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageMemoryBarrier*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageMemoryBarrier const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageMemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( srcAccessMask == rhs.srcAccessMask )
|
||
|
&& ( dstAccessMask == rhs.dstAccessMask )
|
||
|
&& ( oldLayout == rhs.oldLayout )
|
||
|
&& ( newLayout == rhs.newLayout )
|
||
|
&& ( srcQueueFamilyIndex == rhs.srcQueueFamilyIndex )
|
||
|
&& ( dstQueueFamilyIndex == rhs.dstQueueFamilyIndex )
|
||
|
&& ( image == rhs.image )
|
||
|
&& ( subresourceRange == rhs.subresourceRange );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageMemoryBarrier const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryBarrier;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::AccessFlags srcAccessMask = {};
|
||
|
VULKAN_HPP_NAMESPACE::AccessFlags dstAccessMask = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageLayout oldLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined;
|
||
|
VULKAN_HPP_NAMESPACE::ImageLayout newLayout = VULKAN_HPP_NAMESPACE::ImageLayout::eUndefined;
|
||
|
uint32_t srcQueueFamilyIndex = {};
|
||
|
uint32_t dstQueueFamilyIndex = {};
|
||
|
VULKAN_HPP_NAMESPACE::Image image = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageMemoryBarrier ) == sizeof( VkImageMemoryBarrier ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageMemoryBarrier>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageMemoryRequirementsInfo2
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageMemoryRequirementsInfo2( VULKAN_HPP_NAMESPACE::Image image_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: image( image_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageMemoryRequirementsInfo2( ImageMemoryRequirementsInfo2 const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, image( rhs.image )
|
||
|
{}
|
||
|
|
||
|
ImageMemoryRequirementsInfo2 & operator=( ImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageMemoryRequirementsInfo2 ) - offsetof( ImageMemoryRequirementsInfo2, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryRequirementsInfo2( VkImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageMemoryRequirementsInfo2& operator=( VkImageMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageMemoryRequirementsInfo2 const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryRequirementsInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageMemoryRequirementsInfo2 & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
image = image_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageMemoryRequirementsInfo2 const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageMemoryRequirementsInfo2*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageMemoryRequirementsInfo2*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageMemoryRequirementsInfo2 const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( image == rhs.image );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageMemoryRequirementsInfo2;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::Image image = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageMemoryRequirementsInfo2 ) == sizeof( VkImageMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageMemoryRequirementsInfo2>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
#ifdef VK_USE_PLATFORM_FUCHSIA
|
||
|
struct ImagePipeSurfaceCreateInfoFUCHSIA
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImagePipeSurfaceCreateInfoFUCHSIA( VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags_ = {},
|
||
|
zx_handle_t imagePipeHandle_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: flags( flags_ )
|
||
|
, imagePipeHandle( imagePipeHandle_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImagePipeSurfaceCreateInfoFUCHSIA( ImagePipeSurfaceCreateInfoFUCHSIA const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, flags( rhs.flags )
|
||
|
, imagePipeHandle( rhs.imagePipeHandle )
|
||
|
{}
|
||
|
|
||
|
ImagePipeSurfaceCreateInfoFUCHSIA & operator=( ImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImagePipeSurfaceCreateInfoFUCHSIA ) - offsetof( ImagePipeSurfaceCreateInfoFUCHSIA, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePipeSurfaceCreateInfoFUCHSIA( VkImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImagePipeSurfaceCreateInfoFUCHSIA& operator=( VkImagePipeSurfaceCreateInfoFUCHSIA const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateInfoFUCHSIA const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePipeSurfaceCreateInfoFUCHSIA & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePipeSurfaceCreateInfoFUCHSIA & setFlags( VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
flags = flags_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePipeSurfaceCreateInfoFUCHSIA & setImagePipeHandle( zx_handle_t imagePipeHandle_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
imagePipeHandle = imagePipeHandle_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImagePipeSurfaceCreateInfoFUCHSIA const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImagePipeSurfaceCreateInfoFUCHSIA*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImagePipeSurfaceCreateInfoFUCHSIA &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImagePipeSurfaceCreateInfoFUCHSIA*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImagePipeSurfaceCreateInfoFUCHSIA const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImagePipeSurfaceCreateInfoFUCHSIA const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( flags == rhs.flags )
|
||
|
&& ( imagePipeHandle == rhs.imagePipeHandle );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImagePipeSurfaceCreateInfoFUCHSIA const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImagepipeSurfaceCreateInfoFUCHSIA;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImagePipeSurfaceCreateFlagsFUCHSIA flags = {};
|
||
|
zx_handle_t imagePipeHandle = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImagePipeSurfaceCreateInfoFUCHSIA ) == sizeof( VkImagePipeSurfaceCreateInfoFUCHSIA ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImagePipeSurfaceCreateInfoFUCHSIA>::value, "struct wrapper is not a standard layout!" );
|
||
|
#endif /*VK_USE_PLATFORM_FUCHSIA*/
|
||
|
|
||
|
struct ImagePlaneMemoryRequirementsInfo
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImagePlaneMemoryRequirementsInfo( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor ) VULKAN_HPP_NOEXCEPT
|
||
|
: planeAspect( planeAspect_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImagePlaneMemoryRequirementsInfo( ImagePlaneMemoryRequirementsInfo const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, planeAspect( rhs.planeAspect )
|
||
|
{}
|
||
|
|
||
|
ImagePlaneMemoryRequirementsInfo & operator=( ImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImagePlaneMemoryRequirementsInfo ) - offsetof( ImagePlaneMemoryRequirementsInfo, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePlaneMemoryRequirementsInfo( VkImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImagePlaneMemoryRequirementsInfo& operator=( VkImagePlaneMemoryRequirementsInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImagePlaneMemoryRequirementsInfo const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePlaneMemoryRequirementsInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImagePlaneMemoryRequirementsInfo & setPlaneAspect( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
planeAspect = planeAspect_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImagePlaneMemoryRequirementsInfo const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImagePlaneMemoryRequirementsInfo*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImagePlaneMemoryRequirementsInfo &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImagePlaneMemoryRequirementsInfo*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImagePlaneMemoryRequirementsInfo const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImagePlaneMemoryRequirementsInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( planeAspect == rhs.planeAspect );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImagePlaneMemoryRequirementsInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImagePlaneMemoryRequirementsInfo;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor;
|
||
|
};
|
||
|
static_assert( sizeof( ImagePlaneMemoryRequirementsInfo ) == sizeof( VkImagePlaneMemoryRequirementsInfo ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImagePlaneMemoryRequirementsInfo>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageResolve
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageResolve( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Extent3D extent_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcSubresource( srcSubresource_ )
|
||
|
, srcOffset( srcOffset_ )
|
||
|
, dstSubresource( dstSubresource_ )
|
||
|
, dstOffset( dstOffset_ )
|
||
|
, extent( extent_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageResolve( ImageResolve const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: srcSubresource( rhs.srcSubresource )
|
||
|
, srcOffset( rhs.srcOffset )
|
||
|
, dstSubresource( rhs.dstSubresource )
|
||
|
, dstOffset( rhs.dstOffset )
|
||
|
, extent( rhs.extent )
|
||
|
{}
|
||
|
|
||
|
ImageResolve & operator=( ImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( static_cast<void*>(this), &rhs, sizeof( ImageResolve ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageResolve( VkImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageResolve& operator=( VkImageResolve const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageResolve const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageResolve & setSrcSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcSubresource = srcSubresource_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageResolve & setSrcOffset( VULKAN_HPP_NAMESPACE::Offset3D srcOffset_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
srcOffset = srcOffset_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageResolve & setDstSubresource( VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstSubresource = dstSubresource_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageResolve & setDstOffset( VULKAN_HPP_NAMESPACE::Offset3D dstOffset_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
dstOffset = dstOffset_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageResolve & setExtent( VULKAN_HPP_NAMESPACE::Extent3D extent_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
extent = extent_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageResolve const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageResolve*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageResolve &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageResolve*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageResolve const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageResolve const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( srcSubresource == rhs.srcSubresource )
|
||
|
&& ( srcOffset == rhs.srcOffset )
|
||
|
&& ( dstSubresource == rhs.dstSubresource )
|
||
|
&& ( dstOffset == rhs.dstOffset )
|
||
|
&& ( extent == rhs.extent );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageResolve const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers srcSubresource = {};
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D srcOffset = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceLayers dstSubresource = {};
|
||
|
VULKAN_HPP_NAMESPACE::Offset3D dstOffset = {};
|
||
|
VULKAN_HPP_NAMESPACE::Extent3D extent = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageResolve ) == sizeof( VkImageResolve ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageResolve>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageSparseMemoryRequirementsInfo2
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageSparseMemoryRequirementsInfo2( VULKAN_HPP_NAMESPACE::Image image_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: image( image_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageSparseMemoryRequirementsInfo2( ImageSparseMemoryRequirementsInfo2 const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, image( rhs.image )
|
||
|
{}
|
||
|
|
||
|
ImageSparseMemoryRequirementsInfo2 & operator=( ImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageSparseMemoryRequirementsInfo2 ) - offsetof( ImageSparseMemoryRequirementsInfo2, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSparseMemoryRequirementsInfo2( VkImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageSparseMemoryRequirementsInfo2& operator=( VkImageSparseMemoryRequirementsInfo2 const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageSparseMemoryRequirementsInfo2 const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSparseMemoryRequirementsInfo2 & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSparseMemoryRequirementsInfo2 & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
image = image_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageSparseMemoryRequirementsInfo2 const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageSparseMemoryRequirementsInfo2*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageSparseMemoryRequirementsInfo2 &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageSparseMemoryRequirementsInfo2*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageSparseMemoryRequirementsInfo2 const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageSparseMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( image == rhs.image );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageSparseMemoryRequirementsInfo2 const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageSparseMemoryRequirementsInfo2;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::Image image = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageSparseMemoryRequirementsInfo2 ) == sizeof( VkImageSparseMemoryRequirementsInfo2 ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageSparseMemoryRequirementsInfo2>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageStencilUsageCreateInfoEXT
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageStencilUsageCreateInfoEXT( VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: stencilUsage( stencilUsage_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageStencilUsageCreateInfoEXT( ImageStencilUsageCreateInfoEXT const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, stencilUsage( rhs.stencilUsage )
|
||
|
{}
|
||
|
|
||
|
ImageStencilUsageCreateInfoEXT & operator=( ImageStencilUsageCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageStencilUsageCreateInfoEXT ) - offsetof( ImageStencilUsageCreateInfoEXT, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageStencilUsageCreateInfoEXT( VkImageStencilUsageCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageStencilUsageCreateInfoEXT& operator=( VkImageStencilUsageCreateInfoEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageStencilUsageCreateInfoEXT const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageStencilUsageCreateInfoEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageStencilUsageCreateInfoEXT & setStencilUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
stencilUsage = stencilUsage_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageStencilUsageCreateInfoEXT const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageStencilUsageCreateInfoEXT*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageStencilUsageCreateInfoEXT &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageStencilUsageCreateInfoEXT*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageStencilUsageCreateInfoEXT const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageStencilUsageCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( stencilUsage == rhs.stencilUsage );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageStencilUsageCreateInfoEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageStencilUsageCreateInfoEXT;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageUsageFlags stencilUsage = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageStencilUsageCreateInfoEXT ) == sizeof( VkImageStencilUsageCreateInfoEXT ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageStencilUsageCreateInfoEXT>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageSwapchainCreateInfoKHR
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageSwapchainCreateInfoKHR( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: swapchain( swapchain_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageSwapchainCreateInfoKHR( ImageSwapchainCreateInfoKHR const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, swapchain( rhs.swapchain )
|
||
|
{}
|
||
|
|
||
|
ImageSwapchainCreateInfoKHR & operator=( ImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageSwapchainCreateInfoKHR ) - offsetof( ImageSwapchainCreateInfoKHR, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSwapchainCreateInfoKHR( VkImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageSwapchainCreateInfoKHR& operator=( VkImageSwapchainCreateInfoKHR const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageSwapchainCreateInfoKHR const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSwapchainCreateInfoKHR & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageSwapchainCreateInfoKHR & setSwapchain( VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
swapchain = swapchain_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageSwapchainCreateInfoKHR const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageSwapchainCreateInfoKHR*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageSwapchainCreateInfoKHR &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageSwapchainCreateInfoKHR*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageSwapchainCreateInfoKHR const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageSwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( swapchain == rhs.swapchain );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageSwapchainCreateInfoKHR const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageSwapchainCreateInfoKHR;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::SwapchainKHR swapchain = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageSwapchainCreateInfoKHR ) == sizeof( VkImageSwapchainCreateInfoKHR ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageSwapchainCreateInfoKHR>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageViewASTCDecodeModeEXT
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewASTCDecodeModeEXT( VULKAN_HPP_NAMESPACE::Format decodeMode_ = VULKAN_HPP_NAMESPACE::Format::eUndefined ) VULKAN_HPP_NOEXCEPT
|
||
|
: decodeMode( decodeMode_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewASTCDecodeModeEXT( ImageViewASTCDecodeModeEXT const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, decodeMode( rhs.decodeMode )
|
||
|
{}
|
||
|
|
||
|
ImageViewASTCDecodeModeEXT & operator=( ImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageViewASTCDecodeModeEXT ) - offsetof( ImageViewASTCDecodeModeEXT, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewASTCDecodeModeEXT( VkImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageViewASTCDecodeModeEXT& operator=( VkImageViewASTCDecodeModeEXT const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageViewASTCDecodeModeEXT const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewASTCDecodeModeEXT & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewASTCDecodeModeEXT & setDecodeMode( VULKAN_HPP_NAMESPACE::Format decodeMode_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
decodeMode = decodeMode_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageViewASTCDecodeModeEXT const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageViewASTCDecodeModeEXT*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageViewASTCDecodeModeEXT &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageViewASTCDecodeModeEXT*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageViewASTCDecodeModeEXT const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageViewASTCDecodeModeEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( decodeMode == rhs.decodeMode );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageViewASTCDecodeModeEXT const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewAstcDecodeModeEXT;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::Format decodeMode = VULKAN_HPP_NAMESPACE::Format::eUndefined;
|
||
|
};
|
||
|
static_assert( sizeof( ImageViewASTCDecodeModeEXT ) == sizeof( VkImageViewASTCDecodeModeEXT ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageViewASTCDecodeModeEXT>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageViewCreateInfo
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewCreateInfo( VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::Image image_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageViewType viewType_ = VULKAN_HPP_NAMESPACE::ImageViewType::e1D,
|
||
|
VULKAN_HPP_NAMESPACE::Format format_ = VULKAN_HPP_NAMESPACE::Format::eUndefined,
|
||
|
VULKAN_HPP_NAMESPACE::ComponentMapping components_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: flags( flags_ )
|
||
|
, image( image_ )
|
||
|
, viewType( viewType_ )
|
||
|
, format( format_ )
|
||
|
, components( components_ )
|
||
|
, subresourceRange( subresourceRange_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewCreateInfo( ImageViewCreateInfo const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, flags( rhs.flags )
|
||
|
, image( rhs.image )
|
||
|
, viewType( rhs.viewType )
|
||
|
, format( rhs.format )
|
||
|
, components( rhs.components )
|
||
|
, subresourceRange( rhs.subresourceRange )
|
||
|
{}
|
||
|
|
||
|
ImageViewCreateInfo & operator=( ImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageViewCreateInfo ) - offsetof( ImageViewCreateInfo, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo( VkImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo& operator=( VkImageViewCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageViewCreateInfo const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setFlags( VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
flags = flags_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setImage( VULKAN_HPP_NAMESPACE::Image image_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
image = image_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setViewType( VULKAN_HPP_NAMESPACE::ImageViewType viewType_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
viewType = viewType_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setFormat( VULKAN_HPP_NAMESPACE::Format format_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
format = format_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setComponents( VULKAN_HPP_NAMESPACE::ComponentMapping components_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
components = components_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewCreateInfo & setSubresourceRange( VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
subresourceRange = subresourceRange_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageViewCreateInfo const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageViewCreateInfo*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageViewCreateInfo &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageViewCreateInfo*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageViewCreateInfo const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageViewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( flags == rhs.flags )
|
||
|
&& ( image == rhs.image )
|
||
|
&& ( viewType == rhs.viewType )
|
||
|
&& ( format == rhs.format )
|
||
|
&& ( components == rhs.components )
|
||
|
&& ( subresourceRange == rhs.subresourceRange );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageViewCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewCreateInfo;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageViewCreateFlags flags = {};
|
||
|
VULKAN_HPP_NAMESPACE::Image image = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageViewType viewType = VULKAN_HPP_NAMESPACE::ImageViewType::e1D;
|
||
|
VULKAN_HPP_NAMESPACE::Format format = VULKAN_HPP_NAMESPACE::Format::eUndefined;
|
||
|
VULKAN_HPP_NAMESPACE::ComponentMapping components = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageSubresourceRange subresourceRange = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageViewCreateInfo ) == sizeof( VkImageViewCreateInfo ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageViewCreateInfo>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageViewHandleInfoNVX
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewHandleInfoNVX( VULKAN_HPP_NAMESPACE::ImageView imageView_ = {},
|
||
|
VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler,
|
||
|
VULKAN_HPP_NAMESPACE::Sampler sampler_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: imageView( imageView_ )
|
||
|
, descriptorType( descriptorType_ )
|
||
|
, sampler( sampler_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewHandleInfoNVX( ImageViewHandleInfoNVX const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, imageView( rhs.imageView )
|
||
|
, descriptorType( rhs.descriptorType )
|
||
|
, sampler( rhs.sampler )
|
||
|
{}
|
||
|
|
||
|
ImageViewHandleInfoNVX & operator=( ImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageViewHandleInfoNVX ) - offsetof( ImageViewHandleInfoNVX, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewHandleInfoNVX( VkImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageViewHandleInfoNVX& operator=( VkImageViewHandleInfoNVX const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageViewHandleInfoNVX const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewHandleInfoNVX & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewHandleInfoNVX & setImageView( VULKAN_HPP_NAMESPACE::ImageView imageView_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
imageView = imageView_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewHandleInfoNVX & setDescriptorType( VULKAN_HPP_NAMESPACE::DescriptorType descriptorType_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
descriptorType = descriptorType_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewHandleInfoNVX & setSampler( VULKAN_HPP_NAMESPACE::Sampler sampler_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
sampler = sampler_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageViewHandleInfoNVX const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageViewHandleInfoNVX*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageViewHandleInfoNVX &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageViewHandleInfoNVX*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageViewHandleInfoNVX const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageViewHandleInfoNVX const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( imageView == rhs.imageView )
|
||
|
&& ( descriptorType == rhs.descriptorType )
|
||
|
&& ( sampler == rhs.sampler );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageViewHandleInfoNVX const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewHandleInfoNVX;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageView imageView = {};
|
||
|
VULKAN_HPP_NAMESPACE::DescriptorType descriptorType = VULKAN_HPP_NAMESPACE::DescriptorType::eSampler;
|
||
|
VULKAN_HPP_NAMESPACE::Sampler sampler = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageViewHandleInfoNVX ) == sizeof( VkImageViewHandleInfoNVX ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageViewHandleInfoNVX>::value, "struct wrapper is not a standard layout!" );
|
||
|
|
||
|
struct ImageViewUsageCreateInfo
|
||
|
{
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewUsageCreateInfo( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ = {} ) VULKAN_HPP_NOEXCEPT
|
||
|
: usage( usage_ )
|
||
|
{}
|
||
|
|
||
|
VULKAN_HPP_CONSTEXPR ImageViewUsageCreateInfo( ImageViewUsageCreateInfo const& rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
: pNext( rhs.pNext )
|
||
|
, usage( rhs.usage )
|
||
|
{}
|
||
|
|
||
|
ImageViewUsageCreateInfo & operator=( ImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
memcpy( &pNext, &rhs.pNext, sizeof( ImageViewUsageCreateInfo ) - offsetof( ImageViewUsageCreateInfo, pNext ) );
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewUsageCreateInfo( VkImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = rhs;
|
||
|
}
|
||
|
|
||
|
ImageViewUsageCreateInfo& operator=( VkImageViewUsageCreateInfo const & rhs ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
*this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::ImageViewUsageCreateInfo const *>(&rhs);
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewUsageCreateInfo & setPNext( const void* pNext_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
pNext = pNext_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
ImageViewUsageCreateInfo & setUsage( VULKAN_HPP_NAMESPACE::ImageUsageFlags usage_ ) VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
usage = usage_;
|
||
|
return *this;
|
||
|
}
|
||
|
|
||
|
operator VkImageViewUsageCreateInfo const&() const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<const VkImageViewUsageCreateInfo*>( this );
|
||
|
}
|
||
|
|
||
|
operator VkImageViewUsageCreateInfo &() VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return *reinterpret_cast<VkImageViewUsageCreateInfo*>( this );
|
||
|
}
|
||
|
|
||
|
#if defined(VULKAN_HPP_HAS_SPACESHIP_OPERATOR)
|
||
|
auto operator<=>( ImageViewUsageCreateInfo const& ) const = default;
|
||
|
#else
|
||
|
bool operator==( ImageViewUsageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return ( sType == rhs.sType )
|
||
|
&& ( pNext == rhs.pNext )
|
||
|
&& ( usage == rhs.usage );
|
||
|
}
|
||
|
|
||
|
bool operator!=( ImageViewUsageCreateInfo const& rhs ) const VULKAN_HPP_NOEXCEPT
|
||
|
{
|
||
|
return !operator==( rhs );
|
||
|
}
|
||
|
#endif
|
||
|
|
||
|
public:
|
||
|
const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eImageViewUsageCreateInfo;
|
||
|
const void* pNext = {};
|
||
|
VULKAN_HPP_NAMESPACE::ImageUsageFlags usage = {};
|
||
|
};
|
||
|
static_assert( sizeof( ImageViewUsageCreateInfo ) == sizeof( VkImageViewUsageCreateInfo ), "struct and wrapper have different size!" );
|
||
|
static_assert( std::is_standard_layout<ImageViewUsageCreateInfo>::value, "struct wrapper is not a standard layout!" );
|
||
|
} // namespace VULKAN_HPP_NAMESPACE
|