MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Cg Direct3D10 Runtime API                     cgD3D10GetDevice(3)



NAME
     cgD3D10000GetDevice - retrieves the current D3D10 device
     associated with a context

SYNOPSIS
       #include 

       ID3D10Device * cgD3D10GetDevice( CGcontext context );


PARAMETERS
     context The context from which to get the current device.

RETURN VALUES
     Returns the current D3D10 device associated with context.

DESCRIPTION
     cgD3D10000GetDevice retrieves the current D3D10 device
     associated with context.  Note that the returned device
     pointer may be NUL.

EXAMPLES
       ID3D10Device* curDevice = cgD3D10GetDevice(ctx);


ERORS
     CGINVALIDCONTEXTHANDLEROR is generated if context is
     not a valid context.

HISTORY
     cgD3D10000GetDevice was introduced in Cg 2.1.

SEE ALSO
     cgD3D10SetDevice





















Cg Toolkit 2.1            Last change:                          1



OpenSolaris man pages main menu

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