SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceProtectedMemoryProperties (Bool32 protectedNoFault_=0)
 
 PhysicalDeviceProtectedMemoryProperties (VkPhysicalDeviceProtectedMemoryProperties const &rhs)
 
PhysicalDeviceProtectedMemoryPropertiesoperator= (VkPhysicalDeviceProtectedMemoryProperties const &rhs)
 
PhysicalDeviceProtectedMemoryPropertiessetPNext (void *pNext_)
 
PhysicalDeviceProtectedMemoryPropertiessetProtectedNoFault (Bool32 protectedNoFault_)
 
 operator VkPhysicalDeviceProtectedMemoryProperties const & () const
 
 operator VkPhysicalDeviceProtectedMemoryProperties & ()
 
bool operator== (PhysicalDeviceProtectedMemoryProperties const &rhs) const
 
bool operator!= (PhysicalDeviceProtectedMemoryProperties const &rhs) const
 

Data Fields

voidpNext = nullptr
 
Bool32 protectedNoFault
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryProperties
 

Detailed Description

Definition at line 16527 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceProtectedMemoryProperties() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::PhysicalDeviceProtectedMemoryProperties ( Bool32  protectedNoFault_ = 0)
inline

Definition at line 16529 of file vulkan.hpp.

16530  : protectedNoFault( protectedNoFault_ )
16531  {
16532  }

◆ PhysicalDeviceProtectedMemoryProperties() [2/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::PhysicalDeviceProtectedMemoryProperties ( VkPhysicalDeviceProtectedMemoryProperties const &  rhs)
inline

Definition at line 16534 of file vulkan.hpp.

References memcpy.

16535  {
16536  memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) );
16537  }
PhysicalDeviceProtectedMemoryProperties(Bool32 protectedNoFault_=0)
Definition: vulkan.hpp:16529
#define memcpy
Definition: SDL_malloc.c:630

Member Function Documentation

◆ operator VkPhysicalDeviceProtectedMemoryProperties &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::operator VkPhysicalDeviceProtectedMemoryProperties & ( )
inline

Definition at line 16561 of file vulkan.hpp.

16562  {
16563  return *reinterpret_cast<VkPhysicalDeviceProtectedMemoryProperties*>(this);
16564  }

◆ operator VkPhysicalDeviceProtectedMemoryProperties const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::operator VkPhysicalDeviceProtectedMemoryProperties const & ( ) const
inline

Definition at line 16556 of file vulkan.hpp.

16557  {
16558  return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryProperties*>(this);
16559  }

◆ operator!=()

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

Definition at line 16573 of file vulkan.hpp.

16574  {
16575  return !operator==( rhs );
16576  }
bool operator==(PhysicalDeviceProtectedMemoryProperties const &rhs) const
Definition: vulkan.hpp:16566

◆ operator=()

PhysicalDeviceProtectedMemoryProperties& VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::operator= ( VkPhysicalDeviceProtectedMemoryProperties const &  rhs)
inline

Definition at line 16539 of file vulkan.hpp.

References memcpy.

16540  {
16541  memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryProperties ) );
16542  return *this;
16543  }
PhysicalDeviceProtectedMemoryProperties(Bool32 protectedNoFault_=0)
Definition: vulkan.hpp:16529
#define memcpy
Definition: SDL_malloc.c:630

◆ operator==()

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

Definition at line 16566 of file vulkan.hpp.

References pNext, protectedNoFault, and sType.

16567  {
16568  return ( sType == rhs.sType )
16569  && ( pNext == rhs.pNext )
16570  && ( protectedNoFault == rhs.protectedNoFault );
16571  }

◆ setPNext()

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

Definition at line 16544 of file vulkan.hpp.

16545  {
16546  pNext = pNext_;
16547  return *this;
16548  }

◆ setProtectedNoFault()

PhysicalDeviceProtectedMemoryProperties& VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::setProtectedNoFault ( Bool32  protectedNoFault_)
inline

Definition at line 16550 of file vulkan.hpp.

16551  {
16552  protectedNoFault = protectedNoFault_;
16553  return *this;
16554  }

Field Documentation

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::pNext = nullptr

Definition at line 16582 of file vulkan.hpp.

Referenced by operator==().

◆ protectedNoFault

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::protectedNoFault

Definition at line 16583 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryProperties::sType = StructureType::ePhysicalDeviceProtectedMemoryProperties
private

Definition at line 16579 of file vulkan.hpp.

Referenced by operator==().


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