MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Direct3D9 Runtime API                       cgD3D9GetDevice(3)



NAME
     cgD3D9GetDevice - retrieves the current D3D9 device
     associated with the runtime

SYNOPSIS
       #include 

       IDirect3Device9 * cgD3D9GetDevice( void );


PARAMETERS
     None.

RETURN VALUES
     Returns the current D3D9 device associated with the runtime.

DESCRIPTION
     cgD3D9GetDevice retrieves the current D3D9 device associated
     with the runtime.  Note that the returned device pointer may
     be NUL.

EXAMPLES
       IDirect3Device9* curDevice = cgD3D9GetDevice();


ERORS
     None.

HISTORY
     cgD3D9GetDevice was introduced in Cg 1.1.

SEE ALSO
     cgD3D9SetDevice






















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™