NAME
    cgGetParameterDirection - get a program parameter's direction

SYNOPSIS
      #include <Cg/cg.h>

      CGenum cgGetParameterDirection( CGparameter param );

PARAMETERS
    param   Specifies the program parameter.

DESCRIPTION
    cgGetParameterDirection allows the application to distinguish program
    input parameters from program output parameters. This information is
    necessary for the application to properly supply the program inputs and
    use the program outputs.

    cgGetParameterDirection will return one of the following enumerants :

    CG_IN     Specifies an input parameter.

    CG_OUT    Specifies an output parameter.

    CG_INOUT  Specifies a parameter that is both input and output.

    CG_ERROR  If an error occurs.

RETURN VALUES
    Returns the direction of param. Returns CG_ERROR if an error occurs.

ERRORS
    CG_INVALID_PARAM_HANDLE_ERROR is generated if prog does not refer to a
    valid parameter.

SEE ALSO
    the cgGetNamedParameter manpage, the cgGetNextParameter manpage, the
    cgGetParameterName manpage, the cgGetParameterType manpage, the
    cgGetParameterVariability manpage, the cgGetParameterBinding manpage,
    the cgGetParameterDirectionalBinding manpage, the cgIsArray manpage, the
    cgSetParameterVariablity manpage, the cgSetParameterBinding manpage, the
    cgSetParameterDirectionalBinding manpage

