      try {
            const parmValue = webglContext.getParameter(glEnum);
            if (
              Array.isArray(parmValue) ||
              [Float32Array, Int32Array, Uint32Array].some(
                (type) => parmValue instanceof type
              )
            ) {
              const arrayValue = Array.from(parmValue);
              result[`${webglContextId}:parameters`][glEnum] =
                arrayValue.length > 0 ? arrayValue : null;
            } else {
              result[`${webglCont