NAME

cgD3D9EnableDebugTracing - enable or disable debug output

SYNOPSIS

  #include <Cg/cgD3D9.h>

  void cgD3D9EnableDebugTracing( CGbool enable );

PARAMETERS

enable

Pass CG_TRUE to enable debug output, CG_FALSE to disable it.

RETURN VALUES

None.

DESCRIPTION

cgD3D9EnableDebugTracing enables or disables debug output for an application when using the debug DLL.

EXAMPLES

The following example code illustrates the use of cgD3D9EnableDebugTracing:

  cgD3D9EnableDebugTracing(CG_TRUE);
  // use code to be debugged
  ...
  cgD3D9EnableDebugTracing(CG_FALSE);
        

ERRORS

cgD3D9EnableDebugTracing does not generate any errors.

    or

to-be-written

HISTORY

cgD3D9EnableDebugTracing was introduced in Cg to-be-written.

SEE ALSO

function1text, function2text