Bicameral Engine
GPU-resident engine for a magic-research open-world game
Loading...
Searching...
No Matches
screenshot.cpp File Reference
#include "render/screenshot.h"
#include <array>
#include <filesystem>
#include <fstream>
#include <system_error>
#include <vector>
#include "core/aliases.h"
#include "core/unicode.h"
#include "gpu/resources.h"
Include dependency graph for screenshot.cpp:

Go to the source code of this file.

Namespaces

namespace  bicameral
namespace  bicameral::render
namespace  bicameral::render::anonymous_namespace{screenshot.cpp}

Functions

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

Variables

constexpr uint32_t bicameral::render::anonymous_namespace{screenshot.cpp}::BYTES_PER_PIXEL = 4
constexpr uint32_t bicameral::render::anonymous_namespace{screenshot.cpp}::FILE_HEADER_BYTES = 14
constexpr uint32_t bicameral::render::anonymous_namespace{screenshot.cpp}::INFO_HEADER_BYTES = 40