SDL 2.0
VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

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

Data Fields

const voidpNext = nullptr
 
DeviceEventTypeEXT deviceEvent
 

Private Attributes

StructureType sType = StructureType::eDeviceEventInfoEXT
 

Detailed Description

Definition at line 33797 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceEventInfoEXT() [1/2]

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

Definition at line 33799 of file vulkan.hpp.

33800 : deviceEvent( deviceEvent_ )
33801 {
33802 }

◆ DeviceEventInfoEXT() [2/2]

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

Definition at line 33804 of file vulkan.hpp.

33805 {
33806 memcpy( this, &rhs, sizeof( DeviceEventInfoEXT ) );
33807 }
#define memcpy
Definition: SDL_malloc.c:630
DeviceEventInfoEXT(DeviceEventTypeEXT deviceEvent_=DeviceEventTypeEXT::eDisplayHotplug)
Definition: vulkan.hpp:33799

References memcpy.

Member Function Documentation

◆ operator VkDeviceEventInfoEXT &()

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

Definition at line 33831 of file vulkan.hpp.

33832 {
33833 return *reinterpret_cast<VkDeviceEventInfoEXT*>(this);
33834 }

◆ operator VkDeviceEventInfoEXT const &()

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

Definition at line 33826 of file vulkan.hpp.

33827 {
33828 return *reinterpret_cast<const VkDeviceEventInfoEXT*>(this);
33829 }

◆ operator!=()

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

Definition at line 33843 of file vulkan.hpp.

33844 {
33845 return !operator==( rhs );
33846 }
bool operator==(DeviceEventInfoEXT const &rhs) const
Definition: vulkan.hpp:33836

References operator==().

◆ operator=()

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

Definition at line 33809 of file vulkan.hpp.

33810 {
33811 memcpy( this, &rhs, sizeof( DeviceEventInfoEXT ) );
33812 return *this;
33813 }

References memcpy.

◆ operator==()

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

Definition at line 33836 of file vulkan.hpp.

33837 {
33838 return ( sType == rhs.sType )
33839 && ( pNext == rhs.pNext )
33840 && ( deviceEvent == rhs.deviceEvent );
33841 }

References deviceEvent, pNext, and sType.

Referenced by operator!=().

◆ setDeviceEvent()

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

Definition at line 33820 of file vulkan.hpp.

33821 {
33822 deviceEvent = deviceEvent_;
33823 return *this;
33824 }

References deviceEvent.

◆ setPNext()

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

Definition at line 33814 of file vulkan.hpp.

33815 {
33816 pNext = pNext_;
33817 return *this;
33818 }

References pNext.

Field Documentation

◆ deviceEvent

DeviceEventTypeEXT VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::deviceEvent

Definition at line 33853 of file vulkan.hpp.

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

◆ pNext

const void* VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::pNext = nullptr

Definition at line 33852 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DeviceEventInfoEXT::sType = StructureType::eDeviceEventInfoEXT
private

Definition at line 33849 of file vulkan.hpp.

Referenced by operator==().


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