Table of Contents

Class PostEffectBloomCore

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll

Outline blur effect

Must not put in shared model across multiple viewport, otherwise may causes performance issue if each viewport sizes are different.

public class PostEffectBloomCore : RenderCore, IDisposable, IGUID, IThrowingShadow, IPostEffectBloom, IPostEffect
Inheritance
PostEffectBloomCore
Implements
Inherited Members

Constructors

PostEffectBloomCore()

Initializes a new instance of the PostEffectMeshOutlineBlurCore class.

public PostEffectBloomCore()

Properties

BloomCombineIntensity

public float BloomCombineIntensity { get; set; }

Property Value

float

BloomCombineSaturation

public float BloomCombineSaturation { get; set; }

Property Value

float

BloomExtractIntensity

public float BloomExtractIntensity { get; set; }

Property Value

float

BloomPassIntensity

public float BloomPassIntensity { get; set; }

Property Value

float

EffectName

Gets or sets the name of the effect.

public string EffectName { get; set; }

Property Value

string

The name of the effect.

NumberOfBlurPass

Gets or sets the number of blur pass.

public int NumberOfBlurPass { get; set; }

Property Value

int

The number of blur pass.

ThresholdColor

Gets or sets the color of the border.

public Color4 ThresholdColor { get; set; }

Property Value

Color4

The color of the border.

Methods

OnAttach(IRenderTechnique?)

During attatching render core. Create all local resources. Use Collect(resource) to let object be released automatically during Detach().

protected override bool OnAttach(IRenderTechnique? technique)

Parameters

technique IRenderTechnique

Returns

bool

OnDetach()

On detaching, default is to release all resources

protected override void OnDetach()

OnUpdateCanRenderFlag()

Called when [update can render flag].

protected override bool OnUpdateCanRenderFlag()

Returns

bool

Render(RenderContext, DeviceContextProxy)

Render routine

public override void Render(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext
deviceContext DeviceContextProxy