IPixShaderVariable::GetComponents method

Gets a collection of components in the form of shader variable interface objects.

Syntax

HRESULT GetComponents(
    REFIID riid,
    void ** ppVariables);

Parameters

riid [in]

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

ppVariables [out]

The pointer to the returned interface

Returns

S_OK on success, otherwise an error code.

See also