IPixShaderNode::GetCodeLocation method

Gets shader code location interface object corresponding to the specified line number.

Syntax

HRESULT GetCodeLocation(
    UINT64 line,
    REFIID riid,
    void ** codeLocation);

Parameters

line [in]

Source line number to map to a shader code location.

riid [in]

The interface IID of the object to be returned. Expected: IPixShaderCodeLocation

codeLocation [out]

The pointer to the returned interface

Returns

S_OK on success, otherwise an error code.

See also