Vulkan-Hpp
vk::ClearValue Union Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkClearValue
 

Public Member Functions

VULKAN_HPP_CONSTEXPR_14 ClearValue (vk::ClearColorValue color_={})
 
VULKAN_HPP_CONSTEXPR_14 ClearValue (vk::ClearDepthStencilValue depthStencil_)
 
VULKAN_HPP_CONSTEXPR_14 ClearValuesetColor (vk::ClearColorValue const &color_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 ClearValuesetDepthStencil (vk::ClearDepthStencilValue const &depthStencil_) VULKAN_HPP_NOEXCEPT
 
 operator VkClearValue const & () const
 
 operator VkClearValue & ()
 

Public Attributes

VkClearColorValue color
 
VkClearDepthStencilValue depthStencil
 

Detailed Description

Definition at line 13786 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Definition at line 13788 of file vulkan_structs.hpp.

Constructor & Destructor Documentation

◆ ClearValue() [1/2]

VULKAN_HPP_CONSTEXPR_14 vk::ClearValue::ClearValue ( vk::ClearColorValue  color_ = {})
inline

Definition at line 13791 of file vulkan_structs.hpp.

◆ ClearValue() [2/2]

VULKAN_HPP_CONSTEXPR_14 vk::ClearValue::ClearValue ( vk::ClearDepthStencilValue  depthStencil_)
inline

Definition at line 13793 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkClearValue &()

vk::ClearValue::operator VkClearValue & ( )
inline

Definition at line 13815 of file vulkan_structs.hpp.

◆ operator VkClearValue const &()

vk::ClearValue::operator VkClearValue const & ( ) const
inline

Definition at line 13810 of file vulkan_structs.hpp.

◆ setColor()

VULKAN_HPP_CONSTEXPR_14 ClearValue& vk::ClearValue::setColor ( vk::ClearColorValue const &  color_)
inline

Definition at line 13797 of file vulkan_structs.hpp.

◆ setDepthStencil()

VULKAN_HPP_CONSTEXPR_14 ClearValue& vk::ClearValue::setDepthStencil ( vk::ClearDepthStencilValue const &  depthStencil_)
inline

Definition at line 13803 of file vulkan_structs.hpp.

Member Data Documentation

◆ color

VkClearColorValue vk::ClearValue::color

Definition at line 13824 of file vulkan_structs.hpp.

◆ depthStencil

VkClearDepthStencilValue vk::ClearValue::depthStencil

Definition at line 13825 of file vulkan_structs.hpp.


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