Vulkan-Hpp
vk::AttachmentReference Struct Reference

#include <vulkan_structs.hpp>

Public Types

using NativeType = VkAttachmentReference
 

Public Member Functions

VULKAN_HPP_CONSTEXPR AttachmentReference (uint32_t attachment_={}, vk::ImageLayout layout_=vk::ImageLayout::eUndefined) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR AttachmentReference (AttachmentReference const &rhs) VULKAN_HPP_NOEXCEPT=default
 
 AttachmentReference (VkAttachmentReference const &rhs) VULKAN_HPP_NOEXCEPT
 
AttachmentReferenceoperator= (AttachmentReference const &rhs) VULKAN_HPP_NOEXCEPT=default
 
AttachmentReferenceoperator= (VkAttachmentReference const &rhs) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AttachmentReferencesetAttachment (uint32_t attachment_) VULKAN_HPP_NOEXCEPT
 
VULKAN_HPP_CONSTEXPR_14 AttachmentReferencesetLayout (vk::ImageLayout layout_) VULKAN_HPP_NOEXCEPT
 
 operator VkAttachmentReference const & () const VULKAN_HPP_NOEXCEPT
 
 operator VkAttachmentReference & () VULKAN_HPP_NOEXCEPT
 
bool operator== (AttachmentReference const &rhs) const VULKAN_HPP_NOEXCEPT
 
bool operator!= (AttachmentReference const &rhs) const VULKAN_HPP_NOEXCEPT
 

Public Attributes

uint32_t attachment = {}
 
vk::ImageLayout layout = vk::ImageLayout::eUndefined
 

Detailed Description

Definition at line 6087 of file vulkan_structs.hpp.

Member Typedef Documentation

◆ NativeType

Constructor & Destructor Documentation

◆ AttachmentReference() [1/3]

VULKAN_HPP_CONSTEXPR vk::AttachmentReference::AttachmentReference ( uint32_t  attachment_ = {},
vk::ImageLayout  layout_ = vk::ImageLayout::eUndefined 
)
inline

Definition at line 6092 of file vulkan_structs.hpp.

◆ AttachmentReference() [2/3]

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

◆ AttachmentReference() [3/3]

vk::AttachmentReference::AttachmentReference ( VkAttachmentReference const &  rhs)
inline

Definition at line 6101 of file vulkan_structs.hpp.

Member Function Documentation

◆ operator VkAttachmentReference &()

vk::AttachmentReference::operator VkAttachmentReference & ( )
inline

Definition at line 6133 of file vulkan_structs.hpp.

◆ operator VkAttachmentReference const &()

vk::AttachmentReference::operator VkAttachmentReference const & ( ) const
inline

Definition at line 6128 of file vulkan_structs.hpp.

◆ operator!=()

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

Definition at line 6162 of file vulkan_structs.hpp.

◆ operator=() [1/2]

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

◆ operator=() [2/2]

AttachmentReference& vk::AttachmentReference::operator= ( VkAttachmentReference const &  rhs)
inline

Definition at line 6108 of file vulkan_structs.hpp.

◆ operator==()

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

Definition at line 6153 of file vulkan_structs.hpp.

◆ setAttachment()

VULKAN_HPP_CONSTEXPR_14 AttachmentReference& vk::AttachmentReference::setAttachment ( uint32_t  attachment_)
inline

Definition at line 6115 of file vulkan_structs.hpp.

◆ setLayout()

VULKAN_HPP_CONSTEXPR_14 AttachmentReference& vk::AttachmentReference::setLayout ( vk::ImageLayout  layout_)
inline

Definition at line 6121 of file vulkan_structs.hpp.

Member Data Documentation

◆ attachment

uint32_t vk::AttachmentReference::attachment = {}

Definition at line 6169 of file vulkan_structs.hpp.

◆ layout

vk::ImageLayout vk::AttachmentReference::layout = vk::ImageLayout::eUndefined

Definition at line 6170 of file vulkan_structs.hpp.


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