Name
cgD3D8BindProgram - activate a program with D3D
Synopsis
#include <Cg/cgD3D8.h>
HRESULT cgD3D8BindProgram( CGprogram prog );
Parameters
- program
-
A CGprogram handle, the program to activate with D3D.
Return Values
cgD3D8BindProgram returns D3D_OK if the function succeeds.
If the function fails due to a D3D call, that D3D failure code is returned.
Description
cgD3D8BindProgram does to-be-written
Examples
// example code to-be-written
Errors
None.
or
to-be-written
History
cgD3D8BindProgram was introduced in Cg 1.1.
See Also
cgD3D9BindProgram
|