Package org.lwjgl.opencl
Interface CLReportLiveObjectsAlteraCallbackI
-
- All Superinterfaces:
- CallbackI, CallbackI.V, Pointer
- All Known Implementing Classes:
- CLReportLiveObjectsAlteraCallback
@FunctionalInterface public interface CLReportLiveObjectsAlteraCallbackI extends CallbackI.V
Instances of this interface may be passed to theReportLiveObjectsAlteramethod.
-
-
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 inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default longaddress()Returns the raw pointer address as alongvalue.default voidcallback(long args)Will be called by native code.voidinvoke(long user_data, long obj_ptr, long type_name, int refcount)Reports a live OpenCL API object.
-
-
-
Method Detail
-
address
default long address()
Description copied from interface:PointerReturns the raw pointer address as alongvalue.
-
callback
default void callback(long args)
Description copied from interface:CallbackI.VWill be called by native code.- Specified by:
callbackin interfaceCallbackI.V- Parameters:
args- pointer to aDCArgsiterator
-
invoke
void invoke(long user_data, long obj_ptr, long type_name, int refcount)Reports a live OpenCL API object.- Parameters:
user_data- theuser_dataargument specified toReportLiveObjectsAlteraobj_ptr- a pointer to the live objecttype_name- a C string corresponding to the OpenCL API object type. For example, a leakedcl_memobject will have "cl_mem" as its type string.refcount- an instantaneous reference count for the object. Consider it to be immediately stale.
-
-