SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceVariablePointerFeatures (Bool32 variablePointersStorageBuffer_=0, Bool32 variablePointers_=0)
 
 PhysicalDeviceVariablePointerFeatures (VkPhysicalDeviceVariablePointerFeatures const &rhs)
 
PhysicalDeviceVariablePointerFeaturesoperator= (VkPhysicalDeviceVariablePointerFeatures const &rhs)
 
PhysicalDeviceVariablePointerFeaturessetPNext (void *pNext_)
 
PhysicalDeviceVariablePointerFeaturessetVariablePointersStorageBuffer (Bool32 variablePointersStorageBuffer_)
 
PhysicalDeviceVariablePointerFeaturessetVariablePointers (Bool32 variablePointers_)
 
 operator VkPhysicalDeviceVariablePointerFeatures const & () const
 
 operator VkPhysicalDeviceVariablePointerFeatures & ()
 
bool operator== (PhysicalDeviceVariablePointerFeatures const &rhs) const
 
bool operator!= (PhysicalDeviceVariablePointerFeatures const &rhs) const
 

Data Fields

voidpNext = nullptr
 
Bool32 variablePointersStorageBuffer
 
Bool32 variablePointers
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceVariablePointerFeatures
 

Detailed Description

Definition at line 13320 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceVariablePointerFeatures() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::PhysicalDeviceVariablePointerFeatures ( Bool32  variablePointersStorageBuffer_ = 0,
Bool32  variablePointers_ = 0 
)
inline

Definition at line 13322 of file vulkan.hpp.

13324  : variablePointersStorageBuffer( variablePointersStorageBuffer_ )
13325  , variablePointers( variablePointers_ )
13326  {
13327  }

◆ PhysicalDeviceVariablePointerFeatures() [2/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::PhysicalDeviceVariablePointerFeatures ( VkPhysicalDeviceVariablePointerFeatures const &  rhs)
inline

Definition at line 13329 of file vulkan.hpp.

13330  {
13331  memcpy( this, &rhs, sizeof( PhysicalDeviceVariablePointerFeatures ) );
13332  }

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceVariablePointerFeatures &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::operator VkPhysicalDeviceVariablePointerFeatures & ( )
inline

Definition at line 13362 of file vulkan.hpp.

13363  {
13364  return *reinterpret_cast<VkPhysicalDeviceVariablePointerFeatures*>(this);
13365  }

◆ operator VkPhysicalDeviceVariablePointerFeatures const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::operator VkPhysicalDeviceVariablePointerFeatures const & ( ) const
inline

Definition at line 13357 of file vulkan.hpp.

13358  {
13359  return *reinterpret_cast<const VkPhysicalDeviceVariablePointerFeatures*>(this);
13360  }

◆ operator!=()

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

Definition at line 13375 of file vulkan.hpp.

13376  {
13377  return !operator==( rhs );
13378  }

References operator==().

◆ operator=()

PhysicalDeviceVariablePointerFeatures& VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::operator= ( VkPhysicalDeviceVariablePointerFeatures const &  rhs)
inline

Definition at line 13334 of file vulkan.hpp.

13335  {
13336  memcpy( this, &rhs, sizeof( PhysicalDeviceVariablePointerFeatures ) );
13337  return *this;
13338  }

References memcpy.

◆ operator==()

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

Definition at line 13367 of file vulkan.hpp.

13368  {
13369  return ( sType == rhs.sType )
13370  && ( pNext == rhs.pNext )
13371  && ( variablePointersStorageBuffer == rhs.variablePointersStorageBuffer )
13372  && ( variablePointers == rhs.variablePointers );
13373  }

References pNext, sType, variablePointers, and variablePointersStorageBuffer.

Referenced by operator!=().

◆ setPNext()

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

Definition at line 13339 of file vulkan.hpp.

13340  {
13341  pNext = pNext_;
13342  return *this;
13343  }

References pNext.

◆ setVariablePointers()

PhysicalDeviceVariablePointerFeatures& VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::setVariablePointers ( Bool32  variablePointers_)
inline

Definition at line 13351 of file vulkan.hpp.

13352  {
13353  variablePointers = variablePointers_;
13354  return *this;
13355  }

References variablePointers.

◆ setVariablePointersStorageBuffer()

PhysicalDeviceVariablePointerFeatures& VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::setVariablePointersStorageBuffer ( Bool32  variablePointersStorageBuffer_)
inline

Definition at line 13345 of file vulkan.hpp.

13346  {
13347  variablePointersStorageBuffer = variablePointersStorageBuffer_;
13348  return *this;
13349  }

References variablePointersStorageBuffer.

Field Documentation

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::pNext = nullptr

Definition at line 13384 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::sType = StructureType::ePhysicalDeviceVariablePointerFeatures
private

Definition at line 13381 of file vulkan.hpp.

Referenced by operator==().

◆ variablePointers

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::variablePointers

Definition at line 13386 of file vulkan.hpp.

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

◆ variablePointersStorageBuffer

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::variablePointersStorageBuffer

Definition at line 13385 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::variablePointers
Bool32 variablePointers
Definition: vulkan.hpp:13386
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::sType
StructureType sType
Definition: vulkan.hpp:13381
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::operator==
bool operator==(PhysicalDeviceVariablePointerFeatures const &rhs) const
Definition: vulkan.hpp:13367
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::pNext
void * pNext
Definition: vulkan.hpp:13384
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::variablePointersStorageBuffer
Bool32 variablePointersStorageBuffer
Definition: vulkan.hpp:13385
VULKAN_HPP_NAMESPACE::PhysicalDeviceVariablePointerFeatures::PhysicalDeviceVariablePointerFeatures
PhysicalDeviceVariablePointerFeatures(Bool32 variablePointersStorageBuffer_=0, Bool32 variablePointers_=0)
Definition: vulkan.hpp:13322