SDL  2.0
VULKAN_HPP_NAMESPACE::LayerProperties Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::LayerProperties:

Public Member Functions

VULKAN_HPP_CONSTEXPR_14 LayerProperties (std::array< char, VK_MAX_EXTENSION_NAME_SIZE > const &layerName_={}, uint32_t specVersion_={}, uint32_t implementationVersion_={}, std::array< char, VK_MAX_DESCRIPTION_SIZE > const &description_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 LayerProperties (LayerProperties const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 LayerProperties (VkLayerProperties const &rhs) VULKAN_HPP_NOEXCEPT
 
LayerPropertiesoperator= (VkLayerProperties const &rhs) VULKAN_HPP_NOEXCEPT
 
LayerPropertiesoperator= (LayerProperties const &rhs) VULKAN_HPP_NOEXCEPT
 
 operator VkLayerProperties const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkLayerProperties & () VULKAN_HPP_NOEXCEPT
 
bool operator== (LayerProperties const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (LayerProperties const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

VULKAN_HPP_NAMESPACE::ArrayWrapper1D< char, VK_MAX_EXTENSION_NAME_SIZElayerName = {}
 
uint32_t specVersion = {}
 
uint32_t implementationVersion = {}
 
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< char, VK_MAX_DESCRIPTION_SIZEdescription = {}
 

Detailed Description

Definition at line 50118 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ LayerProperties() [1/3]

VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::LayerProperties::LayerProperties ( std::array< char, VK_MAX_EXTENSION_NAME_SIZE > const &  layerName_ = {},
uint32_t  specVersion_ = {},
uint32_t  implementationVersion_ = {},
std::array< char, VK_MAX_DESCRIPTION_SIZE > const &  description_ = {} 
)
inline

Definition at line 50123 of file vulkan.hpp.

50123  {}, uint32_t specVersion_ = {}, uint32_t implementationVersion_ = {}, std::array<char,VK_MAX_DESCRIPTION_SIZE> const& description_ = {}) VULKAN_HPP_NOEXCEPT
50124  : layerName( layerName_ ), specVersion( specVersion_ ), implementationVersion( implementationVersion_ ), description( description_ )
50125  {}
unsigned int uint32_t
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< char, VK_MAX_EXTENSION_NAME_SIZE > layerName
Definition: vulkan.hpp:50179
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< char, VK_MAX_DESCRIPTION_SIZE > description
Definition: vulkan.hpp:50182
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ LayerProperties() [2/3]

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

◆ LayerProperties() [3/3]

VULKAN_HPP_NAMESPACE::LayerProperties::LayerProperties ( VkLayerProperties const &  rhs)
inline

Definition at line 50129 of file vulkan.hpp.

50130  {
50131  *this = rhs;
50132  }

Member Function Documentation

◆ operator VkLayerProperties &()

VULKAN_HPP_NAMESPACE::LayerProperties::operator VkLayerProperties & ( )
inline

Definition at line 50153 of file vulkan.hpp.

50154  {
50155  return *reinterpret_cast<VkLayerProperties*>( this );
50156  }

◆ operator VkLayerProperties const &()

VULKAN_HPP_NAMESPACE::LayerProperties::operator VkLayerProperties const & ( ) const
inline

Definition at line 50148 of file vulkan.hpp.

50149  {
50150  return *reinterpret_cast<const VkLayerProperties*>( this );
50151  }

◆ operator!=()

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

Definition at line 50170 of file vulkan.hpp.

50171  {
50172  return !operator==( rhs );
50173  }
bool operator==(LayerProperties const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:50162

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 50141 of file vulkan.hpp.

50142  {
50143  memcpy( static_cast<void *>( this ), &rhs, sizeof( LayerProperties ) );
50144  return *this;
50145  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR_14 LayerProperties(std::array< char, VK_MAX_EXTENSION_NAME_SIZE > const &layerName_={}, uint32_t specVersion_={}, uint32_t implementationVersion_={}, std::array< char, VK_MAX_DESCRIPTION_SIZE > const &description_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:50123

References memcpy.

◆ operator=() [2/2]

LayerProperties& VULKAN_HPP_NAMESPACE::LayerProperties::operator= ( VkLayerProperties const &  rhs)
inline

Definition at line 50135 of file vulkan.hpp.

50136  {
50137  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::LayerProperties const *>( &rhs );
50138  return *this;
50139  }

◆ operator==()

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

Definition at line 50162 of file vulkan.hpp.

50163  {
50164  return ( layerName == rhs.layerName )
50165  && ( specVersion == rhs.specVersion )
50166  && ( implementationVersion == rhs.implementationVersion )
50167  && ( description == rhs.description );
50168  }

Field Documentation

◆ description

VULKAN_HPP_NAMESPACE::ArrayWrapper1D<char, VK_MAX_DESCRIPTION_SIZE> VULKAN_HPP_NAMESPACE::LayerProperties::description = {}

Definition at line 50182 of file vulkan.hpp.

◆ implementationVersion

uint32_t VULKAN_HPP_NAMESPACE::LayerProperties::implementationVersion = {}

Definition at line 50181 of file vulkan.hpp.

◆ layerName

VULKAN_HPP_NAMESPACE::ArrayWrapper1D<char, VK_MAX_EXTENSION_NAME_SIZE> VULKAN_HPP_NAMESPACE::LayerProperties::layerName = {}

Definition at line 50179 of file vulkan.hpp.

◆ specVersion

uint32_t VULKAN_HPP_NAMESPACE::LayerProperties::specVersion = {}

Definition at line 50180 of file vulkan.hpp.


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