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

> ## Name

> cgD3D11UnbindProgram - Unbinds a D3D11 program.

> ## Synopsis

>     #include <Cg/cgD3D11.h>

>     void cgD3D11UnbindProgram( CGprogram Program );

> ## Parameters

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

> ## Return Values

> None.

> ## Description

> cgD3D11UnbindProgram Unbinds a D3D11 program from the profile of the given program 'Program.'

> ## Examples

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

> ## Errors

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

> ## History

> cgD3D11UnbindProgram was introduced in Cg 3.0.

> ## See Also

> cgD3D11BindProgram