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
itemsFastList<SceneNode>The items.
poolIDeviceContextPoolThe pool.
contextRenderContextThe context.
parameterRenderParameterThe parameter.
testFrustumbooloutputCommandsList<KeyValuePair<int, CommandList>>The output commands.
numRenderedint