SDL  2.0
VULKAN_HPP_NAMESPACE::DispatchIndirectCommand Struct Reference

#include <vulkan.hpp>

Public Member Functions

 DispatchIndirectCommand (uint32_t x_=0, uint32_t y_=0, uint32_t z_=0)
 
 DispatchIndirectCommand (VkDispatchIndirectCommand const &rhs)
 
DispatchIndirectCommandoperator= (VkDispatchIndirectCommand const &rhs)
 
DispatchIndirectCommandsetX (uint32_t x_)
 
DispatchIndirectCommandsetY (uint32_t y_)
 
DispatchIndirectCommandsetZ (uint32_t z_)
 
 operator VkDispatchIndirectCommand const & () const
 
 operator VkDispatchIndirectCommand & ()
 
bool operator== (DispatchIndirectCommand const &rhs) const
 
bool operator!= (DispatchIndirectCommand const &rhs) const
 

Data Fields

uint32_t x
 
uint32_t y
 
uint32_t z
 

Detailed Description

Definition at line 7009 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ DispatchIndirectCommand() [1/2]

VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::DispatchIndirectCommand ( uint32_t  x_ = 0,
uint32_t  y_ = 0,
uint32_t  z_ = 0 
)
inline

Definition at line 7011 of file vulkan.hpp.

7014  : x( x_ )
7015  , y( y_ )
7016  , z( z_ )
7017  {
7018  }

◆ DispatchIndirectCommand() [2/2]

VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::DispatchIndirectCommand ( VkDispatchIndirectCommand const &  rhs)
inline

Definition at line 7020 of file vulkan.hpp.

7021  {
7022  memcpy( this, &rhs, sizeof( DispatchIndirectCommand ) );
7023  }

References memcpy.

Member Function Documentation

◆ operator VkDispatchIndirectCommand &()

VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::operator VkDispatchIndirectCommand & ( )
inline

Definition at line 7053 of file vulkan.hpp.

7054  {
7055  return *reinterpret_cast<VkDispatchIndirectCommand*>(this);
7056  }

◆ operator VkDispatchIndirectCommand const &()

VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::operator VkDispatchIndirectCommand const & ( ) const
inline

Definition at line 7048 of file vulkan.hpp.

7049  {
7050  return *reinterpret_cast<const VkDispatchIndirectCommand*>(this);
7051  }

◆ operator!=()

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

Definition at line 7065 of file vulkan.hpp.

7066  {
7067  return !operator==( rhs );
7068  }

References operator==().

◆ operator=()

DispatchIndirectCommand& VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::operator= ( VkDispatchIndirectCommand const &  rhs)
inline

Definition at line 7025 of file vulkan.hpp.

7026  {
7027  memcpy( this, &rhs, sizeof( DispatchIndirectCommand ) );
7028  return *this;
7029  }

References memcpy.

◆ operator==()

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

Definition at line 7058 of file vulkan.hpp.

7059  {
7060  return ( x == rhs.x )
7061  && ( y == rhs.y )
7062  && ( z == rhs.z );
7063  }

References x, y, and z.

Referenced by operator!=().

◆ setX()

DispatchIndirectCommand& VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::setX ( uint32_t  x_)
inline

Definition at line 7030 of file vulkan.hpp.

7031  {
7032  x = x_;
7033  return *this;
7034  }

◆ setY()

DispatchIndirectCommand& VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::setY ( uint32_t  y_)
inline

Definition at line 7036 of file vulkan.hpp.

7037  {
7038  y = y_;
7039  return *this;
7040  }

◆ setZ()

DispatchIndirectCommand& VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::setZ ( uint32_t  z_)
inline

Definition at line 7042 of file vulkan.hpp.

7043  {
7044  z = z_;
7045  return *this;
7046  }

Field Documentation

◆ x

uint32_t VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::x

Definition at line 7070 of file vulkan.hpp.

Referenced by operator==().

◆ y

uint32_t VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::y

Definition at line 7071 of file vulkan.hpp.

Referenced by operator==().

◆ z

uint32_t VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::z

Definition at line 7072 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::y
uint32_t y
Definition: vulkan.hpp:7071
z
GLdouble GLdouble z
Definition: SDL_opengl_glext.h:407
VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::x
uint32_t x
Definition: vulkan.hpp:7070
memcpy
#define memcpy
Definition: SDL_malloc.c:630
x
GLint GLint GLint GLint GLint x
Definition: SDL_opengl.h:1574
VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::operator==
bool operator==(DispatchIndirectCommand const &rhs) const
Definition: vulkan.hpp:7058
VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::z
uint32_t z
Definition: vulkan.hpp:7072
y
GLint GLint GLint GLint GLint GLint y
Definition: SDL_opengl.h:1574
VkDispatchIndirectCommand
Definition: vulkan_core.h:2818
VULKAN_HPP_NAMESPACE::DispatchIndirectCommand::DispatchIndirectCommand
DispatchIndirectCommand(uint32_t x_=0, uint32_t y_=0, uint32_t z_=0)
Definition: vulkan.hpp:7011