IPixShaderTable::GetRecord method

Get the shader record at the given index.

Syntax

HRESULT GetRecord(
    UINT32 index,
    REFIID riid,
    void ** record);

Parameters

index [in]

Zero-based index of the shader record, in [0, GetRecordCount()).

riid [in]

The interface IID of the shader record to be returned. Expected: IPixShaderRecord.

record [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also