ComSquare
Public Attributes | List of all members
ComSquare::PPU::Utils::TileData Union Reference

Used to parse easily VRAM Tile information. More...

#include <PPUUtils.hpp>

Collaboration diagram for ComSquare::PPU::Utils::TileData:

Public Attributes

struct {
   uint16_t   posX: 4
 Tile X offset. More...
 
   uint16_t   posY: 6
 Tile Y offset. More...
 
   uint16_t   palette: 3
 Palette number used by the Tile. More...
 
   uint16_t   tilePriority: 1
 True if the Tile has priority. More...
 
   uint16_t   horizontalFlip: 1
 True if the Tile need to be horizontally flipped. More...
 
   uint16_t   verticalFlip: 1
 True if the Tile need to be vertically flipped. More...
 
}; 
 
uint16_t raw = 0
 

Detailed Description

Used to parse easily VRAM Tile information.

Member Data Documentation

◆ @177

struct { ... }

◆ horizontalFlip

uint16_t ComSquare::PPU::Utils::TileData::horizontalFlip

True if the Tile need to be horizontally flipped.

◆ palette

uint16_t ComSquare::PPU::Utils::TileData::palette

Palette number used by the Tile.

◆ posX

uint16_t ComSquare::PPU::Utils::TileData::posX

Tile X offset.

◆ posY

uint16_t ComSquare::PPU::Utils::TileData::posY

Tile Y offset.

◆ raw

uint16_t ComSquare::PPU::Utils::TileData::raw = 0

◆ tilePriority

uint16_t ComSquare::PPU::Utils::TileData::tilePriority

True if the Tile has priority.

◆ verticalFlip

uint16_t ComSquare::PPU::Utils::TileData::verticalFlip

True if the Tile need to be vertically flipped.


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