SDL  2.0
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo:

Public Member Functions

 CommandBufferBeginInfo (CommandBufferUsageFlags flags_=CommandBufferUsageFlags(), const CommandBufferInheritanceInfo *pInheritanceInfo_=nullptr)
 
 CommandBufferBeginInfo (VkCommandBufferBeginInfo const &rhs)
 
CommandBufferBeginInfooperator= (VkCommandBufferBeginInfo const &rhs)
 
CommandBufferBeginInfosetPNext (const void *pNext_)
 
CommandBufferBeginInfosetFlags (CommandBufferUsageFlags flags_)
 
CommandBufferBeginInfosetPInheritanceInfo (const CommandBufferInheritanceInfo *pInheritanceInfo_)
 
 operator VkCommandBufferBeginInfo const & () const
 
 operator VkCommandBufferBeginInfo & ()
 
bool operator== (CommandBufferBeginInfo const &rhs) const
 
bool operator!= (CommandBufferBeginInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
CommandBufferUsageFlags flags
 
const CommandBufferInheritanceInfopInheritanceInfo
 

Private Attributes

StructureType sType = StructureType::eCommandBufferBeginInfo
 

Detailed Description

Definition at line 24546 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ CommandBufferBeginInfo() [1/2]

VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::CommandBufferBeginInfo ( CommandBufferUsageFlags  flags_ = CommandBufferUsageFlags(),
const CommandBufferInheritanceInfo pInheritanceInfo_ = nullptr 
)
inline

Definition at line 24548 of file vulkan.hpp.

24550  : flags( flags_ )
24551  , pInheritanceInfo( pInheritanceInfo_ )
24552  {
24553  }

◆ CommandBufferBeginInfo() [2/2]

VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::CommandBufferBeginInfo ( VkCommandBufferBeginInfo const &  rhs)
inline

Definition at line 24555 of file vulkan.hpp.

24556  {
24557  memcpy( this, &rhs, sizeof( CommandBufferBeginInfo ) );
24558  }

References memcpy.

Member Function Documentation

◆ operator VkCommandBufferBeginInfo &()

VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::operator VkCommandBufferBeginInfo & ( )
inline

Definition at line 24588 of file vulkan.hpp.

24589  {
24590  return *reinterpret_cast<VkCommandBufferBeginInfo*>(this);
24591  }

◆ operator VkCommandBufferBeginInfo const &()

VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::operator VkCommandBufferBeginInfo const & ( ) const
inline

Definition at line 24583 of file vulkan.hpp.

24584  {
24585  return *reinterpret_cast<const VkCommandBufferBeginInfo*>(this);
24586  }

◆ operator!=()

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

Definition at line 24601 of file vulkan.hpp.

24602  {
24603  return !operator==( rhs );
24604  }

References operator==().

◆ operator=()

CommandBufferBeginInfo& VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::operator= ( VkCommandBufferBeginInfo const &  rhs)
inline

Definition at line 24560 of file vulkan.hpp.

24561  {
24562  memcpy( this, &rhs, sizeof( CommandBufferBeginInfo ) );
24563  return *this;
24564  }

References memcpy.

◆ operator==()

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

Definition at line 24593 of file vulkan.hpp.

24594  {
24595  return ( sType == rhs.sType )
24596  && ( pNext == rhs.pNext )
24597  && ( flags == rhs.flags )
24598  && ( pInheritanceInfo == rhs.pInheritanceInfo );
24599  }

References flags, pInheritanceInfo, pNext, and sType.

Referenced by operator!=().

◆ setFlags()

CommandBufferBeginInfo& VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::setFlags ( CommandBufferUsageFlags  flags_)
inline

Definition at line 24571 of file vulkan.hpp.

24572  {
24573  flags = flags_;
24574  return *this;
24575  }

◆ setPInheritanceInfo()

CommandBufferBeginInfo& VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::setPInheritanceInfo ( const CommandBufferInheritanceInfo pInheritanceInfo_)
inline

Definition at line 24577 of file vulkan.hpp.

24578  {
24579  pInheritanceInfo = pInheritanceInfo_;
24580  return *this;
24581  }

References pInheritanceInfo.

◆ setPNext()

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

Definition at line 24565 of file vulkan.hpp.

24566  {
24567  pNext = pNext_;
24568  return *this;
24569  }

References pNext.

Field Documentation

◆ flags

CommandBufferUsageFlags VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::flags

Definition at line 24611 of file vulkan.hpp.

Referenced by operator==().

◆ pInheritanceInfo

const CommandBufferInheritanceInfo* VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::pInheritanceInfo

Definition at line 24612 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 24610 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::sType = StructureType::eCommandBufferBeginInfo
private

Definition at line 24607 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::operator==
bool operator==(CommandBufferBeginInfo const &rhs) const
Definition: vulkan.hpp:24593
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::pInheritanceInfo
const CommandBufferInheritanceInfo * pInheritanceInfo
Definition: vulkan.hpp:24612
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::CommandBufferBeginInfo
CommandBufferBeginInfo(CommandBufferUsageFlags flags_=CommandBufferUsageFlags(), const CommandBufferInheritanceInfo *pInheritanceInfo_=nullptr)
Definition: vulkan.hpp:24548
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::sType
StructureType sType
Definition: vulkan.hpp:24607
VkCommandBufferBeginInfo
Definition: vulkan_core.h:2696
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::pNext
const void * pNext
Definition: vulkan.hpp:24610
flags
GLbitfield flags
Definition: SDL_opengl_glext.h:1480
VULKAN_HPP_NAMESPACE::CommandBufferBeginInfo::flags
CommandBufferUsageFlags flags
Definition: vulkan.hpp:24611