DirectX12MeshDispatcher

Description

sealed class Tinman.AddOns.DirectX12.DirectX12MeshDispatcher

Derived from

IMeshDispatcher

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

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

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

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

Public / Constructors

Direct​X12​Mesh​Dispatcher


public constructor DirectX12MeshDispatcher → (1)

pipeline in : RenderPipeline

[not-null]
The pipeline object to use.

Creates a new instance of DirectX12MeshDispatcher.