SDL  2.0
VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR DrawIndexedIndirectCommand (uint32_t indexCount_={}, uint32_t instanceCount_={}, uint32_t firstIndex_={}, int32_t vertexOffset_={}, uint32_t firstInstance_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DrawIndexedIndirectCommand (DrawIndexedIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DrawIndexedIndirectCommand (VkDrawIndexedIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandoperator= (VkDrawIndexedIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandoperator= (DrawIndexedIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandsetIndexCount (uint32_t indexCount_) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandsetInstanceCount (uint32_t instanceCount_) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandsetFirstIndex (uint32_t firstIndex_) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandsetVertexOffset (int32_t vertexOffset_) VULKAN_HPP_NOEXCEPT
 
DrawIndexedIndirectCommandsetFirstInstance (uint32_t firstInstance_) VULKAN_HPP_NOEXCEPT
 
 operator VkDrawIndexedIndirectCommand const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDrawIndexedIndirectCommand & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DrawIndexedIndirectCommand const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DrawIndexedIndirectCommand const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

uint32_t indexCount = {}
 
uint32_t instanceCount = {}
 
uint32_t firstIndex = {}
 
int32_t vertexOffset = {}
 
uint32_t firstInstance = {}
 

Detailed Description

Definition at line 56309 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DrawIndexedIndirectCommand() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::DrawIndexedIndirectCommand ( uint32_t  indexCount_ = {},
uint32_t  instanceCount_ = {},
uint32_t  firstIndex_ = {},
int32_t  vertexOffset_ = {},
uint32_t  firstInstance_ = {} 
)
inline

Definition at line 56314 of file vulkan.hpp.

56314  {}, uint32_t instanceCount_ = {}, uint32_t firstIndex_ = {}, int32_t vertexOffset_ = {}, uint32_t firstInstance_ = {}) VULKAN_HPP_NOEXCEPT
56315  : indexCount( indexCount_ ), instanceCount( instanceCount_ ), firstIndex( firstIndex_ ), vertexOffset( vertexOffset_ ), firstInstance( firstInstance_ )
56316  {}
unsigned int uint32_t
signed int int32_t
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DrawIndexedIndirectCommand() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::DrawIndexedIndirectCommand ( DrawIndexedIndirectCommand const &  rhs)
default

◆ DrawIndexedIndirectCommand() [3/3]

VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::DrawIndexedIndirectCommand ( VkDrawIndexedIndirectCommand const &  rhs)
inline

Definition at line 56320 of file vulkan.hpp.

56321  {
56322  *this = rhs;
56323  }

Member Function Documentation

◆ operator VkDrawIndexedIndirectCommand &()

VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::operator VkDrawIndexedIndirectCommand & ( )
inline

Definition at line 56374 of file vulkan.hpp.

56375  {
56376  return *reinterpret_cast<VkDrawIndexedIndirectCommand*>( this );
56377  }

◆ operator VkDrawIndexedIndirectCommand const &()

VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::operator VkDrawIndexedIndirectCommand const & ( ) const
inline

Definition at line 56369 of file vulkan.hpp.

56370  {
56371  return *reinterpret_cast<const VkDrawIndexedIndirectCommand*>( this );
56372  }

◆ operator!=()

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

Definition at line 56392 of file vulkan.hpp.

56393  {
56394  return !operator==( rhs );
56395  }
bool operator==(DrawIndexedIndirectCommand const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:56383

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::operator= ( DrawIndexedIndirectCommand const &  rhs)
inline

Definition at line 56332 of file vulkan.hpp.

56333  {
56334  memcpy( static_cast<void *>( this ), &rhs, sizeof( DrawIndexedIndirectCommand ) );
56335  return *this;
56336  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DrawIndexedIndirectCommand(uint32_t indexCount_={}, uint32_t instanceCount_={}, uint32_t firstIndex_={}, int32_t vertexOffset_={}, uint32_t firstInstance_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:56314

References memcpy.

◆ operator=() [2/2]

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::operator= ( VkDrawIndexedIndirectCommand const &  rhs)
inline

Definition at line 56326 of file vulkan.hpp.

56327  {
56328  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand const *>( &rhs );
56329  return *this;
56330  }

◆ operator==()

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

Definition at line 56383 of file vulkan.hpp.

56384  {
56385  return ( indexCount == rhs.indexCount )
56386  && ( instanceCount == rhs.instanceCount )
56387  && ( firstIndex == rhs.firstIndex )
56388  && ( vertexOffset == rhs.vertexOffset )
56389  && ( firstInstance == rhs.firstInstance );
56390  }

◆ setFirstIndex()

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::setFirstIndex ( uint32_t  firstIndex_)
inline

Definition at line 56350 of file vulkan.hpp.

56351  {
56352  firstIndex = firstIndex_;
56353  return *this;
56354  }

◆ setFirstInstance()

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::setFirstInstance ( uint32_t  firstInstance_)
inline

Definition at line 56362 of file vulkan.hpp.

56363  {
56364  firstInstance = firstInstance_;
56365  return *this;
56366  }

◆ setIndexCount()

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::setIndexCount ( uint32_t  indexCount_)
inline

Definition at line 56338 of file vulkan.hpp.

56339  {
56340  indexCount = indexCount_;
56341  return *this;
56342  }

◆ setInstanceCount()

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::setInstanceCount ( uint32_t  instanceCount_)
inline

Definition at line 56344 of file vulkan.hpp.

56345  {
56346  instanceCount = instanceCount_;
56347  return *this;
56348  }

◆ setVertexOffset()

DrawIndexedIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::setVertexOffset ( int32_t  vertexOffset_)
inline

Definition at line 56356 of file vulkan.hpp.

56357  {
56358  vertexOffset = vertexOffset_;
56359  return *this;
56360  }

Field Documentation

◆ firstIndex

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::firstIndex = {}

Definition at line 56403 of file vulkan.hpp.

◆ firstInstance

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::firstInstance = {}

Definition at line 56405 of file vulkan.hpp.

◆ indexCount

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::indexCount = {}

Definition at line 56401 of file vulkan.hpp.

◆ instanceCount

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::instanceCount = {}

Definition at line 56402 of file vulkan.hpp.

◆ vertexOffset

int32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::vertexOffset = {}

Definition at line 56404 of file vulkan.hpp.


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