SDL  2.0
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

 BindImagePlaneMemoryInfo (ImageAspectFlagBits planeAspect_=ImageAspectFlagBits::eColor)
 
 BindImagePlaneMemoryInfo (VkBindImagePlaneMemoryInfo const &rhs)
 
BindImagePlaneMemoryInfooperator= (VkBindImagePlaneMemoryInfo const &rhs)
 
BindImagePlaneMemoryInfosetPNext (const void *pNext_)
 
BindImagePlaneMemoryInfosetPlaneAspect (ImageAspectFlagBits planeAspect_)
 
 operator VkBindImagePlaneMemoryInfo const & () const
 
 operator VkBindImagePlaneMemoryInfo & ()
 
bool operator== (BindImagePlaneMemoryInfo const &rhs) const
 
bool operator!= (BindImagePlaneMemoryInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
ImageAspectFlagBits planeAspect
 

Private Attributes

StructureType sType = StructureType::eBindImagePlaneMemoryInfo
 

Detailed Description

Definition at line 25759 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ BindImagePlaneMemoryInfo() [1/2]

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::BindImagePlaneMemoryInfo ( ImageAspectFlagBits  planeAspect_ = ImageAspectFlagBits::eColor)
inline

Definition at line 25761 of file vulkan.hpp.

25762  : planeAspect( planeAspect_ )
25763  {
25764  }

◆ BindImagePlaneMemoryInfo() [2/2]

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::BindImagePlaneMemoryInfo ( VkBindImagePlaneMemoryInfo const &  rhs)
inline

Definition at line 25766 of file vulkan.hpp.

25767  {
25768  memcpy( this, &rhs, sizeof( BindImagePlaneMemoryInfo ) );
25769  }

References memcpy.

Member Function Documentation

◆ operator VkBindImagePlaneMemoryInfo &()

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator VkBindImagePlaneMemoryInfo & ( )
inline

Definition at line 25793 of file vulkan.hpp.

25794  {
25795  return *reinterpret_cast<VkBindImagePlaneMemoryInfo*>(this);
25796  }

◆ operator VkBindImagePlaneMemoryInfo const &()

VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator VkBindImagePlaneMemoryInfo const & ( ) const
inline

Definition at line 25788 of file vulkan.hpp.

25789  {
25790  return *reinterpret_cast<const VkBindImagePlaneMemoryInfo*>(this);
25791  }

◆ operator!=()

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

Definition at line 25805 of file vulkan.hpp.

25806  {
25807  return !operator==( rhs );
25808  }

References operator==().

◆ operator=()

BindImagePlaneMemoryInfo& VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator= ( VkBindImagePlaneMemoryInfo const &  rhs)
inline

Definition at line 25771 of file vulkan.hpp.

25772  {
25773  memcpy( this, &rhs, sizeof( BindImagePlaneMemoryInfo ) );
25774  return *this;
25775  }

References memcpy.

◆ operator==()

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

Definition at line 25798 of file vulkan.hpp.

25799  {
25800  return ( sType == rhs.sType )
25801  && ( pNext == rhs.pNext )
25802  && ( planeAspect == rhs.planeAspect );
25803  }

References planeAspect, pNext, and sType.

Referenced by operator!=().

◆ setPlaneAspect()

BindImagePlaneMemoryInfo& VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::setPlaneAspect ( ImageAspectFlagBits  planeAspect_)
inline

Definition at line 25782 of file vulkan.hpp.

25783  {
25784  planeAspect = planeAspect_;
25785  return *this;
25786  }

References planeAspect.

◆ setPNext()

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

Definition at line 25776 of file vulkan.hpp.

25777  {
25778  pNext = pNext_;
25779  return *this;
25780  }

References pNext.

Field Documentation

◆ planeAspect

ImageAspectFlagBits VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::planeAspect

Definition at line 25815 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 25814 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::sType = StructureType::eBindImagePlaneMemoryInfo
private

Definition at line 25811 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::pNext
const void * pNext
Definition: vulkan.hpp:25814
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::sType
StructureType sType
Definition: vulkan.hpp:25811
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::planeAspect
ImageAspectFlagBits planeAspect
Definition: vulkan.hpp:25815
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::operator==
bool operator==(BindImagePlaneMemoryInfo const &rhs) const
Definition: vulkan.hpp:25798
VULKAN_HPP_NAMESPACE::BindImagePlaneMemoryInfo::BindImagePlaneMemoryInfo
BindImagePlaneMemoryInfo(ImageAspectFlagBits planeAspect_=ImageAspectFlagBits::eColor)
Definition: vulkan.hpp:25761