SDL  2.0
VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT:

Public Member Functions

VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT (const char *pLabelName_={}, std::array< float, 4 > const &color_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT (DebugUtilsLabelEXT const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DebugUtilsLabelEXT (VkDebugUtilsLabelEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
DebugUtilsLabelEXToperator= (VkDebugUtilsLabelEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
DebugUtilsLabelEXToperator= (DebugUtilsLabelEXT const &rhs) VULKAN_HPP_NOEXCEPT
 
DebugUtilsLabelEXTsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
DebugUtilsLabelEXTsetPLabelName (const char *pLabelName_) VULKAN_HPP_NOEXCEPT
 
DebugUtilsLabelEXTsetColor (std::array< float, 4 > color_) VULKAN_HPP_NOEXCEPT
 
 operator VkDebugUtilsLabelEXT const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDebugUtilsLabelEXT & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DebugUtilsLabelEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DebugUtilsLabelEXT const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDebugUtilsLabelEXT
 
const voidpNext = {}
 
const char * pLabelName = {}
 
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< float, 4 > color = {}
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eDebugUtilsLabelEXT
 

Detailed Description

Definition at line 27578 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DebugUtilsLabelEXT() [1/3]

VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::DebugUtilsLabelEXT ( const char *  pLabelName_ = {},
std::array< float, 4 > const &  color_ = {} 
)
inline

Definition at line 27584 of file vulkan.hpp.

27584  {}, std::array<float,4> const& color_ = {}) VULKAN_HPP_NOEXCEPT
27585  : pLabelName( pLabelName_ ), color( color_ )
27586  {}
VULKAN_HPP_NAMESPACE::ArrayWrapper1D< float, 4 > color
Definition: vulkan.hpp:27661
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DebugUtilsLabelEXT() [2/3]

VULKAN_HPP_CONSTEXPR_14 VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::DebugUtilsLabelEXT ( DebugUtilsLabelEXT const &  rhs)
default

◆ DebugUtilsLabelEXT() [3/3]

VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::DebugUtilsLabelEXT ( VkDebugUtilsLabelEXT const &  rhs)
inline

Definition at line 27590 of file vulkan.hpp.

27591  {
27592  *this = rhs;
27593  }

Member Function Documentation

◆ operator VkDebugUtilsLabelEXT &()

VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::operator VkDebugUtilsLabelEXT & ( )
inline

Definition at line 27632 of file vulkan.hpp.

27633  {
27634  return *reinterpret_cast<VkDebugUtilsLabelEXT*>( this );
27635  }

◆ operator VkDebugUtilsLabelEXT const &()

VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::operator VkDebugUtilsLabelEXT const & ( ) const
inline

Definition at line 27627 of file vulkan.hpp.

27628  {
27629  return *reinterpret_cast<const VkDebugUtilsLabelEXT*>( this );
27630  }

◆ operator!=()

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

Definition at line 27649 of file vulkan.hpp.

27650  {
27651  return !operator==( rhs );
27652  }
bool operator==(DebugUtilsLabelEXT const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:27641

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

DebugUtilsLabelEXT& VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::operator= ( DebugUtilsLabelEXT const &  rhs)
inline

Definition at line 27602 of file vulkan.hpp.

27603  {
27604  memcpy( static_cast<void *>( this ), &rhs, sizeof( DebugUtilsLabelEXT ) );
27605  return *this;
27606  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR_14 DebugUtilsLabelEXT(const char *pLabelName_={}, std::array< float, 4 > const &color_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:27584

References memcpy.

◆ operator=() [2/2]

DebugUtilsLabelEXT& VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::operator= ( VkDebugUtilsLabelEXT const &  rhs)
inline

Definition at line 27596 of file vulkan.hpp.

27597  {
27598  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT const *>( &rhs );
27599  return *this;
27600  }

◆ operator==()

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

Definition at line 27641 of file vulkan.hpp.

27642  {
27643  return ( sType == rhs.sType )
27644  && ( pNext == rhs.pNext )
27645  && ( pLabelName == rhs.pLabelName )
27646  && ( color == rhs.color );
27647  }
GLuint color
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:27658

◆ setColor()

DebugUtilsLabelEXT& VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::setColor ( std::array< float, 4 >  color_)
inline

Definition at line 27620 of file vulkan.hpp.

27621  {
27622  color = color_;
27623  return *this;
27624  }

◆ setPLabelName()

DebugUtilsLabelEXT& VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::setPLabelName ( const char *  pLabelName_)
inline

Definition at line 27614 of file vulkan.hpp.

27615  {
27616  pLabelName = pLabelName_;
27617  return *this;
27618  }

◆ setPNext()

DebugUtilsLabelEXT& VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::setPNext ( const void pNext_)
inline

Definition at line 27608 of file vulkan.hpp.

27609  {
27610  pNext = pNext_;
27611  return *this;
27612  }

Field Documentation

◆ allowDuplicate

const bool VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::allowDuplicate = false
static

Definition at line 27580 of file vulkan.hpp.

◆ color

VULKAN_HPP_NAMESPACE::ArrayWrapper1D<float, 4> VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::color = {}

Definition at line 27661 of file vulkan.hpp.

◆ pLabelName

const char* VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::pLabelName = {}

Definition at line 27660 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::pNext = {}

Definition at line 27659 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::structureType = StructureType::eDebugUtilsLabelEXT
static

Definition at line 27581 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::DebugUtilsLabelEXT::sType = StructureType::eDebugUtilsLabelEXT

Definition at line 27658 of file vulkan.hpp.


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