Skip to content

SpriteAnimationFrame ​

Struct

Source: Renderer.h

Description ​

Single animation frame that can reference either a Sprite or a MultiSprite.

Exactly one of the pointers is expected to be non-null for a valid frame. This allows the same animation system to drive both simple and layered sprites without exposing bit-level details to game code.

Properties ​

NameTypeDescription
SpriteconstOptional pointer to a simple 1bpp sprite frame.
MultiSpriteconstOptional pointer to a layered sprite frame.

Released under the MIT License.