SDL 2.0
VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures Struct Reference

#include <vulkan.hpp>

Public Member Functions

 PhysicalDeviceShaderDrawParameterFeatures (Bool32 shaderDrawParameters_=0)
 
 PhysicalDeviceShaderDrawParameterFeatures (VkPhysicalDeviceShaderDrawParameterFeatures const &rhs)
 
PhysicalDeviceShaderDrawParameterFeaturesoperator= (VkPhysicalDeviceShaderDrawParameterFeatures const &rhs)
 
PhysicalDeviceShaderDrawParameterFeaturessetPNext (void *pNext_)
 
PhysicalDeviceShaderDrawParameterFeaturessetShaderDrawParameters (Bool32 shaderDrawParameters_)
 
 operator VkPhysicalDeviceShaderDrawParameterFeatures const & () const
 
 operator VkPhysicalDeviceShaderDrawParameterFeatures & ()
 
bool operator== (PhysicalDeviceShaderDrawParameterFeatures const &rhs) const
 
bool operator!= (PhysicalDeviceShaderDrawParameterFeatures const &rhs) const
 

Data Fields

voidpNext = nullptr
 
Bool32 shaderDrawParameters
 

Private Attributes

StructureType sType = StructureType::ePhysicalDeviceShaderDrawParameterFeatures
 

Detailed Description

Definition at line 17326 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ PhysicalDeviceShaderDrawParameterFeatures() [1/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::PhysicalDeviceShaderDrawParameterFeatures ( Bool32  shaderDrawParameters_ = 0)
inline

Definition at line 17328 of file vulkan.hpp.

17329 : shaderDrawParameters( shaderDrawParameters_ )
17330 {
17331 }

◆ PhysicalDeviceShaderDrawParameterFeatures() [2/2]

VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::PhysicalDeviceShaderDrawParameterFeatures ( VkPhysicalDeviceShaderDrawParameterFeatures const &  rhs)
inline

Definition at line 17333 of file vulkan.hpp.

17334 {
17335 memcpy( this, &rhs, sizeof( PhysicalDeviceShaderDrawParameterFeatures ) );
17336 }
#define memcpy
Definition: SDL_malloc.c:630
PhysicalDeviceShaderDrawParameterFeatures(Bool32 shaderDrawParameters_=0)
Definition: vulkan.hpp:17328

References memcpy.

Member Function Documentation

◆ operator VkPhysicalDeviceShaderDrawParameterFeatures &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::operator VkPhysicalDeviceShaderDrawParameterFeatures & ( )
inline

Definition at line 17360 of file vulkan.hpp.

17361 {
17362 return *reinterpret_cast<VkPhysicalDeviceShaderDrawParameterFeatures*>(this);
17363 }

◆ operator VkPhysicalDeviceShaderDrawParameterFeatures const &()

VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::operator VkPhysicalDeviceShaderDrawParameterFeatures const & ( ) const
inline

Definition at line 17355 of file vulkan.hpp.

17356 {
17357 return *reinterpret_cast<const VkPhysicalDeviceShaderDrawParameterFeatures*>(this);
17358 }

◆ operator!=()

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

Definition at line 17372 of file vulkan.hpp.

17373 {
17374 return !operator==( rhs );
17375 }
bool operator==(PhysicalDeviceShaderDrawParameterFeatures const &rhs) const
Definition: vulkan.hpp:17365

References operator==().

◆ operator=()

PhysicalDeviceShaderDrawParameterFeatures & VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::operator= ( VkPhysicalDeviceShaderDrawParameterFeatures const &  rhs)
inline

Definition at line 17338 of file vulkan.hpp.

17339 {
17340 memcpy( this, &rhs, sizeof( PhysicalDeviceShaderDrawParameterFeatures ) );
17341 return *this;
17342 }

References memcpy.

◆ operator==()

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

Definition at line 17365 of file vulkan.hpp.

17366 {
17367 return ( sType == rhs.sType )
17368 && ( pNext == rhs.pNext )
17369 && ( shaderDrawParameters == rhs.shaderDrawParameters );
17370 }

References pNext, shaderDrawParameters, and sType.

Referenced by operator!=().

◆ setPNext()

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

Definition at line 17343 of file vulkan.hpp.

17344 {
17345 pNext = pNext_;
17346 return *this;
17347 }

References pNext.

◆ setShaderDrawParameters()

PhysicalDeviceShaderDrawParameterFeatures & VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::setShaderDrawParameters ( Bool32  shaderDrawParameters_)
inline

Definition at line 17349 of file vulkan.hpp.

17350 {
17351 shaderDrawParameters = shaderDrawParameters_;
17352 return *this;
17353 }

References shaderDrawParameters.

Field Documentation

◆ pNext

void* VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::pNext = nullptr

Definition at line 17381 of file vulkan.hpp.

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

◆ shaderDrawParameters

Bool32 VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::shaderDrawParameters

Definition at line 17382 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::PhysicalDeviceShaderDrawParameterFeatures::sType = StructureType::ePhysicalDeviceShaderDrawParameterFeatures
private

Definition at line 17378 of file vulkan.hpp.

Referenced by operator==().


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