PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
image
bitmap_decode_internal.h
1
#pragma once
2
3
#include <cstdint>
4
#include <span>
5
#include <string>
6
#include <string_view>
7
8
namespace
pixelbullet
9
{
10
class
Bitmap
;
11
12
namespace
image_internal
13
{
14
[[nodiscard]]
bool
decode_bitmap_from_bytes(Bitmap& bitmap, std::span<const std::uint8_t> bytes, std::string_view source_name,
15
std::string_view mime_type = {}, std::string* error_message =
nullptr
);
16
}
// namespace image_internal
17
}
// namespace pixelbullet
pixelbullet::Bitmap
Packed RGBA8 CPU bitmap storage.
Definition
bitmap.h:19
Generated by
1.16.1