SDL 2.0
VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DebugMarkerMarkerInfoEXT (const char *pMarkerName_=nullptr, std::array< float, 4 > const &color_={ { 0, 0, 0, 0 } })
 
 DebugMarkerMarkerInfoEXT (VkDebugMarkerMarkerInfoEXT const &rhs)
 
DebugMarkerMarkerInfoEXToperator= (VkDebugMarkerMarkerInfoEXT const &rhs)
 
DebugMarkerMarkerInfoEXTsetPNext (const void *pNext_)
 
DebugMarkerMarkerInfoEXTsetPMarkerName (const char *pMarkerName_)
 
DebugMarkerMarkerInfoEXTsetColor (std::array< float, 4 > color_)
 
 operator VkDebugMarkerMarkerInfoEXT const & () const
 
 operator VkDebugMarkerMarkerInfoEXT & ()
 
bool operator== (DebugMarkerMarkerInfoEXT const &rhs) const
 
bool operator!= (DebugMarkerMarkerInfoEXT const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
const char * pMarkerName
 
float color [4]
 

Private Attributes

StructureType sType = StructureType::eDebugMarkerMarkerInfoEXT
 

Detailed Description

Definition at line 12434 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DebugMarkerMarkerInfoEXT() [1/2]

VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::DebugMarkerMarkerInfoEXT ( const char *  pMarkerName_ = nullptr,
std::array< float, 4 > const &  color_ = { { 0, 0, 0, 0 } } 
)
inline

Definition at line 12436 of file vulkan.hpp.

12437 { { 0, 0, 0, 0 } } )
12438 : pMarkerName( pMarkerName_ )
12439 {
12440 memcpy( &color, color_.data(), 4 * sizeof( float ) );
12441 }
#define memcpy
Definition: SDL_malloc.c:630
GLuint color

◆ DebugMarkerMarkerInfoEXT() [2/2]

VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::DebugMarkerMarkerInfoEXT ( VkDebugMarkerMarkerInfoEXT const &  rhs)
inline

Definition at line 12443 of file vulkan.hpp.

12444 {
12445 memcpy( this, &rhs, sizeof( DebugMarkerMarkerInfoEXT ) );
12446 }
DebugMarkerMarkerInfoEXT(const char *pMarkerName_=nullptr, std::array< float, 4 > const &color_={ { 0, 0, 0, 0 } })
Definition: vulkan.hpp:12436

References memcpy.

Member Function Documentation

◆ operator VkDebugMarkerMarkerInfoEXT &()

VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::operator VkDebugMarkerMarkerInfoEXT & ( )
inline

Definition at line 12476 of file vulkan.hpp.

12477 {
12478 return *reinterpret_cast<VkDebugMarkerMarkerInfoEXT*>(this);
12479 }

◆ operator VkDebugMarkerMarkerInfoEXT const &()

VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::operator VkDebugMarkerMarkerInfoEXT const & ( ) const
inline

Definition at line 12471 of file vulkan.hpp.

12472 {
12473 return *reinterpret_cast<const VkDebugMarkerMarkerInfoEXT*>(this);
12474 }

◆ operator!=()

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

Definition at line 12489 of file vulkan.hpp.

12490 {
12491 return !operator==( rhs );
12492 }
bool operator==(DebugMarkerMarkerInfoEXT const &rhs) const
Definition: vulkan.hpp:12481

References operator==().

◆ operator=()

DebugMarkerMarkerInfoEXT & VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::operator= ( VkDebugMarkerMarkerInfoEXT const &  rhs)
inline

Definition at line 12448 of file vulkan.hpp.

12449 {
12450 memcpy( this, &rhs, sizeof( DebugMarkerMarkerInfoEXT ) );
12451 return *this;
12452 }

References memcpy.

◆ operator==()

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

Definition at line 12481 of file vulkan.hpp.

12482 {
12483 return ( sType == rhs.sType )
12484 && ( pNext == rhs.pNext )
12485 && ( pMarkerName == rhs.pMarkerName )
12486 && ( memcmp( color, rhs.color, 4 * sizeof( float ) ) == 0 );
12487 }

References color, pMarkerName, pNext, and sType.

Referenced by operator!=().

◆ setColor()

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

Definition at line 12465 of file vulkan.hpp.

12466 {
12467 memcpy( &color, color_.data(), 4 * sizeof( float ) );
12468 return *this;
12469 }

References memcpy.

◆ setPMarkerName()

DebugMarkerMarkerInfoEXT & VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::setPMarkerName ( const char *  pMarkerName_)
inline

Definition at line 12459 of file vulkan.hpp.

12460 {
12461 pMarkerName = pMarkerName_;
12462 return *this;
12463 }

References pMarkerName.

◆ setPNext()

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

Definition at line 12453 of file vulkan.hpp.

12454 {
12455 pNext = pNext_;
12456 return *this;
12457 }

References pNext.

Field Documentation

◆ color

float VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::color[4]

Definition at line 12500 of file vulkan.hpp.

Referenced by operator==().

◆ pMarkerName

const char* VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::pMarkerName

Definition at line 12499 of file vulkan.hpp.

Referenced by operator==(), and setPMarkerName().

◆ pNext

const void* VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::pNext = nullptr

Definition at line 12498 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DebugMarkerMarkerInfoEXT::sType = StructureType::eDebugMarkerMarkerInfoEXT
private

Definition at line 12495 of file vulkan.hpp.

Referenced by operator==().


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