@FunctionalInterface
public interface CLReportLiveObjectsAlteraCallbackI
extends org.lwjgl.system.CallbackI.V
ReportLiveObjectsAltera method.
void (*) (
void *user_data,
void *obj_ptr,
char const *type_name,
cl_uint refcount
)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.N, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SIGNATURE |
| Modifier and Type | Method and Description |
|---|---|
default void |
callback(long args) |
default java.lang.String |
getSignature() |
void |
invoke(long user_data,
long obj_ptr,
long type_name,
int refcount)
Reports a live OpenCL API object.
|
default java.lang.String getSignature()
getSignature in interface org.lwjgl.system.CallbackIdefault void callback(long args)
callback in interface org.lwjgl.system.CallbackI.Vvoid invoke(long user_data,
long obj_ptr,
long type_name,
int refcount)
user_data - the user_data argument specified to ReportLiveObjectsAlteraobj_ptr - a pointer to the live objecttype_name - a C string corresponding to the OpenCL API object type. For example, a leaked cl_mem object will have "cl_mem" as its type string.refcount - an instantaneous reference count for the object. Consider it to be immediately stale.Copyright LWJGL. All Rights Reserved. License terms.