SDL  2.0
VULKAN_HPP_NAMESPACE::SampleLocationEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR SampleLocationEXT (float x_={}, float y_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SampleLocationEXT (SampleLocationEXT const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SampleLocationEXT (VkSampleLocationEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
SampleLocationEXToperator= (VkSampleLocationEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
SampleLocationEXToperator= (SampleLocationEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
SampleLocationEXTsetX (float x_) VULKAN_HPP_NOEXCEPT
 
SampleLocationEXTsetY (float y_) VULKAN_HPP_NOEXCEPT
 
 operator VkSampleLocationEXT const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSampleLocationEXT & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SampleLocationEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SampleLocationEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

float x = {}
 
float y = {}
 

Detailed Description

Definition at line 18824 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SampleLocationEXT() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SampleLocationEXT::SampleLocationEXT ( float  x_ = {},
float  y_ = {} 
)
inline

Definition at line 18829 of file vulkan.hpp.

18829  {}, float y_ = {}) VULKAN_HPP_NOEXCEPT
18830  : x( x_ ), y( y_ )
18831  {}
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ SampleLocationEXT() [2/3]

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

◆ SampleLocationEXT() [3/3]

VULKAN_HPP_NAMESPACE::SampleLocationEXT::SampleLocationEXT ( VkSampleLocationEXT const &  rhs)
inline

Definition at line 18835 of file vulkan.hpp.

18836  {
18837  *this = rhs;
18838  }

Member Function Documentation

◆ operator VkSampleLocationEXT &()

VULKAN_HPP_NAMESPACE::SampleLocationEXT::operator VkSampleLocationEXT & ( )
inline

Definition at line 18871 of file vulkan.hpp.

18872  {
18873  return *reinterpret_cast<VkSampleLocationEXT*>( this );
18874  }

◆ operator VkSampleLocationEXT const &()

VULKAN_HPP_NAMESPACE::SampleLocationEXT::operator VkSampleLocationEXT const & ( ) const
inline

Definition at line 18866 of file vulkan.hpp.

18867  {
18868  return *reinterpret_cast<const VkSampleLocationEXT*>( this );
18869  }

◆ operator!=()

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

Definition at line 18886 of file vulkan.hpp.

18887  {
18888  return !operator==( rhs );
18889  }
bool operator==(SampleLocationEXT const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:18880

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 18847 of file vulkan.hpp.

18848  {
18849  memcpy( static_cast<void *>( this ), &rhs, sizeof( SampleLocationEXT ) );
18850  return *this;
18851  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR SampleLocationEXT(float x_={}, float y_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:18829

References memcpy.

◆ operator=() [2/2]

SampleLocationEXT& VULKAN_HPP_NAMESPACE::SampleLocationEXT::operator= ( VkSampleLocationEXT const &  rhs)
inline

Definition at line 18841 of file vulkan.hpp.

18842  {
18843  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SampleLocationEXT const *>( &rhs );
18844  return *this;
18845  }

◆ operator==()

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

Definition at line 18880 of file vulkan.hpp.

18881  {
18882  return ( x == rhs.x )
18883  && ( y == rhs.y );
18884  }
GLint GLint GLint GLint GLint GLint y
Definition: SDL_opengl.h:1574
GLint GLint GLint GLint GLint x
Definition: SDL_opengl.h:1574

◆ setX()

SampleLocationEXT& VULKAN_HPP_NAMESPACE::SampleLocationEXT::setX ( float  x_)
inline

Definition at line 18853 of file vulkan.hpp.

18854  {
18855  x = x_;
18856  return *this;
18857  }

◆ setY()

SampleLocationEXT& VULKAN_HPP_NAMESPACE::SampleLocationEXT::setY ( float  y_)
inline

Definition at line 18859 of file vulkan.hpp.

18860  {
18861  y = y_;
18862  return *this;
18863  }

Field Documentation

◆ x

float VULKAN_HPP_NAMESPACE::SampleLocationEXT::x = {}

Definition at line 18895 of file vulkan.hpp.

◆ y

float VULKAN_HPP_NAMESPACE::SampleLocationEXT::y = {}

Definition at line 18896 of file vulkan.hpp.


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