SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2:

Public Member Functions

VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures2 (VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures2 (PhysicalDeviceFeatures2 const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 PhysicalDeviceFeatures2 (VkPhysicalDeviceFeatures2 const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceFeatures2operator= (VkPhysicalDeviceFeatures2 const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceFeatures2operator= (PhysicalDeviceFeatures2 const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceFeatures2setPNext (void *pNext_) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceFeatures2setFeatures (VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures const &features_) VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceFeatures2 const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceFeatures2 & () VULKAN_HPP_NOEXCEPT
 
bool operator== (PhysicalDeviceFeatures2 const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (PhysicalDeviceFeatures2 const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceFeatures2
 
voidpNext = {}
 
VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 51760 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceFeatures2() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::PhysicalDeviceFeatures2 ( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures  features_ = {})
inline

Definition at line 51766 of file vulkan.hpp.

51767  : features( features_ )
51768  {}
VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features
Definition: vulkan.hpp:51835
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ PhysicalDeviceFeatures2() [2/3]

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

◆ PhysicalDeviceFeatures2() [3/3]

VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::PhysicalDeviceFeatures2 ( VkPhysicalDeviceFeatures2 const &  rhs)
inline

Definition at line 51772 of file vulkan.hpp.

51773  {
51774  *this = rhs;
51775  }

Member Function Documentation

◆ operator VkPhysicalDeviceFeatures2 &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::operator VkPhysicalDeviceFeatures2 & ( )
inline

Definition at line 51808 of file vulkan.hpp.

51809  {
51810  return *reinterpret_cast<VkPhysicalDeviceFeatures2*>( this );
51811  }

◆ operator VkPhysicalDeviceFeatures2 const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::operator VkPhysicalDeviceFeatures2 const & ( ) const
inline

Definition at line 51803 of file vulkan.hpp.

51804  {
51805  return *reinterpret_cast<const VkPhysicalDeviceFeatures2*>( this );
51806  }

◆ operator!=()

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

Definition at line 51824 of file vulkan.hpp.

51825  {
51826  return !operator==( rhs );
51827  }
bool operator==(PhysicalDeviceFeatures2 const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:51817

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 51784 of file vulkan.hpp.

51785  {
51786  memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceFeatures2 ) );
51787  return *this;
51788  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR PhysicalDeviceFeatures2(VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures features_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:51766

References memcpy.

◆ operator=() [2/2]

PhysicalDeviceFeatures2& VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::operator= ( VkPhysicalDeviceFeatures2 const &  rhs)
inline

Definition at line 51778 of file vulkan.hpp.

51779  {
51780  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2 const *>( &rhs );
51781  return *this;
51782  }

◆ operator==()

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

Definition at line 51817 of file vulkan.hpp.

51818  {
51819  return ( sType == rhs.sType )
51820  && ( pNext == rhs.pNext )
51821  && ( features == rhs.features );
51822  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:51833

◆ setFeatures()

PhysicalDeviceFeatures2& VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::setFeatures ( VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures const &  features_)
inline

Definition at line 51796 of file vulkan.hpp.

51797  {
51798  features = features_;
51799  return *this;
51800  }

◆ setPNext()

PhysicalDeviceFeatures2& VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::setPNext ( void pNext_)
inline

Definition at line 51790 of file vulkan.hpp.

51791  {
51792  pNext = pNext_;
51793  return *this;
51794  }

Field Documentation

◆ allowDuplicate

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

Definition at line 51762 of file vulkan.hpp.

◆ features

VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::features = {}

Definition at line 51835 of file vulkan.hpp.

◆ pNext

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

Definition at line 51834 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::structureType = StructureType::ePhysicalDeviceFeatures2
static

Definition at line 51763 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceFeatures2::sType = StructureType::ePhysicalDeviceFeatures2

Definition at line 51833 of file vulkan.hpp.


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