public final class CLDevice extends PointerWrapperAbstract
pointer
Modifier and Type | Method and Description |
---|---|
boolean |
getInfoBoolean(int param_name)
Returns the boolean value of the specified parameter.
|
int |
getInfoInt(int param_name)
Returns the integer value of the specified parameter.
|
long |
getInfoLong(int param_name)
Returns the long value of the specified parameter.
|
long |
getInfoSize(int param_name)
Returns the size_t value of the specified parameter.
|
long[] |
getInfoSizeArray(int param_name)
Returns an array of size_t values of the specified parameter.
|
java.lang.String |
getInfoString(int param_name)
Returns the value of the specified String parameter.
|
P |
getParent() |
CLPlatform |
getPlatform() |
int |
getReferenceCount() |
CLDevice |
getSubCLDevice(long id)
Returns a sub-device of this device.
|
boolean |
isValid()
Returns true if this object represents a valid pointer.
|
checkValid, equals, getPointer, hashCode, toString
public CLPlatform getPlatform()
public CLDevice getSubCLDevice(long id)
id
- the sub-device object idpublic java.lang.String getInfoString(int param_name)
param_name
- the parameterpublic int getInfoInt(int param_name)
param_name
- the parameterpublic boolean getInfoBoolean(int param_name)
param_name
- the parameterpublic long getInfoSize(int param_name)
param_name
- the parameterpublic long[] getInfoSizeArray(int param_name)
param_name
- the parameterpublic long getInfoLong(int param_name)
param_name
- the parameterpublic P getParent()
public final int getReferenceCount()
public final boolean isValid()
PointerWrapperAbstract
isValid
in class PointerWrapperAbstract
Copyright © 2002-2009 lwjgl.org. All Rights Reserved.