JOCL v2.6.0-rc-20250722
JOCL, OpenCL® API Binding for Java™ (public API).
com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer > Class Template Reference

2D OpenCL image representing an OpenGL renderbuffer. More...

Inheritance diagram for com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >:
Collaboration diagram for com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >:

Public Member Functions

GLObjectType getGLObjectType ()
 Returns the OpenGL buffer type of this shared object. More...
 
int getGLObjectID ()
 Returns the OpenGL object id of this shared object. More...
 
CLGLContext getContext ()
 Returns the OpenCL context of this shared object. More...
 
GLContext getGLContext ()
 Returns the OpenGL context of this shared object. More...
 
- Public Member Functions inherited from com.jogamp.opencl.CLImage2d< B extends Buffer >
String toString ()
 
- Public Member Functions inherited from com.jogamp.opencl.CLImage< B >
CLImageFormat getFormat ()
 Returns the image format descriptor specified when image was created. More...
 
int getElementSize ()
 Returns the size of each element of the image memory object given by image. More...
 
int getRowPitch ()
 Returns the size in bytes of a row of elements of the image object given by image. More...
 
int getWidth ()
 Returns width of this image in pixels. More...
 
int getHeight ()
 Returns the height of this image in pixels. More...
 
- Public Member Functions inherited from com.jogamp.opencl.gl.CLGLObject
int getGLObjectID ()
 Returns the OpenGL object id of this shared object. More...
 
long getID ()
 Returns the OpenCL object handle. More...
 
GLObjectType getGLObjectType ()
 Returns the OpenGL buffer type of this shared object. More...
 
CLGLContext getContext ()
 Returns the OpenCL context of this shared object. More...
 
GLContext getGLContext ()
 Returns the OpenGL context of this shared object. More...
 

Public Attributes

final int GLID
 The OpenGL object handle. More...
 
- Public Attributes inherited from com.jogamp.opencl.CLImage< B >
final int width
 
final int height
 

Protected Member Functions

 CLGLImage2d (final CLContext context, final B directBuffer, final CLImageFormat format, final CLImageInfoAccessor accessor, final int width, final int height, final long id, final int glid, final int flags)
 
- Protected Member Functions inherited from com.jogamp.opencl.CLImage2d< B extends Buffer >
 CLImage2d (final CLContext context, final B directBuffer, final CLImageFormat format, final CLImageInfoAccessor accessor, final int width, final int height, final long id, final int flags)
 
- Protected Member Functions inherited from com.jogamp.opencl.CLImage< B >
 CLImage (final CLContext context, final B directBuffer, final CLImageFormat format, final int width, final int height, final long id, final int flags)
 
 CLImage (final CLContext context, final B directBuffer, final CLImageFormat format, final CLImageInfoAccessor accessor, final int width, final int height, final long id, final int flags)
 

Additional Inherited Members

- Static Protected Member Functions inherited from com.jogamp.opencl.CLImage< B >
static CLImageFormat createUninitializedImageFormat ()
 
- Protected Attributes inherited from com.jogamp.opencl.CLImage< B >
CLImageFormat format
 

Detailed Description

2D OpenCL image representing an OpenGL renderbuffer.

Author
Michael Bien, et.al.

Definition at line 46 of file CLGLImage2d.java.

Constructor & Destructor Documentation

◆ CLGLImage2d()

com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >.CLGLImage2d ( final CLContext  context,
final B  directBuffer,
final CLImageFormat  format,
final CLImageInfoAccessor  accessor,
final int  width,
final int  height,
final long  id,
final int  glid,
final int  flags 
)
protected

Definition at line 53 of file CLGLImage2d.java.

Member Function Documentation

◆ getContext()

CLGLContext com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >.getContext ( )

Returns the OpenCL context of this shared object.

Implements com.jogamp.opencl.gl.CLGLObject.

Definition at line 94 of file CLGLImage2d.java.

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

◆ getGLContext()

GLContext com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >.getGLContext ( )

Returns the OpenGL context of this shared object.

Implements com.jogamp.opencl.gl.CLGLObject.

Definition at line 99 of file CLGLImage2d.java.

Here is the call graph for this function:

◆ getGLObjectID()

int com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >.getGLObjectID ( )

Returns the OpenGL object id of this shared object.

Implements com.jogamp.opencl.gl.CLGLObject.

Definition at line 89 of file CLGLImage2d.java.

◆ getGLObjectType()

GLObjectType com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >.getGLObjectType ( )

Returns the OpenGL buffer type of this shared object.

Implements com.jogamp.opencl.gl.CLGLObject.

Definition at line 84 of file CLGLImage2d.java.

Member Data Documentation

◆ GLID

final int com.jogamp.opencl.gl.CLGLImage2d< B extends Buffer >.GLID

The OpenGL object handle.

Definition at line 51 of file CLGLImage2d.java.


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