|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.lwjgl.PointerWrapperAbstract
org.lwjgl.opencl.CLDevice
public final class CLDevice
This class is a wrapper around a cl_device_id pointer.
Field Summary |
---|
Fields inherited from class org.lwjgl.PointerWrapperAbstract |
---|
pointer |
Method Summary | |
---|---|
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. |
Methods inherited from class org.lwjgl.PointerWrapperAbstract |
---|
checkValid, equals, getPointer, hashCode, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public CLPlatform getPlatform()
public CLDevice getSubCLDevice(long id)
id
- the sub-device object id
public java.lang.String getInfoString(int param_name)
param_name
- the parameter
public int getInfoInt(int param_name)
param_name
- the parameter
public boolean getInfoBoolean(int param_name)
param_name
- the parameter
public long getInfoSize(int param_name)
param_name
- the parameter
public long[] getInfoSizeArray(int param_name)
param_name
- the parameter
public long getInfoLong(int param_name)
param_name
- the parameter
public P getParent()
public final int getReferenceCount()
public final boolean isValid()
PointerWrapperAbstract
isValid
in class PointerWrapperAbstract
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |