|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.lwjgl.PointerWrapperAbstract
org.lwjgl.opencl.CLKernel
public final class CLKernel
This class is a wrapper around a cl_kernel pointer.
| Field Summary |
|---|
| Fields inherited from class org.lwjgl.PointerWrapperAbstract |
|---|
pointer |
| Method Summary | |
|---|---|
int |
getInfoInt(int param_name)
Returns the integer value of the specified parameter. |
java.lang.String |
getInfoString(int param_name)
Returns the String value of the specified parameter. |
P |
getParent()
|
int |
getReferenceCount()
|
long |
getWorkGroupInfoLong(CLDevice device,
int param_name)
Returns the long value of the specified parameter. |
long |
getWorkGroupInfoSize(CLDevice device,
int param_name)
Returns the size_t value of the specified parameter. |
long[] |
getWorkGroupInfoSizeArray(CLDevice device,
int param_name)
Returns an array of size_t values of the specified parameter. |
boolean |
isValid()
Returns true if this object represents a valid pointer. |
CLKernel |
setArg(int index,
byte value)
Sets a kernel argument at the specified index to the specified byte value. |
CLKernel |
setArg(int index,
double value)
Sets a kernel argument at the specified index to the specified double value. |
CLKernel |
setArg(int index,
float value)
Sets a kernel argument at the specified index to the specified float value. |
CLKernel |
setArg(int index,
int value)
Sets a kernel argument at the specified index to the specified int value. |
CLKernel |
setArg(int index,
long value)
Sets a kernel argument at the specified index to the specified long value. |
CLKernel |
setArg(int index,
PointerWrapper value)
Sets a kernel argument at the specified index to the specified pointer value. |
CLKernel |
setArg(int index,
short value)
Sets a kernel argument at the specified index to the specified byte value. |
| 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 CLKernel setArg(int index,
byte value)
index - the argument indexvalue - the argument value
public CLKernel setArg(int index,
short value)
index - the argument indexvalue - the argument value
public CLKernel setArg(int index,
int value)
index - the argument indexvalue - the argument value
public CLKernel setArg(int index,
long value)
index - the argument indexvalue - the argument value
public CLKernel setArg(int index,
float value)
index - the argument indexvalue - the argument value
public CLKernel setArg(int index,
double value)
index - the argument indexvalue - the argument value
public CLKernel setArg(int index,
PointerWrapper value)
index - the argument indexvalue - the argument value
public java.lang.String getInfoString(int param_name)
param_name - the parameter
public int getInfoInt(int param_name)
param_name - the parameter
public long getWorkGroupInfoSize(CLDevice device,
int param_name)
param_name - the parameter
public long[] getWorkGroupInfoSizeArray(CLDevice device,
int param_name)
param_name - the parameter
public long getWorkGroupInfoLong(CLDevice device,
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 | |||||||||