![]() | SimpleMotionBlur Class |
Namespace: DigitalRune.Graphics.PostProcessing
The SimpleMotionBlur type exposes the following members.
Name | Description | |
---|---|---|
![]() | SimpleMotionBlur |
Initializes a new instance of the SimpleMotionBlur class.
|
Name | Description | |
---|---|---|
![]() | Dispose |
Releases all resources used by an instance of the PostProcessor class.
(Inherited from PostProcessor.) |
![]() | Dispose(Boolean) |
Releases the unmanaged resources used by an instance of the PostProcessor class
and optionally releases the managed resources.
(Inherited from PostProcessor.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | OnDisable |
Called when this post-processor is disabled.
(Overrides PostProcessorOnDisable.) |
![]() | OnEnable |
Called when this post-processor is enabled.
(Inherited from PostProcessor.) |
![]() | OnProcess |
Called when the post-processor should perform the post-processing.
(Overrides PostProcessorOnProcess(RenderContext).) |
![]() | Process |
Performs the post-processing using the SourceTexture
and the RenderTarget specified in the render context.
(Inherited from PostProcessor.) |
![]() | Reset | Obsolete.
Resets the motion blur effect. (The next frame will not be blurred.)
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
![]() | DefaultTargetFormat |
Gets or sets the default target format.
(This property is used by the PostProcessorChain).
(Inherited from PostProcessor.) |
![]() | Enabled |
Gets or sets a value indicating whether this post-processor is enabled.
(Inherited from PostProcessor.) |
![]() | GraphicsService |
Gets the graphics service.
(Inherited from PostProcessor.) |
![]() | IsDisposed |
Gets a value indicating whether this post-processor has been disposed of.
(Inherited from PostProcessor.) |
![]() | Name |
Gets or sets the name of the post-processor.
(Inherited from PostProcessor.) |
![]() | Strength |
Gets or sets the strength of the blur effect in the range [0, 1[.
|
This post-processor stores information of a frame for use in the next frame. The information is stored with the currently active camera node. When there is a cut in the scene (i.e. a new level is loaded or the view changes significantly), the method InvalidateViewDependentData of the camera node needs to be called to reset the information. Further, this post-processor expects that it is called once per frame for a certain camera node. It might not work as expected if it is called several times per frame (e.g. to process different views using the same camera).