SDL  2.0
VULKAN_HPP_NAMESPACE::BindImageMemoryInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::BindImageMemoryInfo:

Public Member Functions

VULKAN_HPP_CONSTEXPR BindImageMemoryInfo (VULKAN_HPP_NAMESPACE::Image image_={}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_={}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR BindImageMemoryInfo (BindImageMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 BindImageMemoryInfo (VkBindImageMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
BindImageMemoryInfooperator= (VkBindImageMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
BindImageMemoryInfooperator= (BindImageMemoryInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
BindImageMemoryInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
BindImageMemoryInfosetImage (VULKAN_HPP_NAMESPACE::Image image_) VULKAN_HPP_NOEXCEPT
 
BindImageMemoryInfosetMemory (VULKAN_HPP_NAMESPACE::DeviceMemory memory_) VULKAN_HPP_NOEXCEPT
 
BindImageMemoryInfosetMemoryOffset (VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_) VULKAN_HPP_NOEXCEPT
 
 operator VkBindImageMemoryInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkBindImageMemoryInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (BindImageMemoryInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (BindImageMemoryInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eBindImageMemoryInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::Image image = {}
 
VULKAN_HPP_NAMESPACE::DeviceMemory memory = {}
 
VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 20092 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ BindImageMemoryInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::BindImageMemoryInfo ( VULKAN_HPP_NAMESPACE::Image  image_ = {},
VULKAN_HPP_NAMESPACE::DeviceMemory  memory_ = {},
VULKAN_HPP_NAMESPACE::DeviceSize  memoryOffset_ = {} 
)
inline

Definition at line 20098 of file vulkan.hpp.

20099  : image( image_ ), memory( memory_ ), memoryOffset( memoryOffset_ )
20100  {}
VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset
Definition: vulkan.hpp:20183
VULKAN_HPP_NAMESPACE::DeviceMemory memory
Definition: vulkan.hpp:20182
VULKAN_HPP_NAMESPACE::Image image
Definition: vulkan.hpp:20181
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ BindImageMemoryInfo() [2/3]

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

◆ BindImageMemoryInfo() [3/3]

VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::BindImageMemoryInfo ( VkBindImageMemoryInfo const &  rhs)
inline

Definition at line 20104 of file vulkan.hpp.

20105  {
20106  *this = rhs;
20107  }

Member Function Documentation

◆ operator VkBindImageMemoryInfo &()

VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::operator VkBindImageMemoryInfo & ( )
inline

Definition at line 20152 of file vulkan.hpp.

20153  {
20154  return *reinterpret_cast<VkBindImageMemoryInfo*>( this );
20155  }

◆ operator VkBindImageMemoryInfo const &()

VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::operator VkBindImageMemoryInfo const & ( ) const
inline

Definition at line 20147 of file vulkan.hpp.

20148  {
20149  return *reinterpret_cast<const VkBindImageMemoryInfo*>( this );
20150  }

◆ operator!=()

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

Definition at line 20170 of file vulkan.hpp.

20171  {
20172  return !operator==( rhs );
20173  }
bool operator==(BindImageMemoryInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:20161

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 20116 of file vulkan.hpp.

20117  {
20118  memcpy( static_cast<void *>( this ), &rhs, sizeof( BindImageMemoryInfo ) );
20119  return *this;
20120  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR BindImageMemoryInfo(VULKAN_HPP_NAMESPACE::Image image_={}, VULKAN_HPP_NAMESPACE::DeviceMemory memory_={}, VULKAN_HPP_NAMESPACE::DeviceSize memoryOffset_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:20098

References memcpy.

◆ operator=() [2/2]

BindImageMemoryInfo& VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::operator= ( VkBindImageMemoryInfo const &  rhs)
inline

Definition at line 20110 of file vulkan.hpp.

20111  {
20112  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::BindImageMemoryInfo const *>( &rhs );
20113  return *this;
20114  }

◆ operator==()

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

Definition at line 20161 of file vulkan.hpp.

20162  {
20163  return ( sType == rhs.sType )
20164  && ( pNext == rhs.pNext )
20165  && ( image == rhs.image )
20166  && ( memory == rhs.memory )
20167  && ( memoryOffset == rhs.memoryOffset );
20168  }
GLeglImageOES image
Definition: SDL_opengl.h:2148
GLsizei GLenum GLsizei GLsizei GLuint memory
Definition: gl2ext.h:1474
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:20179

◆ setImage()

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

Definition at line 20128 of file vulkan.hpp.

20129  {
20130  image = image_;
20131  return *this;
20132  }

◆ setMemory()

BindImageMemoryInfo& VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::setMemory ( VULKAN_HPP_NAMESPACE::DeviceMemory  memory_)
inline

Definition at line 20134 of file vulkan.hpp.

20135  {
20136  memory = memory_;
20137  return *this;
20138  }

◆ setMemoryOffset()

BindImageMemoryInfo& VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::setMemoryOffset ( VULKAN_HPP_NAMESPACE::DeviceSize  memoryOffset_)
inline

Definition at line 20140 of file vulkan.hpp.

20141  {
20142  memoryOffset = memoryOffset_;
20143  return *this;
20144  }

◆ setPNext()

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

Definition at line 20122 of file vulkan.hpp.

20123  {
20124  pNext = pNext_;
20125  return *this;
20126  }

Field Documentation

◆ allowDuplicate

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

Definition at line 20094 of file vulkan.hpp.

◆ image

VULKAN_HPP_NAMESPACE::Image VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::image = {}

Definition at line 20181 of file vulkan.hpp.

◆ memory

VULKAN_HPP_NAMESPACE::DeviceMemory VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::memory = {}

Definition at line 20182 of file vulkan.hpp.

◆ memoryOffset

VULKAN_HPP_NAMESPACE::DeviceSize VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::memoryOffset = {}

Definition at line 20183 of file vulkan.hpp.

◆ pNext

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

Definition at line 20180 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::structureType = StructureType::eBindImageMemoryInfo
static

Definition at line 20095 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::BindImageMemoryInfo::sType = StructureType::eBindImageMemoryInfo

Definition at line 20179 of file vulkan.hpp.


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