CgFX is a shader framework, created by Nvidia. It is almost identical to Microsoft's fx framework. In fact, as a file format, it is identical. The only difference comes from the differences between Cg and HLSL. Its main benefit is that it is multi-platform, capable of rendering in both DirectX and OpenGL. Despite this benefit, it is much less commonly used than Microsoft's formats.