The CgD3D10 runtime library for DirectX 10 based applications. The CgD3D9 runtime library for DirectX 9 based applications. The CgGL runtime library for OpenGL based applications. The Cg core runtime library for managing parameters and loading programs. It provides a compiler for the Cg language, runtime libraries to use with the OpenGL andĭirectX graphics APIs, support for CgFX effect files, example applications, and Originally released in December 2002, the Toolkit now supports over 30 different DirectX and OpenGL profile targets. Hardware and OS platforms and graphics APIs. The Cg Toolkit allows developers to write and run Cg programs using a wide variety of