SDL 2.0
VULKAN_HPP_NAMESPACE::SurfaceFormatKHR Struct Reference

#include <vulkan.hpp>

Public Member Functions

 operator VkSurfaceFormatKHR const & () const
 
 operator VkSurfaceFormatKHR & ()
 
bool operator== (SurfaceFormatKHR const &rhs) const
 
bool operator!= (SurfaceFormatKHR const &rhs) const
 

Data Fields

Format format
 
ColorSpaceKHR colorSpace
 

Detailed Description

Definition at line 29119 of file vulkan.hpp.

Member Function Documentation

◆ operator VkSurfaceFormatKHR &()

VULKAN_HPP_NAMESPACE::SurfaceFormatKHR::operator VkSurfaceFormatKHR & ( )
inline

Definition at line 29126 of file vulkan.hpp.

29127 {
29128 return *reinterpret_cast<VkSurfaceFormatKHR*>(this);
29129 }

◆ operator VkSurfaceFormatKHR const &()

VULKAN_HPP_NAMESPACE::SurfaceFormatKHR::operator VkSurfaceFormatKHR const & ( ) const
inline

Definition at line 29121 of file vulkan.hpp.

29122 {
29123 return *reinterpret_cast<const VkSurfaceFormatKHR*>(this);
29124 }

◆ operator!=()

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

Definition at line 29137 of file vulkan.hpp.

29138 {
29139 return !operator==( rhs );
29140 }
bool operator==(SurfaceFormatKHR const &rhs) const
Definition: vulkan.hpp:29131

References operator==().

◆ operator==()

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

Definition at line 29131 of file vulkan.hpp.

29132 {
29133 return ( format == rhs.format )
29134 && ( colorSpace == rhs.colorSpace );
29135 }
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: SDL_opengl.h:1572

References colorSpace, and format.

Referenced by operator!=().

Field Documentation

◆ colorSpace

ColorSpaceKHR VULKAN_HPP_NAMESPACE::SurfaceFormatKHR::colorSpace

Definition at line 29143 of file vulkan.hpp.

Referenced by operator==().

◆ format

Format VULKAN_HPP_NAMESPACE::SurfaceFormatKHR::format

Definition at line 29142 of file vulkan.hpp.

Referenced by operator==().


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