Table of Contents

Class PointLineRenderCore

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll
public class PointLineRenderCore : GeometryRenderCore, IDisposable, IGUID, IThrowingShadow, IGeometryRenderCore, IMaterialRenderParams
Inheritance
PointLineRenderCore
Implements
Derived
Inherited Members

Fields

modelStruct

protected PointLineModelStruct modelStruct

Field Value

PointLineModelStruct

Properties

MaterialVariables

Used to wrap all material resources

public MaterialVariable? MaterialVariables { get; set; }

Property Value

MaterialVariable

Methods

OnRender(RenderContext, DeviceContextProxy)

Called when [render].

protected override void OnRender(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext

The context.

deviceContext DeviceContextProxy

The device context.

OnRenderCustom(RenderContext, DeviceContextProxy)

Render function for custom shader pass. Used to do special effects

protected override sealed void OnRenderCustom(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext
deviceContext DeviceContextProxy

OnRenderDepth(RenderContext, DeviceContextProxy, ShaderPass?)

Called when [render depth].

protected override sealed void OnRenderDepth(RenderContext context, DeviceContextProxy deviceContext, ShaderPass? customPass)

Parameters

context RenderContext

The context.

deviceContext DeviceContextProxy

The device context.

customPass ShaderPass

Custom depth pass

OnRenderShadow(RenderContext, DeviceContextProxy)

Called when [render shadow].

protected override sealed void OnRenderShadow(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext

The context.

deviceContext DeviceContextProxy

OnUpdateCanRenderFlag()

Called when [update can render flag].

protected override bool OnUpdateCanRenderFlag()

Returns

bool

OnUpdatePerModelStruct()

protected virtual void OnUpdatePerModelStruct()