Home -> IGraphicsDeviceEnumerator -> GetAllDevices

Description

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

ImportantImportant

This method may return an empty list, even after EnumerateDevices returns true. This indicates that device enumeration completed successfully, but no compatible graphics devices were located for this renderer plugin and set of enumeration flags. This is equivalent to FoundDevice returning false.

Usage

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

Return value

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

See also