SDL  2.0
VULKAN_HPP_NAMESPACE::PresentInfoKHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::PresentInfoKHR:

Public Member Functions

 PresentInfoKHR (uint32_t waitSemaphoreCount_=0, const Semaphore *pWaitSemaphores_=nullptr, uint32_t swapchainCount_=0, const SwapchainKHR *pSwapchains_=nullptr, const uint32_t *pImageIndices_=nullptr, Result *pResults_=nullptr)
 
 PresentInfoKHR (VkPresentInfoKHR const &rhs)
 
PresentInfoKHRoperator= (VkPresentInfoKHR const &rhs)
 
PresentInfoKHRsetPNext (const void *pNext_)
 
PresentInfoKHRsetWaitSemaphoreCount (uint32_t waitSemaphoreCount_)
 
PresentInfoKHRsetPWaitSemaphores (const Semaphore *pWaitSemaphores_)
 
PresentInfoKHRsetSwapchainCount (uint32_t swapchainCount_)
 
PresentInfoKHRsetPSwapchains (const SwapchainKHR *pSwapchains_)
 
PresentInfoKHRsetPImageIndices (const uint32_t *pImageIndices_)
 
PresentInfoKHRsetPResults (Result *pResults_)
 
 operator VkPresentInfoKHR const & () const
 
 operator VkPresentInfoKHR & ()
 
bool operator== (PresentInfoKHR const &rhs) const
 
bool operator!= (PresentInfoKHR const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
uint32_t waitSemaphoreCount
 
const SemaphorepWaitSemaphores
 
uint32_t swapchainCount
 
const SwapchainKHRpSwapchains
 
const uint32_tpImageIndices
 
ResultpResults
 

Private Attributes

StructureType sType = StructureType::ePresentInfoKHR
 

Detailed Description

Definition at line 21182 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PresentInfoKHR() [1/2]

VULKAN_HPP_NAMESPACE::PresentInfoKHR::PresentInfoKHR ( uint32_t  waitSemaphoreCount_ = 0,
const Semaphore pWaitSemaphores_ = nullptr,
uint32_t  swapchainCount_ = 0,
const SwapchainKHR pSwapchains_ = nullptr,
const uint32_t pImageIndices_ = nullptr,
Result pResults_ = nullptr 
)
inline

Definition at line 21184 of file vulkan.hpp.

21190  : waitSemaphoreCount( waitSemaphoreCount_ )
21191  , pWaitSemaphores( pWaitSemaphores_ )
21192  , swapchainCount( swapchainCount_ )
21193  , pSwapchains( pSwapchains_ )
21194  , pImageIndices( pImageIndices_ )
21195  , pResults( pResults_ )
21196  {
21197  }

◆ PresentInfoKHR() [2/2]

VULKAN_HPP_NAMESPACE::PresentInfoKHR::PresentInfoKHR ( VkPresentInfoKHR const &  rhs)
inline

Definition at line 21199 of file vulkan.hpp.

21200  {
21201  memcpy( this, &rhs, sizeof( PresentInfoKHR ) );
21202  }

References memcpy.

Member Function Documentation

◆ operator VkPresentInfoKHR &()

VULKAN_HPP_NAMESPACE::PresentInfoKHR::operator VkPresentInfoKHR & ( )
inline

Definition at line 21256 of file vulkan.hpp.

21257  {
21258  return *reinterpret_cast<VkPresentInfoKHR*>(this);
21259  }

◆ operator VkPresentInfoKHR const &()

VULKAN_HPP_NAMESPACE::PresentInfoKHR::operator VkPresentInfoKHR const & ( ) const
inline

Definition at line 21251 of file vulkan.hpp.

21252  {
21253  return *reinterpret_cast<const VkPresentInfoKHR*>(this);
21254  }

◆ operator!=()

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

Definition at line 21273 of file vulkan.hpp.

21274  {
21275  return !operator==( rhs );
21276  }

References operator==().

◆ operator=()

PresentInfoKHR& VULKAN_HPP_NAMESPACE::PresentInfoKHR::operator= ( VkPresentInfoKHR const &  rhs)
inline

Definition at line 21204 of file vulkan.hpp.

21205  {
21206  memcpy( this, &rhs, sizeof( PresentInfoKHR ) );
21207  return *this;
21208  }

References memcpy.

◆ operator==()

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

Definition at line 21261 of file vulkan.hpp.

21262  {
21263  return ( sType == rhs.sType )
21264  && ( pNext == rhs.pNext )
21265  && ( waitSemaphoreCount == rhs.waitSemaphoreCount )
21266  && ( pWaitSemaphores == rhs.pWaitSemaphores )
21267  && ( swapchainCount == rhs.swapchainCount )
21268  && ( pSwapchains == rhs.pSwapchains )
21269  && ( pImageIndices == rhs.pImageIndices )
21270  && ( pResults == rhs.pResults );
21271  }

References pImageIndices, pNext, pResults, pSwapchains, pWaitSemaphores, sType, swapchainCount, and waitSemaphoreCount.

Referenced by operator!=().

◆ setPImageIndices()

PresentInfoKHR& VULKAN_HPP_NAMESPACE::PresentInfoKHR::setPImageIndices ( const uint32_t pImageIndices_)
inline

Definition at line 21239 of file vulkan.hpp.

21240  {
21241  pImageIndices = pImageIndices_;
21242  return *this;
21243  }

References pImageIndices.

◆ setPNext()

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

Definition at line 21209 of file vulkan.hpp.

21210  {
21211  pNext = pNext_;
21212  return *this;
21213  }

References pNext.

◆ setPResults()

PresentInfoKHR& VULKAN_HPP_NAMESPACE::PresentInfoKHR::setPResults ( Result pResults_)
inline

Definition at line 21245 of file vulkan.hpp.

21246  {
21247  pResults = pResults_;
21248  return *this;
21249  }

References pResults.

◆ setPSwapchains()

PresentInfoKHR& VULKAN_HPP_NAMESPACE::PresentInfoKHR::setPSwapchains ( const SwapchainKHR pSwapchains_)
inline

Definition at line 21233 of file vulkan.hpp.

21234  {
21235  pSwapchains = pSwapchains_;
21236  return *this;
21237  }

References pSwapchains.

◆ setPWaitSemaphores()

PresentInfoKHR& VULKAN_HPP_NAMESPACE::PresentInfoKHR::setPWaitSemaphores ( const Semaphore pWaitSemaphores_)
inline

Definition at line 21221 of file vulkan.hpp.

21222  {
21223  pWaitSemaphores = pWaitSemaphores_;
21224  return *this;
21225  }

References pWaitSemaphores.

◆ setSwapchainCount()

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

Definition at line 21227 of file vulkan.hpp.

21228  {
21229  swapchainCount = swapchainCount_;
21230  return *this;
21231  }

References swapchainCount.

◆ setWaitSemaphoreCount()

PresentInfoKHR& VULKAN_HPP_NAMESPACE::PresentInfoKHR::setWaitSemaphoreCount ( uint32_t  waitSemaphoreCount_)
inline

Definition at line 21215 of file vulkan.hpp.

21216  {
21217  waitSemaphoreCount = waitSemaphoreCount_;
21218  return *this;
21219  }

References waitSemaphoreCount.

Field Documentation

◆ pImageIndices

const uint32_t* VULKAN_HPP_NAMESPACE::PresentInfoKHR::pImageIndices

Definition at line 21287 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 21282 of file vulkan.hpp.

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

◆ pResults

Result* VULKAN_HPP_NAMESPACE::PresentInfoKHR::pResults

Definition at line 21288 of file vulkan.hpp.

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

◆ pSwapchains

const SwapchainKHR* VULKAN_HPP_NAMESPACE::PresentInfoKHR::pSwapchains

Definition at line 21286 of file vulkan.hpp.

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

◆ pWaitSemaphores

const Semaphore* VULKAN_HPP_NAMESPACE::PresentInfoKHR::pWaitSemaphores

Definition at line 21284 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PresentInfoKHR::sType = StructureType::ePresentInfoKHR
private

Definition at line 21279 of file vulkan.hpp.

Referenced by operator==().

◆ swapchainCount

uint32_t VULKAN_HPP_NAMESPACE::PresentInfoKHR::swapchainCount

Definition at line 21285 of file vulkan.hpp.

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

◆ waitSemaphoreCount

uint32_t VULKAN_HPP_NAMESPACE::PresentInfoKHR::waitSemaphoreCount

Definition at line 21283 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::PresentInfoKHR::pSwapchains
const SwapchainKHR * pSwapchains
Definition: vulkan.hpp:21286
VULKAN_HPP_NAMESPACE::PresentInfoKHR::operator==
bool operator==(PresentInfoKHR const &rhs) const
Definition: vulkan.hpp:21261
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::PresentInfoKHR::swapchainCount
uint32_t swapchainCount
Definition: vulkan.hpp:21285
VULKAN_HPP_NAMESPACE::PresentInfoKHR::pWaitSemaphores
const Semaphore * pWaitSemaphores
Definition: vulkan.hpp:21284
VULKAN_HPP_NAMESPACE::PresentInfoKHR::PresentInfoKHR
PresentInfoKHR(uint32_t waitSemaphoreCount_=0, const Semaphore *pWaitSemaphores_=nullptr, uint32_t swapchainCount_=0, const SwapchainKHR *pSwapchains_=nullptr, const uint32_t *pImageIndices_=nullptr, Result *pResults_=nullptr)
Definition: vulkan.hpp:21184
VULKAN_HPP_NAMESPACE::PresentInfoKHR::waitSemaphoreCount
uint32_t waitSemaphoreCount
Definition: vulkan.hpp:21283
VULKAN_HPP_NAMESPACE::PresentInfoKHR::pNext
const void * pNext
Definition: vulkan.hpp:21282
VULKAN_HPP_NAMESPACE::PresentInfoKHR::pImageIndices
const uint32_t * pImageIndices
Definition: vulkan.hpp:21287
VULKAN_HPP_NAMESPACE::PresentInfoKHR::pResults
Result * pResults
Definition: vulkan.hpp:21288
VULKAN_HPP_NAMESPACE::PresentInfoKHR::sType
StructureType sType
Definition: vulkan.hpp:21279