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

#include "nes/common/types.hh"

namespace nes::app
{
	/// An 8x8 tile without intrinsic coloring, only providing the alpha mask.
	///
	/// The tile is stored as an array of 8 8-bit integers, where each bit represents a horizontal pixel in the
	/// integer's row.
	struct mask_tile
	{
		u8 data[8]{};
	};
} // namespace nes::app