IPixRaytracingPipeline::GetShaderTable method

Get the shader table for the given raytracing pipeline stage.

Syntax

HRESULT GetShaderTable(
    PIX_RAYTRACING_PIPELINE_STAGE stage,
    REFIID riid,
    void ** shaderTable);

Parameters

stage [in]

The raytracing stage to retrieve the shader table for.

riid [in]

The interface IID of the shader table to be returned. Expected: IPixShaderTable.

shaderTable [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also