SDL 2.0
VULKAN_HPP_NAMESPACE::DeviceQueueInfo2 Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::DeviceQueueInfo2:

Public Member Functions

 DeviceQueueInfo2 (DeviceQueueCreateFlags flags_=DeviceQueueCreateFlags(), uint32_t queueFamilyIndex_=0, uint32_t queueIndex_=0)
 
 DeviceQueueInfo2 (VkDeviceQueueInfo2 const &rhs)
 
DeviceQueueInfo2operator= (VkDeviceQueueInfo2 const &rhs)
 
DeviceQueueInfo2setPNext (const void *pNext_)
 
DeviceQueueInfo2setFlags (DeviceQueueCreateFlags flags_)
 
DeviceQueueInfo2setQueueFamilyIndex (uint32_t queueFamilyIndex_)
 
DeviceQueueInfo2setQueueIndex (uint32_t queueIndex_)
 
 operator VkDeviceQueueInfo2 const & () const
 
 operator VkDeviceQueueInfo2 & ()
 
bool operator== (DeviceQueueInfo2 const &rhs) const
 
bool operator!= (DeviceQueueInfo2 const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
DeviceQueueCreateFlags flags
 
uint32_t queueFamilyIndex
 
uint32_t queueIndex
 

Private Attributes

StructureType sType = StructureType::eDeviceQueueInfo2
 

Detailed Description

Definition at line 22245 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceQueueInfo2() [1/2]

VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::DeviceQueueInfo2 ( DeviceQueueCreateFlags  flags_ = DeviceQueueCreateFlags(),
uint32_t  queueFamilyIndex_ = 0,
uint32_t  queueIndex_ = 0 
)
inline

Definition at line 22247 of file vulkan.hpp.

22250 : flags( flags_ )
22251 , queueFamilyIndex( queueFamilyIndex_ )
22252 , queueIndex( queueIndex_ )
22253 {
22254 }

◆ DeviceQueueInfo2() [2/2]

VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::DeviceQueueInfo2 ( VkDeviceQueueInfo2 const &  rhs)
inline

Definition at line 22256 of file vulkan.hpp.

22257 {
22258 memcpy( this, &rhs, sizeof( DeviceQueueInfo2 ) );
22259 }
#define memcpy
Definition: SDL_malloc.c:630
DeviceQueueInfo2(DeviceQueueCreateFlags flags_=DeviceQueueCreateFlags(), uint32_t queueFamilyIndex_=0, uint32_t queueIndex_=0)
Definition: vulkan.hpp:22247

References memcpy.

Member Function Documentation

◆ operator VkDeviceQueueInfo2 &()

VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::operator VkDeviceQueueInfo2 & ( )
inline

Definition at line 22295 of file vulkan.hpp.

22296 {
22297 return *reinterpret_cast<VkDeviceQueueInfo2*>(this);
22298 }

◆ operator VkDeviceQueueInfo2 const &()

VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::operator VkDeviceQueueInfo2 const & ( ) const
inline

Definition at line 22290 of file vulkan.hpp.

22291 {
22292 return *reinterpret_cast<const VkDeviceQueueInfo2*>(this);
22293 }

◆ operator!=()

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

Definition at line 22309 of file vulkan.hpp.

22310 {
22311 return !operator==( rhs );
22312 }
bool operator==(DeviceQueueInfo2 const &rhs) const
Definition: vulkan.hpp:22300

References operator==().

◆ operator=()

DeviceQueueInfo2 & VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::operator= ( VkDeviceQueueInfo2 const &  rhs)
inline

Definition at line 22261 of file vulkan.hpp.

22262 {
22263 memcpy( this, &rhs, sizeof( DeviceQueueInfo2 ) );
22264 return *this;
22265 }

References memcpy.

◆ operator==()

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

Definition at line 22300 of file vulkan.hpp.

22301 {
22302 return ( sType == rhs.sType )
22303 && ( pNext == rhs.pNext )
22304 && ( flags == rhs.flags )
22305 && ( queueFamilyIndex == rhs.queueFamilyIndex )
22306 && ( queueIndex == rhs.queueIndex );
22307 }
GLbitfield flags

References flags, pNext, queueFamilyIndex, queueIndex, and sType.

Referenced by operator!=().

◆ setFlags()

DeviceQueueInfo2 & VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::setFlags ( DeviceQueueCreateFlags  flags_)
inline

Definition at line 22272 of file vulkan.hpp.

22273 {
22274 flags = flags_;
22275 return *this;
22276 }

◆ setPNext()

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

Definition at line 22266 of file vulkan.hpp.

22267 {
22268 pNext = pNext_;
22269 return *this;
22270 }

References pNext.

◆ setQueueFamilyIndex()

DeviceQueueInfo2 & VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::setQueueFamilyIndex ( uint32_t  queueFamilyIndex_)
inline

Definition at line 22278 of file vulkan.hpp.

22279 {
22280 queueFamilyIndex = queueFamilyIndex_;
22281 return *this;
22282 }

References queueFamilyIndex.

◆ setQueueIndex()

DeviceQueueInfo2 & VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::setQueueIndex ( uint32_t  queueIndex_)
inline

Definition at line 22284 of file vulkan.hpp.

22285 {
22286 queueIndex = queueIndex_;
22287 return *this;
22288 }

References queueIndex.

Field Documentation

◆ flags

DeviceQueueCreateFlags VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::flags

Definition at line 22319 of file vulkan.hpp.

Referenced by operator==().

◆ pNext

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

Definition at line 22318 of file vulkan.hpp.

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

◆ queueFamilyIndex

uint32_t VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::queueFamilyIndex

Definition at line 22320 of file vulkan.hpp.

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

◆ queueIndex

uint32_t VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::queueIndex

Definition at line 22321 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DeviceQueueInfo2::sType = StructureType::eDeviceQueueInfo2
private

Definition at line 22315 of file vulkan.hpp.

Referenced by operator==().


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