Texture_set_enabled - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Notation

Description

Sets whether or not to enable the use of texturing. Only really needed for debugging purposes to test hardware performance. This will not destroy your textures or throw errors if you still pass textures when drawing, it just doesnt use the textures, it is an OpenGL function.

Parameters

  • enable Whether or not texturing is enabled

Return Values

none: This function has no return values.

Example Call

// demonstrates disabling the use of texturing when anything is drawn.
texture_set_enabled(false);

NOTOC

Category:Function:All