IPixShaderCodeLocation::GetNode method

Gets the shader node corresponding to the current code location.

Syntax

HRESULT GetNode(
    REFIID riid,
    void ** node);

Parameters

riid [in]

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

node [out]

The pointer to the returned interface

Returns

S_OK on success, otherwise an error code.

See also