SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties:

Public Member Functions

 operator VkPhysicalDeviceProperties const & () const
 
 operator VkPhysicalDeviceProperties & ()
 
bool operator== (PhysicalDeviceProperties const &rhs) const
 
bool operator!= (PhysicalDeviceProperties const &rhs) const
 

Data Fields

uint32_t apiVersion
 
uint32_t driverVersion
 
uint32_t vendorID
 
uint32_t deviceID
 
PhysicalDeviceType deviceType
 
char deviceName [VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]
 
uint8_t pipelineCacheUUID [VK_UUID_SIZE]
 
PhysicalDeviceLimits limits
 
PhysicalDeviceSparseProperties sparseProperties
 

Detailed Description

Definition at line 27769 of file vulkan.hpp.

Member Function Documentation

◆ operator VkPhysicalDeviceProperties &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::operator VkPhysicalDeviceProperties & ( )
inline

Definition at line 27776 of file vulkan.hpp.

27777  {
27778  return *reinterpret_cast<VkPhysicalDeviceProperties*>(this);
27779  }

◆ operator VkPhysicalDeviceProperties const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::operator VkPhysicalDeviceProperties const & ( ) const
inline

Definition at line 27771 of file vulkan.hpp.

27772  {
27773  return *reinterpret_cast<const VkPhysicalDeviceProperties*>(this);
27774  }

◆ operator!=()

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

Definition at line 27794 of file vulkan.hpp.

27795  {
27796  return !operator==( rhs );
27797  }
bool operator==(PhysicalDeviceProperties const &rhs) const
Definition: vulkan.hpp:27781

◆ operator==()

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

Definition at line 27781 of file vulkan.hpp.

References apiVersion, deviceID, deviceName, deviceType, driverVersion, limits, pipelineCacheUUID, sparseProperties, vendorID, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE, and VK_UUID_SIZE.

27782  {
27783  return ( apiVersion == rhs.apiVersion )
27784  && ( driverVersion == rhs.driverVersion )
27785  && ( vendorID == rhs.vendorID )
27786  && ( deviceID == rhs.deviceID )
27787  && ( deviceType == rhs.deviceType )
27788  && ( memcmp( deviceName, rhs.deviceName, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE * sizeof( char ) ) == 0 )
27789  && ( memcmp( pipelineCacheUUID, rhs.pipelineCacheUUID, VK_UUID_SIZE * sizeof( uint8_t ) ) == 0 )
27790  && ( limits == rhs.limits )
27791  && ( sparseProperties == rhs.sparseProperties );
27792  }
#define VK_MAX_PHYSICAL_DEVICE_NAME_SIZE
Definition: vulkan_core.h:104
PhysicalDeviceSparseProperties sparseProperties
Definition: vulkan.hpp:27807
unsigned char uint8_t
char deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]
Definition: vulkan.hpp:27804
#define VK_UUID_SIZE
Definition: vulkan_core.h:105

Field Documentation

◆ apiVersion

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::apiVersion

Definition at line 27799 of file vulkan.hpp.

Referenced by operator==().

◆ deviceID

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::deviceID

Definition at line 27802 of file vulkan.hpp.

Referenced by operator==().

◆ deviceName

char VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::deviceName[VK_MAX_PHYSICAL_DEVICE_NAME_SIZE]

Definition at line 27804 of file vulkan.hpp.

Referenced by operator==().

◆ deviceType

PhysicalDeviceType VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::deviceType

Definition at line 27803 of file vulkan.hpp.

Referenced by operator==().

◆ driverVersion

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::driverVersion

Definition at line 27800 of file vulkan.hpp.

Referenced by operator==().

◆ limits

PhysicalDeviceLimits VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::limits

Definition at line 27806 of file vulkan.hpp.

Referenced by operator==().

◆ pipelineCacheUUID

uint8_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::pipelineCacheUUID[VK_UUID_SIZE]

Definition at line 27805 of file vulkan.hpp.

Referenced by operator==().

◆ sparseProperties

PhysicalDeviceSparseProperties VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::sparseProperties

Definition at line 27807 of file vulkan.hpp.

Referenced by operator==().

◆ vendorID

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::vendorID

Definition at line 27801 of file vulkan.hpp.

Referenced by operator==().


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