SDL 2.0
VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR:

Public Member Functions

 AttachmentDescription2KHR (AttachmentDescriptionFlags flags_=AttachmentDescriptionFlags(), Format format_=Format::eUndefined, SampleCountFlagBits samples_=SampleCountFlagBits::e1, AttachmentLoadOp loadOp_=AttachmentLoadOp::eLoad, AttachmentStoreOp storeOp_=AttachmentStoreOp::eStore, AttachmentLoadOp stencilLoadOp_=AttachmentLoadOp::eLoad, AttachmentStoreOp stencilStoreOp_=AttachmentStoreOp::eStore, ImageLayout initialLayout_=ImageLayout::eUndefined, ImageLayout finalLayout_=ImageLayout::eUndefined)
 
 AttachmentDescription2KHR (VkAttachmentDescription2KHR const &rhs)
 
AttachmentDescription2KHRoperator= (VkAttachmentDescription2KHR const &rhs)
 
AttachmentDescription2KHRsetPNext (const void *pNext_)
 
AttachmentDescription2KHRsetFlags (AttachmentDescriptionFlags flags_)
 
AttachmentDescription2KHRsetFormat (Format format_)
 
AttachmentDescription2KHRsetSamples (SampleCountFlagBits samples_)
 
AttachmentDescription2KHRsetLoadOp (AttachmentLoadOp loadOp_)
 
AttachmentDescription2KHRsetStoreOp (AttachmentStoreOp storeOp_)
 
AttachmentDescription2KHRsetStencilLoadOp (AttachmentLoadOp stencilLoadOp_)
 
AttachmentDescription2KHRsetStencilStoreOp (AttachmentStoreOp stencilStoreOp_)
 
AttachmentDescription2KHRsetInitialLayout (ImageLayout initialLayout_)
 
AttachmentDescription2KHRsetFinalLayout (ImageLayout finalLayout_)
 
 operator VkAttachmentDescription2KHR const & () const
 
 operator VkAttachmentDescription2KHR & ()
 
bool operator== (AttachmentDescription2KHR const &rhs) const
 
bool operator!= (AttachmentDescription2KHR const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
AttachmentDescriptionFlags flags
 
Format format
 
SampleCountFlagBits samples
 
AttachmentLoadOp loadOp
 
AttachmentStoreOp storeOp
 
AttachmentLoadOp stencilLoadOp
 
AttachmentStoreOp stencilStoreOp
 
ImageLayout initialLayout
 
ImageLayout finalLayout
 

Private Attributes

StructureType sType = StructureType::eAttachmentDescription2KHR
 

Detailed Description

Definition at line 28540 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ AttachmentDescription2KHR() [1/2]

VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::AttachmentDescription2KHR ( AttachmentDescriptionFlags  flags_ = AttachmentDescriptionFlags(),
Format  format_ = Format::eUndefined,
SampleCountFlagBits  samples_ = SampleCountFlagBits::e1,
AttachmentLoadOp  loadOp_ = AttachmentLoadOp::eLoad,
AttachmentStoreOp  storeOp_ = AttachmentStoreOp::eStore,
AttachmentLoadOp  stencilLoadOp_ = AttachmentLoadOp::eLoad,
AttachmentStoreOp  stencilStoreOp_ = AttachmentStoreOp::eStore,
ImageLayout  initialLayout_ = ImageLayout::eUndefined,
ImageLayout  finalLayout_ = ImageLayout::eUndefined 
)
inline

Definition at line 28542 of file vulkan.hpp.

28551 : flags( flags_ )
28552 , format( format_ )
28553 , samples( samples_ )
28554 , loadOp( loadOp_ )
28555 , storeOp( storeOp_ )
28556 , stencilLoadOp( stencilLoadOp_ )
28557 , stencilStoreOp( stencilStoreOp_ )
28558 , initialLayout( initialLayout_ )
28559 , finalLayout( finalLayout_ )
28560 {
28561 }

◆ AttachmentDescription2KHR() [2/2]

VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::AttachmentDescription2KHR ( VkAttachmentDescription2KHR const &  rhs)
inline

Definition at line 28563 of file vulkan.hpp.

28564 {
28565 memcpy( this, &rhs, sizeof( AttachmentDescription2KHR ) );
28566 }
#define memcpy
Definition: SDL_malloc.c:630
AttachmentDescription2KHR(AttachmentDescriptionFlags flags_=AttachmentDescriptionFlags(), Format format_=Format::eUndefined, SampleCountFlagBits samples_=SampleCountFlagBits::e1, AttachmentLoadOp loadOp_=AttachmentLoadOp::eLoad, AttachmentStoreOp storeOp_=AttachmentStoreOp::eStore, AttachmentLoadOp stencilLoadOp_=AttachmentLoadOp::eLoad, AttachmentStoreOp stencilStoreOp_=AttachmentStoreOp::eStore, ImageLayout initialLayout_=ImageLayout::eUndefined, ImageLayout finalLayout_=ImageLayout::eUndefined)
Definition: vulkan.hpp:28542

References memcpy.

Member Function Documentation

◆ operator VkAttachmentDescription2KHR &()

VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::operator VkAttachmentDescription2KHR & ( )
inline

Definition at line 28638 of file vulkan.hpp.

28639 {
28640 return *reinterpret_cast<VkAttachmentDescription2KHR*>(this);
28641 }

◆ operator VkAttachmentDescription2KHR const &()

VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::operator VkAttachmentDescription2KHR const & ( ) const
inline

Definition at line 28633 of file vulkan.hpp.

28634 {
28635 return *reinterpret_cast<const VkAttachmentDescription2KHR*>(this);
28636 }

◆ operator!=()

bool VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::operator!= ( AttachmentDescription2KHR const &  rhs) const
inline

Definition at line 28658 of file vulkan.hpp.

28659 {
28660 return !operator==( rhs );
28661 }
bool operator==(AttachmentDescription2KHR const &rhs) const
Definition: vulkan.hpp:28643

References operator==().

◆ operator=()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::operator= ( VkAttachmentDescription2KHR const &  rhs)
inline

Definition at line 28568 of file vulkan.hpp.

28569 {
28570 memcpy( this, &rhs, sizeof( AttachmentDescription2KHR ) );
28571 return *this;
28572 }

References memcpy.

◆ operator==()

bool VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::operator== ( AttachmentDescription2KHR const &  rhs) const
inline

Definition at line 28643 of file vulkan.hpp.

28644 {
28645 return ( sType == rhs.sType )
28646 && ( pNext == rhs.pNext )
28647 && ( flags == rhs.flags )
28648 && ( format == rhs.format )
28649 && ( samples == rhs.samples )
28650 && ( loadOp == rhs.loadOp )
28651 && ( storeOp == rhs.storeOp )
28652 && ( stencilLoadOp == rhs.stencilLoadOp )
28653 && ( stencilStoreOp == rhs.stencilStoreOp )
28654 && ( initialLayout == rhs.initialLayout )
28655 && ( finalLayout == rhs.finalLayout );
28656 }
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: SDL_opengl.h:1572
GLsizei samples
GLbitfield flags

References finalLayout, flags, format, initialLayout, loadOp, pNext, samples, stencilLoadOp, stencilStoreOp, storeOp, and sType.

Referenced by operator!=().

◆ setFinalLayout()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setFinalLayout ( ImageLayout  finalLayout_)
inline

Definition at line 28627 of file vulkan.hpp.

28628 {
28629 finalLayout = finalLayout_;
28630 return *this;
28631 }

References finalLayout.

◆ setFlags()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setFlags ( AttachmentDescriptionFlags  flags_)
inline

Definition at line 28579 of file vulkan.hpp.

28580 {
28581 flags = flags_;
28582 return *this;
28583 }

◆ setFormat()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setFormat ( Format  format_)
inline

Definition at line 28585 of file vulkan.hpp.

28586 {
28587 format = format_;
28588 return *this;
28589 }

◆ setInitialLayout()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setInitialLayout ( ImageLayout  initialLayout_)
inline

Definition at line 28621 of file vulkan.hpp.

28622 {
28623 initialLayout = initialLayout_;
28624 return *this;
28625 }

References initialLayout.

◆ setLoadOp()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setLoadOp ( AttachmentLoadOp  loadOp_)
inline

Definition at line 28597 of file vulkan.hpp.

28598 {
28599 loadOp = loadOp_;
28600 return *this;
28601 }

References loadOp.

◆ setPNext()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setPNext ( const void pNext_)
inline

Definition at line 28573 of file vulkan.hpp.

28574 {
28575 pNext = pNext_;
28576 return *this;
28577 }

References pNext.

◆ setSamples()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setSamples ( SampleCountFlagBits  samples_)
inline

Definition at line 28591 of file vulkan.hpp.

28592 {
28593 samples = samples_;
28594 return *this;
28595 }

◆ setStencilLoadOp()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setStencilLoadOp ( AttachmentLoadOp  stencilLoadOp_)
inline

Definition at line 28609 of file vulkan.hpp.

28610 {
28611 stencilLoadOp = stencilLoadOp_;
28612 return *this;
28613 }

References stencilLoadOp.

◆ setStencilStoreOp()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setStencilStoreOp ( AttachmentStoreOp  stencilStoreOp_)
inline

Definition at line 28615 of file vulkan.hpp.

28616 {
28617 stencilStoreOp = stencilStoreOp_;
28618 return *this;
28619 }

References stencilStoreOp.

◆ setStoreOp()

AttachmentDescription2KHR & VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::setStoreOp ( AttachmentStoreOp  storeOp_)
inline

Definition at line 28603 of file vulkan.hpp.

28604 {
28605 storeOp = storeOp_;
28606 return *this;
28607 }

References storeOp.

Field Documentation

◆ finalLayout

ImageLayout VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::finalLayout

Definition at line 28676 of file vulkan.hpp.

Referenced by operator==(), and setFinalLayout().

◆ flags

AttachmentDescriptionFlags VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::flags

Definition at line 28668 of file vulkan.hpp.

Referenced by operator==().

◆ format

Format VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::format

Definition at line 28669 of file vulkan.hpp.

Referenced by operator==().

◆ initialLayout

ImageLayout VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::initialLayout

Definition at line 28675 of file vulkan.hpp.

Referenced by operator==(), and setInitialLayout().

◆ loadOp

AttachmentLoadOp VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::loadOp

Definition at line 28671 of file vulkan.hpp.

Referenced by operator==(), and setLoadOp().

◆ pNext

const void* VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::pNext = nullptr

Definition at line 28667 of file vulkan.hpp.

Referenced by operator==(), and setPNext().

◆ samples

SampleCountFlagBits VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::samples

Definition at line 28670 of file vulkan.hpp.

Referenced by operator==().

◆ stencilLoadOp

AttachmentLoadOp VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::stencilLoadOp

Definition at line 28673 of file vulkan.hpp.

Referenced by operator==(), and setStencilLoadOp().

◆ stencilStoreOp

AttachmentStoreOp VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::stencilStoreOp

Definition at line 28674 of file vulkan.hpp.

Referenced by operator==(), and setStencilStoreOp().

◆ storeOp

AttachmentStoreOp VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::storeOp

Definition at line 28672 of file vulkan.hpp.

Referenced by operator==(), and setStoreOp().

◆ sType

StructureType VULKAN_HPP_NAMESPACE::AttachmentDescription2KHR::sType = StructureType::eAttachmentDescription2KHR
private

Definition at line 28664 of file vulkan.hpp.

Referenced by operator==().


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