IPixResourceViewBindings::GetViewBinding method

Get the resource view binding at the given index.

Syntax

HRESULT GetViewBinding(
    UINT32 index,
    REFIID riid,
    void ** binding);

Parameters

index [in]

The index of the resource view bindings to retrieve.

riid [in]

The interface IID of the resource view binding to be returned. Expected: IPixResourceBinding.

binding [out]

Pointer to the returned interface.

Returns

S_OK on success, otherwise an error code.

See also