void GsSortSprite (
GsSPRITE *sp,
GsOT *otp,
u_short pri
)
|
Arguments
sp |
Pointer to a sprite |
otp |
Pointer to an ordering table |
pri |
Position in the ordering table |
Return Value
None.
Explanation
The sprite pointed to by sp is entered into the ordering table pointed
to by otp.
The parameters of the sprite, such as its display position, are provided
by the members of GsSPRITE.
pri is the priority (i.e. position) of the sprite in the ordering
table. The highest priority is obtained by setting pri to 0. The
lowest priority is determined by the size of the ordering table. If the
value of pri is greater than the size of the ordering table, it
is clipped to the maximum size.
See Also
GsOT, GsSPRITE,
GsSortFastSprite()
|