IPixProgramState::GetGpuProgram method

Get information about the current program/pipeline.

Syntax

HRESULT GetGpuProgram(
    REFIID riid,
    void ** gpuProgram);

Parameters

riid [in]

The interface IID of the GPU program to be returned. Expected: IPixGpuProgram.

gpuProgram [out]

Pointer to the returned interface.

Returns

Returns a HRESULT value.

See also