private void OnEnable()
    {
        if (shader == null)
        {
            enabled = false;
            return;
        }

        _customPass = new CustomPostProcessPass(shader);

        customPasses.Add(_customPass);

        AddPass(this);
    }
 private void OnDisable()
 {
     RemovePass(this);
     customPasses.Clear();
     _customPass = null;
 }
 public override void Create()
 {
     customPostProcessPass = new CustomPostProcessPass(shaders);
 }