DirectX12WorkDispatcher

Description

sealed class Tinman.AddOns.DirectX12.DirectX12WorkDispatcher

Derived from

IWorkDispatcher

Full source code is included in the Tinman 3D SDK download.

Implementation of the IWorkDispatcher interface for a Direct3D 12 render pipeline.

When obtained via IGraphicsContext.WorkDispatcher, the work buffer (see IWorkDispatcher.Buffer) has an element size of 12 bytes and the following layout:

struct DispatchArguments {
  UINT ThreadGroupCountX;
  UINT ThreadGroupCountY;
  UINT ThreadGroupCountZ;
}

Public / Constructors

DirectX12WorkDispatcher


public constructor DirectX12WorkDispatcher → (1)

pipeline in : RenderPipeline

[not-null]
The render pipeline to use.

Creates a new instance of DirectX12WorkDispatcher.