SDL  2.0
VULKAN_HPP_NAMESPACE::SubpassBeginInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR SubpassBeginInfo (VULKAN_HPP_NAMESPACE::SubpassContents contents_=VULKAN_HPP_NAMESPACE::SubpassContents::eInline) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SubpassBeginInfo (SubpassBeginInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SubpassBeginInfo (VkSubpassBeginInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SubpassBeginInfooperator= (VkSubpassBeginInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SubpassBeginInfooperator= (SubpassBeginInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SubpassBeginInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
SubpassBeginInfosetContents (VULKAN_HPP_NAMESPACE::SubpassContents contents_) VULKAN_HPP_NOEXCEPT
 
 operator VkSubpassBeginInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSubpassBeginInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SubpassBeginInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SubpassBeginInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSubpassBeginInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::SubpassContents contents = VULKAN_HPP_NAMESPACE::SubpassContents::eInline
 

Static Public Attributes

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

Detailed Description

Definition at line 32317 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SubpassBeginInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SubpassBeginInfo::SubpassBeginInfo ( VULKAN_HPP_NAMESPACE::SubpassContents  contents_ = VULKAN_HPP_NAMESPACE::SubpassContents::eInline)
inline

Definition at line 32323 of file vulkan.hpp.

32324  : contents( contents_ )
32325  {}
VULKAN_HPP_NAMESPACE::SubpassContents contents
Definition: vulkan.hpp:32392

◆ SubpassBeginInfo() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SubpassBeginInfo::SubpassBeginInfo ( SubpassBeginInfo const &  rhs)
default

◆ SubpassBeginInfo() [3/3]

VULKAN_HPP_NAMESPACE::SubpassBeginInfo::SubpassBeginInfo ( VkSubpassBeginInfo const &  rhs)
inline

Definition at line 32329 of file vulkan.hpp.

32330  {
32331  *this = rhs;
32332  }

Member Function Documentation

◆ operator VkSubpassBeginInfo &()

VULKAN_HPP_NAMESPACE::SubpassBeginInfo::operator VkSubpassBeginInfo & ( )
inline

Definition at line 32365 of file vulkan.hpp.

32366  {
32367  return *reinterpret_cast<VkSubpassBeginInfo*>( this );
32368  }

◆ operator VkSubpassBeginInfo const &()

VULKAN_HPP_NAMESPACE::SubpassBeginInfo::operator VkSubpassBeginInfo const & ( ) const
inline

Definition at line 32360 of file vulkan.hpp.

32361  {
32362  return *reinterpret_cast<const VkSubpassBeginInfo*>( this );
32363  }

◆ operator!=()

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

Definition at line 32381 of file vulkan.hpp.

32382  {
32383  return !operator==( rhs );
32384  }
bool operator==(SubpassBeginInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:32374

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 32341 of file vulkan.hpp.

32342  {
32343  memcpy( static_cast<void *>( this ), &rhs, sizeof( SubpassBeginInfo ) );
32344  return *this;
32345  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR SubpassBeginInfo(VULKAN_HPP_NAMESPACE::SubpassContents contents_=VULKAN_HPP_NAMESPACE::SubpassContents::eInline) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:32323

References memcpy.

◆ operator=() [2/2]

SubpassBeginInfo& VULKAN_HPP_NAMESPACE::SubpassBeginInfo::operator= ( VkSubpassBeginInfo const &  rhs)
inline

Definition at line 32335 of file vulkan.hpp.

32336  {
32337  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SubpassBeginInfo const *>( &rhs );
32338  return *this;
32339  }

◆ operator==()

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

Definition at line 32374 of file vulkan.hpp.

32375  {
32376  return ( sType == rhs.sType )
32377  && ( pNext == rhs.pNext )
32378  && ( contents == rhs.contents );
32379  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:32390

◆ setContents()

SubpassBeginInfo& VULKAN_HPP_NAMESPACE::SubpassBeginInfo::setContents ( VULKAN_HPP_NAMESPACE::SubpassContents  contents_)
inline

Definition at line 32353 of file vulkan.hpp.

32354  {
32355  contents = contents_;
32356  return *this;
32357  }

◆ setPNext()

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

Definition at line 32347 of file vulkan.hpp.

32348  {
32349  pNext = pNext_;
32350  return *this;
32351  }

Field Documentation

◆ allowDuplicate

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

Definition at line 32319 of file vulkan.hpp.

◆ contents

Definition at line 32392 of file vulkan.hpp.

◆ pNext

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

Definition at line 32391 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::SubpassBeginInfo::structureType = StructureType::eSubpassBeginInfo
static

Definition at line 32320 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::SubpassBeginInfo::sType = StructureType::eSubpassBeginInfo

Definition at line 32390 of file vulkan.hpp.


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