SDL 2.0
VULKAN_HPP_NAMESPACE::BaseInStructure Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::BaseInStructure:

Public Member Functions

 BaseInStructure ()
 
 BaseInStructure (VkBaseInStructure const &rhs)
 
BaseInStructureoperator= (VkBaseInStructure const &rhs)
 
BaseInStructuresetPNext (const struct BaseInStructure *pNext_)
 
 operator VkBaseInStructure const & () const
 
 operator VkBaseInStructure & ()
 
bool operator== (BaseInStructure const &rhs) const
 
bool operator!= (BaseInStructure const &rhs) const
 

Data Fields

StructureType sType
 
const struct BaseInStructurepNext = nullptr
 

Detailed Description

Definition at line 48386 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ BaseInStructure() [1/2]

VULKAN_HPP_NAMESPACE::BaseInStructure::BaseInStructure ( )
inline

Definition at line 48388 of file vulkan.hpp.

48389 {
48390 }

◆ BaseInStructure() [2/2]

VULKAN_HPP_NAMESPACE::BaseInStructure::BaseInStructure ( VkBaseInStructure const &  rhs)
inline

Definition at line 48392 of file vulkan.hpp.

48393 {
48394 memcpy( this, &rhs, sizeof( BaseInStructure ) );
48395 }
#define memcpy
Definition: SDL_malloc.c:630

References memcpy.

Member Function Documentation

◆ operator VkBaseInStructure &()

VULKAN_HPP_NAMESPACE::BaseInStructure::operator VkBaseInStructure & ( )
inline

Definition at line 48413 of file vulkan.hpp.

48414 {
48415 return *reinterpret_cast<VkBaseInStructure*>(this);
48416 }

◆ operator VkBaseInStructure const &()

VULKAN_HPP_NAMESPACE::BaseInStructure::operator VkBaseInStructure const & ( ) const
inline

Definition at line 48408 of file vulkan.hpp.

48409 {
48410 return *reinterpret_cast<const VkBaseInStructure*>(this);
48411 }

◆ operator!=()

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

Definition at line 48424 of file vulkan.hpp.

48425 {
48426 return !operator==( rhs );
48427 }
bool operator==(BaseInStructure const &rhs) const
Definition: vulkan.hpp:48418

References operator==().

◆ operator=()

BaseInStructure & VULKAN_HPP_NAMESPACE::BaseInStructure::operator= ( VkBaseInStructure const &  rhs)
inline

Definition at line 48397 of file vulkan.hpp.

48398 {
48399 memcpy( this, &rhs, sizeof( BaseInStructure ) );
48400 return *this;
48401 }

References memcpy.

◆ operator==()

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

Definition at line 48418 of file vulkan.hpp.

48419 {
48420 return ( sType == rhs.sType )
48421 && ( pNext == rhs.pNext );
48422 }
const struct BaseInStructure * pNext
Definition: vulkan.hpp:48430

References pNext, and sType.

Referenced by operator!=().

◆ setPNext()

BaseInStructure & VULKAN_HPP_NAMESPACE::BaseInStructure::setPNext ( const struct BaseInStructure pNext_)
inline

Definition at line 48402 of file vulkan.hpp.

48403 {
48404 pNext = pNext_;
48405 return *this;
48406 }

References pNext.

Field Documentation

◆ pNext

const struct BaseInStructure* VULKAN_HPP_NAMESPACE::BaseInStructure::pNext = nullptr

Definition at line 48430 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::BaseInStructure::sType

Definition at line 48429 of file vulkan.hpp.

Referenced by operator==().


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