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.


语法:

texture_debug_messages(enable);

参数 描述
enable Enable or disable the texture debug messages


返回:

N/A(无返回值)


例如:

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.