SDL  2.0
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference:

Public Member Functions

 InputAttachmentAspectReference (uint32_t subpass_=0, uint32_t inputAttachmentIndex_=0, ImageAspectFlags aspectMask_=ImageAspectFlags())
 
 InputAttachmentAspectReference (VkInputAttachmentAspectReference const &rhs)
 
InputAttachmentAspectReferenceoperator= (VkInputAttachmentAspectReference const &rhs)
 
InputAttachmentAspectReferencesetSubpass (uint32_t subpass_)
 
InputAttachmentAspectReferencesetInputAttachmentIndex (uint32_t inputAttachmentIndex_)
 
InputAttachmentAspectReferencesetAspectMask (ImageAspectFlags aspectMask_)
 
 operator VkInputAttachmentAspectReference const & () const
 
 operator VkInputAttachmentAspectReference & ()
 
bool operator== (InputAttachmentAspectReference const &rhs) const
 
bool operator!= (InputAttachmentAspectReference const &rhs) const
 

Data Fields

uint32_t subpass
 
uint32_t inputAttachmentIndex
 
ImageAspectFlags aspectMask
 

Detailed Description

Definition at line 25618 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ InputAttachmentAspectReference() [1/2]

VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::InputAttachmentAspectReference ( uint32_t  subpass_ = 0,
uint32_t  inputAttachmentIndex_ = 0,
ImageAspectFlags  aspectMask_ = ImageAspectFlags() 
)
inline

Definition at line 25620 of file vulkan.hpp.

25623  : subpass( subpass_ )
25624  , inputAttachmentIndex( inputAttachmentIndex_ )
25625  , aspectMask( aspectMask_ )
25626  {
25627  }

◆ InputAttachmentAspectReference() [2/2]

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

Definition at line 25629 of file vulkan.hpp.

25630  {
25631  memcpy( this, &rhs, sizeof( InputAttachmentAspectReference ) );
25632  }

References memcpy.

Member Function Documentation

◆ operator VkInputAttachmentAspectReference &()

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

Definition at line 25662 of file vulkan.hpp.

25663  {
25664  return *reinterpret_cast<VkInputAttachmentAspectReference*>(this);
25665  }

◆ operator VkInputAttachmentAspectReference const &()

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

Definition at line 25657 of file vulkan.hpp.

25658  {
25659  return *reinterpret_cast<const VkInputAttachmentAspectReference*>(this);
25660  }

◆ operator!=()

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

Definition at line 25674 of file vulkan.hpp.

25675  {
25676  return !operator==( rhs );
25677  }

References operator==().

◆ operator=()

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

Definition at line 25634 of file vulkan.hpp.

25635  {
25636  memcpy( this, &rhs, sizeof( InputAttachmentAspectReference ) );
25637  return *this;
25638  }

References memcpy.

◆ operator==()

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

Definition at line 25667 of file vulkan.hpp.

25668  {
25669  return ( subpass == rhs.subpass )
25670  && ( inputAttachmentIndex == rhs.inputAttachmentIndex )
25671  && ( aspectMask == rhs.aspectMask );
25672  }

References aspectMask, inputAttachmentIndex, and subpass.

Referenced by operator!=().

◆ setAspectMask()

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

Definition at line 25651 of file vulkan.hpp.

25652  {
25653  aspectMask = aspectMask_;
25654  return *this;
25655  }

References aspectMask.

◆ setInputAttachmentIndex()

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

Definition at line 25645 of file vulkan.hpp.

25646  {
25647  inputAttachmentIndex = inputAttachmentIndex_;
25648  return *this;
25649  }

References inputAttachmentIndex.

◆ setSubpass()

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

Definition at line 25639 of file vulkan.hpp.

25640  {
25641  subpass = subpass_;
25642  return *this;
25643  }

References subpass.

Field Documentation

◆ aspectMask

ImageAspectFlags VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::aspectMask

Definition at line 25681 of file vulkan.hpp.

Referenced by operator==(), and setAspectMask().

◆ inputAttachmentIndex

uint32_t VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::inputAttachmentIndex

Definition at line 25680 of file vulkan.hpp.

Referenced by operator==(), and setInputAttachmentIndex().

◆ subpass

uint32_t VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::subpass

Definition at line 25679 of file vulkan.hpp.

Referenced by operator==(), and setSubpass().


The documentation for this struct was generated from the following file:
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::aspectMask
ImageAspectFlags aspectMask
Definition: vulkan.hpp:25681
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::operator==
bool operator==(InputAttachmentAspectReference const &rhs) const
Definition: vulkan.hpp:25667
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::InputAttachmentAspectReference
InputAttachmentAspectReference(uint32_t subpass_=0, uint32_t inputAttachmentIndex_=0, ImageAspectFlags aspectMask_=ImageAspectFlags())
Definition: vulkan.hpp:25620
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::inputAttachmentIndex
uint32_t inputAttachmentIndex
Definition: vulkan.hpp:25680
VULKAN_HPP_NAMESPACE::InputAttachmentAspectReference::subpass
uint32_t subpass
Definition: vulkan.hpp:25679