SDL 2.0
VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DeviceGroupPresentInfoKHR (uint32_t swapchainCount_=0, const uint32_t *pDeviceMasks_=nullptr, DeviceGroupPresentModeFlagBitsKHR mode_=DeviceGroupPresentModeFlagBitsKHR::eLocal)
 
 DeviceGroupPresentInfoKHR (VkDeviceGroupPresentInfoKHR const &rhs)
 
DeviceGroupPresentInfoKHRoperator= (VkDeviceGroupPresentInfoKHR const &rhs)
 
DeviceGroupPresentInfoKHRsetPNext (const void *pNext_)
 
DeviceGroupPresentInfoKHRsetSwapchainCount (uint32_t swapchainCount_)
 
DeviceGroupPresentInfoKHRsetPDeviceMasks (const uint32_t *pDeviceMasks_)
 
DeviceGroupPresentInfoKHRsetMode (DeviceGroupPresentModeFlagBitsKHR mode_)
 
 operator VkDeviceGroupPresentInfoKHR const & () const
 
 operator VkDeviceGroupPresentInfoKHR & ()
 
bool operator== (DeviceGroupPresentInfoKHR const &rhs) const
 
bool operator!= (DeviceGroupPresentInfoKHR const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
uint32_t swapchainCount
 
const uint32_tpDeviceMasks
 
DeviceGroupPresentModeFlagBitsKHR mode
 

Private Attributes

StructureType sType = StructureType::eDeviceGroupPresentInfoKHR
 

Detailed Description

Definition at line 34119 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceGroupPresentInfoKHR() [1/2]

VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::DeviceGroupPresentInfoKHR ( uint32_t  swapchainCount_ = 0,
const uint32_t pDeviceMasks_ = nullptr,
DeviceGroupPresentModeFlagBitsKHR  mode_ = DeviceGroupPresentModeFlagBitsKHR::eLocal 
)
inline

Definition at line 34121 of file vulkan.hpp.

34124 : swapchainCount( swapchainCount_ )
34125 , pDeviceMasks( pDeviceMasks_ )
34126 , mode( mode_ )
34127 {
34128 }
DeviceGroupPresentModeFlagBitsKHR mode
Definition: vulkan.hpp:34195

◆ DeviceGroupPresentInfoKHR() [2/2]

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

Definition at line 34130 of file vulkan.hpp.

34131 {
34132 memcpy( this, &rhs, sizeof( DeviceGroupPresentInfoKHR ) );
34133 }
#define memcpy
Definition: SDL_malloc.c:630
DeviceGroupPresentInfoKHR(uint32_t swapchainCount_=0, const uint32_t *pDeviceMasks_=nullptr, DeviceGroupPresentModeFlagBitsKHR mode_=DeviceGroupPresentModeFlagBitsKHR::eLocal)
Definition: vulkan.hpp:34121

References memcpy.

Member Function Documentation

◆ operator VkDeviceGroupPresentInfoKHR &()

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

Definition at line 34169 of file vulkan.hpp.

34170 {
34171 return *reinterpret_cast<VkDeviceGroupPresentInfoKHR*>(this);
34172 }

◆ operator VkDeviceGroupPresentInfoKHR const &()

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

Definition at line 34164 of file vulkan.hpp.

34165 {
34166 return *reinterpret_cast<const VkDeviceGroupPresentInfoKHR*>(this);
34167 }

◆ operator!=()

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

Definition at line 34183 of file vulkan.hpp.

34184 {
34185 return !operator==( rhs );
34186 }
bool operator==(DeviceGroupPresentInfoKHR const &rhs) const
Definition: vulkan.hpp:34174

References operator==().

◆ operator=()

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

Definition at line 34135 of file vulkan.hpp.

34136 {
34137 memcpy( this, &rhs, sizeof( DeviceGroupPresentInfoKHR ) );
34138 return *this;
34139 }

References memcpy.

◆ operator==()

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

Definition at line 34174 of file vulkan.hpp.

34175 {
34176 return ( sType == rhs.sType )
34177 && ( pNext == rhs.pNext )
34178 && ( swapchainCount == rhs.swapchainCount )
34179 && ( pDeviceMasks == rhs.pDeviceMasks )
34180 && ( mode == rhs.mode );
34181 }
GLenum mode

References mode, pDeviceMasks, pNext, sType, and swapchainCount.

Referenced by operator!=().

◆ setMode()

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

Definition at line 34158 of file vulkan.hpp.

34159 {
34160 mode = mode_;
34161 return *this;
34162 }

◆ setPDeviceMasks()

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

Definition at line 34152 of file vulkan.hpp.

34153 {
34154 pDeviceMasks = pDeviceMasks_;
34155 return *this;
34156 }

References pDeviceMasks.

◆ setPNext()

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

Definition at line 34140 of file vulkan.hpp.

34141 {
34142 pNext = pNext_;
34143 return *this;
34144 }

References pNext.

◆ setSwapchainCount()

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

Definition at line 34146 of file vulkan.hpp.

34147 {
34148 swapchainCount = swapchainCount_;
34149 return *this;
34150 }

References swapchainCount.

Field Documentation

◆ mode

DeviceGroupPresentModeFlagBitsKHR VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::mode

Definition at line 34195 of file vulkan.hpp.

Referenced by operator==().

◆ pDeviceMasks

const uint32_t* VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::pDeviceMasks

Definition at line 34194 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 34192 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::sType = StructureType::eDeviceGroupPresentInfoKHR
private

Definition at line 34189 of file vulkan.hpp.

Referenced by operator==().

◆ swapchainCount

uint32_t VULKAN_HPP_NAMESPACE::DeviceGroupPresentInfoKHR::swapchainCount

Definition at line 34193 of file vulkan.hpp.

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


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