IPixProgramState::GetGpuProgramType method

Get the program type for the current GPU event.

Syntax

HRESULT GetGpuProgramType(
    D3D12_PROGRAM_TYPE * programType);

Parameters

programType

No description provided.

Returns

Returns failure if the event is not a Draw, Dispatch, DispatchGraph, DispatchRays, DispatchMesh.

See also