|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.PointerWrapperAbstract
org.lwjgl.opencl.CLPlatform
public final class CLPlatform
This class is a wrapper around a cl_platform_id pointer.
Field Summary |
---|
Fields inherited from class org.lwjgl.PointerWrapperAbstract |
---|
pointer |
Method Summary | |
---|---|
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. |
Methods inherited from class org.lwjgl.PointerWrapperAbstract |
---|
checkValid, equals, getPointer, hashCode, isValid, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static CLPlatform getCLPlatform(long id)
id
- the platform object id
public CLDevice getCLDevice(long id)
id
- the device object id
public static java.util.List<CLPlatform> getPlatforms()
public static java.util.List<CLPlatform> getPlatforms(Filter<CLPlatform> filter)
filter
- the platform filter
public java.lang.String getInfoString(int param_name)
param_name
- the parameter
public java.util.List<CLDevice> getDevices(int device_type)
device_type
- the device type
public java.util.List<CLDevice> getDevices(int device_type, Filter<CLDevice> filter)
device_type
- the device typefilter
- the device filter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |