namespace
#include <bn_bg_tiles.h>
bg_tiles Background tiles related functions.
Functions
- auto used_tiles_count() -> int
- Returns the number of used background tiles managed with regular_
bg_ tiles_ ptr and affine_ bg_ tiles_ ptr objects. - auto available_tiles_count() -> int
- Returns the number of available background tiles that can be managed with regular_
bg_ tiles_ ptr and affine_ bg_ tiles_ ptr objects. - auto used_blocks_count() -> int
- Returns the number of used background tile sets created with regular_
bg_ tiles_ ptr and affine_ bg_ tiles_ ptr static constructors. - auto available_blocks_count() -> int
- Returns the number of available background tile sets that can be created with regular_
bg_ tiles_ ptr and affine_ bg_ tiles_ ptr static constructors. - auto allow_offset() -> bool
- Specifies if tile offsets are allowed to improve VRAM usage when creating regular_
bg_ tiles_ ptr and affine_ bg_ tiles_ ptr objects. - void set_allow_offset(bool allow_offset)
- Sets if tile offsets are allowed to improve VRAM usage when creating regular_
bg_ tiles_ ptr and affine_ bg_ tiles_ ptr objects. - void log_status()
- Logs the current status of the background blocks manager.