SDL  2.0
VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR DeviceEventInfoEXT (VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_=VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DeviceEventInfoEXT (DeviceEventInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DeviceEventInfoEXT (VkDeviceEventInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
DeviceEventInfoEXToperator= (VkDeviceEventInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
DeviceEventInfoEXToperator= (DeviceEventInfoEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
DeviceEventInfoEXTsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
DeviceEventInfoEXTsetDeviceEvent (VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_) VULKAN_HPP_NOEXCEPT
 
 operator VkDeviceEventInfoEXT const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDeviceEventInfoEXT & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DeviceEventInfoEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DeviceEventInfoEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceEventInfoEXT
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent = VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDeviceEventInfoEXT
 

Detailed Description

Definition at line 31531 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceEventInfoEXT() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::DeviceEventInfoEXT ( VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT  deviceEvent_ = VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug)
inline

Definition at line 31537 of file vulkan.hpp.

31538  : deviceEvent( deviceEvent_ )
31539  {}
VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent
Definition: vulkan.hpp:31606

◆ DeviceEventInfoEXT() [2/3]

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

◆ DeviceEventInfoEXT() [3/3]

VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::DeviceEventInfoEXT ( VkDeviceEventInfoEXT const &  rhs)
inline

Definition at line 31543 of file vulkan.hpp.

31544  {
31545  *this = rhs;
31546  }

Member Function Documentation

◆ operator VkDeviceEventInfoEXT &()

VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::operator VkDeviceEventInfoEXT & ( )
inline

Definition at line 31579 of file vulkan.hpp.

31580  {
31581  return *reinterpret_cast<VkDeviceEventInfoEXT*>( this );
31582  }

◆ operator VkDeviceEventInfoEXT const &()

VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::operator VkDeviceEventInfoEXT const & ( ) const
inline

Definition at line 31574 of file vulkan.hpp.

31575  {
31576  return *reinterpret_cast<const VkDeviceEventInfoEXT*>( this );
31577  }

◆ operator!=()

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

Definition at line 31595 of file vulkan.hpp.

31596  {
31597  return !operator==( rhs );
31598  }
bool operator==(DeviceEventInfoEXT const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:31588

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 31555 of file vulkan.hpp.

31556  {
31557  memcpy( static_cast<void *>( this ), &rhs, sizeof( DeviceEventInfoEXT ) );
31558  return *this;
31559  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DeviceEventInfoEXT(VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT deviceEvent_=VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT::eDisplayHotplug) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:31537

References memcpy.

◆ operator=() [2/2]

DeviceEventInfoEXT& VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::operator= ( VkDeviceEventInfoEXT const &  rhs)
inline

Definition at line 31549 of file vulkan.hpp.

31550  {
31551  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT const *>( &rhs );
31552  return *this;
31553  }

◆ operator==()

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

Definition at line 31588 of file vulkan.hpp.

31589  {
31590  return ( sType == rhs.sType )
31591  && ( pNext == rhs.pNext )
31592  && ( deviceEvent == rhs.deviceEvent );
31593  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:31604

◆ setDeviceEvent()

DeviceEventInfoEXT& VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::setDeviceEvent ( VULKAN_HPP_NAMESPACE::DeviceEventTypeEXT  deviceEvent_)
inline

Definition at line 31567 of file vulkan.hpp.

31568  {
31569  deviceEvent = deviceEvent_;
31570  return *this;
31571  }

◆ setPNext()

DeviceEventInfoEXT& VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::setPNext ( const void pNext_)
inline

Definition at line 31561 of file vulkan.hpp.

31562  {
31563  pNext = pNext_;
31564  return *this;
31565  }

Field Documentation

◆ allowDuplicate

const bool VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::allowDuplicate = false
static

Definition at line 31533 of file vulkan.hpp.

◆ deviceEvent

Definition at line 31606 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::pNext = {}

Definition at line 31605 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::structureType = StructureType::eDeviceEventInfoEXT
static

Definition at line 31534 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::sType = StructureType::eDeviceEventInfoEXT

Definition at line 31604 of file vulkan.hpp.


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