Table of Contents

Enum SpriteFlags

Namespace
GB
Assembly
GBSharp.Framework.dll

The attribute bits on a hardware sprite.

[Flags]
public enum SpriteFlags : byte

Fields

Bank = 8

Game Boy Color: take tile data from VRAM bank 1.

BehindBackground = 128

Draw behind background colours 1-3.

FlipX = 32

Mirror horizontally.

FlipY = 64

Mirror vertically.

None = 0
Palette = 16

Original Game Boy: use sprite palette 1 rather than 0.

Remarks

These are the raw OAM flags. SpriteRef exposes each one as a named property; this enum is for setting several at once.