Class NativePointerObject
java.lang.Object
org.jocl.NativePointerObject
- Direct Known Subclasses:
cl_command_queue, cl_context, cl_context_properties, cl_device_id, cl_device_partition_property, cl_event, cl_kernel, cl_mem, cl_pipe_properties, cl_platform_id, cl_program, cl_queue_properties, cl_sampler, cl_sampler_properties, Pointer
Base class for all classes that store a native pointer
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NativePointerObject
protected NativePointerObject()Creates a new (null) Pointer
-
-
Method Details
-
getNativePointer
public long getNativePointer()Method to obtain the native pointer value. Clients should usually not use this pointer value directly. It is only intended for interoperability with other JNI based libraries.- Returns:
- The native pointer value
-
toString
-
hashCode
-
equals
-