Package com.jogamp.opencl.gl
Class CLGLTexture3d<B extends Buffer>
- java.lang.Object
-
- com.jogamp.opencl.CLObject
-
- com.jogamp.opencl.CLMemory<B>
-
- com.jogamp.opencl.CLImage<B>
-
- com.jogamp.opencl.CLImage3d<B>
-
- com.jogamp.opencl.gl.CLGLTexture3d<B>
-
- All Implemented Interfaces:
AutoCloseable,CLResource,CLGLObject
public class CLGLTexture3d<B extends Buffer> extends CLImage3d<B> implements CLGLObject
3D OpenCL image representing an 3D OpenGL texture.- Author:
- Michael Bien, et.al.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.jogamp.opencl.CLImage
CLImage.CLImageInfoAccessor
-
Nested classes/interfaces inherited from class com.jogamp.opencl.CLMemory
CLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem
-
-
Field Summary
Fields Modifier and Type Field Description intGLIDThe OpenGL object handle.intmipMapLevelinttarget-
Fields inherited from class com.jogamp.opencl.CLMemory
clCapacity, elementSize, FLAGS, size
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidclose()Deprecated.This method is not intended to be called from client code.CLGLContextgetContext()Returns the shared CLGLContext.com.jogamp.opengl.GLContextgetGLContext()Returns the OpenGL context of this shared object.intgetGLObjectID()Returns the OpenGL object id of this shared object.CLMemory.GLObjectTypegetGLObjectType()Returns the OpenGL buffer type of this shared object.intgetMipMapLevel()intgetTextureTarget()booleanisReleased()Returns true ifCLResource.release()has been called.-
Methods inherited from class com.jogamp.opencl.CLImage3d
cloneWith, getDepth, getSlicePitch, toString
-
Methods inherited from class com.jogamp.opencl.CLImage
createUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidth
-
Methods inherited from class com.jogamp.opencl.CLMemory
equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, use
-
Methods inherited from class com.jogamp.opencl.CLObject
getID, getPlatform
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.jogamp.opencl.gl.CLGLObject
getID
-
-
-
-
Method Detail
-
getGLObjectID
public int getGLObjectID()
Description copied from interface:CLGLObjectReturns the OpenGL object id of this shared object.- Specified by:
getGLObjectIDin interfaceCLGLObject
-
getTextureTarget
public int getTextureTarget()
-
getMipMapLevel
public int getMipMapLevel()
-
getGLObjectType
public CLMemory.GLObjectType getGLObjectType()
Description copied from interface:CLGLObjectReturns the OpenGL buffer type of this shared object.- Specified by:
getGLObjectTypein interfaceCLGLObject
-
getContext
public CLGLContext getContext()
Returns the shared CLGLContext.- Specified by:
getContextin interfaceCLGLObject- Overrides:
getContextin classCLObject
-
getGLContext
public com.jogamp.opengl.GLContext getGLContext()
Description copied from interface:CLGLObjectReturns the OpenGL context of this shared object.- Specified by:
getGLContextin interfaceCLGLObject
-
close
@Deprecated public final void close()
Deprecated.This method is not intended to be called from client code.Implementation detail, satisfyingAutoCloseable. Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.- Specified by:
closein interfaceAutoCloseable- See Also:
AutoCloseable
-
isReleased
public boolean isReleased()
Description copied from interface:CLResourceReturns true ifCLResource.release()has been called.- Specified by:
isReleasedin interfaceCLResource
-
-