SDL 2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceProtectedMemoryFeatures (Bool32 protectedMemory_=0)
 
 PhysicalDeviceProtectedMemoryFeatures (VkPhysicalDeviceProtectedMemoryFeatures const &rhs)
 
PhysicalDeviceProtectedMemoryFeaturesoperator= (VkPhysicalDeviceProtectedMemoryFeatures const &rhs)
 
PhysicalDeviceProtectedMemoryFeaturessetPNext (void *pNext_)
 
PhysicalDeviceProtectedMemoryFeaturessetProtectedMemory (Bool32 protectedMemory_)
 
 operator VkPhysicalDeviceProtectedMemoryFeatures const & () const
 
 operator VkPhysicalDeviceProtectedMemoryFeatures & ()
 
bool operator== (PhysicalDeviceProtectedMemoryFeatures const &rhs) const
 
bool operator!= (PhysicalDeviceProtectedMemoryFeatures const &rhs) const
 

Data Fields

voidpNext = nullptr
 
Bool32 protectedMemory
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures
 

Detailed Description

Definition at line 16467 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceProtectedMemoryFeatures() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::PhysicalDeviceProtectedMemoryFeatures ( Bool32  protectedMemory_ = 0)
inline

Definition at line 16469 of file vulkan.hpp.

16470 : protectedMemory( protectedMemory_ )
16471 {
16472 }

◆ PhysicalDeviceProtectedMemoryFeatures() [2/2]

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

Definition at line 16474 of file vulkan.hpp.

16475 {
16476 memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );
16477 }
#define memcpy
Definition: SDL_malloc.c:630
PhysicalDeviceProtectedMemoryFeatures(Bool32 protectedMemory_=0)
Definition: vulkan.hpp:16469

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceProtectedMemoryFeatures &()

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

Definition at line 16501 of file vulkan.hpp.

16502 {
16503 return *reinterpret_cast<VkPhysicalDeviceProtectedMemoryFeatures*>(this);
16504 }

◆ operator VkPhysicalDeviceProtectedMemoryFeatures const &()

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

Definition at line 16496 of file vulkan.hpp.

16497 {
16498 return *reinterpret_cast<const VkPhysicalDeviceProtectedMemoryFeatures*>(this);
16499 }

◆ operator!=()

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

Definition at line 16513 of file vulkan.hpp.

16514 {
16515 return !operator==( rhs );
16516 }
bool operator==(PhysicalDeviceProtectedMemoryFeatures const &rhs) const
Definition: vulkan.hpp:16506

References operator==().

◆ operator=()

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

Definition at line 16479 of file vulkan.hpp.

16480 {
16481 memcpy( this, &rhs, sizeof( PhysicalDeviceProtectedMemoryFeatures ) );
16482 return *this;
16483 }

References memcpy.

◆ operator==()

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

Definition at line 16506 of file vulkan.hpp.

16507 {
16508 return ( sType == rhs.sType )
16509 && ( pNext == rhs.pNext )
16510 && ( protectedMemory == rhs.protectedMemory );
16511 }

References pNext, protectedMemory, and sType.

Referenced by operator!=().

◆ setPNext()

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

Definition at line 16484 of file vulkan.hpp.

16485 {
16486 pNext = pNext_;
16487 return *this;
16488 }

References pNext.

◆ setProtectedMemory()

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

Definition at line 16490 of file vulkan.hpp.

16491 {
16492 protectedMemory = protectedMemory_;
16493 return *this;
16494 }

References protectedMemory.

Field Documentation

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::pNext = nullptr

Definition at line 16522 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ protectedMemory

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::protectedMemory

Definition at line 16523 of file vulkan.hpp.

Referenced by operator==(), and setProtectedMemory().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceProtectedMemoryFeatures::sType = StructureType::ePhysicalDeviceProtectedMemoryFeatures
private

Definition at line 16519 of file vulkan.hpp.

Referenced by operator==().


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