Tao.Cg SDK Documentation

Cg.cgCopyProgram Method 

Makes a copy of the specified Cg program within the same context.

[Visual Basic]
Public Shared Function cgCopyProgram( _
   ByVal program As IntPtr _
) As IntPtr
[C#]
public static IntPtr cgCopyProgram(
   IntPtr program
);

Parameters

program
Handle to the program to copy.

Return Value

Handle to a new program within the same context.

See Also

Cg Class | Tao.Cg Namespace