SDL  2.0
VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR DeviceGroupPresentInfoKHR (uint32_t swapchainCount_={}, const uint32_t *pDeviceMasks_={}, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_=VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DeviceGroupPresentInfoKHR (DeviceGroupPresentInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DeviceGroupPresentInfoKHR (VkDeviceGroupPresentInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
 DeviceGroupPresentInfoKHR (VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint32_t > const &deviceMasks_, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_=VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal)
 
DeviceGroupPresentInfoKHRoperator= (VkDeviceGroupPresentInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
DeviceGroupPresentInfoKHRoperator= (DeviceGroupPresentInfoKHR const &rhs) VULKAN_HPP_NOEXCEPT
 
DeviceGroupPresentInfoKHRsetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
DeviceGroupPresentInfoKHRsetSwapchainCount (uint32_t swapchainCount_) VULKAN_HPP_NOEXCEPT
 
DeviceGroupPresentInfoKHRsetPDeviceMasks (const uint32_t *pDeviceMasks_) VULKAN_HPP_NOEXCEPT
 
DeviceGroupPresentInfoKHRsetDeviceMasks (VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint32_t > const &deviceMasks_) VULKAN_HPP_NOEXCEPT
 
DeviceGroupPresentInfoKHRsetMode (VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_) VULKAN_HPP_NOEXCEPT
 
 operator VkDeviceGroupPresentInfoKHR const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDeviceGroupPresentInfoKHR & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DeviceGroupPresentInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DeviceGroupPresentInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eDeviceGroupPresentInfoKHR
 
const voidpNext = {}
 
uint32_t swapchainCount = {}
 
const uint32_tpDeviceMasks = {}
 
VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode = VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal
 

Static Public Attributes

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

Detailed Description

Definition at line 54964 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceGroupPresentInfoKHR() [1/4]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::DeviceGroupPresentInfoKHR ( uint32_t  swapchainCount_ = {},
const uint32_t pDeviceMasks_ = {},
VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR  mode_ = VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal 
)
inline

Definition at line 54970 of file vulkan.hpp.

54971  : swapchainCount( swapchainCount_ ), pDeviceMasks( pDeviceMasks_ ), mode( mode_ )
54972  {}
unsigned int uint32_t
VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode
Definition: vulkan.hpp:55070
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DeviceGroupPresentInfoKHR() [2/4]

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

◆ DeviceGroupPresentInfoKHR() [3/4]

VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::DeviceGroupPresentInfoKHR ( VkDeviceGroupPresentInfoKHR const &  rhs)
inline

Definition at line 54976 of file vulkan.hpp.

54977  {
54978  *this = rhs;
54979  }

◆ DeviceGroupPresentInfoKHR() [4/4]

VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::DeviceGroupPresentInfoKHR ( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint32_t > const &  deviceMasks_,
VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR  mode_ = VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal 
)
inline

Definition at line 54982 of file vulkan.hpp.

54983  : swapchainCount( static_cast<uint32_t>( deviceMasks_.size() ) ), pDeviceMasks( deviceMasks_.data() ), mode( mode_ )
54984  {}
T * data() const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:519
uint32_t size() const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:514

Member Function Documentation

◆ operator VkDeviceGroupPresentInfoKHR &()

VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::operator VkDeviceGroupPresentInfoKHR & ( )
inline

Definition at line 55039 of file vulkan.hpp.

55040  {
55041  return *reinterpret_cast<VkDeviceGroupPresentInfoKHR*>( this );
55042  }

◆ operator VkDeviceGroupPresentInfoKHR const &()

VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::operator VkDeviceGroupPresentInfoKHR const & ( ) const
inline

Definition at line 55034 of file vulkan.hpp.

55035  {
55036  return *reinterpret_cast<const VkDeviceGroupPresentInfoKHR*>( this );
55037  }

◆ operator!=()

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

Definition at line 55057 of file vulkan.hpp.

55058  {
55059  return !operator==( rhs );
55060  }
bool operator==(DeviceGroupPresentInfoKHR const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:55048

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 54994 of file vulkan.hpp.

54995  {
54996  memcpy( static_cast<void *>( this ), &rhs, sizeof( DeviceGroupPresentInfoKHR ) );
54997  return *this;
54998  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DeviceGroupPresentInfoKHR(uint32_t swapchainCount_={}, const uint32_t *pDeviceMasks_={}, VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR mode_=VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR::eLocal) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:54970

References memcpy.

◆ operator=() [2/2]

DeviceGroupPresentInfoKHR& VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::operator= ( VkDeviceGroupPresentInfoKHR const &  rhs)
inline

Definition at line 54988 of file vulkan.hpp.

54989  {
54990  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR const *>( &rhs );
54991  return *this;
54992  }

◆ operator==()

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

Definition at line 55048 of file vulkan.hpp.

55049  {
55050  return ( sType == rhs.sType )
55051  && ( pNext == rhs.pNext )
55052  && ( swapchainCount == rhs.swapchainCount )
55053  && ( pDeviceMasks == rhs.pDeviceMasks )
55054  && ( mode == rhs.mode );
55055  }
GLenum mode
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:55066

◆ setDeviceMasks()

DeviceGroupPresentInfoKHR& VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::setDeviceMasks ( VULKAN_HPP_NAMESPACE::ArrayProxyNoTemporaries< const uint32_t > const &  deviceMasks_)
inline

Definition at line 55019 of file vulkan.hpp.

55020  {
55021  swapchainCount = static_cast<uint32_t>( deviceMasks_.size() );
55022  pDeviceMasks = deviceMasks_.data();
55023  return *this;
55024  }

◆ setMode()

DeviceGroupPresentInfoKHR& VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::setMode ( VULKAN_HPP_NAMESPACE::DeviceGroupPresentModeFlagBitsKHR  mode_)
inline

Definition at line 55027 of file vulkan.hpp.

55028  {
55029  mode = mode_;
55030  return *this;
55031  }

◆ setPDeviceMasks()

DeviceGroupPresentInfoKHR& VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::setPDeviceMasks ( const uint32_t pDeviceMasks_)
inline

Definition at line 55012 of file vulkan.hpp.

55013  {
55014  pDeviceMasks = pDeviceMasks_;
55015  return *this;
55016  }

◆ setPNext()

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

Definition at line 55000 of file vulkan.hpp.

55001  {
55002  pNext = pNext_;
55003  return *this;
55004  }

◆ setSwapchainCount()

DeviceGroupPresentInfoKHR& VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::setSwapchainCount ( uint32_t  swapchainCount_)
inline

Definition at line 55006 of file vulkan.hpp.

55007  {
55008  swapchainCount = swapchainCount_;
55009  return *this;
55010  }

Field Documentation

◆ allowDuplicate

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

Definition at line 54966 of file vulkan.hpp.

◆ mode

Definition at line 55070 of file vulkan.hpp.

◆ pDeviceMasks

const uint32_t* VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::pDeviceMasks = {}

Definition at line 55069 of file vulkan.hpp.

◆ pNext

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

Definition at line 55067 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::structureType = StructureType::eDeviceGroupPresentInfoKHR
static

Definition at line 54967 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::sType = StructureType::eDeviceGroupPresentInfoKHR

Definition at line 55066 of file vulkan.hpp.

◆ swapchainCount

uint32_t VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::swapchainCount = {}

Definition at line 55068 of file vulkan.hpp.


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