JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java™ (public API).
com.jogamp.opencl.CLObject Class Referenceabstract

Common superclass for all OpenCL objects. More...

Inheritance diagram for com.jogamp.opencl.CLObject:
Collaboration diagram for com.jogamp.opencl.CLObject:

Public Member Functions

CLContext getContext ()
 Returns the context for this OpenCL object. More...
 
CLPlatform getPlatform ()
 Returns the platform for this OpenCL object. More...
 
long getID ()
 Returns the OpenCL object handle. More...
 
String toString ()
 

Public Attributes

final long ID
 The OpenCL object handle. More...
 

Protected Attributes

CLContext context
 

Detailed Description

Common superclass for all OpenCL objects.

Author
Michael Bien

Definition at line 36 of file CLObject.java.

Member Function Documentation

◆ getContext()

CLContext com.jogamp.opencl.CLObject.getContext ( )

Returns the context for this OpenCL object.

Reimplemented in com.jogamp.opencl.CLContext, and com.jogamp.opencl.gl.CLGLContext.

Definition at line 58 of file CLObject.java.

Here is the caller graph for this function:

◆ getID()

long com.jogamp.opencl.CLObject.getID ( )

Returns the OpenCL object handle.

Definition at line 72 of file CLObject.java.

◆ getPlatform()

CLPlatform com.jogamp.opencl.CLObject.getPlatform ( )

Returns the platform for this OpenCL object.

Reimplemented in com.jogamp.opencl.CLContext, and com.jogamp.opencl.CLDevice.

Definition at line 65 of file CLObject.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ toString()

Member Data Documentation

◆ context

CLContext com.jogamp.opencl.CLObject.context
protected

Definition at line 43 of file CLObject.java.

◆ ID

final long com.jogamp.opencl.CLObject.ID

The OpenCL object handle.

Definition at line 41 of file CLObject.java.


The documentation for this class was generated from the following file: