@vestra-player/sdk - v1.11.3
    Preparing search index...

    Variable VIDEO_PROCESSING_LIMITSConst

    VIDEO_PROCESSING_LIMITS: Readonly<
        {
            shaders: 16;
            shaderBytes: number;
            shaderIdBytes: 128;
            lutBytes: number;
            lutSize: 65;
            lutPathBytes: 4096;
            matrixValue: 1024;
            rdiv: 256;
            bias: 65535;
        },
    > = ...

    The player's bounds for the video primitives: convolution and lut3d VideoNodes and the shader channel (plugin.video.shaders()). Values beyond them fail with invalid; more shaders than shaders fail with limit.

    The 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);

    1.5.39