cgD3D10UnbindProgram
Keywords: cgD3D10UnbindProgram, NVIDIA, NVIDIA Cg Toolkit, Cg Toolkit, Shader, Shader Programming, GPU Shader Programming, GPU Program

> ## Name

> cgD3D10UnbindProgram - Unbinds a D3D10 program.

> ## Synopsis

>     #include <Cg/cgD3D10.h>

>     void cgD3D10UnbindProgram( CGprogram Program );

> ## Parameters

> Program
>   A program whose profile is used to unbind the program from the API.

> ## Return Values

> None.

> ## Description

> cgD3D10UnbindProgram Unbinds a D3D10 program from the profile of the given program 'Program.'

> ## Examples

>     // CGprogram vertexProg;
>     //...
>     cgD3D10UnbindProgram( vertexProg );

> ## Errors

> CG_INVALID_PROGRAM_HANDLE_ERROR is generated if Program is not a valid program.

> ## History

> cgD3D10UnbindProgram was introduced in Cg 3.0.

> ## See Also

> cgD3D10BindProgram