SDL 2.0
VULKAN_HPP_NAMESPACE::Image Class Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR Image ()
 
VULKAN_HPP_CONSTEXPR Image (std::nullptr_t)
 
VULKAN_HPP_TYPESAFE_EXPLICIT Image (VkImage image)
 
Imageoperator= (std::nullptr_t)
 
bool operator== (Image const &rhs) const
 
bool operator!= (Image const &rhs) const
 
bool operator< (Image const &rhs) const
 
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkImage () const
 
 operator bool () const
 
bool operator! () const
 

Private Attributes

VkImage m_image
 

Detailed Description

Definition at line 3212 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Image() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Image::Image ( )
inline

Definition at line 3215 of file vulkan.hpp.

3217 {}
#define VK_NULL_HANDLE
Definition: vulkan_core.h:49

◆ Image() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Image::Image ( std::nullptr_t  )
inline

Definition at line 3219 of file vulkan.hpp.

3221 {}

◆ Image() [3/3]

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Image::Image ( VkImage  image)
inline

Definition at line 3223 of file vulkan.hpp.

3224 : m_image( image )
3225 {}
GLeglImageOES image
Definition: SDL_opengl.h:2148

Member Function Documentation

◆ operator bool()

VULKAN_HPP_NAMESPACE::Image::operator bool ( ) const
inlineexplicit

Definition at line 3263 of file vulkan.hpp.

3264 {
3265 return m_image != VK_NULL_HANDLE;
3266 }

References m_image, and VK_NULL_HANDLE.

◆ operator VkImage()

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Image::operator VkImage ( ) const
inline

Definition at line 3258 of file vulkan.hpp.

3259 {
3260 return m_image;
3261 }

References m_image.

◆ operator!()

bool VULKAN_HPP_NAMESPACE::Image::operator! ( ) const
inline

Definition at line 3268 of file vulkan.hpp.

3269 {
3270 return m_image == VK_NULL_HANDLE;
3271 }

References m_image, and VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 3246 of file vulkan.hpp.

3247 {
3248 return m_image != rhs.m_image;
3249 }

References m_image.

◆ operator<()

bool VULKAN_HPP_NAMESPACE::Image::operator< ( Image const &  rhs) const
inline

Definition at line 3251 of file vulkan.hpp.

3252 {
3253 return m_image < rhs.m_image;
3254 }

References m_image.

◆ operator=()

Image & VULKAN_HPP_NAMESPACE::Image::operator= ( std::nullptr_t  )
inline

Definition at line 3235 of file vulkan.hpp.

3236 {
3238 return *this;
3239 }

References m_image, and VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 3241 of file vulkan.hpp.

3242 {
3243 return m_image == rhs.m_image;
3244 }

References m_image.

Field Documentation

◆ m_image

VkImage VULKAN_HPP_NAMESPACE::Image::m_image
private

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