Class SSAOCore
- Namespace
- HelixToolkit.SharpDX.Core
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class SSAOCore : RenderCore, IDisposable, IGUID, IThrowingShadow
- Inheritance
-
SSAOCore
- Implements
- Inherited Members
Constructors
SSAOCore()
public SSAOCore()
Properties
Quality
public SSAOQuality Quality { get; set; }
Property Value
Radius
public float Radius { get; set; }
Property Value
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
techniqueIRenderTechnique
Returns
OnDetach()
On detaching, default is to release all resources
protected override void OnDetach()
Render(RenderContext, DeviceContextProxy)
Render routine
public override void Render(RenderContext context, DeviceContextProxy deviceContext)
Parameters
contextRenderContextdeviceContextDeviceContextProxy