Table of Contents

Interface IRenderTaskScheduler

Namespace
HelixToolkit.SharpDX.Render
Assembly
HelixToolkit.SharpDX.dll
public interface IRenderTaskScheduler

Methods

ScheduleAndRun(FastList<SceneNode>, IDeviceContextPool, RenderContext, RenderParameter, bool, List<KeyValuePair<int, CommandList>>, out int)

Schedules render tasks and run.

If return false, meaning the render items cannot be scheduled, may be the number of items is less than MinimumDrawCalls. Use Immediate context to render to achieve better performance.

bool ScheduleAndRun(FastList<SceneNode> items, IDeviceContextPool pool, RenderContext context, RenderParameter parameter, bool testFrustum, List<KeyValuePair<int, CommandList>> outputCommands, out int numRendered)

Parameters

items FastList<SceneNode>

The items.

pool IDeviceContextPool

The pool.

context RenderContext

The context.

parameter RenderParameter

The parameter.

testFrustum bool
outputCommands List<KeyValuePair<int, CommandList>>

The output commands.

numRendered int

Returns

bool