Vulkan-Hpp
vk::ClearColorValue Union Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkClearColorValue
 

Public Member Functions

VULKAN_HPP_CONSTEXPR_14 ClearColorValue (const std::array< float, 4 > &float32_={})
 
VULKAN_HPP_CONSTEXPR ClearColorValue (float float32_0, float float32_1, float float32_2, float float32_3)
 
VULKAN_HPP_CONSTEXPR_14 ClearColorValue (const std::array< int32_t, 4 > &int32_)
 
VULKAN_HPP_CONSTEXPR ClearColorValue (int32_t int32_0, int32_t int32_1, int32_t int32_2, int32_t int32_3)
 
VULKAN_HPP_CONSTEXPR_14 ClearColorValue (const std::array< uint32_t, 4 > &uint32_)
 
VULKAN_HPP_CONSTEXPR ClearColorValue (uint32_t uint32_0, uint32_t uint32_1, uint32_t uint32_2, uint32_t uint32_3)
 
VULKAN_HPP_CONSTEXPR_14 ClearColorValuesetFloat32 (std::array< float, 4 > float32_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ClearColorValuesetInt32 (std::array< int32_t, 4 > int32_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ClearColorValuesetUint32 (std::array< uint32_t, 4 > uint32_) VULKAN_HPP_NOEXCEPT
 
 operator VkClearColorValue const & () const
 
 operator VkClearColorValue & ()
 

Public Attributes

vk::ArrayWrapper1D< float, 4 > float32
 
vk::ArrayWrapper1D< int32_t, 4 > int32
 
vk::ArrayWrapper1D< uint32_t, 4 > uint32
 

Detailed Description

Definition at line 13638 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Constructor & Destructor Documentation

◆ ClearColorValue() [1/6]

VULKAN_HPP_CONSTEXPR_14 vk::ClearColorValue::ClearColorValue ( const std::array< float, 4 > &  float32_ = {})
inline

Definition at line 13643 of file vulkan_structs.hpp.

◆ ClearColorValue() [2/6]

VULKAN_HPP_CONSTEXPR vk::ClearColorValue::ClearColorValue ( float  float32_0,
float  float32_1,
float  float32_2,
float  float32_3 
)
inline

Definition at line 13645 of file vulkan_structs.hpp.

◆ ClearColorValue() [3/6]

VULKAN_HPP_CONSTEXPR_14 vk::ClearColorValue::ClearColorValue ( const std::array< int32_t, 4 > &  int32_)
inline

Definition at line 13650 of file vulkan_structs.hpp.

◆ ClearColorValue() [4/6]

VULKAN_HPP_CONSTEXPR vk::ClearColorValue::ClearColorValue ( int32_t  int32_0,
int32_t  int32_1,
int32_t  int32_2,
int32_t  int32_3 
)
inline

Definition at line 13652 of file vulkan_structs.hpp.

◆ ClearColorValue() [5/6]

VULKAN_HPP_CONSTEXPR_14 vk::ClearColorValue::ClearColorValue ( const std::array< uint32_t, 4 > &  uint32_)
inline

Definition at line 13657 of file vulkan_structs.hpp.

◆ ClearColorValue() [6/6]

VULKAN_HPP_CONSTEXPR vk::ClearColorValue::ClearColorValue ( uint32_t  uint32_0,
uint32_t  uint32_1,
uint32_t  uint32_2,
uint32_t  uint32_3 
)
inline

Definition at line 13659 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkClearColorValue &()

vk::ClearColorValue::operator VkClearColorValue & ( )
inline

Definition at line 13690 of file vulkan_structs.hpp.

◆ operator VkClearColorValue const &()

vk::ClearColorValue::operator VkClearColorValue const & ( ) const
inline

Definition at line 13685 of file vulkan_structs.hpp.

◆ setFloat32()

VULKAN_HPP_CONSTEXPR_14 ClearColorValue& vk::ClearColorValue::setFloat32 ( std::array< float, 4 >  float32_)
inline

Definition at line 13666 of file vulkan_structs.hpp.

◆ setInt32()

VULKAN_HPP_CONSTEXPR_14 ClearColorValue& vk::ClearColorValue::setInt32 ( std::array< int32_t, 4 >  int32_)
inline

Definition at line 13672 of file vulkan_structs.hpp.

◆ setUint32()

VULKAN_HPP_CONSTEXPR_14 ClearColorValue& vk::ClearColorValue::setUint32 ( std::array< uint32_t, 4 >  uint32_)
inline

Definition at line 13678 of file vulkan_structs.hpp.

Member Data Documentation

◆ float32

vk::ArrayWrapper1D<float, 4> vk::ClearColorValue::float32

Definition at line 13695 of file vulkan_structs.hpp.

◆ int32

vk::ArrayWrapper1D<int32_t, 4> vk::ClearColorValue::int32

Definition at line 13696 of file vulkan_structs.hpp.

◆ uint32

vk::ArrayWrapper1D<uint32_t, 4> vk::ClearColorValue::uint32

Definition at line 13697 of file vulkan_structs.hpp.


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