#include <SDL.h>
#include <cstdint>
#include <span>
#include <vector>
#include "app/gfx/snes_palette.h"
Go to the source code of this file.
Classes | |
class | yaze::gfx::Bitmap |
Represents a bitmap image. More... | |
Namespaces | |
namespace | yaze |
Main namespace for the application. | |
namespace | yaze::gfx |
Contains classes for handling graphical data. | |
Typedefs | |
using | yaze::gfx::BitmapTable = std::unordered_map<int, gfx::Bitmap> |
Enumerations | |
enum | yaze::gfx::BitmapFormat { yaze::gfx::kIndexed = 0 , yaze::gfx::k4bpp = 1 , yaze::gfx::k8bpp = 2 } |
Functions | |
Uint32 | yaze::gfx::GetSnesPixelFormat (int format) |
Get the SDL pixel format for a given bitmap format. | |
Variables | |
constexpr Uint32 | yaze::gfx::SNES_PIXELFORMAT_INDEXED |
constexpr Uint32 | yaze::gfx::SNES_PIXELFORMAT_4BPP |
constexpr Uint32 | yaze::gfx::SNES_PIXELFORMAT_8BPP |