PointerWrapper
public final class CLPlatform extends PointerWrapperAbstract
pointer
Modifier and Type | Method | 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.
|
List<CLDevice> |
getDevices(int device_type) |
Returns a list of the available devices on this platform that
match the specified type.
|
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.
|
String |
getInfoString(int param_name) |
Returns the String value of the specified parameter.
|
static List<CLPlatform> |
getPlatforms() |
Returns a list of all the available platforms.
|
static List<CLPlatform> |
getPlatforms(Filter<CLPlatform> filter) |
Returns a list of the available platforms, filtered by the specified filter.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
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 List<CLPlatform> getPlatforms()
public static List<CLPlatform> getPlatforms(Filter<CLPlatform> filter)
filter
- the platform filterpublic String getInfoString(int param_name)
param_name
- the parameterpublic List<CLDevice> getDevices(int device_type)
device_type
- the device typepublic List<CLDevice> getDevices(int device_type, Filter<CLDevice> filter)
device_type
- the device typefilter
- the device filterCopyright © 2002-2009 lwjgl.org. All Rights Reserved.