Package org.lwjgl.opencl
Interface CLNativeKernelI
-
- All Superinterfaces:
CallbackI
,CallbackI.V
,Pointer
- All Known Implementing Classes:
CLNativeKernel
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface CLNativeKernelI extends CallbackI.V
Instances of this interface may be passed to theEnqueueNativeKernel
method.Type
void (*) ( void *args )
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
CallbackI.B, CallbackI.D, CallbackI.F, CallbackI.I, CallbackI.J, CallbackI.P, CallbackI.S, CallbackI.V, CallbackI.Z
-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SIGNATURE
-
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
callback(long args)
Will be called by native code.default java.lang.String
getSignature()
Returns the dyncall signature for this callback function.void
invoke(long args)
Will be called by the OpenCL usingEnqueueNativeKernel
.
-
-
-
Method Detail
-
getSignature
default java.lang.String getSignature()
Description copied from interface:CallbackI
Returns the dyncall signature for this callback function. [INTERNAL API]- Specified by:
getSignature
in interfaceCallbackI
- Returns:
- the dyncall signature
-
callback
default void callback(long args)
Description copied from interface:CallbackI.V
Will be called by native code.- Specified by:
callback
in interfaceCallbackI.V
- Parameters:
args
- pointer to aDCArgs
iterator
-
invoke
void invoke(long args)
Will be called by the OpenCL usingEnqueueNativeKernel
.- Parameters:
args
- a pointer to the arguments list
-
-