SDL 2.0
VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX:

Public Member Functions

 IndirectCommandsTokenNVX (IndirectCommandsTokenTypeNVX tokenType_=IndirectCommandsTokenTypeNVX::ePipeline, Buffer buffer_=Buffer(), DeviceSize offset_=0)
 
 IndirectCommandsTokenNVX (VkIndirectCommandsTokenNVX const &rhs)
 
IndirectCommandsTokenNVXoperator= (VkIndirectCommandsTokenNVX const &rhs)
 
IndirectCommandsTokenNVXsetTokenType (IndirectCommandsTokenTypeNVX tokenType_)
 
IndirectCommandsTokenNVXsetBuffer (Buffer buffer_)
 
IndirectCommandsTokenNVXsetOffset (DeviceSize offset_)
 
 operator VkIndirectCommandsTokenNVX const & () const
 
 operator VkIndirectCommandsTokenNVX & ()
 
bool operator== (IndirectCommandsTokenNVX const &rhs) const
 
bool operator!= (IndirectCommandsTokenNVX const &rhs) const
 

Data Fields

IndirectCommandsTokenTypeNVX tokenType
 
Buffer buffer
 
DeviceSize offset
 

Detailed Description

Definition at line 30583 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ IndirectCommandsTokenNVX() [1/2]

VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::IndirectCommandsTokenNVX ( IndirectCommandsTokenTypeNVX  tokenType_ = IndirectCommandsTokenTypeNVX::ePipeline,
Buffer  buffer_ = Buffer(),
DeviceSize  offset_ = 0 
)
inline

Definition at line 30585 of file vulkan.hpp.

30588 : tokenType( tokenType_ )
30589 , buffer( buffer_ )
30590 , offset( offset_ )
30591 {
30592 }
IndirectCommandsTokenTypeNVX tokenType
Definition: vulkan.hpp:30644

◆ IndirectCommandsTokenNVX() [2/2]

VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::IndirectCommandsTokenNVX ( VkIndirectCommandsTokenNVX const &  rhs)
inline

Definition at line 30594 of file vulkan.hpp.

30595 {
30596 memcpy( this, &rhs, sizeof( IndirectCommandsTokenNVX ) );
30597 }
#define memcpy
Definition: SDL_malloc.c:630
IndirectCommandsTokenNVX(IndirectCommandsTokenTypeNVX tokenType_=IndirectCommandsTokenTypeNVX::ePipeline, Buffer buffer_=Buffer(), DeviceSize offset_=0)
Definition: vulkan.hpp:30585

References memcpy.

Member Function Documentation

◆ operator VkIndirectCommandsTokenNVX &()

VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::operator VkIndirectCommandsTokenNVX & ( )
inline

Definition at line 30627 of file vulkan.hpp.

30628 {
30629 return *reinterpret_cast<VkIndirectCommandsTokenNVX*>(this);
30630 }

◆ operator VkIndirectCommandsTokenNVX const &()

VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::operator VkIndirectCommandsTokenNVX const & ( ) const
inline

Definition at line 30622 of file vulkan.hpp.

30623 {
30624 return *reinterpret_cast<const VkIndirectCommandsTokenNVX*>(this);
30625 }

◆ operator!=()

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

Definition at line 30639 of file vulkan.hpp.

30640 {
30641 return !operator==( rhs );
30642 }
bool operator==(IndirectCommandsTokenNVX const &rhs) const
Definition: vulkan.hpp:30632

References operator==().

◆ operator=()

IndirectCommandsTokenNVX & VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::operator= ( VkIndirectCommandsTokenNVX const &  rhs)
inline

Definition at line 30599 of file vulkan.hpp.

30600 {
30601 memcpy( this, &rhs, sizeof( IndirectCommandsTokenNVX ) );
30602 return *this;
30603 }

References memcpy.

◆ operator==()

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

Definition at line 30632 of file vulkan.hpp.

30633 {
30634 return ( tokenType == rhs.tokenType )
30635 && ( buffer == rhs.buffer )
30636 && ( offset == rhs.offset );
30637 }
GLintptr offset
GLuint buffer

References buffer, offset, and tokenType.

Referenced by operator!=().

◆ setBuffer()

IndirectCommandsTokenNVX & VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::setBuffer ( Buffer  buffer_)
inline

Definition at line 30610 of file vulkan.hpp.

30611 {
30612 buffer = buffer_;
30613 return *this;
30614 }

◆ setOffset()

IndirectCommandsTokenNVX & VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::setOffset ( DeviceSize  offset_)
inline

Definition at line 30616 of file vulkan.hpp.

30617 {
30618 offset = offset_;
30619 return *this;
30620 }

◆ setTokenType()

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

Definition at line 30604 of file vulkan.hpp.

30605 {
30606 tokenType = tokenType_;
30607 return *this;
30608 }

References tokenType.

Field Documentation

◆ buffer

Buffer VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::buffer

Definition at line 30645 of file vulkan.hpp.

Referenced by operator==().

◆ offset

DeviceSize VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::offset

Definition at line 30646 of file vulkan.hpp.

Referenced by operator==().

◆ tokenType

IndirectCommandsTokenTypeNVX VULKAN_HPP_NAMESPACE::IndirectCommandsTokenNVX::tokenType

Definition at line 30644 of file vulkan.hpp.

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


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