SpiecsEngine
 
Loading...
Searching...
No Matches

◆ SetColorAttachments()

Renderer::PipelineBuilder & Spices::Renderer::PipelineBuilder::SetColorAttachments ( )

Set pAttachments to correct value.

Returns
Returns this reference.

Definition at line 2607 of file Renderer.cpp.

2608 {
2610
2611 m_pipelineConfig.colorBlendInfo.attachmentCount = static_cast<uint32_t>(m_HandledSubPass->GetColorBlend().size());
2612 m_pipelineConfig.colorBlendInfo.pAttachments = m_HandledSubPass->GetColorBlend().data();
2613
2614 return *this;
2615 }
#define SPICES_PROFILE_ZONE
std::shared_ptr< RendererSubPass > m_HandledSubPass
Handled Sub pass.
Definition Renderer.h:883
PipelineConfigInfo m_pipelineConfig
PipelineConfigInfo for create Pipeline.
Definition Renderer.h:888
VkPipelineColorBlendStateCreateInfo colorBlendInfo