SDL  2.0
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV:

Public Member Functions

VULKAN_HPP_CONSTEXPR DedicatedAllocationMemoryAllocateInfoNV (VULKAN_HPP_NAMESPACE::Image image_={}, VULKAN_HPP_NAMESPACE::Buffer buffer_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DedicatedAllocationMemoryAllocateInfoNV (DedicatedAllocationMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DedicatedAllocationMemoryAllocateInfoNV (VkDedicatedAllocationMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationMemoryAllocateInfoNVoperator= (VkDedicatedAllocationMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationMemoryAllocateInfoNVoperator= (DedicatedAllocationMemoryAllocateInfoNV const &rhs) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationMemoryAllocateInfoNVsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationMemoryAllocateInfoNVsetImage (VULKAN_HPP_NAMESPACE::Image image_) VULKAN_HPP_NOEXCEPT
 
DedicatedAllocationMemoryAllocateInfoNVsetBuffer (VULKAN_HPP_NAMESPACE::Buffer buffer_) VULKAN_HPP_NOEXCEPT
 
 operator VkDedicatedAllocationMemoryAllocateInfoNV const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDedicatedAllocationMemoryAllocateInfoNV & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DedicatedAllocationMemoryAllocateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DedicatedAllocationMemoryAllocateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::Image image = {}
 
VULKAN_HPP_NAMESPACE::Buffer buffer = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 28397 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DedicatedAllocationMemoryAllocateInfoNV() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::DedicatedAllocationMemoryAllocateInfoNV ( VULKAN_HPP_NAMESPACE::Image  image_ = {},
VULKAN_HPP_NAMESPACE::Buffer  buffer_ = {} 
)
inline

Definition at line 28403 of file vulkan.hpp.

28404  : image( image_ ), buffer( buffer_ )
28405  {}
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DedicatedAllocationMemoryAllocateInfoNV() [2/3]

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

◆ DedicatedAllocationMemoryAllocateInfoNV() [3/3]

VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::DedicatedAllocationMemoryAllocateInfoNV ( VkDedicatedAllocationMemoryAllocateInfoNV const &  rhs)
inline

Definition at line 28409 of file vulkan.hpp.

28410  {
28411  *this = rhs;
28412  }

Member Function Documentation

◆ operator VkDedicatedAllocationMemoryAllocateInfoNV &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::operator VkDedicatedAllocationMemoryAllocateInfoNV & ( )
inline

Definition at line 28451 of file vulkan.hpp.

28452  {
28453  return *reinterpret_cast<VkDedicatedAllocationMemoryAllocateInfoNV*>( this );
28454  }

◆ operator VkDedicatedAllocationMemoryAllocateInfoNV const &()

VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::operator VkDedicatedAllocationMemoryAllocateInfoNV const & ( ) const
inline

Definition at line 28446 of file vulkan.hpp.

28447  {
28448  return *reinterpret_cast<const VkDedicatedAllocationMemoryAllocateInfoNV*>( this );
28449  }

◆ operator!=()

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

Definition at line 28468 of file vulkan.hpp.

28469  {
28470  return !operator==( rhs );
28471  }
bool operator==(DedicatedAllocationMemoryAllocateInfoNV const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:28460

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 28421 of file vulkan.hpp.

28422  {
28423  memcpy( static_cast<void *>( this ), &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );
28424  return *this;
28425  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DedicatedAllocationMemoryAllocateInfoNV(VULKAN_HPP_NAMESPACE::Image image_={}, VULKAN_HPP_NAMESPACE::Buffer buffer_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:28403

References memcpy.

◆ operator=() [2/2]

DedicatedAllocationMemoryAllocateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::operator= ( VkDedicatedAllocationMemoryAllocateInfoNV const &  rhs)
inline

Definition at line 28415 of file vulkan.hpp.

28416  {
28417  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV const *>( &rhs );
28418  return *this;
28419  }

◆ operator==()

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

Definition at line 28460 of file vulkan.hpp.

28461  {
28462  return ( sType == rhs.sType )
28463  && ( pNext == rhs.pNext )
28464  && ( image == rhs.image )
28465  && ( buffer == rhs.buffer );
28466  }
GLeglImageOES image
Definition: SDL_opengl.h:2148
GLuint buffer
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:28477

◆ setBuffer()

DedicatedAllocationMemoryAllocateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::setBuffer ( VULKAN_HPP_NAMESPACE::Buffer  buffer_)
inline

Definition at line 28439 of file vulkan.hpp.

28440  {
28441  buffer = buffer_;
28442  return *this;
28443  }

◆ setImage()

DedicatedAllocationMemoryAllocateInfoNV& VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::setImage ( VULKAN_HPP_NAMESPACE::Image  image_)
inline

Definition at line 28433 of file vulkan.hpp.

28434  {
28435  image = image_;
28436  return *this;
28437  }

◆ setPNext()

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

Definition at line 28427 of file vulkan.hpp.

28428  {
28429  pNext = pNext_;
28430  return *this;
28431  }

Field Documentation

◆ allowDuplicate

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

Definition at line 28399 of file vulkan.hpp.

◆ buffer

VULKAN_HPP_NAMESPACE::Buffer VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::buffer = {}

Definition at line 28480 of file vulkan.hpp.

◆ image

VULKAN_HPP_NAMESPACE::Image VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::image = {}

Definition at line 28479 of file vulkan.hpp.

◆ pNext

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

Definition at line 28478 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::structureType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV
static

Definition at line 28400 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV

Definition at line 28477 of file vulkan.hpp.


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