Texture_preload - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Determines whether to load the texture immediately into RAM or wait until the first time it is used in a draw call.

Parameters

  • texid: index of the texture

Return Values

none: This function has no return values.

Example Call

// demonstrates telling a given texture to preload itself
texture_preload(mytex);

NOTOC