Talvos
0.1
SPIR-V interpreter and dynamic analysis framework
|
This class represents a framebuffer that can be used for rendering. More...
#include <talvos/RenderPass.h>
Public Member Functions | |
Framebuffer (Device &Dev, uint32_t Width, uint32_t Height, uint32_t NumLayers, const std::vector< ImageView * > &Attachments) | |
Create a framebuffer. More... | |
const std::vector< ImageView * > & | getAttachments () const |
Returns the list of attachments backing this framebuffer. More... | |
Device & | getDevice () const |
Returns the device that this framebuffer is associated with. More... | |
uint32_t | getHeight () const |
Returns the height of this framebuffer in pixels. More... | |
uint32_t | getNumLayers () const |
Returns the number of layers in this framebuffer. More... | |
uint32_t | getWidth () const |
Returns the width of this framebuffer in pixels. More... | |
Private Attributes | |
Device & | Dev |
The device this framebuffer belongs to. More... | |
uint32_t | Width |
The width of the framebuffer in pixels. More... | |
uint32_t | Height |
The height of the framebuffer in pixels. More... | |
uint32_t | NumLayers |
The numbers of layers in the framebuffer. More... | |
std::vector< ImageView * > | Attachments |
The framebuffer attachments. More... | |
This class represents a framebuffer that can be used for rendering.
Definition at line 22 of file RenderPass.h.
|
inline |
Create a framebuffer.
Definition at line 26 of file RenderPass.h.
|
inline |
Returns the list of attachments backing this framebuffer.
Definition at line 32 of file RenderPass.h.
|
inline |
Returns the device that this framebuffer is associated with.
Definition at line 35 of file RenderPass.h.
|
inline |
Returns the height of this framebuffer in pixels.
Definition at line 38 of file RenderPass.h.
|
inline |
Returns the number of layers in this framebuffer.
Definition at line 41 of file RenderPass.h.
|
inline |
Returns the width of this framebuffer in pixels.
Definition at line 44 of file RenderPass.h.
|
private |
The framebuffer attachments.
Definition at line 55 of file RenderPass.h.
|
private |
The device this framebuffer belongs to.
Definition at line 47 of file RenderPass.h.
|
private |
The height of the framebuffer in pixels.
Definition at line 50 of file RenderPass.h.
|
private |
The numbers of layers in the framebuffer.
Definition at line 52 of file RenderPass.h.
|
private |
The width of the framebuffer in pixels.
Definition at line 49 of file RenderPass.h.