PixelBullet
0.0.1
A C++ game engine
Loading...
Searching...
No Matches
engine
src
assets
bitmap_decode_internal.h
1
#pragma once
2
3
#include <string_view>
4
#include <vector>
5
6
namespace
pixelbullet
7
{
8
class
Bitmap
;
9
10
namespace
bitmap_internal
11
{
12
[[nodiscard]]
bool
DecodeBitmapFromBytes(Bitmap& bitmap,
const
std::vector<unsigned char>& bytes, std::string_view source_name,
13
std::string_view mime_type = {});
14
}
// namespace bitmap_internal
15
}
// namespace pixelbullet
pixelbullet::Bitmap
A simple Bitmap class that loads and writes images using lodepng.
Definition
bitmap.h:17
Generated by
1.16.1