SDL  2.0
VULKAN_HPP_NAMESPACE::DrawIndirectCommand Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR DrawIndirectCommand (uint32_t vertexCount_={}, uint32_t instanceCount_={}, uint32_t firstVertex_={}, uint32_t firstInstance_={}) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR DrawIndirectCommand (DrawIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 DrawIndirectCommand (VkDrawIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT
 
DrawIndirectCommandoperator= (VkDrawIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT
 
DrawIndirectCommandoperator= (DrawIndirectCommand const &rhs) VULKAN_HPP_NOEXCEPT
 
DrawIndirectCommandsetVertexCount (uint32_t vertexCount_) VULKAN_HPP_NOEXCEPT
 
DrawIndirectCommandsetInstanceCount (uint32_t instanceCount_) VULKAN_HPP_NOEXCEPT
 
DrawIndirectCommandsetFirstVertex (uint32_t firstVertex_) VULKAN_HPP_NOEXCEPT
 
DrawIndirectCommandsetFirstInstance (uint32_t firstInstance_) VULKAN_HPP_NOEXCEPT
 
 operator VkDrawIndirectCommand const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkDrawIndirectCommand & () VULKAN_HPP_NOEXCEPT
 
bool operator== (DrawIndirectCommand const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (DrawIndirectCommand const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

uint32_t vertexCount = {}
 
uint32_t instanceCount = {}
 
uint32_t firstVertex = {}
 
uint32_t firstInstance = {}
 

Detailed Description

Definition at line 56411 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DrawIndirectCommand() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::DrawIndirectCommand::DrawIndirectCommand ( uint32_t  vertexCount_ = {},
uint32_t  instanceCount_ = {},
uint32_t  firstVertex_ = {},
uint32_t  firstInstance_ = {} 
)
inline

Definition at line 56416 of file vulkan.hpp.

56416  {}, uint32_t instanceCount_ = {}, uint32_t firstVertex_ = {}, uint32_t firstInstance_ = {}) VULKAN_HPP_NOEXCEPT
56417  : vertexCount( vertexCount_ ), instanceCount( instanceCount_ ), firstVertex( firstVertex_ ), firstInstance( firstInstance_ )
56418  {}
unsigned int uint32_t
#define VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:179

◆ DrawIndirectCommand() [2/3]

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

◆ DrawIndirectCommand() [3/3]

VULKAN_HPP_NAMESPACE::DrawIndirectCommand::DrawIndirectCommand ( VkDrawIndirectCommand const &  rhs)
inline

Definition at line 56422 of file vulkan.hpp.

56423  {
56424  *this = rhs;
56425  }

Member Function Documentation

◆ operator VkDrawIndirectCommand &()

VULKAN_HPP_NAMESPACE::DrawIndirectCommand::operator VkDrawIndirectCommand & ( )
inline

Definition at line 56470 of file vulkan.hpp.

56471  {
56472  return *reinterpret_cast<VkDrawIndirectCommand*>( this );
56473  }

◆ operator VkDrawIndirectCommand const &()

VULKAN_HPP_NAMESPACE::DrawIndirectCommand::operator VkDrawIndirectCommand const & ( ) const
inline

Definition at line 56465 of file vulkan.hpp.

56466  {
56467  return *reinterpret_cast<const VkDrawIndirectCommand*>( this );
56468  }

◆ operator!=()

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

Definition at line 56487 of file vulkan.hpp.

56488  {
56489  return !operator==( rhs );
56490  }
bool operator==(DrawIndirectCommand const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:56479

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

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

Definition at line 56434 of file vulkan.hpp.

56435  {
56436  memcpy( static_cast<void *>( this ), &rhs, sizeof( DrawIndirectCommand ) );
56437  return *this;
56438  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR DrawIndirectCommand(uint32_t vertexCount_={}, uint32_t instanceCount_={}, uint32_t firstVertex_={}, uint32_t firstInstance_={}) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:56416

References memcpy.

◆ operator=() [2/2]

DrawIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndirectCommand::operator= ( VkDrawIndirectCommand const &  rhs)
inline

Definition at line 56428 of file vulkan.hpp.

56429  {
56430  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::DrawIndirectCommand const *>( &rhs );
56431  return *this;
56432  }

◆ operator==()

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

Definition at line 56479 of file vulkan.hpp.

56480  {
56481  return ( vertexCount == rhs.vertexCount )
56482  && ( instanceCount == rhs.instanceCount )
56483  && ( firstVertex == rhs.firstVertex )
56484  && ( firstInstance == rhs.firstInstance );
56485  }

◆ setFirstInstance()

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

Definition at line 56458 of file vulkan.hpp.

56459  {
56460  firstInstance = firstInstance_;
56461  return *this;
56462  }

◆ setFirstVertex()

DrawIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndirectCommand::setFirstVertex ( uint32_t  firstVertex_)
inline

Definition at line 56452 of file vulkan.hpp.

56453  {
56454  firstVertex = firstVertex_;
56455  return *this;
56456  }

◆ setInstanceCount()

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

Definition at line 56446 of file vulkan.hpp.

56447  {
56448  instanceCount = instanceCount_;
56449  return *this;
56450  }

◆ setVertexCount()

DrawIndirectCommand& VULKAN_HPP_NAMESPACE::DrawIndirectCommand::setVertexCount ( uint32_t  vertexCount_)
inline

Definition at line 56440 of file vulkan.hpp.

56441  {
56442  vertexCount = vertexCount_;
56443  return *this;
56444  }

Field Documentation

◆ firstInstance

uint32_t VULKAN_HPP_NAMESPACE::DrawIndirectCommand::firstInstance = {}

Definition at line 56499 of file vulkan.hpp.

◆ firstVertex

uint32_t VULKAN_HPP_NAMESPACE::DrawIndirectCommand::firstVertex = {}

Definition at line 56498 of file vulkan.hpp.

◆ instanceCount

uint32_t VULKAN_HPP_NAMESPACE::DrawIndirectCommand::instanceCount = {}

Definition at line 56497 of file vulkan.hpp.

◆ vertexCount

uint32_t VULKAN_HPP_NAMESPACE::DrawIndirectCommand::vertexCount = {}

Definition at line 56496 of file vulkan.hpp.


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