Vulkan-Hpp
vk::ComponentMapping Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkComponentMapping
 

Public Member Functions

VULKAN_HPP_CONSTEXPR ComponentMapping (vk::ComponentSwizzle r_=vk::ComponentSwizzle::eIdentity, vk::ComponentSwizzle g_=vk::ComponentSwizzle::eIdentity, vk::ComponentSwizzle b_=vk::ComponentSwizzle::eIdentity, vk::ComponentSwizzle a_=vk::ComponentSwizzle::eIdentity) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR ComponentMapping (ComponentMapping const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 ComponentMapping (VkComponentMapping const &rhs) VULKAN_HPP_NOEXCEPT
 
ComponentMappingoperator= (ComponentMapping const &rhs) VULKAN_HPP_NOEXCEPT=default
 
ComponentMappingoperator= (VkComponentMapping const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ComponentMappingsetR (vk::ComponentSwizzle r_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ComponentMappingsetG (vk::ComponentSwizzle g_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ComponentMappingsetB (vk::ComponentSwizzle b_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ComponentMappingsetA (vk::ComponentSwizzle a_) VULKAN_HPP_NOEXCEPT
 
 operator VkComponentMapping const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkComponentMapping & () VULKAN_HPP_NOEXCEPT
 
bool operator== (ComponentMapping const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (ComponentMapping const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

vk::ComponentSwizzle r = vk::ComponentSwizzle::eIdentity
 
vk::ComponentSwizzle g = vk::ComponentSwizzle::eIdentity
 
vk::ComponentSwizzle b = vk::ComponentSwizzle::eIdentity
 
vk::ComponentSwizzle a = vk::ComponentSwizzle::eIdentity
 

Detailed Description

Definition at line 4742 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Constructor & Destructor Documentation

◆ ComponentMapping() [1/3]

◆ ComponentMapping() [2/3]

VULKAN_HPP_CONSTEXPR vk::ComponentMapping::ComponentMapping ( ComponentMapping const &  rhs)
default

◆ ComponentMapping() [3/3]

vk::ComponentMapping::ComponentMapping ( VkComponentMapping const &  rhs)
inline

Definition at line 4760 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkComponentMapping &()

vk::ComponentMapping::operator VkComponentMapping & ( )
inline

Definition at line 4802 of file vulkan_structs.hpp.

◆ operator VkComponentMapping const &()

vk::ComponentMapping::operator VkComponentMapping const & ( ) const
inline

Definition at line 4797 of file vulkan_structs.hpp.

◆ operator!=()

bool vk::ComponentMapping::operator!= ( ComponentMapping const &  rhs) const
inline

Definition at line 4834 of file vulkan_structs.hpp.

◆ operator=() [1/2]

ComponentMapping& vk::ComponentMapping::operator= ( ComponentMapping const &  rhs)
default

◆ operator=() [2/2]

ComponentMapping& vk::ComponentMapping::operator= ( VkComponentMapping const &  rhs)
inline

Definition at line 4765 of file vulkan_structs.hpp.

◆ operator==()

bool vk::ComponentMapping::operator== ( ComponentMapping const &  rhs) const
inline

Definition at line 4825 of file vulkan_structs.hpp.

◆ setA()

VULKAN_HPP_CONSTEXPR_14 ComponentMapping& vk::ComponentMapping::setA ( vk::ComponentSwizzle  a_)
inline

Definition at line 4790 of file vulkan_structs.hpp.

◆ setB()

VULKAN_HPP_CONSTEXPR_14 ComponentMapping& vk::ComponentMapping::setB ( vk::ComponentSwizzle  b_)
inline

Definition at line 4784 of file vulkan_structs.hpp.

◆ setG()

VULKAN_HPP_CONSTEXPR_14 ComponentMapping& vk::ComponentMapping::setG ( vk::ComponentSwizzle  g_)
inline

Definition at line 4778 of file vulkan_structs.hpp.

◆ setR()

VULKAN_HPP_CONSTEXPR_14 ComponentMapping& vk::ComponentMapping::setR ( vk::ComponentSwizzle  r_)
inline

Definition at line 4772 of file vulkan_structs.hpp.

Member Data Documentation

◆ a

Definition at line 4844 of file vulkan_structs.hpp.

◆ b

Definition at line 4843 of file vulkan_structs.hpp.

◆ g

Definition at line 4842 of file vulkan_structs.hpp.

◆ r

Definition at line 4841 of file vulkan_structs.hpp.


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