#include <framebuffer.hpp>
◆ Framebuffer()
jng::Framebuffer::Framebuffer |
( |
const Properties & |
properties | ) |
|
|
explicit |
◆ ~Framebuffer()
jng::Framebuffer::~Framebuffer |
( |
| ) |
|
◆ bind()
void jng::Framebuffer::bind |
( |
| ) |
const |
◆ clearAttachment() [1/2]
void jng::Framebuffer::clearAttachment |
( |
u32 |
attachmentIndex, |
|
|
float |
value |
|
) |
| const |
◆ clearAttachment() [2/2]
void jng::Framebuffer::clearAttachment |
( |
u32 |
attachmentIndex, |
|
|
int |
value |
|
) |
| const |
◆ getAttachments()
const std::vector< Ref< Texture > > & jng::Framebuffer::getAttachments |
( |
| ) |
const |
|
inline |
◆ getProperties()
const Properties & jng::Framebuffer::getProperties |
( |
| ) |
const |
|
inline |
◆ readPixel()
u32 jng::Framebuffer::readPixel |
( |
u32 |
colorAttachmentIndex, |
|
|
u32 |
x, |
|
|
u32 |
y |
|
) |
| const |
◆ resize()
void jng::Framebuffer::resize |
( |
u32 |
width, |
|
|
u32 |
height |
|
) |
| |
◆ unbind()
void jng::Framebuffer::unbind |
( |
| ) |
const |
The documentation for this class was generated from the following files: