SDL 2.0
VULKAN_HPP_NAMESPACE::SampleLocationEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

 SampleLocationEXT (float x_=0, float y_=0)
 
 SampleLocationEXT (VkSampleLocationEXT const &rhs)
 
SampleLocationEXToperator= (VkSampleLocationEXT const &rhs)
 
SampleLocationEXTsetX (float x_)
 
SampleLocationEXTsetY (float y_)
 
 operator VkSampleLocationEXT const & () const
 
 operator VkSampleLocationEXT & ()
 
bool operator== (SampleLocationEXT const &rhs) const
 
bool operator!= (SampleLocationEXT const &rhs) const
 

Data Fields

float x
 
float y
 

Detailed Description

Definition at line 7628 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SampleLocationEXT() [1/2]

VULKAN_HPP_NAMESPACE::SampleLocationEXT::SampleLocationEXT ( float  x_ = 0,
float  y_ = 0 
)
inline

Definition at line 7630 of file vulkan.hpp.

7632 : x( x_ )
7633 , y( y_ )
7634 {
7635 }

◆ SampleLocationEXT() [2/2]

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

Definition at line 7637 of file vulkan.hpp.

7638 {
7639 memcpy( this, &rhs, sizeof( SampleLocationEXT ) );
7640 }
#define memcpy
Definition: SDL_malloc.c:630
SampleLocationEXT(float x_=0, float y_=0)
Definition: vulkan.hpp:7630

References memcpy.

Member Function Documentation

◆ operator VkSampleLocationEXT &()

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

Definition at line 7664 of file vulkan.hpp.

7665 {
7666 return *reinterpret_cast<VkSampleLocationEXT*>(this);
7667 }

◆ operator VkSampleLocationEXT const &()

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

Definition at line 7659 of file vulkan.hpp.

7660 {
7661 return *reinterpret_cast<const VkSampleLocationEXT*>(this);
7662 }

◆ operator!=()

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

Definition at line 7675 of file vulkan.hpp.

7676 {
7677 return !operator==( rhs );
7678 }
bool operator==(SampleLocationEXT const &rhs) const
Definition: vulkan.hpp:7669

References operator==().

◆ operator=()

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

Definition at line 7642 of file vulkan.hpp.

7643 {
7644 memcpy( this, &rhs, sizeof( SampleLocationEXT ) );
7645 return *this;
7646 }

References memcpy.

◆ operator==()

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

Definition at line 7669 of file vulkan.hpp.

7670 {
7671 return ( x == rhs.x )
7672 && ( y == rhs.y );
7673 }
GLint GLint GLint GLint GLint GLint y
Definition: SDL_opengl.h:1574
GLint GLint GLint GLint GLint x
Definition: SDL_opengl.h:1574

References x, and y.

Referenced by operator!=().

◆ setX()

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

Definition at line 7647 of file vulkan.hpp.

7648 {
7649 x = x_;
7650 return *this;
7651 }

◆ setY()

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

Definition at line 7653 of file vulkan.hpp.

7654 {
7655 y = y_;
7656 return *this;
7657 }

Field Documentation

◆ x

float VULKAN_HPP_NAMESPACE::SampleLocationEXT::x

Definition at line 7680 of file vulkan.hpp.

Referenced by operator==().

◆ y

float VULKAN_HPP_NAMESPACE::SampleLocationEXT::y

Definition at line 7681 of file vulkan.hpp.

Referenced by operator==().


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