GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
vpSetDebug(3) FreeBSD Library Functions Manual vpSetDebug(3)

vpSetDebug - enable/disable debugging options

#include <volpack.h>

vpResult

vpSetDebug(vpc, flag, value)

vpContext *vpc;
int flag;
int value;

VolPack context from vpCreateContext.
Constant that specifies the debugging option to be adjusted.
New value for the option (boolean: 0 or 1).

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:

view transform calculations
high-level rendering stages
intermediate image (render buffer) allocation
opacity correction
depth cueing
pyramid construction
octree construction
octree classification
runs computed from octree
octree traversal
volume transposing
compositing

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:

The flag argument is invalid.

VolPack(3), vpCreateContext(3)

VolPack

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.