Table of Contents

Class EmptyRenderCore

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll
public sealed class EmptyRenderCore : RenderCore, IDisposable, IGUID, IThrowingShadow
Inheritance
EmptyRenderCore
Implements
Inherited Members

Constructors

EmptyRenderCore()

Initializes a new instance of the EmptyRenderCore class.

public EmptyRenderCore()

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()

Render(RenderContext, DeviceContextProxy)

Called when [render].

public override void Render(RenderContext context, DeviceContextProxy deviceContext)

Parameters

context RenderContext

The context.

deviceContext DeviceContextProxy

The device context.