SDL 2.0
VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo:

Public Member Functions

 SparseImageMemoryBindInfo (Image image_=Image(), uint32_t bindCount_=0, const SparseImageMemoryBind *pBinds_=nullptr)
 
 SparseImageMemoryBindInfo (VkSparseImageMemoryBindInfo const &rhs)
 
SparseImageMemoryBindInfooperator= (VkSparseImageMemoryBindInfo const &rhs)
 
SparseImageMemoryBindInfosetImage (Image image_)
 
SparseImageMemoryBindInfosetBindCount (uint32_t bindCount_)
 
SparseImageMemoryBindInfosetPBinds (const SparseImageMemoryBind *pBinds_)
 
 operator VkSparseImageMemoryBindInfo const & () const
 
 operator VkSparseImageMemoryBindInfo & ()
 
bool operator== (SparseImageMemoryBindInfo const &rhs) const
 
bool operator!= (SparseImageMemoryBindInfo const &rhs) const
 

Data Fields

Image image
 
uint32_t bindCount
 
const SparseImageMemoryBindpBinds
 

Detailed Description

Definition at line 26467 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SparseImageMemoryBindInfo() [1/2]

VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::SparseImageMemoryBindInfo ( Image  image_ = Image(),
uint32_t  bindCount_ = 0,
const SparseImageMemoryBind pBinds_ = nullptr 
)
inline

Definition at line 26469 of file vulkan.hpp.

26472 : image( image_ )
26473 , bindCount( bindCount_ )
26474 , pBinds( pBinds_ )
26475 {
26476 }
const SparseImageMemoryBind * pBinds
Definition: vulkan.hpp:26530

◆ SparseImageMemoryBindInfo() [2/2]

VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::SparseImageMemoryBindInfo ( VkSparseImageMemoryBindInfo const &  rhs)
inline

Definition at line 26478 of file vulkan.hpp.

26479 {
26480 memcpy( this, &rhs, sizeof( SparseImageMemoryBindInfo ) );
26481 }
#define memcpy
Definition: SDL_malloc.c:630
SparseImageMemoryBindInfo(Image image_=Image(), uint32_t bindCount_=0, const SparseImageMemoryBind *pBinds_=nullptr)
Definition: vulkan.hpp:26469

References memcpy.

Member Function Documentation

◆ operator VkSparseImageMemoryBindInfo &()

VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::operator VkSparseImageMemoryBindInfo & ( )
inline

Definition at line 26511 of file vulkan.hpp.

26512 {
26513 return *reinterpret_cast<VkSparseImageMemoryBindInfo*>(this);
26514 }

◆ operator VkSparseImageMemoryBindInfo const &()

VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::operator VkSparseImageMemoryBindInfo const & ( ) const
inline

Definition at line 26506 of file vulkan.hpp.

26507 {
26508 return *reinterpret_cast<const VkSparseImageMemoryBindInfo*>(this);
26509 }

◆ operator!=()

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

Definition at line 26523 of file vulkan.hpp.

26524 {
26525 return !operator==( rhs );
26526 }
bool operator==(SparseImageMemoryBindInfo const &rhs) const
Definition: vulkan.hpp:26516

References operator==().

◆ operator=()

SparseImageMemoryBindInfo & VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::operator= ( VkSparseImageMemoryBindInfo const &  rhs)
inline

Definition at line 26483 of file vulkan.hpp.

26484 {
26485 memcpy( this, &rhs, sizeof( SparseImageMemoryBindInfo ) );
26486 return *this;
26487 }

References memcpy.

◆ operator==()

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

Definition at line 26516 of file vulkan.hpp.

26517 {
26518 return ( image == rhs.image )
26519 && ( bindCount == rhs.bindCount )
26520 && ( pBinds == rhs.pBinds );
26521 }
GLeglImageOES image
Definition: SDL_opengl.h:2148

References bindCount, image, and pBinds.

Referenced by operator!=().

◆ setBindCount()

SparseImageMemoryBindInfo & VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::setBindCount ( uint32_t  bindCount_)
inline

Definition at line 26494 of file vulkan.hpp.

26495 {
26496 bindCount = bindCount_;
26497 return *this;
26498 }

References bindCount.

◆ setImage()

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

Definition at line 26488 of file vulkan.hpp.

26489 {
26490 image = image_;
26491 return *this;
26492 }

◆ setPBinds()

SparseImageMemoryBindInfo & VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::setPBinds ( const SparseImageMemoryBind pBinds_)
inline

Definition at line 26500 of file vulkan.hpp.

26501 {
26502 pBinds = pBinds_;
26503 return *this;
26504 }

References pBinds.

Field Documentation

◆ bindCount

uint32_t VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::bindCount

Definition at line 26529 of file vulkan.hpp.

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

◆ image

Image VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::image

Definition at line 26528 of file vulkan.hpp.

Referenced by operator==().

◆ pBinds

const SparseImageMemoryBind* VULKAN_HPP_NAMESPACE::SparseImageMemoryBindInfo::pBinds

Definition at line 26530 of file vulkan.hpp.

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


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