SDL 2.0
VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand Struct Reference

#include <vulkan.hpp>

Public Member Functions

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

Data Fields

uint32_t indexCount
 
uint32_t instanceCount
 
uint32_t firstIndex
 
int32_t vertexOffset
 
uint32_t firstInstance
 

Detailed Description

Definition at line 6922 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DrawIndexedIndirectCommand() [1/2]

VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::DrawIndexedIndirectCommand ( uint32_t  indexCount_ = 0,
uint32_t  instanceCount_ = 0,
uint32_t  firstIndex_ = 0,
int32_t  vertexOffset_ = 0,
uint32_t  firstInstance_ = 0 
)
inline

Definition at line 6924 of file vulkan.hpp.

6929 : indexCount( indexCount_ )
6930 , instanceCount( instanceCount_ )
6931 , firstIndex( firstIndex_ )
6932 , vertexOffset( vertexOffset_ )
6933 , firstInstance( firstInstance_ )
6934 {
6935 }

◆ DrawIndexedIndirectCommand() [2/2]

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

Definition at line 6937 of file vulkan.hpp.

6938 {
6939 memcpy( this, &rhs, sizeof( DrawIndexedIndirectCommand ) );
6940 }
#define memcpy
Definition: SDL_malloc.c:630
DrawIndexedIndirectCommand(uint32_t indexCount_=0, uint32_t instanceCount_=0, uint32_t firstIndex_=0, int32_t vertexOffset_=0, uint32_t firstInstance_=0)
Definition: vulkan.hpp:6924

References memcpy.

Member Function Documentation

◆ operator VkDrawIndexedIndirectCommand &()

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

Definition at line 6982 of file vulkan.hpp.

6983 {
6984 return *reinterpret_cast<VkDrawIndexedIndirectCommand*>(this);
6985 }

◆ operator VkDrawIndexedIndirectCommand const &()

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

Definition at line 6977 of file vulkan.hpp.

6978 {
6979 return *reinterpret_cast<const VkDrawIndexedIndirectCommand*>(this);
6980 }

◆ operator!=()

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

Definition at line 6996 of file vulkan.hpp.

6997 {
6998 return !operator==( rhs );
6999 }
bool operator==(DrawIndexedIndirectCommand const &rhs) const
Definition: vulkan.hpp:6987

References operator==().

◆ operator=()

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

Definition at line 6942 of file vulkan.hpp.

6943 {
6944 memcpy( this, &rhs, sizeof( DrawIndexedIndirectCommand ) );
6945 return *this;
6946 }

References memcpy.

◆ operator==()

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

Definition at line 6987 of file vulkan.hpp.

6988 {
6989 return ( indexCount == rhs.indexCount )
6990 && ( instanceCount == rhs.instanceCount )
6991 && ( firstIndex == rhs.firstIndex )
6992 && ( vertexOffset == rhs.vertexOffset )
6993 && ( firstInstance == rhs.firstInstance );
6994 }

References firstIndex, firstInstance, indexCount, instanceCount, and vertexOffset.

Referenced by operator!=().

◆ setFirstIndex()

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

Definition at line 6959 of file vulkan.hpp.

6960 {
6961 firstIndex = firstIndex_;
6962 return *this;
6963 }

References firstIndex.

◆ setFirstInstance()

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

Definition at line 6971 of file vulkan.hpp.

6972 {
6973 firstInstance = firstInstance_;
6974 return *this;
6975 }

References firstInstance.

◆ setIndexCount()

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

Definition at line 6947 of file vulkan.hpp.

6948 {
6949 indexCount = indexCount_;
6950 return *this;
6951 }

References indexCount.

◆ setInstanceCount()

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

Definition at line 6953 of file vulkan.hpp.

6954 {
6955 instanceCount = instanceCount_;
6956 return *this;
6957 }

References instanceCount.

◆ setVertexOffset()

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

Definition at line 6965 of file vulkan.hpp.

6966 {
6967 vertexOffset = vertexOffset_;
6968 return *this;
6969 }

References vertexOffset.

Field Documentation

◆ firstIndex

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::firstIndex

Definition at line 7003 of file vulkan.hpp.

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

◆ firstInstance

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::firstInstance

Definition at line 7005 of file vulkan.hpp.

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

◆ indexCount

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::indexCount

Definition at line 7001 of file vulkan.hpp.

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

◆ instanceCount

uint32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::instanceCount

Definition at line 7002 of file vulkan.hpp.

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

◆ vertexOffset

int32_t VULKAN_HPP_NAMESPACE::DrawIndexedIndirectCommand::vertexOffset

Definition at line 7004 of file vulkan.hpp.

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


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