Table of Contents

Class PostEffectBlurCore

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll
public class PostEffectBlurCore : DisposeObject, IDisposable
Inheritance
PostEffectBlurCore
Implements
Inherited Members

Constructors

PostEffectBlurCore(ShaderPass, ShaderPass, int, int, SamplerStateDescription, IEffectsManager?)

Initializes a new instance of the PostEffectMeshOutlineBlurCore class.

public PostEffectBlurCore(ShaderPass blurVerticalPass, ShaderPass blurHorizontalPass, int textureSlot, int samplerSlot, SamplerStateDescription sampler, IEffectsManager? manager)

Parameters

blurVerticalPass ShaderPass
blurHorizontalPass ShaderPass
textureSlot int
samplerSlot int
sampler SamplerStateDescription
manager IEffectsManager

Methods

OnDispose(bool)

Disposes of object resources.

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

If true, managed resources should be disposed of in addition to unmanaged resources.

Run(RenderContext, DeviceContextProxy, ShaderResourceViewProxy, ref ViewportF, BlurDepth, ref BorderEffectStruct)

Runs the blur procedure

public virtual void Run(RenderContext context, DeviceContextProxy deviceContext, ShaderResourceViewProxy source, ref ViewportF sourceViewport, PostEffectBlurCore.BlurDepth depth, ref BorderEffectStruct modelStruct)

Parameters

context RenderContext

The context.

deviceContext DeviceContextProxy

The device context.

source ShaderResourceViewProxy

The source.

sourceViewport ViewportF
depth PostEffectBlurCore.BlurDepth

The depth.

modelStruct BorderEffectStruct