SDL 2.0
VULKAN_HPP_NAMESPACE::PresentRegionKHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PresentRegionKHR:

Public Member Functions

 PresentRegionKHR (uint32_t rectangleCount_=0, const RectLayerKHR *pRectangles_=nullptr)
 
 PresentRegionKHR (VkPresentRegionKHR const &rhs)
 
PresentRegionKHRoperator= (VkPresentRegionKHR const &rhs)
 
PresentRegionKHRsetRectangleCount (uint32_t rectangleCount_)
 
PresentRegionKHRsetPRectangles (const RectLayerKHR *pRectangles_)
 
 operator VkPresentRegionKHR const & () const
 
 operator VkPresentRegionKHR & ()
 
bool operator== (PresentRegionKHR const &rhs) const
 
bool operator!= (PresentRegionKHR const &rhs) const
 

Data Fields

uint32_t rectangleCount
 
const RectLayerKHRpRectangles
 

Detailed Description

Definition at line 7340 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PresentRegionKHR() [1/2]

VULKAN_HPP_NAMESPACE::PresentRegionKHR::PresentRegionKHR ( uint32_t  rectangleCount_ = 0,
const RectLayerKHR pRectangles_ = nullptr 
)
inline

Definition at line 7342 of file vulkan.hpp.

7344 : rectangleCount( rectangleCount_ )
7345 , pRectangles( pRectangles_ )
7346 {
7347 }
const RectLayerKHR * pRectangles
Definition: vulkan.hpp:7393

◆ PresentRegionKHR() [2/2]

VULKAN_HPP_NAMESPACE::PresentRegionKHR::PresentRegionKHR ( VkPresentRegionKHR const &  rhs)
inline

Definition at line 7349 of file vulkan.hpp.

7350 {
7351 memcpy( this, &rhs, sizeof( PresentRegionKHR ) );
7352 }
#define memcpy
Definition: SDL_malloc.c:630
PresentRegionKHR(uint32_t rectangleCount_=0, const RectLayerKHR *pRectangles_=nullptr)
Definition: vulkan.hpp:7342

References memcpy.

Member Function Documentation

◆ operator VkPresentRegionKHR &()

VULKAN_HPP_NAMESPACE::PresentRegionKHR::operator VkPresentRegionKHR & ( )
inline

Definition at line 7376 of file vulkan.hpp.

7377 {
7378 return *reinterpret_cast<VkPresentRegionKHR*>(this);
7379 }

◆ operator VkPresentRegionKHR const &()

VULKAN_HPP_NAMESPACE::PresentRegionKHR::operator VkPresentRegionKHR const & ( ) const
inline

Definition at line 7371 of file vulkan.hpp.

7372 {
7373 return *reinterpret_cast<const VkPresentRegionKHR*>(this);
7374 }

◆ operator!=()

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

Definition at line 7387 of file vulkan.hpp.

7388 {
7389 return !operator==( rhs );
7390 }
bool operator==(PresentRegionKHR const &rhs) const
Definition: vulkan.hpp:7381

References operator==().

◆ operator=()

PresentRegionKHR & VULKAN_HPP_NAMESPACE::PresentRegionKHR::operator= ( VkPresentRegionKHR const &  rhs)
inline

Definition at line 7354 of file vulkan.hpp.

7355 {
7356 memcpy( this, &rhs, sizeof( PresentRegionKHR ) );
7357 return *this;
7358 }

References memcpy.

◆ operator==()

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

Definition at line 7381 of file vulkan.hpp.

7382 {
7383 return ( rectangleCount == rhs.rectangleCount )
7384 && ( pRectangles == rhs.pRectangles );
7385 }

References pRectangles, and rectangleCount.

Referenced by operator!=().

◆ setPRectangles()

PresentRegionKHR & VULKAN_HPP_NAMESPACE::PresentRegionKHR::setPRectangles ( const RectLayerKHR pRectangles_)
inline

Definition at line 7365 of file vulkan.hpp.

7366 {
7367 pRectangles = pRectangles_;
7368 return *this;
7369 }

References pRectangles.

◆ setRectangleCount()

PresentRegionKHR & VULKAN_HPP_NAMESPACE::PresentRegionKHR::setRectangleCount ( uint32_t  rectangleCount_)
inline

Definition at line 7359 of file vulkan.hpp.

7360 {
7361 rectangleCount = rectangleCount_;
7362 return *this;
7363 }

References rectangleCount.

Field Documentation

◆ pRectangles

const RectLayerKHR* VULKAN_HPP_NAMESPACE::PresentRegionKHR::pRectangles

Definition at line 7393 of file vulkan.hpp.

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

◆ rectangleCount

uint32_t VULKAN_HPP_NAMESPACE::PresentRegionKHR::rectangleCount

Definition at line 7392 of file vulkan.hpp.

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


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