SDL  2.0
VULKAN_HPP_NAMESPACE::SubmitInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SubmitInfo:

Public Member Functions

 SubmitInfo (uint32_t waitSemaphoreCount_=0, const Semaphore *pWaitSemaphores_=nullptr, const PipelineStageFlags *pWaitDstStageMask_=nullptr, uint32_t commandBufferCount_=0, const CommandBuffer *pCommandBuffers_=nullptr, uint32_t signalSemaphoreCount_=0, const Semaphore *pSignalSemaphores_=nullptr)
 
 SubmitInfo (VkSubmitInfo const &rhs)
 
SubmitInfooperator= (VkSubmitInfo const &rhs)
 
SubmitInfosetPNext (const void *pNext_)
 
SubmitInfosetWaitSemaphoreCount (uint32_t waitSemaphoreCount_)
 
SubmitInfosetPWaitSemaphores (const Semaphore *pWaitSemaphores_)
 
SubmitInfosetPWaitDstStageMask (const PipelineStageFlags *pWaitDstStageMask_)
 
SubmitInfosetCommandBufferCount (uint32_t commandBufferCount_)
 
SubmitInfosetPCommandBuffers (const CommandBuffer *pCommandBuffers_)
 
SubmitInfosetSignalSemaphoreCount (uint32_t signalSemaphoreCount_)
 
SubmitInfosetPSignalSemaphores (const Semaphore *pSignalSemaphores_)
 
 operator VkSubmitInfo const & () const
 
 operator VkSubmitInfo & ()
 
bool operator== (SubmitInfo const &rhs) const
 
bool operator!= (SubmitInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
uint32_t waitSemaphoreCount
 
const SemaphorepWaitSemaphores
 
const PipelineStageFlagspWaitDstStageMask
 
uint32_t commandBufferCount
 
const CommandBufferpCommandBuffers
 
uint32_t signalSemaphoreCount
 
const SemaphorepSignalSemaphores
 

Private Attributes

StructureType sType = StructureType::eSubmitInfo
 

Detailed Description

Definition at line 39529 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SubmitInfo() [1/2]

VULKAN_HPP_NAMESPACE::SubmitInfo::SubmitInfo ( uint32_t  waitSemaphoreCount_ = 0,
const Semaphore pWaitSemaphores_ = nullptr,
const PipelineStageFlags pWaitDstStageMask_ = nullptr,
uint32_t  commandBufferCount_ = 0,
const CommandBuffer pCommandBuffers_ = nullptr,
uint32_t  signalSemaphoreCount_ = 0,
const Semaphore pSignalSemaphores_ = nullptr 
)
inline

Definition at line 39531 of file vulkan.hpp.

39538  : waitSemaphoreCount( waitSemaphoreCount_ )
39539  , pWaitSemaphores( pWaitSemaphores_ )
39540  , pWaitDstStageMask( pWaitDstStageMask_ )
39541  , commandBufferCount( commandBufferCount_ )
39542  , pCommandBuffers( pCommandBuffers_ )
39543  , signalSemaphoreCount( signalSemaphoreCount_ )
39544  , pSignalSemaphores( pSignalSemaphores_ )
39545  {
39546  }

◆ SubmitInfo() [2/2]

VULKAN_HPP_NAMESPACE::SubmitInfo::SubmitInfo ( VkSubmitInfo const &  rhs)
inline

Definition at line 39548 of file vulkan.hpp.

39549  {
39550  memcpy( this, &rhs, sizeof( SubmitInfo ) );
39551  }

References memcpy.

Member Function Documentation

◆ operator VkSubmitInfo &()

VULKAN_HPP_NAMESPACE::SubmitInfo::operator VkSubmitInfo & ( )
inline

Definition at line 39611 of file vulkan.hpp.

39612  {
39613  return *reinterpret_cast<VkSubmitInfo*>(this);
39614  }

◆ operator VkSubmitInfo const &()

VULKAN_HPP_NAMESPACE::SubmitInfo::operator VkSubmitInfo const & ( ) const
inline

Definition at line 39606 of file vulkan.hpp.

39607  {
39608  return *reinterpret_cast<const VkSubmitInfo*>(this);
39609  }

◆ operator!=()

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

Definition at line 39629 of file vulkan.hpp.

39630  {
39631  return !operator==( rhs );
39632  }

References operator==().

◆ operator=()

SubmitInfo& VULKAN_HPP_NAMESPACE::SubmitInfo::operator= ( VkSubmitInfo const &  rhs)
inline

Definition at line 39553 of file vulkan.hpp.

39554  {
39555  memcpy( this, &rhs, sizeof( SubmitInfo ) );
39556  return *this;
39557  }

References memcpy.

◆ operator==()

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

Definition at line 39616 of file vulkan.hpp.

39617  {
39618  return ( sType == rhs.sType )
39619  && ( pNext == rhs.pNext )
39620  && ( waitSemaphoreCount == rhs.waitSemaphoreCount )
39621  && ( pWaitSemaphores == rhs.pWaitSemaphores )
39622  && ( pWaitDstStageMask == rhs.pWaitDstStageMask )
39623  && ( commandBufferCount == rhs.commandBufferCount )
39624  && ( pCommandBuffers == rhs.pCommandBuffers )
39625  && ( signalSemaphoreCount == rhs.signalSemaphoreCount )
39626  && ( pSignalSemaphores == rhs.pSignalSemaphores );
39627  }

References commandBufferCount, pCommandBuffers, pNext, pSignalSemaphores, pWaitDstStageMask, pWaitSemaphores, signalSemaphoreCount, sType, and waitSemaphoreCount.

Referenced by operator!=().

◆ setCommandBufferCount()

SubmitInfo& VULKAN_HPP_NAMESPACE::SubmitInfo::setCommandBufferCount ( uint32_t  commandBufferCount_)
inline

Definition at line 39582 of file vulkan.hpp.

39583  {
39584  commandBufferCount = commandBufferCount_;
39585  return *this;
39586  }

References commandBufferCount.

◆ setPCommandBuffers()

SubmitInfo& VULKAN_HPP_NAMESPACE::SubmitInfo::setPCommandBuffers ( const CommandBuffer pCommandBuffers_)
inline

Definition at line 39588 of file vulkan.hpp.

39589  {
39590  pCommandBuffers = pCommandBuffers_;
39591  return *this;
39592  }

References pCommandBuffers.

◆ setPNext()

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

Definition at line 39558 of file vulkan.hpp.

39559  {
39560  pNext = pNext_;
39561  return *this;
39562  }

References pNext.

◆ setPSignalSemaphores()

SubmitInfo& VULKAN_HPP_NAMESPACE::SubmitInfo::setPSignalSemaphores ( const Semaphore pSignalSemaphores_)
inline

Definition at line 39600 of file vulkan.hpp.

39601  {
39602  pSignalSemaphores = pSignalSemaphores_;
39603  return *this;
39604  }

References pSignalSemaphores.

◆ setPWaitDstStageMask()

SubmitInfo& VULKAN_HPP_NAMESPACE::SubmitInfo::setPWaitDstStageMask ( const PipelineStageFlags pWaitDstStageMask_)
inline

Definition at line 39576 of file vulkan.hpp.

39577  {
39578  pWaitDstStageMask = pWaitDstStageMask_;
39579  return *this;
39580  }

References pWaitDstStageMask.

◆ setPWaitSemaphores()

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

Definition at line 39570 of file vulkan.hpp.

39571  {
39572  pWaitSemaphores = pWaitSemaphores_;
39573  return *this;
39574  }

References pWaitSemaphores.

◆ setSignalSemaphoreCount()

SubmitInfo& VULKAN_HPP_NAMESPACE::SubmitInfo::setSignalSemaphoreCount ( uint32_t  signalSemaphoreCount_)
inline

Definition at line 39594 of file vulkan.hpp.

39595  {
39596  signalSemaphoreCount = signalSemaphoreCount_;
39597  return *this;
39598  }

References signalSemaphoreCount.

◆ setWaitSemaphoreCount()

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

Definition at line 39564 of file vulkan.hpp.

39565  {
39566  waitSemaphoreCount = waitSemaphoreCount_;
39567  return *this;
39568  }

References waitSemaphoreCount.

Field Documentation

◆ commandBufferCount

uint32_t VULKAN_HPP_NAMESPACE::SubmitInfo::commandBufferCount

Definition at line 39642 of file vulkan.hpp.

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

◆ pCommandBuffers

const CommandBuffer* VULKAN_HPP_NAMESPACE::SubmitInfo::pCommandBuffers

Definition at line 39643 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 39638 of file vulkan.hpp.

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

◆ pSignalSemaphores

const Semaphore* VULKAN_HPP_NAMESPACE::SubmitInfo::pSignalSemaphores

Definition at line 39645 of file vulkan.hpp.

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

◆ pWaitDstStageMask

const PipelineStageFlags* VULKAN_HPP_NAMESPACE::SubmitInfo::pWaitDstStageMask

Definition at line 39641 of file vulkan.hpp.

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

◆ pWaitSemaphores

const Semaphore* VULKAN_HPP_NAMESPACE::SubmitInfo::pWaitSemaphores

Definition at line 39640 of file vulkan.hpp.

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

◆ signalSemaphoreCount

uint32_t VULKAN_HPP_NAMESPACE::SubmitInfo::signalSemaphoreCount

Definition at line 39644 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::SubmitInfo::sType = StructureType::eSubmitInfo
private

Definition at line 39635 of file vulkan.hpp.

Referenced by operator==().

◆ waitSemaphoreCount

uint32_t VULKAN_HPP_NAMESPACE::SubmitInfo::waitSemaphoreCount

Definition at line 39639 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::SubmitInfo::pSignalSemaphores
const Semaphore * pSignalSemaphores
Definition: vulkan.hpp:39645
VULKAN_HPP_NAMESPACE::SubmitInfo::SubmitInfo
SubmitInfo(uint32_t waitSemaphoreCount_=0, const Semaphore *pWaitSemaphores_=nullptr, const PipelineStageFlags *pWaitDstStageMask_=nullptr, uint32_t commandBufferCount_=0, const CommandBuffer *pCommandBuffers_=nullptr, uint32_t signalSemaphoreCount_=0, const Semaphore *pSignalSemaphores_=nullptr)
Definition: vulkan.hpp:39531
VULKAN_HPP_NAMESPACE::SubmitInfo::pNext
const void * pNext
Definition: vulkan.hpp:39638
VULKAN_HPP_NAMESPACE::SubmitInfo::pWaitSemaphores
const Semaphore * pWaitSemaphores
Definition: vulkan.hpp:39640
VULKAN_HPP_NAMESPACE::SubmitInfo::operator==
bool operator==(SubmitInfo const &rhs) const
Definition: vulkan.hpp:39616
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::SubmitInfo::waitSemaphoreCount
uint32_t waitSemaphoreCount
Definition: vulkan.hpp:39639
VkSubmitInfo
Definition: vulkan_core.h:2059
VULKAN_HPP_NAMESPACE::SubmitInfo::pCommandBuffers
const CommandBuffer * pCommandBuffers
Definition: vulkan.hpp:39643
VULKAN_HPP_NAMESPACE::SubmitInfo::commandBufferCount
uint32_t commandBufferCount
Definition: vulkan.hpp:39642
VULKAN_HPP_NAMESPACE::SubmitInfo::signalSemaphoreCount
uint32_t signalSemaphoreCount
Definition: vulkan.hpp:39644
VULKAN_HPP_NAMESPACE::SubmitInfo::sType
StructureType sType
Definition: vulkan.hpp:39635
VULKAN_HPP_NAMESPACE::SubmitInfo::pWaitDstStageMask
const PipelineStageFlags * pWaitDstStageMask
Definition: vulkan.hpp:39641