Vookoo
Classes | Public Member Functions | List of all members
vku::RenderpassMaker Class Reference

#include <vku.hpp>

Public Member Functions

void attachmentBegin (vk::Format format)
 
void attachmentFlags (vk::AttachmentDescriptionFlags value)
 
void attachmentFormat (vk::Format value)
 
void attachmentSamples (vk::SampleCountFlagBits value)
 
void attachmentLoadOp (vk::AttachmentLoadOp value)
 
void attachmentStoreOp (vk::AttachmentStoreOp value)
 
void attachmentStencilLoadOp (vk::AttachmentLoadOp value)
 
void attachmentStencilStoreOp (vk::AttachmentStoreOp value)
 
void attachmentInitialLayout (vk::ImageLayout value)
 
void attachmentFinalLayout (vk::ImageLayout value)
 
void subpassBegin (vk::PipelineBindPoint bp)
 
void subpassColorAttachment (vk::ImageLayout layout, uint32_t attachment)
 
void subpassDepthStencilAttachment (vk::ImageLayout layout, uint32_t attachment)
 
vk::UniqueRenderPass createUnique (const vk::Device &device) const
 
void dependencyBegin (uint32_t srcSubpass, uint32_t dstSubpass)
 
void dependencySrcSubpass (uint32_t value)
 
void dependencyDstSubpass (uint32_t value)
 
void dependencySrcStageMask (vk::PipelineStageFlags value)
 
void dependencyDstStageMask (vk::PipelineStageFlags value)
 
void dependencySrcAccessMask (vk::AccessFlags value)
 
void dependencyDstAccessMask (vk::AccessFlags value)
 
void dependencyDependencyFlags (vk::DependencyFlags value)
 

Detailed Description

Factory for renderpasses. example: RenderpassMaker rpm; rpm.subpassBegin(vk::PipelineBindPoint::eGraphics); rpm.subpassColorAttachment(vk::ImageLayout::eColorAttachmentOptimal);

rpm.attachmentDescription(attachmentDesc); rpm.subpassDependency(dependency); s.renderPass_ = rpm.createUnique(device);

Member Function Documentation

void vku::RenderpassMaker::attachmentBegin ( vk::Format  format)
inline

Begin an attachment description. After this you can call attachment* many times

void vku::RenderpassMaker::subpassBegin ( vk::PipelineBindPoint  bp)
inline

Start a subpass description. After this you can can call subpassColorAttachment many times and subpassDepthStencilAttachment once.


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