ConstThe plugin checks a shader list against the player's limit before it
sets it, and says so on the OSD instead of waiting for a limit failure.
The limit counts every plugin's shaders, so the player still decides.
import { VIDEO_PROCESSING_LIMITS } from "@vestra-player/sdk/testing";
if (files.length > VIDEO_PROCESSING_LIMITS.shaders)
void plugin.osd.show("Too many shaders");
else plugin.video.shaders().set(files);
The player's bounds for the video primitives:
convolutionandlut3dVideoNodes and the shader channel (plugin.video.shaders()). Values beyond them fail withinvalid; more shaders thanshadersfail withlimit.