public class ClipPlanesUBO extends UniformBufferObject
| Modifier and Type | Method and Description |
|---|---|
ClipPlanesUBO |
acquire()
Signal the resource that something is holding a reference to it.
|
static ClipPlanesUBO |
generate(com.jogamp.opengl.GL3 gl,
int progId,
int nClipPlanes) |
int |
updateClipPlanes(com.jogamp.opengl.GL3 gl,
GLClipPlane[] clips)
Returns the number of enabled clip distances
|
int |
updateClipPlanes(com.jogamp.opengl.GL3 gl,
java.util.List<GLClipPlane> clips)
Returns the number of enabled clip distances
|
void |
updateClipPlanes(com.jogamp.opengl.GL3 gl,
Plane[] clips) |
bindLocation, dispose, generate, getAttribute, getBlockName, getBuffer, getByteOffset, getSize, numAttributes, set, update, updateallocate, bind, fill, fill, fill, flushBufferRange, generate, getId, getUsage, isDisposed, mapBuffer, mapBufferRange, mapNewBuffer, unbind, unmapBuffer, updatedispose, disposeInvalid, disposeInvalid, disposeUnreferenced, disposeUnreferenced, releaseDispose, releaseDisposeisValidacquireAndCount, getReferenceCount, release, releaseAndCountequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisValidacquireAndCount, getReferenceCount, release, releaseAndCountpublic void updateClipPlanes(com.jogamp.opengl.GL3 gl,
Plane[] clips)
public int updateClipPlanes(com.jogamp.opengl.GL3 gl,
GLClipPlane[] clips)
public int updateClipPlanes(com.jogamp.opengl.GL3 gl,
java.util.List<GLClipPlane> clips)
public ClipPlanesUBO acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class UniformBufferObjectpublic static ClipPlanesUBO generate(com.jogamp.opengl.GL3 gl, int progId, int nClipPlanes)