SDL 2.0
VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo:

Public Member Functions

 DeviceGroupRenderPassBeginInfo (uint32_t deviceMask_=0, uint32_t deviceRenderAreaCount_=0, const Rect2D *pDeviceRenderAreas_=nullptr)
 
 DeviceGroupRenderPassBeginInfo (VkDeviceGroupRenderPassBeginInfo const &rhs)
 
DeviceGroupRenderPassBeginInfooperator= (VkDeviceGroupRenderPassBeginInfo const &rhs)
 
DeviceGroupRenderPassBeginInfosetPNext (const void *pNext_)
 
DeviceGroupRenderPassBeginInfosetDeviceMask (uint32_t deviceMask_)
 
DeviceGroupRenderPassBeginInfosetDeviceRenderAreaCount (uint32_t deviceRenderAreaCount_)
 
DeviceGroupRenderPassBeginInfosetPDeviceRenderAreas (const Rect2D *pDeviceRenderAreas_)
 
 operator VkDeviceGroupRenderPassBeginInfo const & () const
 
 operator VkDeviceGroupRenderPassBeginInfo & ()
 
bool operator== (DeviceGroupRenderPassBeginInfo const &rhs) const
 
bool operator!= (DeviceGroupRenderPassBeginInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
uint32_t deviceMask
 
uint32_t deviceRenderAreaCount
 
const Rect2DpDeviceRenderAreas
 

Private Attributes

StructureType sType = StructureType::eDeviceGroupRenderPassBeginInfo
 

Detailed Description

Definition at line 14522 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DeviceGroupRenderPassBeginInfo() [1/2]

VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::DeviceGroupRenderPassBeginInfo ( uint32_t  deviceMask_ = 0,
uint32_t  deviceRenderAreaCount_ = 0,
const Rect2D pDeviceRenderAreas_ = nullptr 
)
inline

Definition at line 14524 of file vulkan.hpp.

14527 : deviceMask( deviceMask_ )
14528 , deviceRenderAreaCount( deviceRenderAreaCount_ )
14529 , pDeviceRenderAreas( pDeviceRenderAreas_ )
14530 {
14531 }

◆ DeviceGroupRenderPassBeginInfo() [2/2]

VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::DeviceGroupRenderPassBeginInfo ( VkDeviceGroupRenderPassBeginInfo const &  rhs)
inline

Definition at line 14533 of file vulkan.hpp.

14534 {
14535 memcpy( this, &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) );
14536 }
#define memcpy
Definition: SDL_malloc.c:630
DeviceGroupRenderPassBeginInfo(uint32_t deviceMask_=0, uint32_t deviceRenderAreaCount_=0, const Rect2D *pDeviceRenderAreas_=nullptr)
Definition: vulkan.hpp:14524

References memcpy.

Member Function Documentation

◆ operator VkDeviceGroupRenderPassBeginInfo &()

VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::operator VkDeviceGroupRenderPassBeginInfo & ( )
inline

Definition at line 14572 of file vulkan.hpp.

14573 {
14574 return *reinterpret_cast<VkDeviceGroupRenderPassBeginInfo*>(this);
14575 }

◆ operator VkDeviceGroupRenderPassBeginInfo const &()

VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::operator VkDeviceGroupRenderPassBeginInfo const & ( ) const
inline

Definition at line 14567 of file vulkan.hpp.

14568 {
14569 return *reinterpret_cast<const VkDeviceGroupRenderPassBeginInfo*>(this);
14570 }

◆ operator!=()

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

Definition at line 14586 of file vulkan.hpp.

14587 {
14588 return !operator==( rhs );
14589 }
bool operator==(DeviceGroupRenderPassBeginInfo const &rhs) const
Definition: vulkan.hpp:14577

References operator==().

◆ operator=()

DeviceGroupRenderPassBeginInfo & VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::operator= ( VkDeviceGroupRenderPassBeginInfo const &  rhs)
inline

Definition at line 14538 of file vulkan.hpp.

14539 {
14540 memcpy( this, &rhs, sizeof( DeviceGroupRenderPassBeginInfo ) );
14541 return *this;
14542 }

References memcpy.

◆ operator==()

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

Definition at line 14577 of file vulkan.hpp.

14578 {
14579 return ( sType == rhs.sType )
14580 && ( pNext == rhs.pNext )
14581 && ( deviceMask == rhs.deviceMask )
14582 && ( deviceRenderAreaCount == rhs.deviceRenderAreaCount )
14583 && ( pDeviceRenderAreas == rhs.pDeviceRenderAreas );
14584 }

References deviceMask, deviceRenderAreaCount, pDeviceRenderAreas, pNext, and sType.

Referenced by operator!=().

◆ setDeviceMask()

DeviceGroupRenderPassBeginInfo & VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::setDeviceMask ( uint32_t  deviceMask_)
inline

Definition at line 14549 of file vulkan.hpp.

14550 {
14551 deviceMask = deviceMask_;
14552 return *this;
14553 }

References deviceMask.

◆ setDeviceRenderAreaCount()

DeviceGroupRenderPassBeginInfo & VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::setDeviceRenderAreaCount ( uint32_t  deviceRenderAreaCount_)
inline

Definition at line 14555 of file vulkan.hpp.

14556 {
14557 deviceRenderAreaCount = deviceRenderAreaCount_;
14558 return *this;
14559 }

References deviceRenderAreaCount.

◆ setPDeviceRenderAreas()

DeviceGroupRenderPassBeginInfo & VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::setPDeviceRenderAreas ( const Rect2D pDeviceRenderAreas_)
inline

Definition at line 14561 of file vulkan.hpp.

14562 {
14563 pDeviceRenderAreas = pDeviceRenderAreas_;
14564 return *this;
14565 }

References pDeviceRenderAreas.

◆ setPNext()

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

Definition at line 14543 of file vulkan.hpp.

14544 {
14545 pNext = pNext_;
14546 return *this;
14547 }

References pNext.

Field Documentation

◆ deviceMask

uint32_t VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::deviceMask

Definition at line 14596 of file vulkan.hpp.

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

◆ deviceRenderAreaCount

uint32_t VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::deviceRenderAreaCount

Definition at line 14597 of file vulkan.hpp.

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

◆ pDeviceRenderAreas

const Rect2D* VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::pDeviceRenderAreas

Definition at line 14598 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 14595 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::DeviceGroupRenderPassBeginInfo::sType = StructureType::eDeviceGroupRenderPassBeginInfo
private

Definition at line 14592 of file vulkan.hpp.

Referenced by operator==().


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