SDL  2.0
VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT:

Public Member Functions

VULKAN_HPP_CONSTEXPR AttachmentSampleLocationsEXT (uint32_t attachmentIndex_={}, VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR AttachmentSampleLocationsEXT (AttachmentSampleLocationsEXT const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 AttachmentSampleLocationsEXT (VkAttachmentSampleLocationsEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
AttachmentSampleLocationsEXToperator= (VkAttachmentSampleLocationsEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
AttachmentSampleLocationsEXToperator= (AttachmentSampleLocationsEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
AttachmentSampleLocationsEXTsetAttachmentIndex (uint32_t attachmentIndex_) VULKAN_HPP_NOEXCEPT
 
AttachmentSampleLocationsEXTsetSampleLocationsInfo (VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const &sampleLocationsInfo_) VULKAN_HPP_NOEXCEPT
 
 operator VkAttachmentSampleLocationsEXT const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkAttachmentSampleLocationsEXT & () VULKAN_HPP_NOEXCEPT
 
bool operator== (AttachmentSampleLocationsEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (AttachmentSampleLocationsEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

uint32_t attachmentIndex = {}
 
VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo = {}
 

Detailed Description

Definition at line 19028 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ AttachmentSampleLocationsEXT() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::AttachmentSampleLocationsEXT ( uint32_t  attachmentIndex_ = {},
VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT  sampleLocationsInfo_ = {} 
)
inline

Definition at line 19033 of file vulkan.hpp.

19034  : attachmentIndex( attachmentIndex_ ), sampleLocationsInfo( sampleLocationsInfo_ )
19035  {}
VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo
Definition: vulkan.hpp:19100
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ AttachmentSampleLocationsEXT() [2/3]

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

◆ AttachmentSampleLocationsEXT() [3/3]

VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::AttachmentSampleLocationsEXT ( VkAttachmentSampleLocationsEXT const &  rhs)
inline

Definition at line 19039 of file vulkan.hpp.

19040  {
19041  *this = rhs;
19042  }

Member Function Documentation

◆ operator VkAttachmentSampleLocationsEXT &()

VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::operator VkAttachmentSampleLocationsEXT & ( )
inline

Definition at line 19075 of file vulkan.hpp.

19076  {
19077  return *reinterpret_cast<VkAttachmentSampleLocationsEXT*>( this );
19078  }

◆ operator VkAttachmentSampleLocationsEXT const &()

VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::operator VkAttachmentSampleLocationsEXT const & ( ) const
inline

Definition at line 19070 of file vulkan.hpp.

19071  {
19072  return *reinterpret_cast<const VkAttachmentSampleLocationsEXT*>( this );
19073  }

◆ operator!=()

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

Definition at line 19090 of file vulkan.hpp.

19091  {
19092  return !operator==( rhs );
19093  }
bool operator==(AttachmentSampleLocationsEXT const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:19084

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 19051 of file vulkan.hpp.

19052  {
19053  memcpy( static_cast<void *>( this ), &rhs, sizeof( AttachmentSampleLocationsEXT ) );
19054  return *this;
19055  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR AttachmentSampleLocationsEXT(uint32_t attachmentIndex_={}, VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT sampleLocationsInfo_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:19033

References memcpy.

◆ operator=() [2/2]

AttachmentSampleLocationsEXT& VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::operator= ( VkAttachmentSampleLocationsEXT const &  rhs)
inline

Definition at line 19045 of file vulkan.hpp.

19046  {
19047  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT const *>( &rhs );
19048  return *this;
19049  }

◆ operator==()

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

Definition at line 19084 of file vulkan.hpp.

19085  {
19086  return ( attachmentIndex == rhs.attachmentIndex )
19087  && ( sampleLocationsInfo == rhs.sampleLocationsInfo );
19088  }

◆ setAttachmentIndex()

AttachmentSampleLocationsEXT& VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::setAttachmentIndex ( uint32_t  attachmentIndex_)
inline

Definition at line 19057 of file vulkan.hpp.

19058  {
19059  attachmentIndex = attachmentIndex_;
19060  return *this;
19061  }

◆ setSampleLocationsInfo()

AttachmentSampleLocationsEXT& VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::setSampleLocationsInfo ( VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT const &  sampleLocationsInfo_)
inline

Definition at line 19063 of file vulkan.hpp.

19064  {
19065  sampleLocationsInfo = sampleLocationsInfo_;
19066  return *this;
19067  }

Field Documentation

◆ attachmentIndex

uint32_t VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::attachmentIndex = {}

Definition at line 19099 of file vulkan.hpp.

◆ sampleLocationsInfo

VULKAN_HPP_NAMESPACE::SampleLocationsInfoEXT VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::sampleLocationsInfo = {}

Definition at line 19100 of file vulkan.hpp.


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