Init Callback Reference
    RTSHADER_API bool (*RTS_Shader3_Init)
    {
        IRTSExecutionState  *in_pExecState,
        void                *in_pParams,
        void                **io_pShaderInstanceData
    }

The Init callback function is called the first time the shader is instantiated.

Note:
This callback is mandatory
Parameters:
in_pExecStateThe execution state interface
in_pParamsThe shader property page parameters
Return values:
io_pShaderInstanceDataPointer to the shader's instance user data
Returns:
Success/failure
See also:
IRTSExecutionState, Realtime Shader Callbacks, cus_rtshad_ExecutionFlow Execution Flow