vpSetDebug(3) | Library Functions Manual | vpSetDebug(3) |
vpSetDebug - enable/disable debugging options
#include <volpack.h>
vpResult
vpSetDebug(vpc, flag, value)
vpSetDebug is used to enable or disable a debugging option in a rendering context. The debugging options cause messages to be printed during execution. These messages are probably useless without a good understanding of the source code. If the value option is 0 then the option is disabled; otherwise it is enabled. The following list summarizes all available options:
The VolPack library must be compiled with the -DDEBUG compiler option for this function to have any effect.
The normal return value is VP_OK. The following error return value is possible:
VolPack |