Vookoo
|
#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) |
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);
|
inline |
Begin an attachment description. After this you can call attachment* many times
|
inline |
Start a subpass description. After this you can can call subpassColorAttachment many times and subpassDepthStencilAttachment once.