Skip to content

Texture_preload

hpgDesigns edited this page Aug 8, 2021 · 1 revision

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

This is number 1

Clone this wiki locally