SDL  2.0
VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo Struct Reference

#include <vulkan.hpp>

Public Member Functions

VULKAN_HPP_CONSTEXPR SamplerReductionModeCreateInfo (VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_=VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR SamplerReductionModeCreateInfo (SamplerReductionModeCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 SamplerReductionModeCreateInfo (VkSamplerReductionModeCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SamplerReductionModeCreateInfooperator= (VkSamplerReductionModeCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SamplerReductionModeCreateInfooperator= (SamplerReductionModeCreateInfo const &rhs) VULKAN_HPP_NOEXCEPT
 
SamplerReductionModeCreateInfosetPNext (const void *pNext_) VULKAN_HPP_NOEXCEPT
 
SamplerReductionModeCreateInfosetReductionMode (VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_) VULKAN_HPP_NOEXCEPT
 
 operator VkSamplerReductionModeCreateInfo const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkSamplerReductionModeCreateInfo & () VULKAN_HPP_NOEXCEPT
 
bool operator== (SamplerReductionModeCreateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (SamplerReductionModeCreateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
 

Data Fields

const VULKAN_HPP_NAMESPACE::StructureType sType = StructureType::eSamplerReductionModeCreateInfo
 
const voidpNext = {}
 
VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode = VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage
 

Static Public Attributes

static const bool allowDuplicate = false
 
static VULKAN_HPP_CONST_OR_CONSTEXPR StructureType structureType = StructureType::eSamplerReductionModeCreateInfo
 

Detailed Description

Definition at line 77352 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SamplerReductionModeCreateInfo() [1/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::SamplerReductionModeCreateInfo ( VULKAN_HPP_NAMESPACE::SamplerReductionMode  reductionMode_ = VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage)
inline

Definition at line 77358 of file vulkan.hpp.

77359  : reductionMode( reductionMode_ )
77360  {}
VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode
Definition: vulkan.hpp:77427

◆ SamplerReductionModeCreateInfo() [2/3]

VULKAN_HPP_CONSTEXPR VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::SamplerReductionModeCreateInfo ( SamplerReductionModeCreateInfo const &  rhs)
default

◆ SamplerReductionModeCreateInfo() [3/3]

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::SamplerReductionModeCreateInfo ( VkSamplerReductionModeCreateInfo const &  rhs)
inline

Definition at line 77364 of file vulkan.hpp.

77365  {
77366  *this = rhs;
77367  }

Member Function Documentation

◆ operator VkSamplerReductionModeCreateInfo &()

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::operator VkSamplerReductionModeCreateInfo & ( )
inline

Definition at line 77400 of file vulkan.hpp.

77401  {
77402  return *reinterpret_cast<VkSamplerReductionModeCreateInfo*>( this );
77403  }

◆ operator VkSamplerReductionModeCreateInfo const &()

VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::operator VkSamplerReductionModeCreateInfo const & ( ) const
inline

Definition at line 77395 of file vulkan.hpp.

77396  {
77397  return *reinterpret_cast<const VkSamplerReductionModeCreateInfo*>( this );
77398  }

◆ operator!=()

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

Definition at line 77416 of file vulkan.hpp.

77417  {
77418  return !operator==( rhs );
77419  }
bool operator==(SamplerReductionModeCreateInfo const &rhs) const VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:77409

References VULKAN_HPP_NAMESPACE::operator==().

◆ operator=() [1/2]

SamplerReductionModeCreateInfo& VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::operator= ( SamplerReductionModeCreateInfo const &  rhs)
inline

Definition at line 77376 of file vulkan.hpp.

77377  {
77378  memcpy( static_cast<void *>( this ), &rhs, sizeof( SamplerReductionModeCreateInfo ) );
77379  return *this;
77380  }
#define memcpy
Definition: SDL_malloc.c:630
VULKAN_HPP_CONSTEXPR SamplerReductionModeCreateInfo(VULKAN_HPP_NAMESPACE::SamplerReductionMode reductionMode_=VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage) VULKAN_HPP_NOEXCEPT
Definition: vulkan.hpp:77358

References memcpy.

◆ operator=() [2/2]

SamplerReductionModeCreateInfo& VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::operator= ( VkSamplerReductionModeCreateInfo const &  rhs)
inline

Definition at line 77370 of file vulkan.hpp.

77371  {
77372  *this = *reinterpret_cast<VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo const *>( &rhs );
77373  return *this;
77374  }

◆ operator==()

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

Definition at line 77409 of file vulkan.hpp.

77410  {
77411  return ( sType == rhs.sType )
77412  && ( pNext == rhs.pNext )
77413  && ( reductionMode == rhs.reductionMode );
77414  }
const VULKAN_HPP_NAMESPACE::StructureType sType
Definition: vulkan.hpp:77425

◆ setPNext()

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

Definition at line 77382 of file vulkan.hpp.

77383  {
77384  pNext = pNext_;
77385  return *this;
77386  }

◆ setReductionMode()

SamplerReductionModeCreateInfo& VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::setReductionMode ( VULKAN_HPP_NAMESPACE::SamplerReductionMode  reductionMode_)
inline

Definition at line 77388 of file vulkan.hpp.

77389  {
77390  reductionMode = reductionMode_;
77391  return *this;
77392  }

Field Documentation

◆ allowDuplicate

const bool VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::allowDuplicate = false
static

Definition at line 77354 of file vulkan.hpp.

◆ pNext

const void* VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::pNext = {}

Definition at line 77426 of file vulkan.hpp.

◆ reductionMode

VULKAN_HPP_NAMESPACE::SamplerReductionMode VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::reductionMode = VULKAN_HPP_NAMESPACE::SamplerReductionMode::eWeightedAverage

Definition at line 77427 of file vulkan.hpp.

◆ structureType

VULKAN_HPP_CONST_OR_CONSTEXPR StructureType VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::structureType = StructureType::eSamplerReductionModeCreateInfo
static

Definition at line 77355 of file vulkan.hpp.

◆ sType

const VULKAN_HPP_NAMESPACE::StructureType VULKAN_HPP_NAMESPACE::SamplerReductionModeCreateInfo::sType = StructureType::eSamplerReductionModeCreateInfo

Definition at line 77425 of file vulkan.hpp.


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