SDL 2.0
VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR Struct Reference

#include <vulkan.hpp>

Public Member Functions

 SubpassBeginInfoKHR (SubpassContents contents_=SubpassContents::eInline)
 
 SubpassBeginInfoKHR (VkSubpassBeginInfoKHR const &rhs)
 
SubpassBeginInfoKHRoperator= (VkSubpassBeginInfoKHR const &rhs)
 
SubpassBeginInfoKHRsetPNext (const void *pNext_)
 
SubpassBeginInfoKHRsetContents (SubpassContents contents_)
 
 operator VkSubpassBeginInfoKHR const & () const
 
 operator VkSubpassBeginInfoKHR & ()
 
bool operator== (SubpassBeginInfoKHR const &rhs) const
 
bool operator!= (SubpassBeginInfoKHR const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
SubpassContents contents
 

Private Attributes

StructureType sType = StructureType::eSubpassBeginInfoKHR
 

Detailed Description

Definition at line 21122 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SubpassBeginInfoKHR() [1/2]

VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::SubpassBeginInfoKHR ( SubpassContents  contents_ = SubpassContents::eInline)
inline

Definition at line 21124 of file vulkan.hpp.

21125 : contents( contents_ )
21126 {
21127 }

◆ SubpassBeginInfoKHR() [2/2]

VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::SubpassBeginInfoKHR ( VkSubpassBeginInfoKHR const &  rhs)
inline

Definition at line 21129 of file vulkan.hpp.

21130 {
21131 memcpy( this, &rhs, sizeof( SubpassBeginInfoKHR ) );
21132 }
#define memcpy
Definition: SDL_malloc.c:630
SubpassBeginInfoKHR(SubpassContents contents_=SubpassContents::eInline)
Definition: vulkan.hpp:21124

References memcpy.

Member Function Documentation

◆ operator VkSubpassBeginInfoKHR &()

VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::operator VkSubpassBeginInfoKHR & ( )
inline

Definition at line 21156 of file vulkan.hpp.

21157 {
21158 return *reinterpret_cast<VkSubpassBeginInfoKHR*>(this);
21159 }

◆ operator VkSubpassBeginInfoKHR const &()

VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::operator VkSubpassBeginInfoKHR const & ( ) const
inline

Definition at line 21151 of file vulkan.hpp.

21152 {
21153 return *reinterpret_cast<const VkSubpassBeginInfoKHR*>(this);
21154 }

◆ operator!=()

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

Definition at line 21168 of file vulkan.hpp.

21169 {
21170 return !operator==( rhs );
21171 }
bool operator==(SubpassBeginInfoKHR const &rhs) const
Definition: vulkan.hpp:21161

References operator==().

◆ operator=()

SubpassBeginInfoKHR & VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::operator= ( VkSubpassBeginInfoKHR const &  rhs)
inline

Definition at line 21134 of file vulkan.hpp.

21135 {
21136 memcpy( this, &rhs, sizeof( SubpassBeginInfoKHR ) );
21137 return *this;
21138 }

References memcpy.

◆ operator==()

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

Definition at line 21161 of file vulkan.hpp.

21162 {
21163 return ( sType == rhs.sType )
21164 && ( pNext == rhs.pNext )
21165 && ( contents == rhs.contents );
21166 }

References contents, pNext, and sType.

Referenced by operator!=().

◆ setContents()

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

Definition at line 21145 of file vulkan.hpp.

21146 {
21147 contents = contents_;
21148 return *this;
21149 }

References contents.

◆ setPNext()

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

Definition at line 21139 of file vulkan.hpp.

21140 {
21141 pNext = pNext_;
21142 return *this;
21143 }

References pNext.

Field Documentation

◆ contents

SubpassContents VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::contents

Definition at line 21178 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 21177 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::SubpassBeginInfoKHR::sType = StructureType::eSubpassBeginInfoKHR
private

Definition at line 21174 of file vulkan.hpp.

Referenced by operator==().


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