yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
bitmap.h File Reference
#include <SDL.h>
#include <cstdint>
#include <span>
#include <unordered_map>
#include <vector>
#include "app/gfx/backend/irenderer.h"
#include "app/gfx/snes_palette.h"

Go to the source code of this file.

Classes

class  yaze::gfx::Bitmap
 Represents a bitmap image optimized for SNES ROM hacking. More...
 
struct  yaze::gfx::Bitmap::DirtyRegion
 

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)
 Convert bitmap format enum to SDL pixel format.
 

Variables

constexpr Uint32 yaze::gfx::SNES_PIXELFORMAT_INDEXED
 
constexpr Uint32 yaze::gfx::SNES_PIXELFORMAT_4BPP
 
constexpr Uint32 yaze::gfx::SNES_PIXELFORMAT_8BPP