SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2:

Public Member Functions

VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties2 (VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties2 (PhysicalDeviceProperties2 const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 PhysicalDeviceProperties2 (VkPhysicalDeviceProperties2 const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceProperties2operator= (VkPhysicalDeviceProperties2 const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceProperties2operator= (PhysicalDeviceProperties2 const &rhs) VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceProperties2 const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceProperties2 & () VULKAN_HPP_NOEXCEPT
 
bool operator== (PhysicalDeviceProperties2 const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (PhysicalDeviceProperties2 const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProperties2
 
voidpNext = {}
 
VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 53044 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceProperties2() [1/3]

VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::PhysicalDeviceProperties2 ( VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties  properties_ = {})
inline

Definition at line 53050 of file vulkan.hpp.

53051  : properties( properties_ )
53052  {}
VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties
Definition: vulkan.hpp:53107
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ PhysicalDeviceProperties2() [2/3]

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

◆ PhysicalDeviceProperties2() [3/3]

VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::PhysicalDeviceProperties2 ( VkPhysicalDeviceProperties2 const &  rhs)
inline

Definition at line 53056 of file vulkan.hpp.

53057  {
53058  *this = rhs;
53059  }

Member Function Documentation

◆ operator VkPhysicalDeviceProperties2 &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::operator VkPhysicalDeviceProperties2 & ( )
inline

Definition at line 53080 of file vulkan.hpp.

53081  {
53082  return *reinterpret_cast<VkPhysicalDeviceProperties2*>( this );
53083  }

◆ operator VkPhysicalDeviceProperties2 const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::operator VkPhysicalDeviceProperties2 const & ( ) const
inline

Definition at line 53075 of file vulkan.hpp.

53076  {
53077  return *reinterpret_cast<const VkPhysicalDeviceProperties2*>( this );
53078  }

◆ operator!=()

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

Definition at line 53096 of file vulkan.hpp.

53097  {
53098  return !operator==( rhs );
53099  }
bool operator==(PhysicalDeviceProperties2 const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:53089

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 53068 of file vulkan.hpp.

53069  {
53070  memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceProperties2 ) );
53071  return *this;
53072  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR_14 PhysicalDeviceProperties2(VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties properties_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:53050

References memcpy.

◆ operator=() [2/2]

PhysicalDeviceProperties2& VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::operator= ( VkPhysicalDeviceProperties2 const &  rhs)
inline

Definition at line 53062 of file vulkan.hpp.

53063  {
53064  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2 const *>( &rhs );
53065  return *this;
53066  }

◆ operator==()

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

Definition at line 53089 of file vulkan.hpp.

53090  {
53091  return ( sType == rhs.sType )
53092  && ( pNext == rhs.pNext )
53093  && ( properties == rhs.properties );
53094  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:53105

Field Documentation

◆ allowDuplicate

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

Definition at line 53046 of file vulkan.hpp.

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::pNext = {}

Definition at line 53106 of file vulkan.hpp.

◆ properties

VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::properties = {}

Definition at line 53107 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::structureType = StructureType::ePhysicalDeviceProperties2
static

Definition at line 53047 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceProperties2::sType = StructureType::ePhysicalDeviceProperties2

Definition at line 53105 of file vulkan.hpp.


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