SDL 2.0
VULKAN_HPP_NAMESPACE::ClearAttachment Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::ClearAttachment:

Public Member Functions

 ClearAttachment (ImageAspectFlags aspectMask_=ImageAspectFlags(), uint32_t colorAttachment_=0, ClearValue clearValue_=ClearValue())
 
 ClearAttachment (VkClearAttachment const &rhs)
 
ClearAttachmentoperator= (VkClearAttachment const &rhs)
 
ClearAttachmentsetAspectMask (ImageAspectFlags aspectMask_)
 
ClearAttachmentsetColorAttachment (uint32_t colorAttachment_)
 
ClearAttachmentsetClearValue (ClearValue clearValue_)
 
 operator VkClearAttachment const & () const
 
 operator VkClearAttachment & ()
 

Data Fields

ImageAspectFlags aspectMask
 
uint32_t colorAttachment
 
ClearValue clearValue
 

Detailed Description

Definition at line 25563 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ ClearAttachment() [1/2]

VULKAN_HPP_NAMESPACE::ClearAttachment::ClearAttachment ( ImageAspectFlags  aspectMask_ = ImageAspectFlags(),
uint32_t  colorAttachment_ = 0,
ClearValue  clearValue_ = ClearValue() 
)
inline

Definition at line 25565 of file vulkan.hpp.

25568 : aspectMask( aspectMask_ )
25569 , colorAttachment( colorAttachment_ )
25570 , clearValue( clearValue_ )
25571 {
25572 }

◆ ClearAttachment() [2/2]

VULKAN_HPP_NAMESPACE::ClearAttachment::ClearAttachment ( VkClearAttachment const &  rhs)
inline

Definition at line 25574 of file vulkan.hpp.

25575 {
25576 memcpy( this, &rhs, sizeof( ClearAttachment ) );
25577 }
#define memcpy
Definition: SDL_malloc.c:630
ClearAttachment(ImageAspectFlags aspectMask_=ImageAspectFlags(), uint32_t colorAttachment_=0, ClearValue clearValue_=ClearValue())
Definition: vulkan.hpp:25565

References memcpy.

Member Function Documentation

◆ operator VkClearAttachment &()

VULKAN_HPP_NAMESPACE::ClearAttachment::operator VkClearAttachment & ( )
inline

Definition at line 25607 of file vulkan.hpp.

25608 {
25609 return *reinterpret_cast<VkClearAttachment*>(this);
25610 }

◆ operator VkClearAttachment const &()

VULKAN_HPP_NAMESPACE::ClearAttachment::operator VkClearAttachment const & ( ) const
inline

Definition at line 25602 of file vulkan.hpp.

25603 {
25604 return *reinterpret_cast<const VkClearAttachment*>(this);
25605 }

◆ operator=()

ClearAttachment & VULKAN_HPP_NAMESPACE::ClearAttachment::operator= ( VkClearAttachment const &  rhs)
inline

Definition at line 25579 of file vulkan.hpp.

25580 {
25581 memcpy( this, &rhs, sizeof( ClearAttachment ) );
25582 return *this;
25583 }

References memcpy.

◆ setAspectMask()

ClearAttachment & VULKAN_HPP_NAMESPACE::ClearAttachment::setAspectMask ( ImageAspectFlags  aspectMask_)
inline

Definition at line 25584 of file vulkan.hpp.

25585 {
25586 aspectMask = aspectMask_;
25587 return *this;
25588 }

References aspectMask.

◆ setClearValue()

ClearAttachment & VULKAN_HPP_NAMESPACE::ClearAttachment::setClearValue ( ClearValue  clearValue_)
inline

Definition at line 25596 of file vulkan.hpp.

25597 {
25598 clearValue = clearValue_;
25599 return *this;
25600 }

References clearValue.

◆ setColorAttachment()

ClearAttachment & VULKAN_HPP_NAMESPACE::ClearAttachment::setColorAttachment ( uint32_t  colorAttachment_)
inline

Definition at line 25590 of file vulkan.hpp.

25591 {
25592 colorAttachment = colorAttachment_;
25593 return *this;
25594 }

References colorAttachment.

Field Documentation

◆ aspectMask

ImageAspectFlags VULKAN_HPP_NAMESPACE::ClearAttachment::aspectMask

Definition at line 25612 of file vulkan.hpp.

Referenced by setAspectMask().

◆ clearValue

ClearValue VULKAN_HPP_NAMESPACE::ClearAttachment::clearValue

Definition at line 25614 of file vulkan.hpp.

Referenced by setClearValue().

◆ colorAttachment

uint32_t VULKAN_HPP_NAMESPACE::ClearAttachment::colorAttachment

Definition at line 25613 of file vulkan.hpp.

Referenced by setColorAttachment().


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