SDL  2.0
VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo:

Public Member Functions

VULKAN_HPP_CONSTEXPR CommandBufferAllocateInfo (VULKAN_HPP_NAMESPACE::CommandPool commandPool_={}, VULKAN_HPP_NAMESPACE::CommandBufferLevel level_=VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary, uint32_t commandBufferCount_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR CommandBufferAllocateInfo (CommandBufferAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 CommandBufferAllocateInfo (VkCommandBufferAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
CommandBufferAllocateInfooperator= (VkCommandBufferAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
CommandBufferAllocateInfooperator= (CommandBufferAllocateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
CommandBufferAllocateInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
CommandBufferAllocateInfosetCommandPool (VULKAN_HPP_NAMESPACE::CommandPool commandPool_) VULKAN_HPP_NOEXCEPT
 
CommandBufferAllocateInfosetLevel (VULKAN_HPP_NAMESPACE::CommandBufferLevel level_) VULKAN_HPP_NOEXCEPT
 
CommandBufferAllocateInfosetCommandBufferCount (uint32_t commandBufferCount_) VULKAN_HPP_NOEXCEPT
 
 operator VkCommandBufferAllocateInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkCommandBufferAllocateInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (CommandBufferAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (CommandBufferAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eCommandBufferAllocateInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::CommandPool commandPool = {}
 
VULKAN_HPP_NAMESPACE::CommandBufferLevel level = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary
 
uint32_t commandBufferCount = {}
 

Static Public Attributes

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

Detailed Description

Definition at line 23948 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ CommandBufferAllocateInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::CommandBufferAllocateInfo ( VULKAN_HPP_NAMESPACE::CommandPool  commandPool_ = {},
VULKAN_HPP_NAMESPACE::CommandBufferLevel  level_ = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary,
uint32_t  commandBufferCount_ = {} 
)
inline

Definition at line 23954 of file vulkan.hpp.

23955  : commandPool( commandPool_ ), level( level_ ), commandBufferCount( commandBufferCount_ )
23956  {}
unsigned int uint32_t
VULKAN_HPP_NAMESPACE::CommandPool commandPool
Definition: vulkan.hpp:24037
VULKAN_HPP_NAMESPACE::CommandBufferLevel level
Definition: vulkan.hpp:24038
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ CommandBufferAllocateInfo() [2/3]

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

◆ CommandBufferAllocateInfo() [3/3]

VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::CommandBufferAllocateInfo ( VkCommandBufferAllocateInfo const &  rhs)
inline

Definition at line 23960 of file vulkan.hpp.

23961  {
23962  *this = rhs;
23963  }

Member Function Documentation

◆ operator VkCommandBufferAllocateInfo &()

VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::operator VkCommandBufferAllocateInfo & ( )
inline

Definition at line 24008 of file vulkan.hpp.

24009  {
24010  return *reinterpret_cast<VkCommandBufferAllocateInfo*>( this );
24011  }

◆ operator VkCommandBufferAllocateInfo const &()

VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::operator VkCommandBufferAllocateInfo const & ( ) const
inline

Definition at line 24003 of file vulkan.hpp.

24004  {
24005  return *reinterpret_cast<const VkCommandBufferAllocateInfo*>( this );
24006  }

◆ operator!=()

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

Definition at line 24026 of file vulkan.hpp.

24027  {
24028  return !operator==( rhs );
24029  }
bool operator==(CommandBufferAllocateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:24017

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 23972 of file vulkan.hpp.

23973  {
23974  memcpy( static_cast<void *>( this ), &rhs, sizeof( CommandBufferAllocateInfo ) );
23975  return *this;
23976  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR CommandBufferAllocateInfo(VULKAN_HPP_NAMESPACE::CommandPool commandPool_={}, VULKAN_HPP_NAMESPACE::CommandBufferLevel level_=VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary, uint32_t commandBufferCount_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:23954

References memcpy.

◆ operator=() [2/2]

CommandBufferAllocateInfo& VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::operator= ( VkCommandBufferAllocateInfo const &  rhs)
inline

Definition at line 23966 of file vulkan.hpp.

23967  {
23968  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo const *>( &rhs );
23969  return *this;
23970  }

◆ operator==()

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

Definition at line 24017 of file vulkan.hpp.

24018  {
24019  return ( sType == rhs.sType )
24020  && ( pNext == rhs.pNext )
24021  && ( commandPool == rhs.commandPool )
24022  && ( level == rhs.level )
24023  && ( commandBufferCount == rhs.commandBufferCount );
24024  }
GLint level
Definition: SDL_opengl.h:1572
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:24035

◆ setCommandBufferCount()

CommandBufferAllocateInfo& VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::setCommandBufferCount ( uint32_t  commandBufferCount_)
inline

Definition at line 23996 of file vulkan.hpp.

23997  {
23998  commandBufferCount = commandBufferCount_;
23999  return *this;
24000  }

◆ setCommandPool()

CommandBufferAllocateInfo& VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::setCommandPool ( VULKAN_HPP_NAMESPACE::CommandPool  commandPool_)
inline

Definition at line 23984 of file vulkan.hpp.

23985  {
23986  commandPool = commandPool_;
23987  return *this;
23988  }

◆ setLevel()

CommandBufferAllocateInfo& VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::setLevel ( VULKAN_HPP_NAMESPACE::CommandBufferLevel  level_)
inline

Definition at line 23990 of file vulkan.hpp.

23991  {
23992  level = level_;
23993  return *this;
23994  }

◆ setPNext()

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

Definition at line 23978 of file vulkan.hpp.

23979  {
23980  pNext = pNext_;
23981  return *this;
23982  }

Field Documentation

◆ allowDuplicate

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

Definition at line 23950 of file vulkan.hpp.

◆ commandBufferCount

uint32_t VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::commandBufferCount = {}

◆ commandPool

VULKAN_HPP_NAMESPACE::CommandPool VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::commandPool = {}

◆ level

VULKAN_HPP_NAMESPACE::CommandBufferLevel VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::level = VULKAN_HPP_NAMESPACE::CommandBufferLevel::ePrimary

Definition at line 24038 of file vulkan.hpp.

◆ pNext

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

Definition at line 24036 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::structureType = StructureType::eCommandBufferAllocateInfo
static

Definition at line 23951 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::CommandBufferAllocateInfo::sType = StructureType::eCommandBufferAllocateInfo

Definition at line 24035 of file vulkan.hpp.


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