SDL  2.0
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV:

Public Member Functions

 DedicatedAllocationMemoryAllocateInfoNV (Image image_=Image(), Buffer buffer_=Buffer())
 
 DedicatedAllocationMemoryAllocateInfoNV (VkDedicatedAllocationMemoryAllocateInfoNV const &rhs)
 
DedicatedAllocationMemoryAllocateInfoNVoperator= (VkDedicatedAllocationMemoryAllocateInfoNV const &rhs)
 
DedicatedAllocationMemoryAllocateInfoNVsetPNext (const void *pNext_)
 
DedicatedAllocationMemoryAllocateInfoNVsetImage (Image image_)
 
DedicatedAllocationMemoryAllocateInfoNVsetBuffer (Buffer buffer_)
 
 operator VkDedicatedAllocationMemoryAllocateInfoNV const & () const
 
 operator VkDedicatedAllocationMemoryAllocateInfoNV & ()
 
bool operator== (DedicatedAllocationMemoryAllocateInfoNV const &rhs) const
 
bool operator!= (DedicatedAllocationMemoryAllocateInfoNV const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
Image image
 
Buffer buffer
 

Private Attributes

StructureType sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV
 

Detailed Description

Definition at line 12624 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DedicatedAllocationMemoryAllocateInfoNV() [1/2]

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

Definition at line 12626 of file vulkan.hpp.

12628  : image( image_ )
12629  , buffer( buffer_ )
12630  {
12631  }

◆ DedicatedAllocationMemoryAllocateInfoNV() [2/2]

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

Definition at line 12633 of file vulkan.hpp.

12634  {
12635  memcpy( this, &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );
12636  }

References memcpy.

Member Function Documentation

◆ operator VkDedicatedAllocationMemoryAllocateInfoNV &()

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

Definition at line 12666 of file vulkan.hpp.

12667  {
12668  return *reinterpret_cast<VkDedicatedAllocationMemoryAllocateInfoNV*>(this);
12669  }

◆ operator VkDedicatedAllocationMemoryAllocateInfoNV const &()

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

Definition at line 12661 of file vulkan.hpp.

12662  {
12663  return *reinterpret_cast<const VkDedicatedAllocationMemoryAllocateInfoNV*>(this);
12664  }

◆ operator!=()

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

Definition at line 12679 of file vulkan.hpp.

12680  {
12681  return !operator==( rhs );
12682  }

References operator==().

◆ operator=()

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

Definition at line 12638 of file vulkan.hpp.

12639  {
12640  memcpy( this, &rhs, sizeof( DedicatedAllocationMemoryAllocateInfoNV ) );
12641  return *this;
12642  }

References memcpy.

◆ operator==()

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

Definition at line 12671 of file vulkan.hpp.

12672  {
12673  return ( sType == rhs.sType )
12674  && ( pNext == rhs.pNext )
12675  && ( image == rhs.image )
12676  && ( buffer == rhs.buffer );
12677  }

References buffer, image, pNext, and sType.

Referenced by operator!=().

◆ setBuffer()

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

Definition at line 12655 of file vulkan.hpp.

12656  {
12657  buffer = buffer_;
12658  return *this;
12659  }

◆ setImage()

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

Definition at line 12649 of file vulkan.hpp.

12650  {
12651  image = image_;
12652  return *this;
12653  }

◆ setPNext()

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

Definition at line 12643 of file vulkan.hpp.

12644  {
12645  pNext = pNext_;
12646  return *this;
12647  }

References pNext.

Field Documentation

◆ buffer

Buffer VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::buffer

Definition at line 12690 of file vulkan.hpp.

Referenced by operator==().

◆ image

Image VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::image

Definition at line 12689 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 12688 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::sType = StructureType::eDedicatedAllocationMemoryAllocateInfoNV
private

Definition at line 12685 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
image
GLeglImageOES image
Definition: SDL_opengl.h:2148
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::pNext
const void * pNext
Definition: vulkan.hpp:12688
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::sType
StructureType sType
Definition: vulkan.hpp:12685
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::buffer
Buffer buffer
Definition: vulkan.hpp:12690
buffer
GLuint buffer
Definition: SDL_opengl_glext.h:533
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::operator==
bool operator==(DedicatedAllocationMemoryAllocateInfoNV const &rhs) const
Definition: vulkan.hpp:12671
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::image
Image image
Definition: vulkan.hpp:12689
VULKAN_HPP_NAMESPACE::DedicatedAllocationMemoryAllocateInfoNV::DedicatedAllocationMemoryAllocateInfoNV
DedicatedAllocationMemoryAllocateInfoNV(Image image_=Image(), Buffer buffer_=Buffer())
Definition: vulkan.hpp:12626