IPixShaderNode::GetCode method

Gets an annotated string that holds ISA/HLSL/IL code based on the code type.

Syntax

HRESULT GetCode(
    REFIID riid,
    void ** annotatedCode);

Parameters

riid [in]

The interface IID of the annotated string to be returned. Expected: IPixAnnotatedString.

annotatedCode [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also