SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties Struct Reference

#include <vulkan.hpp>

Public Member Functions

 operator VkPhysicalDeviceIDProperties const & () const
 
 operator VkPhysicalDeviceIDProperties & ()
 
bool operator== (PhysicalDeviceIDProperties const &rhs) const
 
bool operator!= (PhysicalDeviceIDProperties const &rhs) const
 

Data Fields

voidpNext = nullptr
 
uint8_t deviceUUID [VK_UUID_SIZE]
 
uint8_t driverUUID [VK_UUID_SIZE]
 
uint8_t deviceLUID [VK_LUID_SIZE]
 
uint32_t deviceNodeMask
 
Bool32 deviceLUIDValid
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceIdProperties
 

Detailed Description

Definition at line 13392 of file vulkan.hpp.

Member Function Documentation

◆ operator VkPhysicalDeviceIDProperties &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::operator VkPhysicalDeviceIDProperties & ( )
inline

Definition at line 13399 of file vulkan.hpp.

13400  {
13401  return *reinterpret_cast<VkPhysicalDeviceIDProperties*>(this);
13402  }

◆ operator VkPhysicalDeviceIDProperties const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::operator VkPhysicalDeviceIDProperties const & ( ) const
inline

Definition at line 13394 of file vulkan.hpp.

13395  {
13396  return *reinterpret_cast<const VkPhysicalDeviceIDProperties*>(this);
13397  }

◆ operator!=()

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

Definition at line 13415 of file vulkan.hpp.

13416  {
13417  return !operator==( rhs );
13418  }

References operator==().

◆ operator==()

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

Definition at line 13404 of file vulkan.hpp.

13405  {
13406  return ( sType == rhs.sType )
13407  && ( pNext == rhs.pNext )
13408  && ( memcmp( deviceUUID, rhs.deviceUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )
13409  && ( memcmp( driverUUID, rhs.driverUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )
13410  && ( memcmp( deviceLUID, rhs.deviceLUID, VK_LUID_SIZE * sizeof( uint8_t ) ) == 0 )
13411  && ( deviceNodeMask == rhs.deviceNodeMask )
13412  && ( deviceLUIDValid == rhs.deviceLUIDValid );
13413  }

References deviceLUID, deviceLUIDValid, deviceNodeMask, deviceUUID, driverUUID, pNext, sType, VK_LUID_SIZE, and VK_UUID_SIZE.

Referenced by operator!=().

Field Documentation

◆ deviceLUID

uint8_t VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceLUID[VK_LUID_SIZE]

Definition at line 13427 of file vulkan.hpp.

Referenced by operator==().

◆ deviceLUIDValid

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceLUIDValid

Definition at line 13429 of file vulkan.hpp.

Referenced by operator==().

◆ deviceNodeMask

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceNodeMask

Definition at line 13428 of file vulkan.hpp.

Referenced by operator==().

◆ deviceUUID

uint8_t VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceUUID[VK_UUID_SIZE]

Definition at line 13425 of file vulkan.hpp.

Referenced by operator==().

◆ driverUUID

uint8_t VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::driverUUID[VK_UUID_SIZE]

Definition at line 13426 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::pNext = nullptr

Definition at line 13424 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::sType = StructureType::ePhysicalDeviceIdProperties
private

Definition at line 13421 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::sType
StructureType sType
Definition: vulkan.hpp:13421
VK_LUID_SIZE
#define VK_LUID_SIZE
Definition: vulkan_core.h:3796
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceNodeMask
uint32_t deviceNodeMask
Definition: vulkan.hpp:13428
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceUUID
uint8_t deviceUUID[VK_UUID_SIZE]
Definition: vulkan.hpp:13425
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceLUIDValid
Bool32 deviceLUIDValid
Definition: vulkan.hpp:13429
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::operator==
bool operator==(PhysicalDeviceIDProperties const &rhs) const
Definition: vulkan.hpp:13404
VK_UUID_SIZE
#define VK_UUID_SIZE
Definition: vulkan_core.h:105
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::pNext
void * pNext
Definition: vulkan.hpp:13424
uint8_t
unsigned char uint8_t
Definition: SDL_config_windows.h:59
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::deviceLUID
uint8_t deviceLUID[VK_LUID_SIZE]
Definition: vulkan.hpp:13427
VULKAN_HPP_NAMESPACE::PhysicalDeviceIDProperties::driverUUID
uint8_t driverUUID[VK_UUID_SIZE]
Definition: vulkan.hpp:13426