IPixGpuProgram::GetShaders method

Gets the shaders for the program.

Syntax

HRESULT GetShaders(
    REFIID riid,
    void ** shaders);

Parameters

riid [in]

The interface IID of the collection to be returned. Expected: IPixCollection<IPixShader>

shaders [out]

Pointer to the returned interface

Returns

S_OK if successful, otherwise an error code

See also