IPixShaderWave::GetVariables method

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

Syntax

HRESULT GetVariables(
    PIX_SHADER_CODE_TYPE codeType,
    REFIID riid,
    void ** ppVariables);

Parameters

codeType [in]

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

riid [in]

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

ppVariables [out]

The pointer to the returned interface

Returns

S_OK on success, otherwise an error code.

See also