NVIDIAGameWorks / Streamline

Streamline Integration Framework
Other
377 stars 79 forks source link

[NIS] Setting options through slEvaluateFeature doesn't work. #34

Closed Bizzarrus closed 3 months ago

Bizzarrus commented 6 months ago

The docs state

NIS options must be set so that the NIS plugin can track any changes made by the user. This can be done explicitly using the slNISSetOptions or implicitly by adding options as part of the slEvaluateFeature call

However, adding the options as part of the slEvaluateFeature call doesn't seem to work at all - no change in options apply and if slNISSetOptions is never called, the slEvaluateFeature fails with eErrorMissingConstants.

Repro: Simply pass the desired NIS options through the inputs of the slEvaluateFeature call instead of calling slNISSetOptions, and remove any call to slNISSetOptions, then try to use NIS in the program.

jake-nv commented 6 months ago

Thanks for bringing this to our attention.

This is an outdated blurb from previous SL versions. Currently only certain options (e.g. viewport) can be set via slEvaluateFeature. Please use slNISSetOptions to set NIS options.