public final class CLPlatform extends PointerWrapperAbstract
pointer
Modifier and Type | Method and Description |
---|---|
CLDevice |
getCLDevice(long id)
Returns a CLDevice that is available on this platform.
|
static CLPlatform |
getCLPlatform(long id)
Returns a CLPlatform with the specified id.
|
java.util.List<CLDevice> |
getDevices(int device_type)
Returns a list of the available devices on this platform that
match the specified type.
|
java.util.List<CLDevice> |
getDevices(int device_type,
Filter<CLDevice> filter)
Returns a list of the available devices on this platform that
match the specified type, filtered by the specified filter.
|
java.lang.String |
getInfoString(int param_name)
Returns the String value of the specified parameter.
|
static java.util.List<CLPlatform> |
getPlatforms()
Returns a list of all the available platforms.
|
static java.util.List<CLPlatform> |
getPlatforms(Filter<CLPlatform> filter)
Returns a list of the available platforms, filtered by the specified filter.
|
checkValid, equals, getPointer, hashCode, isValid, toString
public static CLPlatform getCLPlatform(long id)
id
- the platform object idpublic CLDevice getCLDevice(long id)
id
- the device object idpublic static java.util.List<CLPlatform> getPlatforms()
public static java.util.List<CLPlatform> getPlatforms(Filter<CLPlatform> filter)
filter
- the platform filterpublic java.lang.String getInfoString(int param_name)
param_name
- the parameterpublic java.util.List<CLDevice> getDevices(int device_type)
device_type
- the device typepublic java.util.List<CLDevice> getDevices(int device_type, Filter<CLDevice> filter)
device_type
- the device typefilter
- the device filterCopyright © 2002-2009 lwjgl.org. All Rights Reserved.