IWorkDispatcher

Description

interface Tinman.Terrain.Rendering.IWorkDispatcher

Base interface for classes that provide methods for dispatching general-purpose computational work.

Public / Methods

Dispatch


public method Dispatch → (3)

opt : int32 = 1

[>=1]
Dispatch group count along X-axis.

opt : int32 = 1

[>=1]
Dispatch group count along Y-axis.

opt : int32 = 1

[>=1]
Dispatch group count along Z-axis.

Dispatches computational work.

Dispatch​Indirect


public method DispatchIndirect → (1)

first in : int32

[>=0]
Index of first element in Buffer to dispatch.

Dispatches computational work indirectly from the current buffer (see Buffer).

Public / Attributes

Buffer


public attribute Buffer → (get,set)

value : IGpuBuffer

The buffer or null if CanDispatchIndirect returns false.

The dispatch buffer to use for dispatching computational work indirectly.

The element size and layout of the buffer is defined by the underlying graphics API and is usually populated by GPU programs. Please refer to the documentation of the respective subclass for details.

Can​Dispatch​Indirect


[Constant]
public attribute CanDispatchIndirect → (get)

value : bool

true if DispatchIndirect may be used,
false if not.

Can computational work be dispatched indirectly from the current buffer (see Buffer)?