SDL  2.0
VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo:

Public Member Functions

VULKAN_HPP_CONSTEXPR MemoryDedicatedAllocateInfo (VULKAN_HPP_NAMESPACE::Image image_={}, VULKAN_HPP_NAMESPACE::Buffer buffer_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR MemoryDedicatedAllocateInfo (MemoryDedicatedAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 MemoryDedicatedAllocateInfo (VkMemoryDedicatedAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
MemoryDedicatedAllocateInfooperator= (VkMemoryDedicatedAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
MemoryDedicatedAllocateInfooperator= (MemoryDedicatedAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
MemoryDedicatedAllocateInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
MemoryDedicatedAllocateInfosetImage (VULKAN_HPP_NAMESPACE::Image image_) VULKAN_HPP_NOEXCEPT
 
MemoryDedicatedAllocateInfosetBuffer (VULKAN_HPP_NAMESPACE::Buffer buffer_) VULKAN_HPP_NOEXCEPT
 
 operator VkMemoryDedicatedAllocateInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkMemoryDedicatedAllocateInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (MemoryDedicatedAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (MemoryDedicatedAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eMemoryDedicatedAllocateInfo
 
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::eMemoryDedicatedAllocateInfo
 

Detailed Description

Definition at line 60590 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ MemoryDedicatedAllocateInfo() [1/3]

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

Definition at line 60596 of file vulkan.hpp.

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

◆ MemoryDedicatedAllocateInfo() [2/3]

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

◆ MemoryDedicatedAllocateInfo() [3/3]

VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::MemoryDedicatedAllocateInfo ( VkMemoryDedicatedAllocateInfo const &  rhs)
inline

Definition at line 60602 of file vulkan.hpp.

60603  {
60604  *this = rhs;
60605  }

Member Function Documentation

◆ operator VkMemoryDedicatedAllocateInfo &()

VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::operator VkMemoryDedicatedAllocateInfo & ( )
inline

Definition at line 60644 of file vulkan.hpp.

60645  {
60646  return *reinterpret_cast<VkMemoryDedicatedAllocateInfo*>( this );
60647  }

◆ operator VkMemoryDedicatedAllocateInfo const &()

VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::operator VkMemoryDedicatedAllocateInfo const & ( ) const
inline

Definition at line 60639 of file vulkan.hpp.

60640  {
60641  return *reinterpret_cast<const VkMemoryDedicatedAllocateInfo*>( this );
60642  }

◆ operator!=()

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

Definition at line 60661 of file vulkan.hpp.

60662  {
60663  return !operator==( rhs );
60664  }
bool operator==(MemoryDedicatedAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:60653

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 60614 of file vulkan.hpp.

60615  {
60616  memcpy( static_cast<void *>( this ), &rhs, sizeof( MemoryDedicatedAllocateInfo ) );
60617  return *this;
60618  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR MemoryDedicatedAllocateInfo(VULKAN_HPP_NAMESPACE::Image image_={}, VULKAN_HPP_NAMESPACE::Buffer buffer_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:60596

References memcpy.

◆ operator=() [2/2]

MemoryDedicatedAllocateInfo& VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::operator= ( VkMemoryDedicatedAllocateInfo const &  rhs)
inline

Definition at line 60608 of file vulkan.hpp.

60609  {
60610  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo const *>( &rhs );
60611  return *this;
60612  }

◆ operator==()

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

Definition at line 60653 of file vulkan.hpp.

60654  {
60655  return ( sType == rhs.sType )
60656  && ( pNext == rhs.pNext )
60657  && ( image == rhs.image )
60658  && ( buffer == rhs.buffer );
60659  }
GLeglImageOES image
Definition: SDL_opengl.h:2148
GLuint buffer
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:60670

◆ setBuffer()

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

Definition at line 60632 of file vulkan.hpp.

60633  {
60634  buffer = buffer_;
60635  return *this;
60636  }

◆ setImage()

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

Definition at line 60626 of file vulkan.hpp.

60627  {
60628  image = image_;
60629  return *this;
60630  }

◆ setPNext()

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

Definition at line 60620 of file vulkan.hpp.

60621  {
60622  pNext = pNext_;
60623  return *this;
60624  }

Field Documentation

◆ allowDuplicate

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

Definition at line 60592 of file vulkan.hpp.

◆ buffer

VULKAN_HPP_NAMESPACE::Buffer VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::buffer = {}

Definition at line 60673 of file vulkan.hpp.

◆ image

VULKAN_HPP_NAMESPACE::Image VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::image = {}

Definition at line 60672 of file vulkan.hpp.

◆ pNext

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

Definition at line 60671 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::structureType = StructureType::eMemoryDedicatedAllocateInfo
static

Definition at line 60593 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::MemoryDedicatedAllocateInfo::sType = StructureType::eMemoryDedicatedAllocateInfo

Definition at line 60670 of file vulkan.hpp.


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