23 VkImageLayout
layout{VK_IMAGE_LAYOUT_UNDEFINED};
27 VkPipelineBindPoint pipelineBindPoint{VK_PIPELINE_BIND_POINT_GRAPHICS};
28 std::vector<AttachmentReference> inputAttachments{};
29 std::vector<AttachmentReference> colorAttachments{};
30 std::vector<AttachmentReference> resolveAttachments{};
32 std::vector<AttachmentIndex> preserveAttachments{};
38 VkPipelineStageFlags srcStageMask{0};
39 VkPipelineStageFlags dstStageMask{0};
40 VkAccessFlags srcAccessMask{0};
41 VkAccessFlags dstAccessMask{0};
42 VkDependencyFlags dependencyFlags{0};
63 std::unique_ptr<API::RenderPass>
build(VkResult* returnResult =
nullptr);
std::vector< uint32_t > preserveAttachments
RenderPass(const API::Device &device)
bool build(API::RenderPass &instance, VkResult *returnResult=nullptr)
AttachmentIndex addAttachment(const VkAttachmentDescription &attachmentDescription)
const API::Device & _device
std::list< VkSubpassDescription > _subpasses
std::list< VkAttachmentDescription > _attachments
std::vector< VkAttachmentReference > resolveAttachments
SubpassIndex addSubpass(const SubpassDescription &subpassDescription)
std::vector< VkAttachmentReference > colorAttachments
std::vector< VkAttachmentReference > inputAttachments
const VkSubpassDescription * SubpassIndex
const VkAttachmentDescription * AttachmentIndex
void addSubpassDependency(const SubpassDependency &subpassDependency)
std::list< VkSubpassDependency > _dependencies
VkAttachmentReference depthStencilAttachment
std::list< SubpassResources > _subpassesResources
AttachmentIndex attachment
RenderPass & operator=(const RenderPass &)=delete