◆ write_f
◆ FrameBuffer()
anonymous_namespace{terminal.cpp}::FrameBuffer::FrameBuffer |
( |
Mode |
m | ) |
|
|
explicit |
◆ dedup()
std::size_t anonymous_namespace{terminal.cpp}::FrameBuffer::dedup |
( |
| ) |
|
Eliminates redundant information, possibly reducing the size.
Unique elements will be in span(0, dedup())
.
◆ flip()
void anonymous_namespace{terminal.cpp}::FrameBuffer::flip |
( |
| ) |
|
Inverts the Y coord.
of all pixels, must be called before dedup.
◆ pixel_size()
std::size_t anonymous_namespace{terminal.cpp}::FrameBuffer::pixel_size |
( |
| ) |
const |
|
private |
◆ resize_and_clear()
void anonymous_namespace{terminal.cpp}::FrameBuffer::resize_and_clear |
( |
nngn::uvec2 |
s | ) |
|
Changes the size and clears the content according to the mode.
◆ size_bytes()
std::size_t anonymous_namespace{terminal.cpp}::FrameBuffer::size_bytes |
( |
| ) |
const |
|
private |
◆ span()
std::span<char> anonymous_namespace{terminal.cpp}::FrameBuffer::span |
( |
| ) |
|
|
inline |
◆ write()
void anonymous_namespace{terminal.cpp}::FrameBuffer::write |
( |
std::size_t |
x, |
|
|
std::size_t |
y, |
|
|
Texture::texel4 |
color |
|
) |
| |
|
inline |
Write pixel at {x, y}
with color
.
◆ write_ascii()
void anonymous_namespace{terminal.cpp}::FrameBuffer::write_ascii |
( |
std::size_t |
x, |
|
|
std::size_t |
y, |
|
|
Texture::texel4 |
color |
|
) |
| |
|
private |
◆ write_colored()
void anonymous_namespace{terminal.cpp}::FrameBuffer::write_colored |
( |
std::size_t |
x, |
|
|
std::size_t |
y, |
|
|
Texture::texel4 |
color |
|
) |
| |
|
private |
◆ mode
Mode anonymous_namespace{terminal.cpp}::FrameBuffer::mode |
|
private |
◆ size
nngn::uvec2 anonymous_namespace{terminal.cpp}::FrameBuffer::size = {} |
|
private |
std::vector<char> anonymous_namespace{terminal.cpp}::FrameBuffer::v = {} |
|
private |
◆ wf
write_f anonymous_namespace{terminal.cpp}::FrameBuffer::wf |
|
private |
The documentation for this class was generated from the following file: