IPixShader::GetNodes method

Gets a collection of shader node interface objects for the given code type.

Syntax

HRESULT GetNodes(
    PIX_SHADER_CODE_TYPE codeType,
    REFIID riid,
    void ** nodes);

Parameters

codeType [in]

The code type (ISA/HLSL/IL) of the shader nodes to be returned

riid [in]

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

nodes [out]

The pointer to the returned interface

Returns

S_OK on success, otherwise an error code.

See also