SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceExternalImageFormatInfo (ExternalMemoryHandleTypeFlagBits handleType_=ExternalMemoryHandleTypeFlagBits::eOpaqueFd)
 
 PhysicalDeviceExternalImageFormatInfo (VkPhysicalDeviceExternalImageFormatInfo const &rhs)
 
PhysicalDeviceExternalImageFormatInfooperator= (VkPhysicalDeviceExternalImageFormatInfo const &rhs)
 
PhysicalDeviceExternalImageFormatInfosetPNext (const void *pNext_)
 
PhysicalDeviceExternalImageFormatInfosetHandleType (ExternalMemoryHandleTypeFlagBits handleType_)
 
 operator VkPhysicalDeviceExternalImageFormatInfo const & () const
 
 operator VkPhysicalDeviceExternalImageFormatInfo & ()
 
bool operator== (PhysicalDeviceExternalImageFormatInfo const &rhs) const
 
bool operator!= (PhysicalDeviceExternalImageFormatInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
ExternalMemoryHandleTypeFlagBits handleType
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceExternalImageFormatInfo
 

Detailed Description

Definition at line 31579 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceExternalImageFormatInfo() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::PhysicalDeviceExternalImageFormatInfo ( ExternalMemoryHandleTypeFlagBits  handleType_ = ExternalMemoryHandleTypeFlagBits::eOpaqueFd)
inline

Definition at line 31581 of file vulkan.hpp.

31582  : handleType( handleType_ )
31583  {
31584  }

◆ PhysicalDeviceExternalImageFormatInfo() [2/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::PhysicalDeviceExternalImageFormatInfo ( VkPhysicalDeviceExternalImageFormatInfo const &  rhs)
inline

Definition at line 31586 of file vulkan.hpp.

31587  {
31588  memcpy( this, &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );
31589  }

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceExternalImageFormatInfo &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::operator VkPhysicalDeviceExternalImageFormatInfo & ( )
inline

Definition at line 31613 of file vulkan.hpp.

31614  {
31615  return *reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>(this);
31616  }

◆ operator VkPhysicalDeviceExternalImageFormatInfo const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::operator VkPhysicalDeviceExternalImageFormatInfo const & ( ) const
inline

Definition at line 31608 of file vulkan.hpp.

31609  {
31610  return *reinterpret_cast<const VkPhysicalDeviceExternalImageFormatInfo*>(this);
31611  }

◆ operator!=()

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

Definition at line 31625 of file vulkan.hpp.

31626  {
31627  return !operator==( rhs );
31628  }

References operator==().

◆ operator=()

PhysicalDeviceExternalImageFormatInfo& VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::operator= ( VkPhysicalDeviceExternalImageFormatInfo const &  rhs)
inline

Definition at line 31591 of file vulkan.hpp.

31592  {
31593  memcpy( this, &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );
31594  return *this;
31595  }

References memcpy.

◆ operator==()

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

Definition at line 31618 of file vulkan.hpp.

31619  {
31620  return ( sType == rhs.sType )
31621  && ( pNext == rhs.pNext )
31622  && ( handleType == rhs.handleType );
31623  }

References handleType, pNext, and sType.

Referenced by operator!=().

◆ setHandleType()

PhysicalDeviceExternalImageFormatInfo& VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::setHandleType ( ExternalMemoryHandleTypeFlagBits  handleType_)
inline

Definition at line 31602 of file vulkan.hpp.

31603  {
31604  handleType = handleType_;
31605  return *this;
31606  }

◆ setPNext()

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

Definition at line 31596 of file vulkan.hpp.

31597  {
31598  pNext = pNext_;
31599  return *this;
31600  }

References pNext.

Field Documentation

◆ handleType

ExternalMemoryHandleTypeFlagBits VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::handleType

Definition at line 31635 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 31634 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::sType = StructureType::ePhysicalDeviceExternalImageFormatInfo
private

Definition at line 31631 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::handleType
ExternalMemoryHandleTypeFlagBits handleType
Definition: vulkan.hpp:31635
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::operator==
bool operator==(PhysicalDeviceExternalImageFormatInfo const &rhs) const
Definition: vulkan.hpp:31618
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::pNext
const void * pNext
Definition: vulkan.hpp:31634
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::PhysicalDeviceExternalImageFormatInfo
PhysicalDeviceExternalImageFormatInfo(ExternalMemoryHandleTypeFlagBits handleType_=ExternalMemoryHandleTypeFlagBits::eOpaqueFd)
Definition: vulkan.hpp:31581
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::sType
StructureType sType
Definition: vulkan.hpp:31631
handleType
GLuint64 GLenum handleType
Definition: gl2ext.h:1508