texture_debug_messages

This function enables or disables 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);

ArgumentTypeDescription
enableBooleanEnable 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.