public class CLGLTexture2d<B extends Buffer> extends CLGLImage2d<B>
CLImage.CLImageInfoAccessorCLMemory.GLObjectType, CLMemory.Map, CLMemory.Mem| Modifier and Type | Field and Description |
|---|---|
int |
mipMapLevel |
int |
target |
GLIDclCapacity, elementSize, FLAGS, size| Constructor and Description |
|---|
CLGLTexture2d(CLContext context,
B directBuffer,
CLImageFormat format,
CLImage.CLImageInfoAccessor accessor,
int target,
int mipLevel,
int width,
int height,
long id,
int glid,
int flags) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Deprecated.
This method is not intended to be called from client code.
|
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. |
getContext, getGLContext, getGLObjectIDcreateUninitializedImageFormat, getElementSize, getFormat, getHeight, getRowPitch, getWidthequals, getBuffer, getCL, getCLCapacity, getCLSize, getConfig, getMapCount, getNIOCapacity, getNIOSize, getSizeImpl, hashCode, initCLCapacity, isHostPointerFlag, isReadOnly, isReadWrite, isWriteOnly, registerDestructorCallback, release, usegetID, getPlatformclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetContext, getGLContext, getGLObjectID, getIDpublic CLGLTexture2d(CLContext context, B directBuffer, CLImageFormat format, CLImage.CLImageInfoAccessor accessor, int target, int mipLevel, int width, int height, long id, int glid, int flags)
public int getTextureTarget()
public int getMipMapLevel()
public CLMemory.GLObjectType getGLObjectType()
CLGLObjectgetGLObjectType in interface CLGLObjectgetGLObjectType in class CLGLImage2d<B extends Buffer>@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 AutoCloseableAutoCloseablepublic boolean isReleased()
CLResourceCLResource.release() has been called.isReleased in interface CLResource