PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
assets
exr_decode_internal.h
1
#pragma once
2
3
#include <cstdint>
4
#include <filesystem>
5
#include <optional>
6
#include <string>
7
#include <vector>
8
9
namespace
pixelbullet::exr_internal
10
{
11
struct
ExrImage
12
{
13
std::uint32_t width = 0u;
14
std::uint32_t height = 0u;
15
std::vector<float> rgba;
16
};
17
18
[[nodiscard]] std::optional<ExrImage> DecodeExrImage(
const
std::filesystem::path& path, std::string* error_message);
19
}
// namespace pixelbullet::exr_internal
pixelbullet::exr_internal::ExrImage
Definition
exr_decode_internal.h:12
Generated by
1.16.1