SDL  2.0
VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR:

Public Member Functions

 operator VkSurfaceFormat2KHR const & () const
 
 operator VkSurfaceFormat2KHR & ()
 
bool operator== (SurfaceFormat2KHR const &rhs) const
 
bool operator!= (SurfaceFormat2KHR const &rhs) const
 

Data Fields

voidpNext = nullptr
 
SurfaceFormatKHR surfaceFormat
 

Private Attributes

StructureType sType = StructureType::eSurfaceFormat2KHR
 

Detailed Description

Definition at line 29147 of file vulkan.hpp.

Member Function Documentation

◆ operator VkSurfaceFormat2KHR &()

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

Definition at line 29154 of file vulkan.hpp.

29155  {
29156  return *reinterpret_cast<VkSurfaceFormat2KHR*>(this);
29157  }

◆ operator VkSurfaceFormat2KHR const &()

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

Definition at line 29149 of file vulkan.hpp.

29150  {
29151  return *reinterpret_cast<const VkSurfaceFormat2KHR*>(this);
29152  }

◆ operator!=()

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

Definition at line 29166 of file vulkan.hpp.

29167  {
29168  return !operator==( rhs );
29169  }

References operator==().

◆ operator==()

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

Definition at line 29159 of file vulkan.hpp.

29160  {
29161  return ( sType == rhs.sType )
29162  && ( pNext == rhs.pNext )
29163  && ( surfaceFormat == rhs.surfaceFormat );
29164  }

References pNext, sType, and surfaceFormat.

Referenced by operator!=().

Field Documentation

◆ pNext

void* VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::pNext = nullptr

Definition at line 29175 of file vulkan.hpp.

Referenced by operator==().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::sType = StructureType::eSurfaceFormat2KHR
private

Definition at line 29172 of file vulkan.hpp.

Referenced by operator==().

◆ surfaceFormat

SurfaceFormatKHR VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::surfaceFormat

Definition at line 29176 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VkSurfaceFormat2KHR
Definition: vulkan_core.h:5785
VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::sType
StructureType sType
Definition: vulkan.hpp:29172
VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::pNext
void * pNext
Definition: vulkan.hpp:29175
VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::operator==
bool operator==(SurfaceFormat2KHR const &rhs) const
Definition: vulkan.hpp:29159
VULKAN_HPP_NAMESPACE::SurfaceFormat2KHR::surfaceFormat
SurfaceFormatKHR surfaceFormat
Definition: vulkan.hpp:29176