Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
bicameral::render::anonymous_namespace{screenshot.cpp} Namespace Reference

Functions

void AppendLittleEndian (std::vector< uint8_t > &bytes, uint32_t value, uint32_t size)
std::vector< uint8_t > BmpHeader (uint32_t width, uint32_t height)

Variables

constexpr uint32_t BYTES_PER_PIXEL = 4
constexpr uint32_t FILE_HEADER_BYTES = 14
constexpr uint32_t INFO_HEADER_BYTES = 40

Function Documentation

◆ AppendLittleEndian()

void bicameral::render::anonymous_namespace{screenshot.cpp}::AppendLittleEndian ( std::vector< uint8_t > & bytes,
uint32_t value,
uint32_t size )

Definition at line 22 of file screenshot.cpp.

References AppendLittleEndian().

Referenced by AppendLittleEndian(), and BmpHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmpHeader()

std::vector< uint8_t > bicameral::render::anonymous_namespace{screenshot.cpp}::BmpHeader ( uint32_t width,
uint32_t height )

Definition at line 28 of file screenshot.cpp.

References AppendLittleEndian(), BmpHeader(), BYTES_PER_PIXEL, FILE_HEADER_BYTES, and INFO_HEADER_BYTES.

Referenced by BmpHeader().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ BYTES_PER_PIXEL

uint32_t bicameral::render::anonymous_namespace{screenshot.cpp}::BYTES_PER_PIXEL = 4
constexpr

Definition at line 17 of file screenshot.cpp.

Referenced by BmpHeader().

◆ FILE_HEADER_BYTES

uint32_t bicameral::render::anonymous_namespace{screenshot.cpp}::FILE_HEADER_BYTES = 14
constexpr

Definition at line 18 of file screenshot.cpp.

Referenced by BmpHeader().

◆ INFO_HEADER_BYTES

uint32_t bicameral::render::anonymous_namespace{screenshot.cpp}::INFO_HEADER_BYTES = 40
constexpr

Definition at line 19 of file screenshot.cpp.

Referenced by BmpHeader().