ComSquare
Static Public Attributes | List of all members
ComSquare::PPU::Tile Struct Reference

Info on tile struct. More...

#include <Tile.hpp>

Collaboration diagram for ComSquare::PPU::Tile:

Static Public Attributes

static constexpr int NbPixelsWidth = 8
 The number of pixel a base tile can have in width. More...
 
static constexpr int NbPixelsHeight = 8
 The number of pixel a base tile can have in height. More...
 
static constexpr int BaseByteSize = 0x8
 A base tile size in byte is 0x8. More...
 

Detailed Description

Info on tile struct.

Member Data Documentation

◆ BaseByteSize

constexpr int ComSquare::PPU::Tile::BaseByteSize = 0x8
staticconstexpr

A base tile size in byte is 0x8.

Note
Used like: bpp * BaseByteSize to get the byte size of 1 tile

◆ NbPixelsHeight

constexpr int ComSquare::PPU::Tile::NbPixelsHeight = 8
staticconstexpr

The number of pixel a base tile can have in height.

◆ NbPixelsWidth

constexpr int ComSquare::PPU::Tile::NbPixelsWidth = 8
staticconstexpr

The number of pixel a base tile can have in width.


The documentation for this struct was generated from the following file: