Top Description Fields Constructors Methods
com.jogamp.opencl.gl

public Class CLGLTexture3d<B extends Buffer>

extends CLImage3d<B extends Buffer>
implements CLGLObject, CLGLTexture
Class Inheritance
All Implemented Interfaces
com.jogamp.opencl.gl.CLGLTexture, com.jogamp.opencl.gl.CLGLObject
Imports
com.jogamp.opencl.llb.gl.CLGL, com.jogamp.opencl.llb.CL, .CLImageBinding, com.jogamp.opencl.CLContext, .CLException, .CLImage3d, .CLImageFormat, com.jogamp.opencl.llb.impl.CLImageFormatImpl, java.nio.Buffer, com.jogamp.opengl.GLContext

3D OpenCL image representing an 3D OpenGL texture.
Author
Michael Bien, et.al.

Field Summary

Modifier and TypeField and Description
public final int
GLID

The OpenGL object handle.

public final int
public final int
Inherited from com.jogamp.opencl.CLImage3d:
depth

Constructor Summary

AccessConstructor and Description
private
CLGLTexture3d(final CLContext context, final B directBuffer, final CLImageFormat format, final CLImage.CLImageInfoAccessor accessor, final int target, final int mipLevel, final int width, final int height, final int depth, final long id, final int glid, final int flags)

Method Summary

Modifier and TypeMethod and Description
pack-priv static <B extends Buffer> CLGLTexture3d<B>
createFromGLTexture3d(final CLContext context, final B directBuffer, final int flags, final int target, final int mipLevel, final int texture)

public CLGLContext
public GLContext
getGLContext()

Implements com.jogamp.opencl.gl.CLGLObject.getGLContext.

Returns the OpenGL context of this shared object.
public int
getGLObjectID()

Implements com.jogamp.opencl.gl.CLGLObject.getGLObjectID.

Returns the OpenGL object id of this shared object.
public CLMemory.GLObjectType
getGLObjectType()

Implements com.jogamp.opencl.gl.CLGLObject.getGLObjectType.

Returns the OpenGL buffer type of this shared object.
public int
getMipMapLevel()

Implements com.jogamp.opencl.gl.CLGLTexture.getMipMapLevel.

Returns the OpenGL mipmap level of this texture.
public int
getTextureTarget()

Implements com.jogamp.opencl.gl.CLGLTexture.getTextureTarget.

Returns the OpenGL texture target of this texture.
Inherited from com.jogamp.opencl.CLImage3d:
cloneWithgetDepthgetSlicePitchtoString

Field Detail

GLIDback to summary
public final int GLID

The OpenGL object handle.

mipMapLevelback to summary
public final int mipMapLevel
targetback to summary
public final int target

Constructor Detail

CLGLTexture3dback to summary
private CLGLTexture3d(final CLContext context, final B directBuffer, final CLImageFormat format, final CLImage.CLImageInfoAccessor accessor, final int target, final int mipLevel, final int width, final int height, final int depth, final long id, final int glid, final int flags)

Method Detail

createFromGLTexture3dback to summary
pack-priv static <B extends Buffer> CLGLTexture3d<B> createFromGLTexture3d(final CLContext context, final B directBuffer, final int flags, final int target, final int mipLevel, final int texture)
getContextback to summary
public CLGLContext getContext()

Overrides com.jogamp.opencl.CLObject.getContext.

Implements com.jogamp.opencl.gl.CLGLObject.getContext.

Returns the shared CLGLContext.

Annotations
@Override
getGLContextback to summary
public GLContext getGLContext()

Implements com.jogamp.opencl.gl.CLGLObject.getGLContext.

Doc from com.jogamp.opencl.gl.CLGLObject.getGLContext.

Returns the OpenGL context of this shared object.

Annotations
@Override
getGLObjectIDback to summary
public int getGLObjectID()

Implements com.jogamp.opencl.gl.CLGLObject.getGLObjectID.

Doc from com.jogamp.opencl.gl.CLGLObject.getGLObjectID.

Returns the OpenGL object id of this shared object.

Annotations
@Override
getGLObjectTypeback to summary
public CLMemory.GLObjectType getGLObjectType()

Implements com.jogamp.opencl.gl.CLGLObject.getGLObjectType.

Doc from com.jogamp.opencl.gl.CLGLObject.getGLObjectType.

Returns the OpenGL buffer type of this shared object.

Annotations
@Override
getMipMapLevelback to summary
public int getMipMapLevel()

Implements com.jogamp.opencl.gl.CLGLTexture.getMipMapLevel.

Doc from com.jogamp.opencl.gl.CLGLTexture.getMipMapLevel.

Returns the OpenGL mipmap level of this texture.

Annotations
@Override
getTextureTargetback to summary
public int getTextureTarget()

Implements com.jogamp.opencl.gl.CLGLTexture.getTextureTarget.

Doc from com.jogamp.opencl.gl.CLGLTexture.getTextureTarget.

Returns the OpenGL texture target of this texture.

Annotations
@Override