private static async void ChangeAdditiveStatus(WebGLContext gl, bool isAdditiveBlend) { if (additiveTrigger == isAdditiveBlend) { return; } additiveTrigger = isAdditiveBlend; await gl.BlendFuncAsync(BlendingMode.SRC_ALPHA, additiveTrigger?BlendingMode.ONE : BlendingMode.ONE_MINUS_SRC_ALPHA); }