Class VolumeRenderCore
- Namespace
- HelixToolkit.SharpDX.Core
- Assembly
- HelixToolkit.SharpDX.dll
public sealed class VolumeRenderCore : RenderCore, IDisposable, IGUID, IThrowingShadow
- Inheritance
-
VolumeRenderCore
- Implements
- Inherited Members
Constructors
VolumeRenderCore()
public VolumeRenderCore()
Properties
MaterialVariables
Used to wrap all material resources
public MaterialVariable? MaterialVariables { 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