> ## Name

> FragmentProgram - 3D API fragment program

> ## Usage

> FragmentProgram = compile profile "-po profileOption" main(args);

> ## Valid Enumerants

> prog: Null

> ## Description

> Compile a fragment program. See the specification of the OpenGL fragment profile for details. See the specification of the Direct3D fragment shaders for details.

> The standard reset callback sets the FragmentProgram state to program(false).

> ## Opengl Functionality Requirements

> OpenGL 1.0

> ## Direct3D Functionality Requirements

> DirectX 9

> ## See Also

> GeometryProgram, TessellationControlProgram, TessellationEvaluationProgram, VertexProgram, GeometryShader, PixelShader, TessellationControlShader, TessellationEvaluationShader, VertexShader