Package com.jme3.opencl
Interface PlatformChooser
- All Known Implementing Classes:
DefaultPlatformChooser
public interface PlatformChooser
This SPI is called on startup to specify which platform and which devices
are used for context creation.
-
Method Summary
Modifier and TypeMethodDescriptionchooseDevices
(List<? extends Platform> platforms) Chooses one or more devices for the opencl context.
-
Method Details
-
chooseDevices
Chooses 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.- Parameters:
platforms
- the available platforms- Returns:
- the list of devices
-