SDL  2.0
VULKAN_HPP_NAMESPACE::Sampler Class Reference

#include <vulkan.hpp>

Public Types

using CType = VkSampler
 

Public Member Functions

VULKAN_HPP_CONSTEXPR Sampler () VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR Sampler (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT Sampler (VkSampler sampler) VULKAN_HPP_NOEXCEPT
 
Sampleroperator= (std::nullptr_t) VULKAN_HPP_NOEXCEPT
 
bool operator== (Sampler const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (Sampler const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator< (Sampler const &rhs) const VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_TYPESAFE_EXPLICIT operator VkSampler () 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::eSampler
 
static VULKAN_HPP_CONST_OR_CONSTEXPR VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT debugReportObjectType = VULKAN_HPP_NAMESPACE::DebugReportObjectTypeEXT::eSampler
 

Private Attributes

VkSampler m_sampler
 

Detailed Description

Definition at line 28763 of file vulkan.hpp.

Member Typedef Documentation

◆ CType

Definition at line 28766 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ Sampler() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::Sampler::Sampler ( )
inline

Definition at line 28772 of file vulkan.hpp.

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

◆ Sampler() [2/3]

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

Definition at line 28776 of file vulkan.hpp.

28778  {}

◆ Sampler() [3/3]

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Sampler::Sampler ( VkSampler  sampler)
inline

Definition at line 28780 of file vulkan.hpp.

28781  : m_sampler( sampler )
28782  {}
GLuint sampler

Member Function Documentation

◆ operator bool()

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

Definition at line 28822 of file vulkan.hpp.

28823  {
28824  return m_sampler != VK_NULL_HANDLE;
28825  }

References VK_NULL_HANDLE.

◆ operator VkSampler()

VULKAN_HPP_TYPESAFE_EXPLICIT VULKAN_HPP_NAMESPACE::Sampler::operator VkSampler ( ) const
inline

Definition at line 28817 of file vulkan.hpp.

28818  {
28819  return m_sampler;
28820  }

◆ operator!()

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

Definition at line 28827 of file vulkan.hpp.

28828  {
28829  return m_sampler == VK_NULL_HANDLE;
28830  }

References VK_NULL_HANDLE.

◆ operator!=()

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

Definition at line 28806 of file vulkan.hpp.

28807  {
28808  return m_sampler != rhs.m_sampler;
28809  }

◆ operator<()

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

Definition at line 28811 of file vulkan.hpp.

28812  {
28813  return m_sampler < rhs.m_sampler;
28814  }

◆ operator=()

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

Definition at line 28792 of file vulkan.hpp.

28793  {
28795  return *this;
28796  }

References VK_NULL_HANDLE.

◆ operator==()

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

Definition at line 28801 of file vulkan.hpp.

28802  {
28803  return m_sampler == rhs.m_sampler;
28804  }

Field Documentation

◆ debugReportObjectType

◆ m_sampler

VkSampler VULKAN_HPP_NAMESPACE::Sampler::m_sampler
private

Definition at line 28833 of file vulkan.hpp.

◆ objectType

Definition at line 28768 of file vulkan.hpp.


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