Package org.lwjgl.opencl
Interface CLReportLiveObjectsAlteraCallbackI
-
- All Superinterfaces:
- org.lwjgl.system.CallbackI, org.lwjgl.system.CallbackI.V, org.lwjgl.system.Pointer
- All Known Implementing Classes:
- CLReportLiveObjectsAlteraCallback
@FunctionalInterface public interface CLReportLiveObjectsAlteraCallbackI extends org.lwjgl.system.CallbackI.VInstances of this interface may be passed to theReportLiveObjectsAlteramethod.Type
void (*) ( void *user_data, void *obj_ptr, const char *type_name, cl_uint refcount )
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.lwjgl.system.CallbackI
org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
-
-
Field Summary
Fields Modifier and Type Field and Description static java.lang.StringSIGNATURE
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method and Description default voidcallback(long args)default java.lang.StringgetSignature()voidinvoke(long user_data, long obj_ptr, long type_name, int refcount)Reports a live OpenCL API object.
-
-
-
Method Detail
-
getSignature
default java.lang.String getSignature()
- Specified by:
getSignaturein interfaceorg.lwjgl.system.CallbackI
-
callback
default void callback(long args)
- Specified by:
callbackin interfaceorg.lwjgl.system.CallbackI.V
-
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.
-
-