IPipeLineStagesCallback2::ThreadDataDimensionCallback method

A callback that notifies the host of the number of threads and groups of the compute shader in the associated request.

Syntax

HRESULT ThreadDataDimensionCallback(
   ThreadData3D threadGroupCount,
   ThreadData3D threadGroupSize
);

Parameters

threadGroupCount
The multi-dimensional count of thread groups.

threadGroupSize
The multi-dimensional size of each thread group.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Header

Vspixengine.h

See also

IPipeLineStagesCallback2