summaryrefslogtreecommitdiff
path: root/lib/nes/app/graphics/image-tile.hh
blob: 0663e3f4a7522a73c477db3f9eeab2898c972f59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#pragma once

#include "nes/app/graphics/color.hh"

namespace nes::app
{
	/// An 8x8 tile with color data.
	///
	/// The tile is stored as a flattened two-dimensional array of 8x8 colors, stored in row-major format.
	struct image_tile
	{
		color data[8 * 8]{};
	};
} // namespace nes::app