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

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

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

Public Member Functions

 CLGLTexture2d (final CLContext context, final B directBuffer, final CLImageFormat format, final CLImageInfoAccessor accessor, final int target, final int mipLevel, final int width, final int height, final long id, final int glid, final int flags)
 
int getTextureTarget ()
 
int getMipMapLevel ()
 
GLObjectType getGLObjectType ()
 Returns the OpenGL buffer type of this shared object. More...
 
- Public Member Functions inherited from com.jogamp.opencl.gl.CLGLImage2d< B >
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 Attributes

final int target
 
final int mipMapLevel
 
- Public Attributes inherited from com.jogamp.opencl.gl.CLGLImage2d< B >
final int GLID
 The OpenGL object handle. More...
 

Additional Inherited Members

- Protected Member Functions inherited from com.jogamp.opencl.gl.CLGLImage2d< B >
 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)
 

Detailed Description

2D OpenCL image representing an 2D OpenGL texture.

Author
Michael Bien, et.al.

Definition at line 43 of file CLGLTexture2d.java.

Constructor & Destructor Documentation

◆ CLGLTexture2d()

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

Definition at line 49 of file CLGLTexture2d.java.

Member Function Documentation

◆ getGLObjectType()

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

Returns the OpenGL buffer type of this shared object.

Implements com.jogamp.opencl.gl.CLGLObject.

Definition at line 88 of file CLGLTexture2d.java.

◆ getMipMapLevel()

int com.jogamp.opencl.gl.CLGLTexture2d< B extends Buffer >.getMipMapLevel ( )

Definition at line 83 of file CLGLTexture2d.java.

◆ getTextureTarget()

int com.jogamp.opencl.gl.CLGLTexture2d< B extends Buffer >.getTextureTarget ( )

Definition at line 78 of file CLGLTexture2d.java.

Member Data Documentation

◆ mipMapLevel

final int com.jogamp.opencl.gl.CLGLTexture2d< B extends Buffer >.mipMapLevel

Definition at line 47 of file CLGLTexture2d.java.

◆ target

final int com.jogamp.opencl.gl.CLGLTexture2d< B extends Buffer >.target

Definition at line 45 of file CLGLTexture2d.java.


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