SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

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

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceExternalImageFormatInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType = VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd
 

Static Public Attributes

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

Detailed Description

Definition at line 64173 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceExternalImageFormatInfo() [1/3]

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

Definition at line 64179 of file vulkan.hpp.

64180  : handleType( handleType_ )
64181  {}
VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType
Definition: vulkan.hpp:64248

◆ PhysicalDeviceExternalImageFormatInfo() [2/3]

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

◆ PhysicalDeviceExternalImageFormatInfo() [3/3]

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

Definition at line 64185 of file vulkan.hpp.

64186  {
64187  *this = rhs;
64188  }

Member Function Documentation

◆ operator VkPhysicalDeviceExternalImageFormatInfo &()

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

Definition at line 64221 of file vulkan.hpp.

64222  {
64223  return *reinterpret_cast<VkPhysicalDeviceExternalImageFormatInfo*>( this );
64224  }

◆ operator VkPhysicalDeviceExternalImageFormatInfo const &()

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

Definition at line 64216 of file vulkan.hpp.

64217  {
64218  return *reinterpret_cast<const VkPhysicalDeviceExternalImageFormatInfo*>( this );
64219  }

◆ operator!=()

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

Definition at line 64237 of file vulkan.hpp.

64238  {
64239  return !operator==( rhs );
64240  }
bool operator==(PhysicalDeviceExternalImageFormatInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:64230

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 64197 of file vulkan.hpp.

64198  {
64199  memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceExternalImageFormatInfo ) );
64200  return *this;
64201  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR PhysicalDeviceExternalImageFormatInfo(VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits handleType_=VULKAN_HPP_NAMESPACE::ExternalMemoryHandleTypeFlagBits::eOpaqueFd) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:64179

References memcpy.

◆ operator=() [2/2]

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

Definition at line 64191 of file vulkan.hpp.

64192  {
64193  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo const *>( &rhs );
64194  return *this;
64195  }

◆ operator==()

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

Definition at line 64230 of file vulkan.hpp.

64231  {
64232  return ( sType == rhs.sType )
64233  && ( pNext == rhs.pNext )
64234  && ( handleType == rhs.handleType );
64235  }
GLuint64 GLenum handleType
Definition: gl2ext.h:1508
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:64246

◆ setHandleType()

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

Definition at line 64209 of file vulkan.hpp.

64210  {
64211  handleType = handleType_;
64212  return *this;
64213  }

◆ setPNext()

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

Definition at line 64203 of file vulkan.hpp.

64204  {
64205  pNext = pNext_;
64206  return *this;
64207  }

Field Documentation

◆ allowDuplicate

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

Definition at line 64175 of file vulkan.hpp.

◆ handleType

Definition at line 64248 of file vulkan.hpp.

◆ pNext

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

Definition at line 64247 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::structureType = StructureType::ePhysicalDeviceExternalImageFormatInfo
static

Definition at line 64176 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceExternalImageFormatInfo::sType = StructureType::ePhysicalDeviceExternalImageFormatInfo

Definition at line 64246 of file vulkan.hpp.


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