<vertexShader> ‐ A vertex shader program
This element defines a vertex shader program that is used by a shader and defined as a child element of the shader element. The vertex programs are written in Cg language http://www.nvidia.com/developer that is documented in the Cg language online reference manual http://www.nvidia.com/developer.
The program is compiled by the Cg compiler (that must be installed on the platform). The external file reference, given by the xlink:href attribute, defines the URI reference (Uniform Resource Identifier) of the file that contains the bitmap image. The shader_cg_programs attribute of the texture_display element in the configuration file gives the path that is used to look for the vertex programs.
None.
The example below defines a vertex shader program named roubaud789-VP.cg.
<vertexShader xlink:href="roubaud789-VP.cg"/>