SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties:

Public Member Functions

VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties (uint32_t apiVersion_={}, uint32_t driverVersion_={}, uint32_t vendorID_={}, uint32_t deviceID_={}, VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType_=VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther, std::array< char, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE > const &deviceName_={}, std::array< uint8_t, VK_UUID_SIZE > const &pipelineCacheUUID_={}, VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits_={}, VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties (PhysicalDeviceProperties const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 PhysicalDeviceProperties (VkPhysicalDeviceProperties const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDevicePropertiesoperator= (VkPhysicalDeviceProperties const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDevicePropertiesoperator= (PhysicalDeviceProperties const &rhs) VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceProperties const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceProperties & () VULKAN_HPP_NOEXCEPT
 
bool operator== (PhysicalDeviceProperties const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (PhysicalDeviceProperties const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

uint32_t apiVersion = {}
 
uint32_t driverVersion = {}
 
uint32_t vendorID = {}
 
uint32_t deviceID = {}
 
VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther
 
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< char, VK_MAX_PHYSICAL_DEVICE_NAME_SIZEdeviceName = {}
 
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< uint8_t, VK_UUID_SIZEpipelineCacheUUID = {}
 
VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits = {}
 
VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties = {}
 

Detailed Description

Definition at line 52964 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceProperties() [1/3]

VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::PhysicalDeviceProperties ( uint32_t  apiVersion_ = {},
uint32_t  driverVersion_ = {},
uint32_t  vendorID_ = {},
uint32_t  deviceID_ = {},
VULKAN_HPP_NAMESPACE::PhysicalDeviceType  deviceType_ = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther,
std::array< char, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE > const &  deviceName_ = {},
std::array< uint8_t, VK_UUID_SIZE > const &  pipelineCacheUUID_ = {},
VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits  limits_ = {},
VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties  sparseProperties_ = {} 
)
inline

Definition at line 52969 of file vulkan.hpp.

52969  {}, uint32_t driverVersion_ = {}, uint32_t vendorID_ = {}, uint32_t deviceID_ = {}, VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType_ = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther, std::array<char,VK_MAX_PHYSICAL_DEVICE_NAME_SIZE> const& deviceName_ = {}, std::array<uint8_t,VK_UUID_SIZE> const& pipelineCacheUUID_ = {}, VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits_ = {}, VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties_ = {}) VULKAN_HPP_NOEXCEPT
52970  : apiVersion( apiVersion_ ), driverVersion( driverVersion_ ), vendorID( vendorID_ ), deviceID( deviceID_ ), deviceType( deviceType_ ), deviceName( deviceName_ ), pipelineCacheUUID( pipelineCacheUUID_ ), limits( limits_ ), sparseProperties( sparseProperties_ )
52971  {}
unsigned int uint32_t
VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits
Definition: vulkan.hpp:53037
VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType
Definition: vulkan.hpp:53034
VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties
Definition: vulkan.hpp:53038
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< uint8_t, VK_UUID_SIZE > pipelineCacheUUID
Definition: vulkan.hpp:53036
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< char, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE > deviceName
Definition: vulkan.hpp:53035
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ PhysicalDeviceProperties() [2/3]

VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::PhysicalDeviceProperties ( PhysicalDeviceProperties const &  rhs)
default

◆ PhysicalDeviceProperties() [3/3]

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

Definition at line 52975 of file vulkan.hpp.

52976  {
52977  *this = rhs;
52978  }

Member Function Documentation

◆ operator VkPhysicalDeviceProperties &()

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

Definition at line 52999 of file vulkan.hpp.

53000  {
53001  return *reinterpret_cast<VkPhysicalDeviceProperties*>( this );
53002  }

◆ operator VkPhysicalDeviceProperties const &()

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

Definition at line 52994 of file vulkan.hpp.

52995  {
52996  return *reinterpret_cast<const VkPhysicalDeviceProperties*>( this );
52997  }

◆ operator!=()

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

Definition at line 53021 of file vulkan.hpp.

53022  {
53023  return !operator==( rhs );
53024  }
bool operator==(PhysicalDeviceProperties const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:53008

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 52987 of file vulkan.hpp.

52988  {
52989  memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceProperties ) );
52990  return *this;
52991  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties(uint32_t apiVersion_={}, uint32_t driverVersion_={}, uint32_t vendorID_={}, uint32_t deviceID_={}, VULKAN_HPP_NAMESPACE::PhysicalDeviceType deviceType_=VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther, std::array< char, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE > const &deviceName_={}, std::array< uint8_t, VK_UUID_SIZE > const &pipelineCacheUUID_={}, VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits limits_={}, VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties sparseProperties_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:52969

References memcpy.

◆ operator=() [2/2]

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

Definition at line 52981 of file vulkan.hpp.

52982  {
52983  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties const *>( &rhs );
52984  return *this;
52985  }

◆ operator==()

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

Definition at line 53008 of file vulkan.hpp.

53009  {
53010  return ( apiVersion == rhs.apiVersion )
53011  && ( driverVersion == rhs.driverVersion )
53012  && ( vendorID == rhs.vendorID )
53013  && ( deviceID == rhs.deviceID )
53014  && ( deviceType == rhs.deviceType )
53015  && ( deviceName == rhs.deviceName )
53016  && ( pipelineCacheUUID == rhs.pipelineCacheUUID )
53017  && ( limits == rhs.limits )
53018  && ( sparseProperties == rhs.sparseProperties );
53019  }

Field Documentation

◆ apiVersion

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::apiVersion = {}

Definition at line 53030 of file vulkan.hpp.

◆ deviceID

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::deviceID = {}

Definition at line 53033 of file vulkan.hpp.

◆ deviceName

VULKAN_HPP_NAMESPACE::ArrayWrapper1D<char, VK_MAX_PHYSICAL_DEVICE_NAME_SIZE> VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::deviceName = {}

Definition at line 53035 of file vulkan.hpp.

◆ deviceType

VULKAN_HPP_NAMESPACE::PhysicalDeviceType VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::deviceType = VULKAN_HPP_NAMESPACE::PhysicalDeviceType::eOther

Definition at line 53034 of file vulkan.hpp.

◆ driverVersion

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::driverVersion = {}

Definition at line 53031 of file vulkan.hpp.

◆ limits

VULKAN_HPP_NAMESPACE::PhysicalDeviceLimits VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::limits = {}

Definition at line 53037 of file vulkan.hpp.

◆ pipelineCacheUUID

VULKAN_HPP_NAMESPACE::ArrayWrapper1D<uint8_t, VK_UUID_SIZE> VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::pipelineCacheUUID = {}

Definition at line 53036 of file vulkan.hpp.

◆ sparseProperties

VULKAN_HPP_NAMESPACE::PhysicalDeviceSparseProperties VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::sparseProperties = {}

Definition at line 53038 of file vulkan.hpp.

◆ vendorID

uint32_t VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties::vendorID = {}

Definition at line 53032 of file vulkan.hpp.


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