|
Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class represents an instance of a render pass being used for drawing. More...
#include <talvos/RenderPass.h>
Public Member Functions | |
| RenderPassInstance (const RenderPass &RP, const Framebuffer &FB, const std::vector< VkClearValue > &ClearValues) | |
| Create a render pass instance from a render pass and a framebuffer. More... | |
| void | begin () |
| Initialize the render pass state in preparation for draw commands. More... | |
| void | end () |
| Finalize the render pass state after completing all draw commands. More... | |
| const Framebuffer & | getFramebuffer () const |
| Returns the framebuffer associated with this render pass instance. More... | |
| const RenderPass & | getRenderPass () const |
| Returns the render pass. More... | |
| uint32_t | getSubpassIndex () const |
| Returns the index of the current subpass. More... | |
| void | nextSubpass () |
| Transition to the next subpass. More... | |
Private Member Functions | |
| void | beginSubpass () |
| Helper used to update render pass state when a new subpass is started. More... | |
| void | endSubpass () |
| Helper used to update render pass state when a subpass completes. More... | |
Private Attributes | |
| const RenderPass & | RP |
| The render pass that this object instantiates. More... | |
| const Framebuffer & | FB |
| The framebuffer associated with this render pass instance. More... | |
| std::vector< VkClearValue > | ClearValues |
| The clear values used for this render pass instance. More... | |
| bool | Rendering |
| Flag used to indicate whether the instance is currently rendering. More... | |
| uint32_t | SubpassIndex |
| The index of the current subpass. More... | |
| std::vector< bool > | AttachmentsInitialized |
| Flags denoting whether each attachment has been initialized yet. More... | |
This class represents an instance of a render pass being used for drawing.
Definition at line 95 of file RenderPass.h.
|
inline |
Create a render pass instance from a render pass and a framebuffer.
Definition at line 99 of file RenderPass.h.
| void talvos::RenderPassInstance::begin | ( | ) |
Initialize the render pass state in preparation for draw commands.
Definition at line 29 of file RenderPass.cpp.
|
private |
Helper used to update render pass state when a new subpass is started.
Definition at line 42 of file RenderPass.cpp.
| void talvos::RenderPassInstance::end | ( | ) |
Finalize the render pass state after completing all draw commands.
Definition at line 86 of file RenderPass.cpp.
|
private |
Helper used to update render pass state when a subpass completes.
Definition at line 94 of file RenderPass.cpp.
|
inline |
Returns the framebuffer associated with this render pass instance.
Definition at line 110 of file RenderPass.h.
|
inline |
Returns the render pass.
Definition at line 113 of file RenderPass.h.
|
inline |
Returns the index of the current subpass.
Definition at line 116 of file RenderPass.h.
| void talvos::RenderPassInstance::nextSubpass | ( | ) |
Transition to the next subpass.
Definition at line 99 of file RenderPass.cpp.
|
private |
Flags denoting whether each attachment has been initialized yet.
Definition at line 138 of file RenderPass.h.
|
private |
The clear values used for this render pass instance.
Definition at line 129 of file RenderPass.h.
|
private |
The framebuffer associated with this render pass instance.
Definition at line 126 of file RenderPass.h.
|
private |
Flag used to indicate whether the instance is currently rendering.
Definition at line 132 of file RenderPass.h.
|
private |
The render pass that this object instantiates.
Definition at line 123 of file RenderPass.h.
|
private |
The index of the current subpass.
Definition at line 135 of file RenderPass.h.
1.8.6