SDL  2.0
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX Struct Reference

#include <vulkan.hpp>

Public Member Functions

 IndirectCommandsLayoutTokenNVX (IndirectCommandsTokenTypeNVX tokenType_=IndirectCommandsTokenTypeNVX::ePipeline, uint32_t bindingUnit_=0, uint32_t dynamicCount_=0, uint32_t divisor_=0)
 
 IndirectCommandsLayoutTokenNVX (VkIndirectCommandsLayoutTokenNVX const &rhs)
 
IndirectCommandsLayoutTokenNVXoperator= (VkIndirectCommandsLayoutTokenNVX const &rhs)
 
IndirectCommandsLayoutTokenNVXsetTokenType (IndirectCommandsTokenTypeNVX tokenType_)
 
IndirectCommandsLayoutTokenNVXsetBindingUnit (uint32_t bindingUnit_)
 
IndirectCommandsLayoutTokenNVXsetDynamicCount (uint32_t dynamicCount_)
 
IndirectCommandsLayoutTokenNVXsetDivisor (uint32_t divisor_)
 
 operator VkIndirectCommandsLayoutTokenNVX const & () const
 
 operator VkIndirectCommandsLayoutTokenNVX & ()
 
bool operator== (IndirectCommandsLayoutTokenNVX const &rhs) const
 
bool operator!= (IndirectCommandsLayoutTokenNVX const &rhs) const
 

Data Fields

IndirectCommandsTokenTypeNVX tokenType
 
uint32_t bindingUnit
 
uint32_t dynamicCount
 
uint32_t divisor
 

Detailed Description

Definition at line 30650 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ IndirectCommandsLayoutTokenNVX() [1/2]

VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::IndirectCommandsLayoutTokenNVX ( IndirectCommandsTokenTypeNVX  tokenType_ = IndirectCommandsTokenTypeNVX::ePipeline,
uint32_t  bindingUnit_ = 0,
uint32_t  dynamicCount_ = 0,
uint32_t  divisor_ = 0 
)
inline

Definition at line 30652 of file vulkan.hpp.

30656  : tokenType( tokenType_ )
30657  , bindingUnit( bindingUnit_ )
30658  , dynamicCount( dynamicCount_ )
30659  , divisor( divisor_ )
30660  {
30661  }

◆ IndirectCommandsLayoutTokenNVX() [2/2]

VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::IndirectCommandsLayoutTokenNVX ( VkIndirectCommandsLayoutTokenNVX const &  rhs)
inline

Definition at line 30663 of file vulkan.hpp.

30664  {
30665  memcpy( this, &rhs, sizeof( IndirectCommandsLayoutTokenNVX ) );
30666  }

References memcpy.

Member Function Documentation

◆ operator VkIndirectCommandsLayoutTokenNVX &()

VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::operator VkIndirectCommandsLayoutTokenNVX & ( )
inline

Definition at line 30702 of file vulkan.hpp.

30703  {
30704  return *reinterpret_cast<VkIndirectCommandsLayoutTokenNVX*>(this);
30705  }

◆ operator VkIndirectCommandsLayoutTokenNVX const &()

VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::operator VkIndirectCommandsLayoutTokenNVX const & ( ) const
inline

Definition at line 30697 of file vulkan.hpp.

30698  {
30699  return *reinterpret_cast<const VkIndirectCommandsLayoutTokenNVX*>(this);
30700  }

◆ operator!=()

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

Definition at line 30715 of file vulkan.hpp.

30716  {
30717  return !operator==( rhs );
30718  }

References operator==().

◆ operator=()

IndirectCommandsLayoutTokenNVX& VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::operator= ( VkIndirectCommandsLayoutTokenNVX const &  rhs)
inline

Definition at line 30668 of file vulkan.hpp.

30669  {
30670  memcpy( this, &rhs, sizeof( IndirectCommandsLayoutTokenNVX ) );
30671  return *this;
30672  }

References memcpy.

◆ operator==()

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

Definition at line 30707 of file vulkan.hpp.

30708  {
30709  return ( tokenType == rhs.tokenType )
30710  && ( bindingUnit == rhs.bindingUnit )
30711  && ( dynamicCount == rhs.dynamicCount )
30712  && ( divisor == rhs.divisor );
30713  }

References bindingUnit, divisor, dynamicCount, and tokenType.

Referenced by operator!=().

◆ setBindingUnit()

IndirectCommandsLayoutTokenNVX& VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::setBindingUnit ( uint32_t  bindingUnit_)
inline

Definition at line 30679 of file vulkan.hpp.

30680  {
30681  bindingUnit = bindingUnit_;
30682  return *this;
30683  }

References bindingUnit.

◆ setDivisor()

IndirectCommandsLayoutTokenNVX& VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::setDivisor ( uint32_t  divisor_)
inline

Definition at line 30691 of file vulkan.hpp.

30692  {
30693  divisor = divisor_;
30694  return *this;
30695  }

◆ setDynamicCount()

IndirectCommandsLayoutTokenNVX& VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::setDynamicCount ( uint32_t  dynamicCount_)
inline

Definition at line 30685 of file vulkan.hpp.

30686  {
30687  dynamicCount = dynamicCount_;
30688  return *this;
30689  }

References dynamicCount.

◆ setTokenType()

IndirectCommandsLayoutTokenNVX& VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::setTokenType ( IndirectCommandsTokenTypeNVX  tokenType_)
inline

Definition at line 30673 of file vulkan.hpp.

30674  {
30675  tokenType = tokenType_;
30676  return *this;
30677  }

References tokenType.

Field Documentation

◆ bindingUnit

uint32_t VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::bindingUnit

Definition at line 30721 of file vulkan.hpp.

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

◆ divisor

uint32_t VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::divisor

Definition at line 30723 of file vulkan.hpp.

Referenced by operator==().

◆ dynamicCount

uint32_t VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::dynamicCount

Definition at line 30722 of file vulkan.hpp.

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

◆ tokenType

IndirectCommandsTokenTypeNVX VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::tokenType

Definition at line 30720 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
divisor
GLuint divisor
Definition: SDL_opengl_glext.h:1554
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::tokenType
IndirectCommandsTokenTypeNVX tokenType
Definition: vulkan.hpp:30720
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::IndirectCommandsLayoutTokenNVX
IndirectCommandsLayoutTokenNVX(IndirectCommandsTokenTypeNVX tokenType_=IndirectCommandsTokenTypeNVX::ePipeline, uint32_t bindingUnit_=0, uint32_t dynamicCount_=0, uint32_t divisor_=0)
Definition: vulkan.hpp:30652
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::dynamicCount
uint32_t dynamicCount
Definition: vulkan.hpp:30722
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::operator==
bool operator==(IndirectCommandsLayoutTokenNVX const &rhs) const
Definition: vulkan.hpp:30707
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::divisor
uint32_t divisor
Definition: vulkan.hpp:30723
VULKAN_HPP_NAMESPACE::IndirectCommandsLayoutTokenNVX::bindingUnit
uint32_t bindingUnit
Definition: vulkan.hpp:30721