示例#1
0
 public BloomParams(BloomStates state, float bloomThreshold, float blurAmount,
                    float bloomIntensity, float baseIntensity,
                    float bloomSaturation, float baseSaturation)
 {
     this.State           = state;
     this.BloomThreshold  = bloomThreshold;
     this.BlurAmount      = blurAmount;
     this.BloomIntensity  = bloomIntensity;
     this.BaseIntensity   = baseIntensity;
     this.BloomSaturation = bloomSaturation;
     this.BaseSaturation  = baseSaturation;
 }
 public void ChangeMode(BloomStates state)
 {
     Settings = BloomParams.BModes[state];
 }