SDL  2.0
VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DisplayEventInfoEXT (DisplayEventTypeEXT displayEvent_=DisplayEventTypeEXT::eFirstPixelOut)
 
 DisplayEventInfoEXT (VkDisplayEventInfoEXT const &rhs)
 
DisplayEventInfoEXToperator= (VkDisplayEventInfoEXT const &rhs)
 
DisplayEventInfoEXTsetPNext (const void *pNext_)
 
DisplayEventInfoEXTsetDisplayEvent (DisplayEventTypeEXT displayEvent_)
 
 operator VkDisplayEventInfoEXT const & () const
 
 operator VkDisplayEventInfoEXT & ()
 
bool operator== (DisplayEventInfoEXT const &rhs) const
 
bool operator!= (DisplayEventInfoEXT const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
DisplayEventTypeEXT displayEvent
 

Private Attributes

StructureType sType = StructureType::eDisplayEventInfoEXT
 

Detailed Description

Definition at line 33862 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DisplayEventInfoEXT() [1/2]

VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::DisplayEventInfoEXT ( DisplayEventTypeEXT  displayEvent_ = DisplayEventTypeEXT::eFirstPixelOut)
inline

Definition at line 33864 of file vulkan.hpp.

33865  : displayEvent( displayEvent_ )
33866  {
33867  }

◆ DisplayEventInfoEXT() [2/2]

VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::DisplayEventInfoEXT ( VkDisplayEventInfoEXT const &  rhs)
inline

Definition at line 33869 of file vulkan.hpp.

References memcpy.

33870  {
33871  memcpy( this, &rhs, sizeof( DisplayEventInfoEXT ) );
33872  }
DisplayEventInfoEXT(DisplayEventTypeEXT displayEvent_=DisplayEventTypeEXT::eFirstPixelOut)
Definition: vulkan.hpp:33864
#define memcpy
Definition: SDL_malloc.c:630

Member Function Documentation

◆ operator VkDisplayEventInfoEXT &()

VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::operator VkDisplayEventInfoEXT & ( )
inline

Definition at line 33896 of file vulkan.hpp.

33897  {
33898  return *reinterpret_cast<VkDisplayEventInfoEXT*>(this);
33899  }

◆ operator VkDisplayEventInfoEXT const &()

VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::operator VkDisplayEventInfoEXT const & ( ) const
inline

Definition at line 33891 of file vulkan.hpp.

33892  {
33893  return *reinterpret_cast<const VkDisplayEventInfoEXT*>(this);
33894  }

◆ operator!=()

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

Definition at line 33908 of file vulkan.hpp.

33909  {
33910  return !operator==( rhs );
33911  }
bool operator==(DisplayEventInfoEXT const &rhs) const
Definition: vulkan.hpp:33901

◆ operator=()

DisplayEventInfoEXT& VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::operator= ( VkDisplayEventInfoEXT const &  rhs)
inline

Definition at line 33874 of file vulkan.hpp.

References memcpy.

33875  {
33876  memcpy( this, &rhs, sizeof( DisplayEventInfoEXT ) );
33877  return *this;
33878  }
DisplayEventInfoEXT(DisplayEventTypeEXT displayEvent_=DisplayEventTypeEXT::eFirstPixelOut)
Definition: vulkan.hpp:33864
#define memcpy
Definition: SDL_malloc.c:630

◆ operator==()

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

Definition at line 33901 of file vulkan.hpp.

References displayEvent, pNext, and sType.

33902  {
33903  return ( sType == rhs.sType )
33904  && ( pNext == rhs.pNext )
33905  && ( displayEvent == rhs.displayEvent );
33906  }

◆ setDisplayEvent()

DisplayEventInfoEXT& VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::setDisplayEvent ( DisplayEventTypeEXT  displayEvent_)
inline

Definition at line 33885 of file vulkan.hpp.

33886  {
33887  displayEvent = displayEvent_;
33888  return *this;
33889  }

◆ setPNext()

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

Definition at line 33879 of file vulkan.hpp.

33880  {
33881  pNext = pNext_;
33882  return *this;
33883  }

Field Documentation

◆ displayEvent

DisplayEventTypeEXT VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::displayEvent

Definition at line 33918 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 33917 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DisplayEventInfoEXT::sType = StructureType::eDisplayEventInfoEXT
private

Definition at line 33914 of file vulkan.hpp.

Referenced by operator==().


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