SDL 2.0
VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo:

Public Member Functions

 SamplerYcbcrConversionInfo (SamplerYcbcrConversion conversion_=SamplerYcbcrConversion())
 
 SamplerYcbcrConversionInfo (VkSamplerYcbcrConversionInfo const &rhs)
 
SamplerYcbcrConversionInfooperator= (VkSamplerYcbcrConversionInfo const &rhs)
 
SamplerYcbcrConversionInfosetPNext (const void *pNext_)
 
SamplerYcbcrConversionInfosetConversion (SamplerYcbcrConversion conversion_)
 
 operator VkSamplerYcbcrConversionInfo const & () const
 
 operator VkSamplerYcbcrConversionInfo & ()
 
bool operator== (SamplerYcbcrConversionInfo const &rhs) const
 
bool operator!= (SamplerYcbcrConversionInfo const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
SamplerYcbcrConversion conversion
 

Private Attributes

StructureType sType = StructureType::eSamplerYcbcrConversionInfo
 

Detailed Description

Definition at line 16215 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SamplerYcbcrConversionInfo() [1/2]

VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::SamplerYcbcrConversionInfo ( SamplerYcbcrConversion  conversion_ = SamplerYcbcrConversion())
inline

Definition at line 16217 of file vulkan.hpp.

16218 : conversion( conversion_ )
16219 {
16220 }

◆ SamplerYcbcrConversionInfo() [2/2]

VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::SamplerYcbcrConversionInfo ( VkSamplerYcbcrConversionInfo const &  rhs)
inline

Definition at line 16222 of file vulkan.hpp.

16223 {
16224 memcpy( this, &rhs, sizeof( SamplerYcbcrConversionInfo ) );
16225 }
#define memcpy
Definition: SDL_malloc.c:630
SamplerYcbcrConversionInfo(SamplerYcbcrConversion conversion_=SamplerYcbcrConversion())
Definition: vulkan.hpp:16217

References memcpy.

Member Function Documentation

◆ operator VkSamplerYcbcrConversionInfo &()

VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::operator VkSamplerYcbcrConversionInfo & ( )
inline

Definition at line 16249 of file vulkan.hpp.

16250 {
16251 return *reinterpret_cast<VkSamplerYcbcrConversionInfo*>(this);
16252 }

◆ operator VkSamplerYcbcrConversionInfo const &()

VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::operator VkSamplerYcbcrConversionInfo const & ( ) const
inline

Definition at line 16244 of file vulkan.hpp.

16245 {
16246 return *reinterpret_cast<const VkSamplerYcbcrConversionInfo*>(this);
16247 }

◆ operator!=()

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

Definition at line 16261 of file vulkan.hpp.

16262 {
16263 return !operator==( rhs );
16264 }
bool operator==(SamplerYcbcrConversionInfo const &rhs) const
Definition: vulkan.hpp:16254

References operator==().

◆ operator=()

SamplerYcbcrConversionInfo & VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::operator= ( VkSamplerYcbcrConversionInfo const &  rhs)
inline

Definition at line 16227 of file vulkan.hpp.

16228 {
16229 memcpy( this, &rhs, sizeof( SamplerYcbcrConversionInfo ) );
16230 return *this;
16231 }

References memcpy.

◆ operator==()

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

Definition at line 16254 of file vulkan.hpp.

16255 {
16256 return ( sType == rhs.sType )
16257 && ( pNext == rhs.pNext )
16258 && ( conversion == rhs.conversion );
16259 }

References conversion, pNext, and sType.

Referenced by operator!=().

◆ setConversion()

SamplerYcbcrConversionInfo & VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::setConversion ( SamplerYcbcrConversion  conversion_)
inline

Definition at line 16238 of file vulkan.hpp.

16239 {
16240 conversion = conversion_;
16241 return *this;
16242 }

References conversion.

◆ setPNext()

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

Definition at line 16232 of file vulkan.hpp.

16233 {
16234 pNext = pNext_;
16235 return *this;
16236 }

References pNext.

Field Documentation

◆ conversion

SamplerYcbcrConversion VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::conversion

Definition at line 16271 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 16270 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::SamplerYcbcrConversionInfo::sType = StructureType::eSamplerYcbcrConversionInfo
private

Definition at line 16267 of file vulkan.hpp.

Referenced by operator==().


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