SDL  2.0
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR BindImagePlaneMemoryInfo (VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_=VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR BindImagePlaneMemoryInfo (BindImagePlaneMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 BindImagePlaneMemoryInfo (VkBindImagePlaneMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
BindImagePlaneMemoryInfooperator= (VkBindImagePlaneMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
BindImagePlaneMemoryInfooperator= (BindImagePlaneMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
BindImagePlaneMemoryInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
BindImagePlaneMemoryInfosetPlaneAspect (VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_) VULKAN_HPP_NOEXCEPT
 
 operator VkBindImagePlaneMemoryInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkBindImagePlaneMemoryInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (BindImagePlaneMemoryInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (BindImagePlaneMemoryInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImagePlaneMemoryInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eBindImagePlaneMemoryInfo
 

Detailed Description

Definition at line 20291 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ BindImagePlaneMemoryInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::BindImagePlaneMemoryInfo ( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits  planeAspect_ = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor)
inline

Definition at line 20297 of file vulkan.hpp.

20298  : planeAspect( planeAspect_ )
20299  {}
VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect
Definition: vulkan.hpp:20366

◆ BindImagePlaneMemoryInfo() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::BindImagePlaneMemoryInfo ( BindImagePlaneMemoryInfo const &  rhs)
default

◆ BindImagePlaneMemoryInfo() [3/3]

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::BindImagePlaneMemoryInfo ( VkBindImagePlaneMemoryInfo const &  rhs)
inline

Definition at line 20303 of file vulkan.hpp.

20304  {
20305  *this = rhs;
20306  }

Member Function Documentation

◆ operator VkBindImagePlaneMemoryInfo &()

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator VkBindImagePlaneMemoryInfo & ( )
inline

Definition at line 20339 of file vulkan.hpp.

20340  {
20341  return *reinterpret_cast<VkBindImagePlaneMemoryInfo*>( this );
20342  }

◆ operator VkBindImagePlaneMemoryInfo const &()

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator VkBindImagePlaneMemoryInfo const & ( ) const
inline

Definition at line 20334 of file vulkan.hpp.

20335  {
20336  return *reinterpret_cast<const VkBindImagePlaneMemoryInfo*>( this );
20337  }

◆ operator!=()

bool VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator!= ( BindImagePlaneMemoryInfo const &  rhs) const
inline

Definition at line 20355 of file vulkan.hpp.

20356  {
20357  return !operator==( rhs );
20358  }
bool operator==(BindImagePlaneMemoryInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:20348

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

BindImagePlaneMemoryInfo& VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator= ( BindImagePlaneMemoryInfo const &  rhs)
inline

Definition at line 20315 of file vulkan.hpp.

20316  {
20317  memcpy( static_cast<void *>( this ), &rhs, sizeof( BindImagePlaneMemoryInfo ) );
20318  return *this;
20319  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR BindImagePlaneMemoryInfo(VULKAN_HPP_NAMESPACE::ImageAspectFlagBits planeAspect_=VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:20297

References memcpy.

◆ operator=() [2/2]

BindImagePlaneMemoryInfo& VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator= ( VkBindImagePlaneMemoryInfo const &  rhs)
inline

Definition at line 20309 of file vulkan.hpp.

20310  {
20311  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo const *>( &rhs );
20312  return *this;
20313  }

◆ operator==()

bool VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator== ( BindImagePlaneMemoryInfo const &  rhs) const
inline

Definition at line 20348 of file vulkan.hpp.

20349  {
20350  return ( sType == rhs.sType )
20351  && ( pNext == rhs.pNext )
20352  && ( planeAspect == rhs.planeAspect );
20353  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:20364

◆ setPlaneAspect()

BindImagePlaneMemoryInfo& VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::setPlaneAspect ( VULKAN_HPP_NAMESPACE::ImageAspectFlagBits  planeAspect_)
inline

Definition at line 20327 of file vulkan.hpp.

20328  {
20329  planeAspect = planeAspect_;
20330  return *this;
20331  }

◆ setPNext()

BindImagePlaneMemoryInfo& VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::setPNext ( const void pNext_)
inline

Definition at line 20321 of file vulkan.hpp.

20322  {
20323  pNext = pNext_;
20324  return *this;
20325  }

Field Documentation

◆ allowDuplicate

const bool VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::allowDuplicate = false
static

Definition at line 20293 of file vulkan.hpp.

◆ planeAspect

VULKAN_HPP_NAMESPACE::ImageAspectFlagBits VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::planeAspect = VULKAN_HPP_NAMESPACE::ImageAspectFlagBits::eColor

Definition at line 20366 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::pNext = {}

Definition at line 20365 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::structureType = StructureType::eBindImagePlaneMemoryInfo
static

Definition at line 20294 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::sType = StructureType::eBindImagePlaneMemoryInfo

Definition at line 20364 of file vulkan.hpp.


The documentation for this struct was generated from the following file: