public class CLGLTexture3d<B extends Buffer> extends CLImage3d<B> implements CLGLObject
CLImage.CLImageInfoAccessor
CLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem
Modifier and Type | Field and Description |
---|---|
int |
GLID
The OpenGL object handle.
|
int |
mipMapLevel |
int |
target |
clCapacity, elementSize, FLAGS, size
Modifier and Type | Method and Description |
---|---|
void |
close()
Deprecated.
This method is not intended to be called from client code.
|
CLGLContext |
getContext()
Returns the shared CLGLContext.
|
GLContext |
getGLContext()
Returns the OpenGL context of this shared object.
|
int |
getGLObjectID()
Returns the OpenGL object id of this shared object.
|
CLMemory.GLObjectType |
getGLObjectType()
Returns the OpenGL buffer type of this shared object.
|
int |
getMipMapLevel()
Returns the OpenGL mipmap level of this texture.
|
int |
getTextureTarget()
Returns the OpenGL texture target of this texture.
|
boolean |
isReleased()
Returns true if
CLResource.release() has been called. |
cloneWith, getDepth, getSlicePitch, toString
createUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidth
equals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, use
getID, getPlatform
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getID
public final int GLID
public final int target
public final int mipMapLevel
public int getGLObjectID()
CLGLObject
getGLObjectID
in interface CLGLObject
public int getTextureTarget()
public int getMipMapLevel()
public CLMemory.GLObjectType getGLObjectType()
CLGLObject
getGLObjectType
in interface CLGLObject
public CLGLContext getContext()
getContext
in interface CLGLObject
getContext
in class CLObject
public GLContext getGLContext()
CLGLObject
getGLContext
in interface CLGLObject
@Deprecated public final void close()
AutoCloseable
.
Might be remove as soon we have extension methods, but shall validate with Java 1.5 specs.close
in interface AutoCloseable
AutoCloseable
public boolean isReleased()
CLResource
CLResource.release()
has been called.isReleased
in interface CLResource