Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostProcessingEffects"/> class.
 /// </summary>
 public PostProcessingEffects()
 {
     depthOfField = new DepthOfField();
     luminanceEffect = new LuminanceEffect();
     brightFilter = new BrightFilter();
     bloom = new Bloom();
     lightStreak = new LightStreak();
     lensFlare = new LensFlare();
     ssaa = new FXAAEffect();
     colorTransformsGroup = new ColorTransformGroup();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="PostProcessingEffects"/> class.
 /// </summary>
 public PostProcessingEffects()
 {
     depthOfField         = new DepthOfField();
     luminanceEffect      = new LuminanceEffect();
     brightFilter         = new BrightFilter();
     bloom                = new Bloom();
     lightStreak          = new LightStreak();
     lensFlare            = new LensFlare();
     ssaa                 = new FXAAEffect();
     colorTransformsGroup = new ColorTransformGroup();
 }
Exemplo n.º 3
0
        protected override void InitializeCore()
        {
            base.InitializeCore();

            depthOfField         = ToLoadAndUnload(depthOfField);
            luminanceEffect      = ToLoadAndUnload(luminanceEffect);
            brightFilter         = ToLoadAndUnload(brightFilter);
            bloom                = ToLoadAndUnload(bloom);
            lightStreak          = ToLoadAndUnload(lightStreak);
            lensFlare            = ToLoadAndUnload(lensFlare);
            ssaa                 = ToLoadAndUnload(ssaa);
            colorTransformsGroup = ToLoadAndUnload(colorTransformsGroup);
        }
Exemplo n.º 4
0
        protected override void InitializeCore()
        {
            base.InitializeCore();

            depthOfField = ToLoadAndUnload(depthOfField);
            luminanceEffect = ToLoadAndUnload(luminanceEffect);
            brightFilter = ToLoadAndUnload(brightFilter);
            bloom = ToLoadAndUnload(bloom);
            lightStreak = ToLoadAndUnload(lightStreak);
            lensFlare = ToLoadAndUnload(lensFlare);
            ssaa = ToLoadAndUnload(ssaa);
            colorTransformsGroup = ToLoadAndUnload(colorTransformsGroup);
        }