SDL 2.0
VULKAN_HPP_NAMESPACE::SubpassDescription2KHR Struct Reference

#include <vulkan.hpp>

+ Collaboration diagram for VULKAN_HPP_NAMESPACE::SubpassDescription2KHR:

Public Member Functions

 SubpassDescription2KHR (SubpassDescriptionFlags flags_=SubpassDescriptionFlags(), PipelineBindPoint pipelineBindPoint_=PipelineBindPoint::eGraphics, uint32_t viewMask_=0, uint32_t inputAttachmentCount_=0, const AttachmentReference2KHR *pInputAttachments_=nullptr, uint32_t colorAttachmentCount_=0, const AttachmentReference2KHR *pColorAttachments_=nullptr, const AttachmentReference2KHR *pResolveAttachments_=nullptr, const AttachmentReference2KHR *pDepthStencilAttachment_=nullptr, uint32_t preserveAttachmentCount_=0, const uint32_t *pPreserveAttachments_=nullptr)
 
 SubpassDescription2KHR (VkSubpassDescription2KHR const &rhs)
 
SubpassDescription2KHRoperator= (VkSubpassDescription2KHR const &rhs)
 
SubpassDescription2KHRsetPNext (const void *pNext_)
 
SubpassDescription2KHRsetFlags (SubpassDescriptionFlags flags_)
 
SubpassDescription2KHRsetPipelineBindPoint (PipelineBindPoint pipelineBindPoint_)
 
SubpassDescription2KHRsetViewMask (uint32_t viewMask_)
 
SubpassDescription2KHRsetInputAttachmentCount (uint32_t inputAttachmentCount_)
 
SubpassDescription2KHRsetPInputAttachments (const AttachmentReference2KHR *pInputAttachments_)
 
SubpassDescription2KHRsetColorAttachmentCount (uint32_t colorAttachmentCount_)
 
SubpassDescription2KHRsetPColorAttachments (const AttachmentReference2KHR *pColorAttachments_)
 
SubpassDescription2KHRsetPResolveAttachments (const AttachmentReference2KHR *pResolveAttachments_)
 
SubpassDescription2KHRsetPDepthStencilAttachment (const AttachmentReference2KHR *pDepthStencilAttachment_)
 
SubpassDescription2KHRsetPreserveAttachmentCount (uint32_t preserveAttachmentCount_)
 
SubpassDescription2KHRsetPPreserveAttachments (const uint32_t *pPreserveAttachments_)
 
 operator VkSubpassDescription2KHR const & () const
 
 operator VkSubpassDescription2KHR & ()
 
bool operator== (SubpassDescription2KHR const &rhs) const
 
bool operator!= (SubpassDescription2KHR const &rhs) const
 

Data Fields

const voidpNext = nullptr
 
SubpassDescriptionFlags flags
 
PipelineBindPoint pipelineBindPoint
 
uint32_t viewMask
 
uint32_t inputAttachmentCount
 
const AttachmentReference2KHRpInputAttachments
 
uint32_t colorAttachmentCount
 
const AttachmentReference2KHRpColorAttachments
 
const AttachmentReference2KHRpResolveAttachments
 
const AttachmentReference2KHRpDepthStencilAttachment
 
uint32_t preserveAttachmentCount
 
const uint32_tpPreserveAttachments
 

Private Attributes

StructureType sType = StructureType::eSubpassDescription2KHR
 

Detailed Description

Definition at line 35043 of file vulkan.hpp.

Constructor & Destructor Documentation

◆ SubpassDescription2KHR() [1/2]

VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::SubpassDescription2KHR ( SubpassDescriptionFlags  flags_ = SubpassDescriptionFlags(),
PipelineBindPoint  pipelineBindPoint_ = PipelineBindPoint::eGraphics,
uint32_t  viewMask_ = 0,
uint32_t  inputAttachmentCount_ = 0,
const AttachmentReference2KHR pInputAttachments_ = nullptr,
uint32_t  colorAttachmentCount_ = 0,
const AttachmentReference2KHR pColorAttachments_ = nullptr,
const AttachmentReference2KHR pResolveAttachments_ = nullptr,
const AttachmentReference2KHR pDepthStencilAttachment_ = nullptr,
uint32_t  preserveAttachmentCount_ = 0,
const uint32_t pPreserveAttachments_ = nullptr 
)
inline

Definition at line 35045 of file vulkan.hpp.

35056 : flags( flags_ )
35057 , pipelineBindPoint( pipelineBindPoint_ )
35058 , viewMask( viewMask_ )
35059 , inputAttachmentCount( inputAttachmentCount_ )
35060 , pInputAttachments( pInputAttachments_ )
35061 , colorAttachmentCount( colorAttachmentCount_ )
35062 , pColorAttachments( pColorAttachments_ )
35063 , pResolveAttachments( pResolveAttachments_ )
35064 , pDepthStencilAttachment( pDepthStencilAttachment_ )
35065 , preserveAttachmentCount( preserveAttachmentCount_ )
35066 , pPreserveAttachments( pPreserveAttachments_ )
35067 {
35068 }
const AttachmentReference2KHR * pResolveAttachments
Definition: vulkan.hpp:35196
const AttachmentReference2KHR * pColorAttachments
Definition: vulkan.hpp:35195
const AttachmentReference2KHR * pInputAttachments
Definition: vulkan.hpp:35193
const AttachmentReference2KHR * pDepthStencilAttachment
Definition: vulkan.hpp:35197

◆ SubpassDescription2KHR() [2/2]

VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::SubpassDescription2KHR ( VkSubpassDescription2KHR const &  rhs)
inline

Definition at line 35070 of file vulkan.hpp.

35071 {
35072 memcpy( this, &rhs, sizeof( SubpassDescription2KHR ) );
35073 }
#define memcpy
Definition: SDL_malloc.c:630
SubpassDescription2KHR(SubpassDescriptionFlags flags_=SubpassDescriptionFlags(), PipelineBindPoint pipelineBindPoint_=PipelineBindPoint::eGraphics, uint32_t viewMask_=0, uint32_t inputAttachmentCount_=0, const AttachmentReference2KHR *pInputAttachments_=nullptr, uint32_t colorAttachmentCount_=0, const AttachmentReference2KHR *pColorAttachments_=nullptr, const AttachmentReference2KHR *pResolveAttachments_=nullptr, const AttachmentReference2KHR *pDepthStencilAttachment_=nullptr, uint32_t preserveAttachmentCount_=0, const uint32_t *pPreserveAttachments_=nullptr)
Definition: vulkan.hpp:35045

References memcpy.

Member Function Documentation

◆ operator VkSubpassDescription2KHR &()

VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::operator VkSubpassDescription2KHR & ( )
inline

Definition at line 35157 of file vulkan.hpp.

35158 {
35159 return *reinterpret_cast<VkSubpassDescription2KHR*>(this);
35160 }

◆ operator VkSubpassDescription2KHR const &()

VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::operator VkSubpassDescription2KHR const & ( ) const
inline

Definition at line 35152 of file vulkan.hpp.

35153 {
35154 return *reinterpret_cast<const VkSubpassDescription2KHR*>(this);
35155 }

◆ operator!=()

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

Definition at line 35179 of file vulkan.hpp.

35180 {
35181 return !operator==( rhs );
35182 }
bool operator==(SubpassDescription2KHR const &rhs) const
Definition: vulkan.hpp:35162

References operator==().

◆ operator=()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::operator= ( VkSubpassDescription2KHR const &  rhs)
inline

Definition at line 35075 of file vulkan.hpp.

35076 {
35077 memcpy( this, &rhs, sizeof( SubpassDescription2KHR ) );
35078 return *this;
35079 }

References memcpy.

◆ operator==()

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

Definition at line 35162 of file vulkan.hpp.

35163 {
35164 return ( sType == rhs.sType )
35165 && ( pNext == rhs.pNext )
35166 && ( flags == rhs.flags )
35167 && ( pipelineBindPoint == rhs.pipelineBindPoint )
35168 && ( viewMask == rhs.viewMask )
35169 && ( inputAttachmentCount == rhs.inputAttachmentCount )
35170 && ( pInputAttachments == rhs.pInputAttachments )
35171 && ( colorAttachmentCount == rhs.colorAttachmentCount )
35172 && ( pColorAttachments == rhs.pColorAttachments )
35173 && ( pResolveAttachments == rhs.pResolveAttachments )
35174 && ( pDepthStencilAttachment == rhs.pDepthStencilAttachment )
35175 && ( preserveAttachmentCount == rhs.preserveAttachmentCount )
35176 && ( pPreserveAttachments == rhs.pPreserveAttachments );
35177 }
GLbitfield flags

References colorAttachmentCount, flags, inputAttachmentCount, pColorAttachments, pDepthStencilAttachment, pInputAttachments, pipelineBindPoint, pNext, pPreserveAttachments, preserveAttachmentCount, pResolveAttachments, sType, and viewMask.

Referenced by operator!=().

◆ setColorAttachmentCount()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setColorAttachmentCount ( uint32_t  colorAttachmentCount_)
inline

Definition at line 35116 of file vulkan.hpp.

35117 {
35118 colorAttachmentCount = colorAttachmentCount_;
35119 return *this;
35120 }

References colorAttachmentCount.

◆ setFlags()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setFlags ( SubpassDescriptionFlags  flags_)
inline

Definition at line 35086 of file vulkan.hpp.

35087 {
35088 flags = flags_;
35089 return *this;
35090 }

◆ setInputAttachmentCount()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setInputAttachmentCount ( uint32_t  inputAttachmentCount_)
inline

Definition at line 35104 of file vulkan.hpp.

35105 {
35106 inputAttachmentCount = inputAttachmentCount_;
35107 return *this;
35108 }

References inputAttachmentCount.

◆ setPColorAttachments()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPColorAttachments ( const AttachmentReference2KHR pColorAttachments_)
inline

Definition at line 35122 of file vulkan.hpp.

35123 {
35124 pColorAttachments = pColorAttachments_;
35125 return *this;
35126 }

References pColorAttachments.

◆ setPDepthStencilAttachment()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPDepthStencilAttachment ( const AttachmentReference2KHR pDepthStencilAttachment_)
inline

Definition at line 35134 of file vulkan.hpp.

35135 {
35136 pDepthStencilAttachment = pDepthStencilAttachment_;
35137 return *this;
35138 }

References pDepthStencilAttachment.

◆ setPInputAttachments()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPInputAttachments ( const AttachmentReference2KHR pInputAttachments_)
inline

Definition at line 35110 of file vulkan.hpp.

35111 {
35112 pInputAttachments = pInputAttachments_;
35113 return *this;
35114 }

References pInputAttachments.

◆ setPipelineBindPoint()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPipelineBindPoint ( PipelineBindPoint  pipelineBindPoint_)
inline

Definition at line 35092 of file vulkan.hpp.

35093 {
35094 pipelineBindPoint = pipelineBindPoint_;
35095 return *this;
35096 }

References pipelineBindPoint.

◆ setPNext()

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

Definition at line 35080 of file vulkan.hpp.

35081 {
35082 pNext = pNext_;
35083 return *this;
35084 }

References pNext.

◆ setPPreserveAttachments()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPPreserveAttachments ( const uint32_t pPreserveAttachments_)
inline

Definition at line 35146 of file vulkan.hpp.

35147 {
35148 pPreserveAttachments = pPreserveAttachments_;
35149 return *this;
35150 }

References pPreserveAttachments.

◆ setPreserveAttachmentCount()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPreserveAttachmentCount ( uint32_t  preserveAttachmentCount_)
inline

Definition at line 35140 of file vulkan.hpp.

35141 {
35142 preserveAttachmentCount = preserveAttachmentCount_;
35143 return *this;
35144 }

References preserveAttachmentCount.

◆ setPResolveAttachments()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setPResolveAttachments ( const AttachmentReference2KHR pResolveAttachments_)
inline

Definition at line 35128 of file vulkan.hpp.

35129 {
35130 pResolveAttachments = pResolveAttachments_;
35131 return *this;
35132 }

References pResolveAttachments.

◆ setViewMask()

SubpassDescription2KHR & VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::setViewMask ( uint32_t  viewMask_)
inline

Definition at line 35098 of file vulkan.hpp.

35099 {
35100 viewMask = viewMask_;
35101 return *this;
35102 }

References viewMask.

Field Documentation

◆ colorAttachmentCount

uint32_t VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::colorAttachmentCount

Definition at line 35194 of file vulkan.hpp.

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

◆ flags

SubpassDescriptionFlags VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::flags

Definition at line 35189 of file vulkan.hpp.

Referenced by operator==().

◆ inputAttachmentCount

uint32_t VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::inputAttachmentCount

Definition at line 35192 of file vulkan.hpp.

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

◆ pColorAttachments

const AttachmentReference2KHR* VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::pColorAttachments

Definition at line 35195 of file vulkan.hpp.

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

◆ pDepthStencilAttachment

const AttachmentReference2KHR* VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::pDepthStencilAttachment

Definition at line 35197 of file vulkan.hpp.

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

◆ pInputAttachments

const AttachmentReference2KHR* VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::pInputAttachments

Definition at line 35193 of file vulkan.hpp.

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

◆ pipelineBindPoint

PipelineBindPoint VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::pipelineBindPoint

Definition at line 35190 of file vulkan.hpp.

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

◆ pNext

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

Definition at line 35188 of file vulkan.hpp.

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

◆ pPreserveAttachments

const uint32_t* VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::pPreserveAttachments

Definition at line 35199 of file vulkan.hpp.

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

◆ preserveAttachmentCount

uint32_t VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::preserveAttachmentCount

Definition at line 35198 of file vulkan.hpp.

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

◆ pResolveAttachments

const AttachmentReference2KHR* VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::pResolveAttachments

Definition at line 35196 of file vulkan.hpp.

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

◆ sType

StructureType VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::sType = StructureType::eSubpassDescription2KHR
private

Definition at line 35185 of file vulkan.hpp.

Referenced by operator==().

◆ viewMask

uint32_t VULKAN_HPP_NAMESPACE::SubpassDescription2KHR::viewMask

Definition at line 35191 of file vulkan.hpp.

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


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