SDL  2.0
VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV (VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV (DedicatedAllocationBufferCreateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DedicatedAllocationBufferCreateInfoNV (VkDedicatedAllocationBufferCreateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationBufferCreateInfoNVoperator= (VkDedicatedAllocationBufferCreateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationBufferCreateInfoNVoperator= (DedicatedAllocationBufferCreateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationBufferCreateInfoNVsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationBufferCreateInfoNVsetDedicatedAllocation (VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_) VULKAN_HPP_NOEXCEPT
 
 operator VkDedicatedAllocationBufferCreateInfoNV const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDedicatedAllocationBufferCreateInfoNV & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DedicatedAllocationBufferCreateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DedicatedAllocationBufferCreateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationBufferCreateInfoNV
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 28223 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DedicatedAllocationBufferCreateInfoNV() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::DedicatedAllocationBufferCreateInfoNV ( VULKAN_HPP_NAMESPACE::Bool32  dedicatedAllocation_ = {})
inline

Definition at line 28229 of file vulkan.hpp.

28230  : dedicatedAllocation( dedicatedAllocation_ )
28231  {}
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DedicatedAllocationBufferCreateInfoNV() [2/3]

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

◆ DedicatedAllocationBufferCreateInfoNV() [3/3]

VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::DedicatedAllocationBufferCreateInfoNV ( VkDedicatedAllocationBufferCreateInfoNV const &  rhs)
inline

Definition at line 28235 of file vulkan.hpp.

28236  {
28237  *this = rhs;
28238  }

Member Function Documentation

◆ operator VkDedicatedAllocationBufferCreateInfoNV &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::operator VkDedicatedAllocationBufferCreateInfoNV & ( )
inline

Definition at line 28271 of file vulkan.hpp.

28272  {
28273  return *reinterpret_cast<VkDedicatedAllocationBufferCreateInfoNV*>( this );
28274  }

◆ operator VkDedicatedAllocationBufferCreateInfoNV const &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::operator VkDedicatedAllocationBufferCreateInfoNV const & ( ) const
inline

Definition at line 28266 of file vulkan.hpp.

28267  {
28268  return *reinterpret_cast<const VkDedicatedAllocationBufferCreateInfoNV*>( this );
28269  }

◆ operator!=()

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

Definition at line 28287 of file vulkan.hpp.

28288  {
28289  return !operator==( rhs );
28290  }
bool operator==(DedicatedAllocationBufferCreateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:28280

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 28247 of file vulkan.hpp.

28248  {
28249  memcpy( static_cast<void *>( this ), &rhs, sizeof( DedicatedAllocationBufferCreateInfoNV ) );
28250  return *this;
28251  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DedicatedAllocationBufferCreateInfoNV(VULKAN_HPP_NAMESPACE::Bool32 dedicatedAllocation_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:28229

References memcpy.

◆ operator=() [2/2]

DedicatedAllocationBufferCreateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::operator= ( VkDedicatedAllocationBufferCreateInfoNV const &  rhs)
inline

Definition at line 28241 of file vulkan.hpp.

28242  {
28243  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV const *>( &rhs );
28244  return *this;
28245  }

◆ operator==()

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

Definition at line 28280 of file vulkan.hpp.

28281  {
28282  return ( sType == rhs.sType )
28283  && ( pNext == rhs.pNext )
28284  && ( dedicatedAllocation == rhs.dedicatedAllocation );
28285  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:28296

◆ setDedicatedAllocation()

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

Definition at line 28259 of file vulkan.hpp.

28260  {
28261  dedicatedAllocation = dedicatedAllocation_;
28262  return *this;
28263  }

◆ setPNext()

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

Definition at line 28253 of file vulkan.hpp.

28254  {
28255  pNext = pNext_;
28256  return *this;
28257  }

Field Documentation

◆ allowDuplicate

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

Definition at line 28225 of file vulkan.hpp.

◆ dedicatedAllocation

VULKAN_HPP_NAMESPACE::Bool32 VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::dedicatedAllocation = {}

Definition at line 28298 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::pNext = {}

Definition at line 28297 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::structureType = StructureType::eDedicatedAllocationBufferCreateInfoNV
static

Definition at line 28226 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationBufferCreateInfoNV::sType = StructureType::eDedicatedAllocationBufferCreateInfoNV

Definition at line 28296 of file vulkan.hpp.


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