Home -> IGraphicsDeviceEnumerator -> GetFilteredDevices

Description

The GetFilteredDevices method returns an IGraphicsDevice object for each located graphics device in the current filtered device set, after a previously successful call to EnumerateDevices. Graphics devices will only be returned which are compatible with the underlying graphics API of this renderer plugin.

Initially, the filtered device set is identical to the complete device set returned by the GetAllDevices method, however subsequent calls to any of the filtering methods on IGraphicsDeviceEnumerator will filter out any matching devices from the set returned by this method.

ImportantImportant

This method may return an empty list either because no compatible devices were found during enumeration, or because the active filters removed all located devices.

Usage

std::vector<IGraphicsDevice*> GetFilteredDevices() const;

Return value

[std::vector<IGraphicsDevice*>]
The filtered set of located graphics devices which support the underlying rendering API for this plugin. This list may be empty.

See also