texture_debug_messages

This function can be used to enable or disable texture debug messages. When enabled (set to true), additional information about texture page use will be sent to the output window. Set to false to disable this output again.

 

Syntax:

texture_debug_messages(enable);

ArgumentType Description
enableBoolean Enable or disable the texture debug messages

 

Returns:

N/A

 

Example:

if global.debug
{
    texture_debug_messages(true);
}

The above code will check the value of a global variable and if it is set to true then texture debug messages are enabled.