Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class represents a Vulkan render pass. More...
#include <talvos/RenderPass.h>
Public Member Functions | |
RenderPass (const std::vector< VkAttachmentDescription > &Attachments, std::vector< Subpass > Subpasses) | |
Create a render pass from sets of attachment and subpass descriptions. More... | |
const VkAttachmentDescription & | getAttachment (uint32_t Index) const |
Returns the attachment at index Index . More... | |
uint32_t | getNumAttachments () const |
Returns the number of attachments in this render pass. More... | |
const Subpass & | getSubpass (uint32_t Index) const |
Returns the subpass at index Index . More... | |
Private Attributes | |
std::vector < VkAttachmentDescription > | Attachments |
The attachments used by this render pass. More... | |
const std::vector< Subpass > | Subpasses |
The subpasses contained in this render pass. More... | |
This class represents a Vulkan render pass.
Definition at line 69 of file RenderPass.h.
|
inline |
Create a render pass from sets of attachment and subpass descriptions.
Definition at line 73 of file RenderPass.h.
const VkAttachmentDescription & talvos::RenderPass::getAttachment | ( | uint32_t | Index | ) | const |
Returns the attachment at index Index
.
Definition at line 17 of file RenderPass.cpp.
|
inline |
Returns the number of attachments in this render pass.
Definition at line 81 of file RenderPass.h.
const Subpass & talvos::RenderPass::getSubpass | ( | uint32_t | Index | ) | const |
Returns the subpass at index Index
.
Definition at line 23 of file RenderPass.cpp.
|
private |
The attachments used by this render pass.
Definition at line 88 of file RenderPass.h.
|
private |
The subpasses contained in this render pass.
Definition at line 91 of file RenderPass.h.