SDL  2.0
VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT:

Public Member Functions

 AttachmentSampleLocationsEXT (uint32_t attachmentIndex_=0, SampleLocationsInfoEXT sampleLocationsInfo_=SampleLocationsInfoEXT())
 
 AttachmentSampleLocationsEXT (VkAttachmentSampleLocationsEXT const &rhs)
 
AttachmentSampleLocationsEXToperator= (VkAttachmentSampleLocationsEXT const &rhs)
 
AttachmentSampleLocationsEXTsetAttachmentIndex (uint32_t attachmentIndex_)
 
AttachmentSampleLocationsEXTsetSampleLocationsInfo (SampleLocationsInfoEXT sampleLocationsInfo_)
 
 operator VkAttachmentSampleLocationsEXT const & () const
 
 operator VkAttachmentSampleLocationsEXT & ()
 
bool operator== (AttachmentSampleLocationsEXT const &rhs) const
 
bool operator!= (AttachmentSampleLocationsEXT const &rhs) const
 

Data Fields

uint32_t attachmentIndex
 
SampleLocationsInfoEXT sampleLocationsInfo
 

Detailed Description

Definition at line 28073 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ AttachmentSampleLocationsEXT() [1/2]

VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::AttachmentSampleLocationsEXT ( uint32_t  attachmentIndex_ = 0,
SampleLocationsInfoEXT  sampleLocationsInfo_ = SampleLocationsInfoEXT() 
)
inline

Definition at line 28075 of file vulkan.hpp.

28077  : attachmentIndex( attachmentIndex_ )
28078  , sampleLocationsInfo( sampleLocationsInfo_ )
28079  {
28080  }

◆ AttachmentSampleLocationsEXT() [2/2]

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

Definition at line 28082 of file vulkan.hpp.

28083  {
28084  memcpy( this, &rhs, sizeof( AttachmentSampleLocationsEXT ) );
28085  }

References memcpy.

Member Function Documentation

◆ operator VkAttachmentSampleLocationsEXT &()

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

Definition at line 28109 of file vulkan.hpp.

28110  {
28111  return *reinterpret_cast<VkAttachmentSampleLocationsEXT*>(this);
28112  }

◆ operator VkAttachmentSampleLocationsEXT const &()

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

Definition at line 28104 of file vulkan.hpp.

28105  {
28106  return *reinterpret_cast<const VkAttachmentSampleLocationsEXT*>(this);
28107  }

◆ operator!=()

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

Definition at line 28120 of file vulkan.hpp.

28121  {
28122  return !operator==( rhs );
28123  }

References operator==().

◆ operator=()

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

Definition at line 28087 of file vulkan.hpp.

28088  {
28089  memcpy( this, &rhs, sizeof( AttachmentSampleLocationsEXT ) );
28090  return *this;
28091  }

References memcpy.

◆ operator==()

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

Definition at line 28114 of file vulkan.hpp.

28115  {
28116  return ( attachmentIndex == rhs.attachmentIndex )
28117  && ( sampleLocationsInfo == rhs.sampleLocationsInfo );
28118  }

References attachmentIndex, and sampleLocationsInfo.

Referenced by operator!=().

◆ setAttachmentIndex()

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

Definition at line 28092 of file vulkan.hpp.

28093  {
28094  attachmentIndex = attachmentIndex_;
28095  return *this;
28096  }

References attachmentIndex.

◆ setSampleLocationsInfo()

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

Definition at line 28098 of file vulkan.hpp.

28099  {
28100  sampleLocationsInfo = sampleLocationsInfo_;
28101  return *this;
28102  }

References sampleLocationsInfo.

Field Documentation

◆ attachmentIndex

uint32_t VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::attachmentIndex

Definition at line 28125 of file vulkan.hpp.

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

◆ sampleLocationsInfo

SampleLocationsInfoEXT VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::sampleLocationsInfo

Definition at line 28126 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::attachmentIndex
uint32_t attachmentIndex
Definition: vulkan.hpp:28125
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::sampleLocationsInfo
SampleLocationsInfoEXT sampleLocationsInfo
Definition: vulkan.hpp:28126
VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::operator==
bool operator==(AttachmentSampleLocationsEXT const &rhs) const
Definition: vulkan.hpp:28114
VULKAN_HPP_NAMESPACE::AttachmentSampleLocationsEXT::AttachmentSampleLocationsEXT
AttachmentSampleLocationsEXT(uint32_t attachmentIndex_=0, SampleLocationsInfoEXT sampleLocationsInfo_=SampleLocationsInfoEXT())
Definition: vulkan.hpp:28075
VkAttachmentSampleLocationsEXT
Definition: vulkan_core.h:7638