SDL 2.0
VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR Struct Reference

#include <vulkan.hpp>

Public Member Functions

 ImageFormatListCreateInfoKHR (uint32_t viewFormatCount_=0, const Format *pViewFormats_=nullptr)
 
 ImageFormatListCreateInfoKHR (VkImageFormatListCreateInfoKHR const &rhs)
 
ImageFormatListCreateInfoKHRoperator= (VkImageFormatListCreateInfoKHR const &rhs)
 
ImageFormatListCreateInfoKHRsetPNext (const void *pNext_)
 
ImageFormatListCreateInfoKHRsetViewFormatCount (uint32_t viewFormatCount_)
 
ImageFormatListCreateInfoKHRsetPViewFormats (const Format *pViewFormats_)
 
 operator VkImageFormatListCreateInfoKHR const & () const
 
 operator VkImageFormatListCreateInfoKHR & ()
 
bool operator== (ImageFormatListCreateInfoKHR const &rhs) const
 
bool operator!= (ImageFormatListCreateInfoKHR const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
uint32_t viewFormatCount
 
const FormatpViewFormats
 

Private Attributes

StructureType sType = StructureType::eImageFormatListCreateInfoKHR
 

Detailed Description

Definition at line 17044 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ImageFormatListCreateInfoKHR() [1/2]

VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::ImageFormatListCreateInfoKHR ( uint32_t  viewFormatCount_ = 0,
const Format pViewFormats_ = nullptr 
)
inline

Definition at line 17046 of file vulkan.hpp.

17048 : viewFormatCount( viewFormatCount_ )
17049 , pViewFormats( pViewFormats_ )
17050 {
17051 }

◆ ImageFormatListCreateInfoKHR() [2/2]

VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::ImageFormatListCreateInfoKHR ( VkImageFormatListCreateInfoKHR const &  rhs)
inline

Definition at line 17053 of file vulkan.hpp.

17054 {
17055 memcpy( this, &rhs, sizeof( ImageFormatListCreateInfoKHR ) );
17056 }
#define memcpy
Definition: SDL_malloc.c:630
ImageFormatListCreateInfoKHR(uint32_t viewFormatCount_=0, const Format *pViewFormats_=nullptr)
Definition: vulkan.hpp:17046

References memcpy.

Member Function Documentation

◆ operator VkImageFormatListCreateInfoKHR &()

VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::operator VkImageFormatListCreateInfoKHR & ( )
inline

Definition at line 17086 of file vulkan.hpp.

17087 {
17088 return *reinterpret_cast<VkImageFormatListCreateInfoKHR*>(this);
17089 }

◆ operator VkImageFormatListCreateInfoKHR const &()

VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::operator VkImageFormatListCreateInfoKHR const & ( ) const
inline

Definition at line 17081 of file vulkan.hpp.

17082 {
17083 return *reinterpret_cast<const VkImageFormatListCreateInfoKHR*>(this);
17084 }

◆ operator!=()

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

Definition at line 17099 of file vulkan.hpp.

17100 {
17101 return !operator==( rhs );
17102 }
bool operator==(ImageFormatListCreateInfoKHR const &rhs) const
Definition: vulkan.hpp:17091

References operator==().

◆ operator=()

ImageFormatListCreateInfoKHR & VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::operator= ( VkImageFormatListCreateInfoKHR const &  rhs)
inline

Definition at line 17058 of file vulkan.hpp.

17059 {
17060 memcpy( this, &rhs, sizeof( ImageFormatListCreateInfoKHR ) );
17061 return *this;
17062 }

References memcpy.

◆ operator==()

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

Definition at line 17091 of file vulkan.hpp.

17092 {
17093 return ( sType == rhs.sType )
17094 && ( pNext == rhs.pNext )
17095 && ( viewFormatCount == rhs.viewFormatCount )
17096 && ( pViewFormats == rhs.pViewFormats );
17097 }

References pNext, pViewFormats, sType, and viewFormatCount.

Referenced by operator!=().

◆ setPNext()

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

Definition at line 17063 of file vulkan.hpp.

17064 {
17065 pNext = pNext_;
17066 return *this;
17067 }

References pNext.

◆ setPViewFormats()

ImageFormatListCreateInfoKHR & VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::setPViewFormats ( const Format pViewFormats_)
inline

Definition at line 17075 of file vulkan.hpp.

17076 {
17077 pViewFormats = pViewFormats_;
17078 return *this;
17079 }

References pViewFormats.

◆ setViewFormatCount()

ImageFormatListCreateInfoKHR & VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::setViewFormatCount ( uint32_t  viewFormatCount_)
inline

Definition at line 17069 of file vulkan.hpp.

17070 {
17071 viewFormatCount = viewFormatCount_;
17072 return *this;
17073 }

References viewFormatCount.

Field Documentation

◆ pNext

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

Definition at line 17108 of file vulkan.hpp.

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

◆ pViewFormats

const Format* VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::pViewFormats

Definition at line 17110 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::sType = StructureType::eImageFormatListCreateInfoKHR
private

Definition at line 17105 of file vulkan.hpp.

Referenced by operator==().

◆ viewFormatCount

uint32_t VULKAN_HPP_NAMESPACE::ImageFormatListCreateInfoKHR::viewFormatCount

Definition at line 17109 of file vulkan.hpp.

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


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