SDL  2.0
VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR:

Public Member Functions

VULKAN_HPP_CONSTEXPR SurfaceFormat2KHR (VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SurfaceFormat2KHR (SurfaceFormat2KHR const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SurfaceFormat2KHR (VkSurfaceFormat2KHR const &rhs) VULKAN_HPP_NOEXCEPT
 
SurfaceFormat2KHRoperator= (VkSurfaceFormat2KHR const &rhs) VULKAN_HPP_NOEXCEPT
 
SurfaceFormat2KHRoperator= (SurfaceFormat2KHR const &rhs) VULKAN_HPP_NOEXCEPT
 
 operator VkSurfaceFormat2KHR const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSurfaceFormat2KHR & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SurfaceFormat2KHR const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SurfaceFormat2KHR const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSurfaceFormat2KHR
 
voidpNext = {}
 
VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 53979 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SurfaceFormat2KHR() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::SurfaceFormat2KHR ( VULKAN_HPP_NAMESPACE::SurfaceFormatKHR  surfaceFormat_ = {})
inline

Definition at line 53985 of file vulkan.hpp.

53986  : surfaceFormat( surfaceFormat_ )
53987  {}
VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat
Definition: vulkan.hpp:54042
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ SurfaceFormat2KHR() [2/3]

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

◆ SurfaceFormat2KHR() [3/3]

VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::SurfaceFormat2KHR ( VkSurfaceFormat2KHR const &  rhs)
inline

Definition at line 53991 of file vulkan.hpp.

53992  {
53993  *this = rhs;
53994  }

Member Function Documentation

◆ operator VkSurfaceFormat2KHR &()

VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::operator VkSurfaceFormat2KHR & ( )
inline

Definition at line 54015 of file vulkan.hpp.

54016  {
54017  return *reinterpret_cast<VkSurfaceFormat2KHR*>( this );
54018  }

◆ operator VkSurfaceFormat2KHR const &()

VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::operator VkSurfaceFormat2KHR const & ( ) const
inline

Definition at line 54010 of file vulkan.hpp.

54011  {
54012  return *reinterpret_cast<const VkSurfaceFormat2KHR*>( this );
54013  }

◆ operator!=()

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

Definition at line 54031 of file vulkan.hpp.

54032  {
54033  return !operator==( rhs );
54034  }
bool operator==(SurfaceFormat2KHR const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:54024

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 54003 of file vulkan.hpp.

54004  {
54005  memcpy( static_cast<void *>( this ), &rhs, sizeof( SurfaceFormat2KHR ) );
54006  return *this;
54007  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR SurfaceFormat2KHR(VULKAN_HPP_NAMESPACE::SurfaceFormatKHR surfaceFormat_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:53985

References memcpy.

◆ operator=() [2/2]

SurfaceFormat2KHR& VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::operator= ( VkSurfaceFormat2KHR const &  rhs)
inline

Definition at line 53997 of file vulkan.hpp.

53998  {
53999  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR const *>( &rhs );
54000  return *this;
54001  }

◆ operator==()

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

Definition at line 54024 of file vulkan.hpp.

54025  {
54026  return ( sType == rhs.sType )
54027  && ( pNext == rhs.pNext )
54028  && ( surfaceFormat == rhs.surfaceFormat );
54029  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:54040

Field Documentation

◆ allowDuplicate

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

Definition at line 53981 of file vulkan.hpp.

◆ pNext

void* VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::pNext = {}

Definition at line 54041 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::structureType = StructureType::eSurfaceFormat2KHR
static

Definition at line 53982 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::sType = StructureType::eSurfaceFormat2KHR

Definition at line 54040 of file vulkan.hpp.

◆ surfaceFormat

VULKAN_HPP_NAMESPACE::SurfaceFormatKHR VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::surfaceFormat = {}

Definition at line 54042 of file vulkan.hpp.


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