SDL  2.0
VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DedicatedAllocationImageCreateInfoNV (Bool32 dedicatedAllocation_=0)
 
 DedicatedAllocationImageCreateInfoNV (VkDedicatedAllocationImageCreateInfoNV const &rhs)
 
DedicatedAllocationImageCreateInfoNVoperator= (VkDedicatedAllocationImageCreateInfoNV const &rhs)
 
DedicatedAllocationImageCreateInfoNVsetPNext (const void *pNext_)
 
DedicatedAllocationImageCreateInfoNVsetDedicatedAllocation (Bool32 dedicatedAllocation_)
 
 operator VkDedicatedAllocationImageCreateInfoNV const & () const
 
 operator VkDedicatedAllocationImageCreateInfoNV & ()
 
bool operator== (DedicatedAllocationImageCreateInfoNV const &rhs) const
 
bool operator!= (DedicatedAllocationImageCreateInfoNV const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
Bool32 dedicatedAllocation
 

Private Attributes

StructureType sType = StructureType::eDedicatedAllocationImageCreateInfoNV
 

Detailed Description

Definition at line 12504 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DedicatedAllocationImageCreateInfoNV() [1/2]

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::DedicatedAllocationImageCreateInfoNV ( Bool32  dedicatedAllocation_ = 0)
inline

Definition at line 12506 of file vulkan.hpp.

12507  : dedicatedAllocation( dedicatedAllocation_ )
12508  {
12509  }

◆ DedicatedAllocationImageCreateInfoNV() [2/2]

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::DedicatedAllocationImageCreateInfoNV ( VkDedicatedAllocationImageCreateInfoNV const &  rhs)
inline

Definition at line 12511 of file vulkan.hpp.

References memcpy.

12512  {
12513  memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );
12514  }
DedicatedAllocationImageCreateInfoNV(Bool32 dedicatedAllocation_=0)
Definition: vulkan.hpp:12506
#define memcpy
Definition: SDL_malloc.c:630

Member Function Documentation

◆ operator VkDedicatedAllocationImageCreateInfoNV &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::operator VkDedicatedAllocationImageCreateInfoNV & ( )
inline

Definition at line 12538 of file vulkan.hpp.

12539  {
12540  return *reinterpret_cast<VkDedicatedAllocationImageCreateInfoNV*>(this);
12541  }

◆ operator VkDedicatedAllocationImageCreateInfoNV const &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::operator VkDedicatedAllocationImageCreateInfoNV const & ( ) const
inline

Definition at line 12533 of file vulkan.hpp.

12534  {
12535  return *reinterpret_cast<const VkDedicatedAllocationImageCreateInfoNV*>(this);
12536  }

◆ operator!=()

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

Definition at line 12550 of file vulkan.hpp.

12551  {
12552  return !operator==( rhs );
12553  }
bool operator==(DedicatedAllocationImageCreateInfoNV const &rhs) const
Definition: vulkan.hpp:12543

◆ operator=()

DedicatedAllocationImageCreateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::operator= ( VkDedicatedAllocationImageCreateInfoNV const &  rhs)
inline

Definition at line 12516 of file vulkan.hpp.

References memcpy.

12517  {
12518  memcpy( this, &rhs, sizeof( DedicatedAllocationImageCreateInfoNV ) );
12519  return *this;
12520  }
DedicatedAllocationImageCreateInfoNV(Bool32 dedicatedAllocation_=0)
Definition: vulkan.hpp:12506
#define memcpy
Definition: SDL_malloc.c:630

◆ operator==()

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

Definition at line 12543 of file vulkan.hpp.

References dedicatedAllocation, pNext, and sType.

12544  {
12545  return ( sType == rhs.sType )
12546  && ( pNext == rhs.pNext )
12547  && ( dedicatedAllocation == rhs.dedicatedAllocation );
12548  }

◆ setDedicatedAllocation()

DedicatedAllocationImageCreateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::setDedicatedAllocation ( Bool32  dedicatedAllocation_)
inline

Definition at line 12527 of file vulkan.hpp.

12528  {
12529  dedicatedAllocation = dedicatedAllocation_;
12530  return *this;
12531  }

◆ setPNext()

DedicatedAllocationImageCreateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::setPNext ( const void pNext_)
inline

Definition at line 12521 of file vulkan.hpp.

12522  {
12523  pNext = pNext_;
12524  return *this;
12525  }

Field Documentation

◆ dedicatedAllocation

Bool32 VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::dedicatedAllocation

Definition at line 12560 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

const void* VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::pNext = nullptr

Definition at line 12559 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationImageCreateInfoNV::sType = StructureType::eDedicatedAllocationImageCreateInfoNV
private

Definition at line 12556 of file vulkan.hpp.

Referenced by operator==().


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