Package com.jme3.opencl
Class DefaultPlatformChooser
java.lang.Object
com.jme3.opencl.DefaultPlatformChooser
- All Implemented Interfaces:
 PlatformChooser
A default implementation of 
PlatformChooser.
 It favors GPU devices with OpenGL sharing, then any devices with OpenGL sharing,
 then any possible device.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionchooseDevices(List<? extends Platform> platforms) Chooses one or more devices for the opencl context. 
- 
Constructor Details
- 
DefaultPlatformChooser
public DefaultPlatformChooser() 
 - 
 - 
Method Details
- 
chooseDevices
Description copied from interface:PlatformChooserChooses one or more devices for the opencl context. All returned devices must belong to the same platform. If the returned list is empty, no context will be created.- Specified by:
 chooseDevicesin interfacePlatformChooser- Parameters:
 platforms- the available platforms- Returns:
 - the list of devices
 
 
 -