ComSquare
sources
PPU
Tile.hpp
Go to the documentation of this file.
1
//
2
// Created by cbihan on 25/05/2021.
3
//
4
5
#pragma once
6
7
namespace
ComSquare::PPU
8
{
10
struct
Tile
11
{
13
static
constexpr
int
NbPixelsWidth
= 8;
15
static
constexpr
int
NbPixelsHeight
= 8;
18
static
constexpr
int
BaseByteSize
= 0x8;
19
};
20
21
}
ComSquare::PPU
Definition:
Background.cpp:11
ComSquare::PPU::Tile
Info on tile struct.
Definition:
Tile.hpp:10
ComSquare::PPU::Tile::BaseByteSize
static constexpr int BaseByteSize
A base tile size in byte is 0x8.
Definition:
Tile.hpp:18
ComSquare::PPU::Tile::NbPixelsWidth
static constexpr int NbPixelsWidth
The number of pixel a base tile can have in width.
Definition:
Tile.hpp:13
ComSquare::PPU::Tile::NbPixelsHeight
static constexpr int NbPixelsHeight
The number of pixel a base tile can have in height.
Definition:
Tile.hpp:15
Generated by
1.8.17