コード例 #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();
 }
コード例 #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();
 }
コード例 #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);
        }
コード例 #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);
        }