SpiecsEngine
 
Loading...
Searching...
No Matches

◆ AddColorAttachmentReference()

void Spices::RendererSubPass::AddColorAttachmentReference ( const VkAttachmentReference & attachmentReference,
const VkPipelineColorBlendAttachmentState & colorBlend )

Add a Color Attachment to sub pass.

Parameters
[in]attachmentReferenceVkAttachmentReference.
[in]colorBlendVkPipelineColorBlendAttachmentState.

Definition at line 29 of file RendererSubPass.cpp.

33 {
35
36 m_ColorAttachmentReference.push_back(attachmentReference);
37 m_ColorBlends.push_back(colorBlend);
38 }
#define SPICES_PROFILE_ZONE
std::vector< VkAttachmentReference > m_ColorAttachmentReference
Subpass used color attachment.
std::vector< VkPipelineColorBlendAttachmentState > m_ColorBlends
Sub pass used VkPipelineColorBlendAttachmentState.