Class PostProcessingEffects
A default bundle of ImageEffect.
[DataContract("PostProcessingEffects")]
[Display("Post-processing effects", null)]
public sealed class PostProcessingEffects : ImageEffect, IComponent, IReferencable, ICollectorHolder, IImageEffectRenderer, IImageEffect, IGraphicsRenderer, IGraphicsRendererCore, IPostProcessingEffects, ISharedRenderer, IIdentifiable, IGraphicsRendererBase, IDisposable
- Inheritance
-
PostProcessingEffects
- Implements
- Inherited Members
- Extension Methods
Constructors
PostProcessingEffects()
Initializes a new instance of the PostProcessingEffects class.
public PostProcessingEffects()
PostProcessingEffects(IServiceRegistry)
Initializes a new instance of the PostProcessingEffects class.
public PostProcessingEffects(IServiceRegistry services)
Parameters
services
IServiceRegistryThe services.
PostProcessingEffects(RenderContext)
Initializes a new instance of the PostProcessingEffects class.
public PostProcessingEffects(RenderContext context)
Parameters
context
RenderContextThe context.
Properties
AmbientOcclusion
Gets the ambient occlusion effect.
[DataMember(8)]
public AmbientOcclusion AmbientOcclusion { get; }
Property Value
Antialiasing
Gets the antialiasing effect.
[DataMember(80)]
[Display("Type", "Antialiasing")]
public IScreenSpaceAntiAliasingEffect Antialiasing { get; set; }
Property Value
- IScreenSpaceAntiAliasingEffect
The antialiasing.
Bloom
Gets the bloom effect.
[DataMember(30)]
public Bloom Bloom { get; }
Property Value
- Bloom
The bloom.
BrightFilter
Gets the bright pass-filter.
[DataMember(20)]
public BrightFilter BrightFilter { get; }
Property Value
- BrightFilter
The bright filter.
ColorTransforms
Gets the final color transforms.
[DataMember(70)]
public ColorTransformGroup ColorTransforms { get; }
Property Value
- ColorTransformGroup
The color transforms.
DepthOfField
Gets the depth of field effect.
[DataMember(10)]
public DepthOfField DepthOfField { get; }
Property Value
- DepthOfField
The depth of field.
Fog
Gets the fog effect.
[DataMember(7)]
public Fog Fog { get; }
Property Value
Id
Gets the id of this instance
[DataMember(-100)]
[Display(null, null, Browsable = false)]
public Guid Id { get; set; }
Property Value
LensFlare
Gets the lens flare effect.
[DataMember(50)]
public LensFlare LensFlare { get; }
Property Value
- LensFlare
The lens flare.
LightStreak
Gets the light streak effect.
[DataMember(40)]
public LightStreak LightStreak { get; }
Property Value
- LightStreak
The light streak.
LocalReflections
Gets the local reflections effect.
[DataMember(9)]
public LocalReflections LocalReflections { get; }
Property Value
- LocalReflections
The local reflection technique.
Outline
Gets the outline effect.
[DataMember(6)]
public Outline Outline { get; }
Property Value
RequiresNormalBuffer
public bool RequiresNormalBuffer { get; }
Property Value
RequiresSpecularRoughnessBuffer
public bool RequiresSpecularRoughnessBuffer { get; }
Property Value
RequiresVelocityBuffer
public bool RequiresVelocityBuffer { get; }
Property Value
Methods
Collect(RenderContext)
public void Collect(RenderContext context)
Parameters
context
RenderContext
DisableAll()
Disables all post processing effects.
public void DisableAll()
Draw(RenderDrawContext, RenderOutputValidator, Texture[], Texture, Texture)
public void Draw(RenderDrawContext drawContext, RenderOutputValidator outputValidator, Texture[] inputs, Texture inputDepthStencil, Texture outputTarget)
Parameters
drawContext
RenderDrawContextoutputValidator
RenderOutputValidatorinputs
Texture[]inputDepthStencil
TextureoutputTarget
Texture
DrawCore(RenderDrawContext)
Main drawing method for this renderer that must be implemented.
protected override void DrawCore(RenderDrawContext context)
Parameters
context
RenderDrawContextThe context.
InitializeCore()
protected override void InitializeCore()
Reset()
Resets the state of this effect.
public override void Reset()