PostProcessorChain Class |
Namespace: DigitalRune.Graphics.PostProcessing
The PostProcessorChain type exposes the following members.
Name | Description | |
---|---|---|
PostProcessorChain |
Initializes a new instance of the PostProcessorChain class.
|
Name | Description | |
---|---|---|
Add |
Appends a post-processor to the post-processor chain.
| |
Clear |
Removes all post-processors from the post-processor chain.
| |
Contains(String) |
Determines whether the post-processor chain contains a post-processor with the specified
name.
| |
Contains(PostProcessor) |
Determines whether the post-processor chain contains a specific post-processor.
| |
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.) | |
GetEnumerator |
Returns an enumerator that iterates through the post-processor chain.
| |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf(String) |
Determines the index of the post-processor with the specified name in the post-processor
chain.
| |
IndexOf(PostProcessor) |
Determines the index of a specific post-processor in the post-processor chain.
| |
Insert |
Inserts a post-processor into the post-processor chain at the specified index.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDisable |
Called when this post-processor is disabled.
(Inherited from PostProcessor.) | |
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.) | |
Remove |
Removes the first occurrence of a specific post-processor from the post-processor chain.
| |
RemoveAt |
Removes the post-processor at the specified index from the post-processor chain.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
AddRangePostProcessor |
Adds the specified items to the ICollectionT.
(Defined by CollectionHelper.) | |
DoPostProcessor(ActionPostProcessor) | Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.) | |
DoPostProcessor(ActionPostProcessor, Int32) | Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is
enumerated.
(Defined by LinqHelper.) | |
ForEachPostProcessor(ActionPostProcessor) | Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.) | |
ForEachPostProcessor(ActionPostProcessor, Int32) | Overloaded.
Immediately performs the given action on each element (incorporating its index) in a
sequence.
(Defined by LinqHelper.) | |
IndexOfPostProcessor |
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.) |
Name | Description | |
---|---|---|
Count |
Gets the number of post-processors contained in the post-processor chain.
| |
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.) | |
ItemInt32 |
Gets or sets the post-processor at the specified index.
| |
ItemString |
Gets the PostProcessor with the specified name.
| |
Name |
Gets or sets the name of the post-processor.
(Inherited from PostProcessor.) |
Name | Description | |
---|---|---|
ICollectionPostProcessorCopyTo | ||
IEnumerablePostProcessorGetEnumerator |
Returns an enumerator that iterates through the collection.
| |
IEnumerableGetEnumerator |
Returns an enumerator that iterates through the collection.
| |
ICollectionPostProcessorIsReadOnly |
Gets a value indicating whether this collection is read-only.
|
Post-processors can be added to a PostProcessorChain. A post-processor chain is itself a post-processor. When the post-processor chain is executed (by calling Process(RenderContext)), it will automatically call Process(RenderContext) of all contained post-processors.
By default, a post-processor in a chain reads the output of the previous post-processor and writes the result into an intermediate render target.