GetRequirements Callback Reference
    RTSHADER_API bool (*RTS_Shader3_GetRequirements)
    {
        IRTSExecutionState  *in_pExecState,
        void                *in_pParams,
        XSI_RTS_Primitive   *in_pGeom,
        void                **io_pShaderInstanceData,
        ULONG               in_lRequirement,
        ULONG               *out_pRequirementValue
    }

Use this callback to set whether any of the requirements listed in the eXSI_RTS_RequirementType enum are required or not by returning true or false in the out_pRequirementValue parameter.

Parameters:
in_pExecStateThe execution state interface
in_pParamsThe shader property page parameters
in_pGeomThe geometry information
Return values:
io_pShaderInstanceDataPointer to the shader's instance user data
Parameters:
in_lRequirementThe requirement identifier
Return values:
out_pRequirementValueThe returned requirement value
Returns:
Success/failure
See also:
IRTSExecutionState, Realtime Shader Callbacks, cus_rtshad_ExecutionFlow Execution Flow