SDL  2.0
VULKAN_HPP_NAMESPACE::Image Class Reference

#include <vulkan.hpp>

Public Types

using CType = VkImage
 

Public Member Functions

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

Static Public Attributes

static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::ObjectType objectType = VULKAN_HPP_NAMESPACE::ObjectType::eImage
 
static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eImage
 

Private Attributes

VkImage m_image
 

Detailed Description

Definition at line 19992 of file vulkan.hpp.

Member Typedef Documentation

◆ CType

Definition at line 19995 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Image() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Image::Image ( )
inline

Definition at line 20001 of file vulkan.hpp.

20003  {}
#define VK_NULL_HANDLE
Definition: vulkan_core.h:55

◆ Image() [2/3]

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

Definition at line 20005 of file vulkan.hpp.

20007  {}

◆ Image() [3/3]

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

Definition at line 20009 of file vulkan.hpp.

20010  : m_image( image )
20011  {}
GLeglImageOES image
Definition: SDL_opengl.h:2148

Member Function Documentation

◆ operator bool()

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

Definition at line 20051 of file vulkan.hpp.

20052  {
20053  return m_image != VK_NULL_HANDLE;
20054  }

References VK_NULL_HANDLE.

◆ operator VkImage()

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

Definition at line 20046 of file vulkan.hpp.

20047  {
20048  return m_image;
20049  }

◆ operator!()

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

Definition at line 20056 of file vulkan.hpp.

20057  {
20058  return m_image == VK_NULL_HANDLE;
20059  }

References VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 20035 of file vulkan.hpp.

20036  {
20037  return m_image != rhs.m_image;
20038  }

◆ operator<()

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

Definition at line 20040 of file vulkan.hpp.

20041  {
20042  return m_image < rhs.m_image;
20043  }

◆ operator=()

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

Definition at line 20021 of file vulkan.hpp.

20022  {
20024  return *this;
20025  }

References VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 20030 of file vulkan.hpp.

20031  {
20032  return m_image == rhs.m_image;
20033  }

Field Documentation

◆ debugReportObjectType

◆ m_image

VkImage VULKAN_HPP_NAMESPACE::Image::m_image
private

Definition at line 20062 of file vulkan.hpp.

◆ objectType

Definition at line 19997 of file vulkan.hpp.


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