| 596 | } |
| 597 | |
| 598 | Attachment const * FramePass::addOutputColourTarget( ImageViewIdArray views |
| 599 | , ClearColorValue clearValue ) |
| 600 | { |
| 601 | auto attachName = fpass::adjustName( *this, views.front().data->name ) + "/ORcl"; |
| 602 | auto result = addOwnAttach( std::move( views ) |
| 603 | , std::move( attachName ) |
| 604 | , Attachment::FlagKind( Attachment::Flag::Output ) |
| 605 | , ImageAttachment::FlagKind( ImageAttachment::Flag::None ) |
| 606 | , AttachmentLoadOp::eClear, AttachmentStoreOp::eStore |
| 607 | , AttachmentLoadOp::eDontCare, AttachmentStoreOp::eDontCare |
| 608 | , ClearValue{ std::move( clearValue ) } |
| 609 | , PipelineColorBlendAttachmentState{} |
| 610 | , ImageLayout::eColorAttachment |
| 611 | , nullptr ); |
| 612 | m_targets.emplace_back( result ); |
| 613 | return result; |
| 614 | } |
| 615 | |
| 616 | Attachment const * FramePass::addOutputDepthTarget( ImageViewIdArray views |
| 617 | , ClearDepthStencilValue clearValue ) |