GsSortFixBg16

Enters a background descriptor in an OT at high speed

void GsSortFixBg16 (
        GsBG *bg,
        u_long *work,
        GsOT *otp,
        u_short pri
)

Arguments

bg Pointer to a background descriptor
work Pointer to the work area (primitive area) initialized with GsInitFixBg16()
otp Pointer to an ordering table
pri Position in the ordering table

Return Value

None.

Explanation

The background image pointed to by bg is entered into the ordering table pointed to by otp at position pri.
GsSortFixBg16() has the following features and restrictions:
  • BG rotation and scaling cannot be performed.
  • Cell size is fixed (16x16).
  • Only texture pattern colour modes 4-bit and 8-bit are supported.
  • Map size is optional.
  • Scrolling is permitted in 1 pixel units.
  • Only full screen mode is supported.
This function uses the work area pointed to by work to store drawing primitives.
The work area must be initialized in advance by GsInitFixBg16().
The packet area set with GsSetWorkBase() is not used.

See Also

GsInitFixBg16(), GsBG, GsOT