Click or drag to resize
Ab4d.SharpEngine logo

GaussianBlurPostProcess Class

GaussianBlurPostProcess is a post-process that blurs the scene by using a gaussian filter. The filter is applied in two passes - one vertical pass and one horizontal pass.
Inheritance Hierarchy
SystemObject
  Ab4d.SharpEngine.CoreComponentBase
    Ab4d.SharpEngine.PostProcessingPostProcessBase
      Ab4d.SharpEngine.PostProcessingStandardPostProcess
        Ab4d.SharpEngine.PostProcessingSeparableKernelPostProcess
          Ab4d.SharpEngine.PostProcessingGaussianBlurPostProcess

Namespace: Ab4d.SharpEngine.PostProcessing
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public class GaussianBlurPostProcess : SeparableKernelPostProcess

The GaussianBlurPostProcess type exposes the following members.

Constructors
 NameDescription
Public methodGaussianBlurPostProcess Initializes a new instance of the GaussianBlurPostProcess class.
Top
Properties
 NameDescription
Public propertyBlurRangeScale Gets or sets a float that defines how much the range from where this blur read pixel colors is increased. Default value is 1. Bigger values increase the blur amount but can show artifacts because the values are read only from 4 directions (and not from all pixels around the center position).
Public propertyBlurStandardDeviation Gets or sets a standard deviation value that is used to calculate the gaussian values. Smaller values give more weight to the pixels around the center. Bigger values flatten the gaussian curve and give more weight to the pixels away from the center. Default value is 2.
Top
Methods
 NameDescription
Protected methodFillOffsetsAndWeights FillOffsetsAndWeights fulls the specified offsets and weights arrays with values that are used in the shader to render this post process. Offsets define how far from the texture coordinate we sample pixel. Weights define how much weight this pixel has in the final color.
(Overrides SeparableKernelPostProcessFillOffsetsAndWeights(RenderingContext, Boolean, Int32, Int32, Single, Single))
Top
Remarks

[Missing <remarks> documentation for "T:Ab4d.SharpEngine.PostProcessing.GaussianBlurPostProcess"]

See Also