SDL  2.0
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT Struct Reference

#include <vulkan.hpp>

Public Member Functions

 SamplerReductionModeCreateInfoEXT (SamplerReductionModeEXT reductionMode_=SamplerReductionModeEXT::eWeightedAverage)
 
 SamplerReductionModeCreateInfoEXT (VkSamplerReductionModeCreateInfoEXT const &rhs)
 
SamplerReductionModeCreateInfoEXToperator= (VkSamplerReductionModeCreateInfoEXT const &rhs)
 
SamplerReductionModeCreateInfoEXTsetPNext (const void *pNext_)
 
SamplerReductionModeCreateInfoEXTsetReductionMode (SamplerReductionModeEXT reductionMode_)
 
 operator VkSamplerReductionModeCreateInfoEXT const & () const
 
 operator VkSamplerReductionModeCreateInfoEXT & ()
 
bool operator== (SamplerReductionModeCreateInfoEXT const &rhs) const
 
bool operator!= (SamplerReductionModeCreateInfoEXT const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
SamplerReductionModeEXT reductionMode
 

Private Attributes

StructureType sType = StructureType::eSamplerReductionModeCreateInfoEXT
 

Detailed Description

Definition at line 35393 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SamplerReductionModeCreateInfoEXT() [1/2]

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::SamplerReductionModeCreateInfoEXT ( SamplerReductionModeEXT  reductionMode_ = SamplerReductionModeEXT::eWeightedAverage)
inline

Definition at line 35395 of file vulkan.hpp.

35396  : reductionMode( reductionMode_ )
35397  {
35398  }

◆ SamplerReductionModeCreateInfoEXT() [2/2]

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::SamplerReductionModeCreateInfoEXT ( VkSamplerReductionModeCreateInfoEXT const &  rhs)
inline

Definition at line 35400 of file vulkan.hpp.

35401  {
35402  memcpy( this, &rhs, sizeof( SamplerReductionModeCreateInfoEXT ) );
35403  }

References memcpy.

Member Function Documentation

◆ operator VkSamplerReductionModeCreateInfoEXT &()

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::operator VkSamplerReductionModeCreateInfoEXT & ( )
inline

Definition at line 35427 of file vulkan.hpp.

35428  {
35429  return *reinterpret_cast<VkSamplerReductionModeCreateInfoEXT*>(this);
35430  }

◆ operator VkSamplerReductionModeCreateInfoEXT const &()

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::operator VkSamplerReductionModeCreateInfoEXT const & ( ) const
inline

Definition at line 35422 of file vulkan.hpp.

35423  {
35424  return *reinterpret_cast<const VkSamplerReductionModeCreateInfoEXT*>(this);
35425  }

◆ operator!=()

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

Definition at line 35439 of file vulkan.hpp.

35440  {
35441  return !operator==( rhs );
35442  }

References operator==().

◆ operator=()

SamplerReductionModeCreateInfoEXT& VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::operator= ( VkSamplerReductionModeCreateInfoEXT const &  rhs)
inline

Definition at line 35405 of file vulkan.hpp.

35406  {
35407  memcpy( this, &rhs, sizeof( SamplerReductionModeCreateInfoEXT ) );
35408  return *this;
35409  }

References memcpy.

◆ operator==()

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

Definition at line 35432 of file vulkan.hpp.

35433  {
35434  return ( sType == rhs.sType )
35435  && ( pNext == rhs.pNext )
35436  && ( reductionMode == rhs.reductionMode );
35437  }

References pNext, reductionMode, and sType.

Referenced by operator!=().

◆ setPNext()

SamplerReductionModeCreateInfoEXT& VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::setPNext ( const void pNext_)
inline

Definition at line 35410 of file vulkan.hpp.

35411  {
35412  pNext = pNext_;
35413  return *this;
35414  }

References pNext.

◆ setReductionMode()

SamplerReductionModeCreateInfoEXT& VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::setReductionMode ( SamplerReductionModeEXT  reductionMode_)
inline

Definition at line 35416 of file vulkan.hpp.

35417  {
35418  reductionMode = reductionMode_;
35419  return *this;
35420  }

References reductionMode.

Field Documentation

◆ pNext

const void* VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::pNext = nullptr

Definition at line 35448 of file vulkan.hpp.

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

◆ reductionMode

SamplerReductionModeEXT VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::reductionMode

Definition at line 35449 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::sType = StructureType::eSamplerReductionModeCreateInfoEXT
private

Definition at line 35445 of file vulkan.hpp.

Referenced by operator==().


The documentation for this struct was generated from the following file:
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::operator==
bool operator==(SamplerReductionModeCreateInfoEXT const &rhs) const
Definition: vulkan.hpp:35432
memcpy
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::pNext
const void * pNext
Definition: vulkan.hpp:35448
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::SamplerReductionModeCreateInfoEXT
SamplerReductionModeCreateInfoEXT(SamplerReductionModeEXT reductionMode_=SamplerReductionModeEXT::eWeightedAverage)
Definition: vulkan.hpp:35395
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::sType
StructureType sType
Definition: vulkan.hpp:35445
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfoEXT::reductionMode
SamplerReductionModeEXT reductionMode
Definition: vulkan.hpp:35449