# RTS_GetVersion Callback Reference

        RTSHADER_API ULONG RTS_GetVersion()
        {
            return XSI_RTSHADER_VERSION;
        }

Each dynamic library needs to implement the RTS_GetVersion callback function. This tells Softimage which version of the Realtime Shader API this shader was compiled with.

Note:
  This callback is mandatory

Returns:
  Softimage version number

See also:
  Realtime Shader Callbacks, XSI_RTSHADER_VERSION