SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryFeatures (VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryFeatures (PhysicalDeviceProtectedMemoryFeatures const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 PhysicalDeviceProtectedMemoryFeatures (VkPhysicalDeviceProtectedMemoryFeatures const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceProtectedMemoryFeaturesoperator= (VkPhysicalDeviceProtectedMemoryFeatures const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceProtectedMemoryFeaturesoperator= (PhysicalDeviceProtectedMemoryFeatures const &rhs) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceProtectedMemoryFeaturessetPNext (void *pNext_) VULKAN_HPP_NOEXCEPT
 
PhysicalDeviceProtectedMemoryFeaturessetProtectedMemory (VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_) VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceProtectedMemoryFeatures const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkPhysicalDeviceProtectedMemoryFeatures & () VULKAN_HPP_NOEXCEPT
 
bool operator== (PhysicalDeviceProtectedMemoryFeatures const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (PhysicalDeviceProtectedMemoryFeatures const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures
 
voidpNext = {}
 
VULKAN_HPP_NAMESPACE::Bool32 protectedMemory = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 67872 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceProtectedMemoryFeatures() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::PhysicalDeviceProtectedMemoryFeatures ( VULKAN_HPP_NAMESPACE::Bool32  protectedMemory_ = {})
inline

Definition at line 67878 of file vulkan.hpp.

67879  : protectedMemory( protectedMemory_ )
67880  {}
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ PhysicalDeviceProtectedMemoryFeatures() [2/3]

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

◆ PhysicalDeviceProtectedMemoryFeatures() [3/3]

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::PhysicalDeviceProtectedMemoryFeatures ( VkPhysicalDeviceProtectedMemoryFeatures const &  rhs)
inline

Definition at line 67884 of file vulkan.hpp.

67885  {
67886  *this = rhs;
67887  }

Member Function Documentation

◆ operator VkPhysicalDeviceProtectedMemoryFeatures &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::operator VkPhysicalDeviceProtectedMemoryFeatures & ( )
inline

Definition at line 67920 of file vulkan.hpp.

67921  {
67922  return *reinterpret_cast<VkPhysicalDeviceProtectedMemoryFeatures*>( this );
67923  }

◆ operator VkPhysicalDeviceProtectedMemoryFeatures const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::operator VkPhysicalDeviceProtectedMemoryFeatures const & ( ) const
inline

Definition at line 67915 of file vulkan.hpp.

67916  {
67917  return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryFeatures*>( this );
67918  }

◆ operator!=()

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

Definition at line 67936 of file vulkan.hpp.

67937  {
67938  return !operator==( rhs );
67939  }
bool operator==(PhysicalDeviceProtectedMemoryFeatures const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:67929

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 67896 of file vulkan.hpp.

67897  {
67898  memcpy( static_cast<void *>( this ), &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );
67899  return *this;
67900  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR PhysicalDeviceProtectedMemoryFeatures(VULKAN_HPP_NAMESPACE::Bool32 protectedMemory_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:67878

References memcpy.

◆ operator=() [2/2]

PhysicalDeviceProtectedMemoryFeatures& VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::operator= ( VkPhysicalDeviceProtectedMemoryFeatures const &  rhs)
inline

Definition at line 67890 of file vulkan.hpp.

67891  {
67892  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures const *>( &rhs );
67893  return *this;
67894  }

◆ operator==()

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

Definition at line 67929 of file vulkan.hpp.

67930  {
67931  return ( sType == rhs.sType )
67932  && ( pNext == rhs.pNext )
67933  && ( protectedMemory == rhs.protectedMemory );
67934  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:67945

◆ setPNext()

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

Definition at line 67902 of file vulkan.hpp.

67903  {
67904  pNext = pNext_;
67905  return *this;
67906  }

◆ setProtectedMemory()

PhysicalDeviceProtectedMemoryFeatures& VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::setProtectedMemory ( VULKAN_HPP_NAMESPACE::Bool32  protectedMemory_)
inline

Definition at line 67908 of file vulkan.hpp.

67909  {
67910  protectedMemory = protectedMemory_;
67911  return *this;
67912  }

Field Documentation

◆ allowDuplicate

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

Definition at line 67874 of file vulkan.hpp.

◆ pNext

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

Definition at line 67946 of file vulkan.hpp.

◆ protectedMemory

VULKAN_HPP_NAMESPACE::Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::protectedMemory = {}

Definition at line 67947 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::structureType = StructureType::ePhysicalDeviceProtectedMemoryFeatures
static

Definition at line 67875 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures

Definition at line 67945 of file vulkan.hpp.


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