SDL  2.0
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference:

Public Member Functions

VULKAN_HPP_CONSTEXPR InputAttachmentAspectReference (uint32_t subpass_={}, uint32_t inputAttachmentIndex_={}, VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR InputAttachmentAspectReference (InputAttachmentAspectReference const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 InputAttachmentAspectReference (VkInputAttachmentAspectReference const &rhs) VULKAN_HPP_NOEXCEPT
 
InputAttachmentAspectReferenceoperator= (VkInputAttachmentAspectReference const &rhs) VULKAN_HPP_NOEXCEPT
 
InputAttachmentAspectReferenceoperator= (InputAttachmentAspectReference const &rhs) VULKAN_HPP_NOEXCEPT
 
InputAttachmentAspectReferencesetSubpass (uint32_t subpass_) VULKAN_HPP_NOEXCEPT
 
InputAttachmentAspectReferencesetInputAttachmentIndex (uint32_t inputAttachmentIndex_) VULKAN_HPP_NOEXCEPT
 
InputAttachmentAspectReferencesetAspectMask (VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_) VULKAN_HPP_NOEXCEPT
 
 operator VkInputAttachmentAspectReference const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkInputAttachmentAspectReference & () VULKAN_HPP_NOEXCEPT
 
bool operator== (InputAttachmentAspectReference const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (InputAttachmentAspectReference const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

uint32_t subpass = {}
 
uint32_t inputAttachmentIndex = {}
 
VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask = {}
 

Detailed Description

Definition at line 60159 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ InputAttachmentAspectReference() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::InputAttachmentAspectReference ( uint32_t  subpass_ = {},
uint32_t  inputAttachmentIndex_ = {},
VULKAN_HPP_NAMESPACE::ImageAspectFlags  aspectMask_ = {} 
)
inline

Definition at line 60164 of file vulkan.hpp.

60164  {}, uint32_t inputAttachmentIndex_ = {}, VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_ = {}) VULKAN_HPP_NOEXCEPT
60165  : subpass( subpass_ ), inputAttachmentIndex( inputAttachmentIndex_ ), aspectMask( aspectMask_ )
60166  {}
unsigned int uint32_t
VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask
Definition: vulkan.hpp:60239
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ InputAttachmentAspectReference() [2/3]

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

◆ InputAttachmentAspectReference() [3/3]

VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::InputAttachmentAspectReference ( VkInputAttachmentAspectReference const &  rhs)
inline

Definition at line 60170 of file vulkan.hpp.

60171  {
60172  *this = rhs;
60173  }

Member Function Documentation

◆ operator VkInputAttachmentAspectReference &()

VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::operator VkInputAttachmentAspectReference & ( )
inline

Definition at line 60212 of file vulkan.hpp.

60213  {
60214  return *reinterpret_cast<VkInputAttachmentAspectReference*>( this );
60215  }

◆ operator VkInputAttachmentAspectReference const &()

VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::operator VkInputAttachmentAspectReference const & ( ) const
inline

Definition at line 60207 of file vulkan.hpp.

60208  {
60209  return *reinterpret_cast<const VkInputAttachmentAspectReference*>( this );
60210  }

◆ operator!=()

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

Definition at line 60228 of file vulkan.hpp.

60229  {
60230  return !operator==( rhs );
60231  }
bool operator==(InputAttachmentAspectReference const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:60221

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 60182 of file vulkan.hpp.

60183  {
60184  memcpy( static_cast<void *>( this ), &rhs, sizeof( InputAttachmentAspectReference ) );
60185  return *this;
60186  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR InputAttachmentAspectReference(uint32_t subpass_={}, uint32_t inputAttachmentIndex_={}, VULKAN_HPP_NAMESPACE::ImageAspectFlags aspectMask_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:60164

References memcpy.

◆ operator=() [2/2]

InputAttachmentAspectReference& VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::operator= ( VkInputAttachmentAspectReference const &  rhs)
inline

Definition at line 60176 of file vulkan.hpp.

60177  {
60178  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference const *>( &rhs );
60179  return *this;
60180  }

◆ operator==()

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

Definition at line 60221 of file vulkan.hpp.

60222  {
60223  return ( subpass == rhs.subpass )
60224  && ( inputAttachmentIndex == rhs.inputAttachmentIndex )
60225  && ( aspectMask == rhs.aspectMask );
60226  }

◆ setAspectMask()

InputAttachmentAspectReference& VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::setAspectMask ( VULKAN_HPP_NAMESPACE::ImageAspectFlags  aspectMask_)
inline

Definition at line 60200 of file vulkan.hpp.

60201  {
60202  aspectMask = aspectMask_;
60203  return *this;
60204  }

◆ setInputAttachmentIndex()

InputAttachmentAspectReference& VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::setInputAttachmentIndex ( uint32_t  inputAttachmentIndex_)
inline

Definition at line 60194 of file vulkan.hpp.

60195  {
60196  inputAttachmentIndex = inputAttachmentIndex_;
60197  return *this;
60198  }

◆ setSubpass()

InputAttachmentAspectReference& VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::setSubpass ( uint32_t  subpass_)
inline

Definition at line 60188 of file vulkan.hpp.

60189  {
60190  subpass = subpass_;
60191  return *this;
60192  }

Field Documentation

◆ aspectMask

VULKAN_HPP_NAMESPACE::ImageAspectFlags VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::aspectMask = {}

Definition at line 60239 of file vulkan.hpp.

◆ inputAttachmentIndex

uint32_t VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::inputAttachmentIndex = {}

Definition at line 60238 of file vulkan.hpp.

◆ subpass

uint32_t VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::subpass = {}

Definition at line 60237 of file vulkan.hpp.


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