SDL  2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceMeshShaderFeaturesNV (Bool32 taskShader_=0, Bool32 meshShader_=0)
 
 PhysicalDeviceMeshShaderFeaturesNV (VkPhysicalDeviceMeshShaderFeaturesNV const &rhs)
 
PhysicalDeviceMeshShaderFeaturesNVoperator= (VkPhysicalDeviceMeshShaderFeaturesNV const &rhs)
 
PhysicalDeviceMeshShaderFeaturesNVsetPNext (void *pNext_)
 
PhysicalDeviceMeshShaderFeaturesNVsetTaskShader (Bool32 taskShader_)
 
PhysicalDeviceMeshShaderFeaturesNVsetMeshShader (Bool32 meshShader_)
 
 operator VkPhysicalDeviceMeshShaderFeaturesNV const & () const
 
 operator VkPhysicalDeviceMeshShaderFeaturesNV & ()
 
bool operator== (PhysicalDeviceMeshShaderFeaturesNV const &rhs) const
 
bool operator!= (PhysicalDeviceMeshShaderFeaturesNV const &rhs) const
 

Data Fields

voidpNext = nullptr
 
Bool32 taskShader
 
Bool32 meshShader
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceMeshShaderFeaturesNV
 

Detailed Description

Definition at line 19986 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceMeshShaderFeaturesNV() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::PhysicalDeviceMeshShaderFeaturesNV ( Bool32  taskShader_ = 0,
Bool32  meshShader_ = 0 
)
inline

Definition at line 19988 of file vulkan.hpp.

19990  : taskShader( taskShader_ )
19991  , meshShader( meshShader_ )
19992  {
19993  }

◆ PhysicalDeviceMeshShaderFeaturesNV() [2/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::PhysicalDeviceMeshShaderFeaturesNV ( VkPhysicalDeviceMeshShaderFeaturesNV const &  rhs)
inline

Definition at line 19995 of file vulkan.hpp.

19996  {
19997  memcpy( this, &rhs, sizeof( PhysicalDeviceMeshShaderFeaturesNV ) );
19998  }

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceMeshShaderFeaturesNV &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::operator VkPhysicalDeviceMeshShaderFeaturesNV & ( )
inline

Definition at line 20028 of file vulkan.hpp.

20029  {
20030  return *reinterpret_cast<VkPhysicalDeviceMeshShaderFeaturesNV*>(this);
20031  }

◆ operator VkPhysicalDeviceMeshShaderFeaturesNV const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::operator VkPhysicalDeviceMeshShaderFeaturesNV const & ( ) const
inline

Definition at line 20023 of file vulkan.hpp.

20024  {
20025  return *reinterpret_cast<const VkPhysicalDeviceMeshShaderFeaturesNV*>(this);
20026  }

◆ operator!=()

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

Definition at line 20041 of file vulkan.hpp.

20042  {
20043  return !operator==( rhs );
20044  }

References operator==().

◆ operator=()

PhysicalDeviceMeshShaderFeaturesNV& VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::operator= ( VkPhysicalDeviceMeshShaderFeaturesNV const &  rhs)
inline

Definition at line 20000 of file vulkan.hpp.

20001  {
20002  memcpy( this, &rhs, sizeof( PhysicalDeviceMeshShaderFeaturesNV ) );
20003  return *this;
20004  }

References memcpy.

◆ operator==()

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

Definition at line 20033 of file vulkan.hpp.

20034  {
20035  return ( sType == rhs.sType )
20036  && ( pNext == rhs.pNext )
20037  && ( taskShader == rhs.taskShader )
20038  && ( meshShader == rhs.meshShader );
20039  }

References meshShader, pNext, sType, and taskShader.

Referenced by operator!=().

◆ setMeshShader()

PhysicalDeviceMeshShaderFeaturesNV& VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::setMeshShader ( Bool32  meshShader_)
inline

Definition at line 20017 of file vulkan.hpp.

20018  {
20019  meshShader = meshShader_;
20020  return *this;
20021  }

References meshShader.

◆ setPNext()

PhysicalDeviceMeshShaderFeaturesNV& VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::setPNext ( void pNext_)
inline

Definition at line 20005 of file vulkan.hpp.

20006  {
20007  pNext = pNext_;
20008  return *this;
20009  }

References pNext.

◆ setTaskShader()

PhysicalDeviceMeshShaderFeaturesNV& VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::setTaskShader ( Bool32  taskShader_)
inline

Definition at line 20011 of file vulkan.hpp.

20012  {
20013  taskShader = taskShader_;
20014  return *this;
20015  }

References taskShader.

Field Documentation

◆ meshShader

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::meshShader

Definition at line 20052 of file vulkan.hpp.

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

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::pNext = nullptr

Definition at line 20050 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::sType = StructureType::ePhysicalDeviceMeshShaderFeaturesNV
private

Definition at line 20047 of file vulkan.hpp.

Referenced by operator==().

◆ taskShader

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::taskShader

Definition at line 20051 of file vulkan.hpp.

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


The documentation for this struct was generated from the following file:
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::PhysicalDeviceMeshShaderFeaturesNV
PhysicalDeviceMeshShaderFeaturesNV(Bool32 taskShader_=0, Bool32 meshShader_=0)
Definition: vulkan.hpp:19988
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::pNext
void * pNext
Definition: vulkan.hpp:20050
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::operator==
bool operator==(PhysicalDeviceMeshShaderFeaturesNV const &rhs) const
Definition: vulkan.hpp:20033
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::meshShader
Bool32 meshShader
Definition: vulkan.hpp:20052
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::sType
StructureType sType
Definition: vulkan.hpp:20047
VULKAN_HPP_NAMESPACE::PhysicalDeviceMeshShaderFeaturesNV::taskShader
Bool32 taskShader
Definition: vulkan.hpp:20051