public class LightsUBO extends UniformBufferObject
| Modifier and Type | Method and Description |
|---|---|
LightsUBO |
acquire()
Signal the resource that something is holding a reference to it.
|
static LightsUBO |
generate(com.jogamp.opengl.GL3 gl,
int progId,
int nLights) |
void |
updateLights(com.jogamp.opengl.GL3 gl,
java.util.List<Light> lights,
float intensityScale,
RigidTransform3d viewMatrix) |
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 updateLights(com.jogamp.opengl.GL3 gl,
java.util.List<Light> lights,
float intensityScale,
RigidTransform3d viewMatrix)
public LightsUBO acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class UniformBufferObjectpublic static LightsUBO generate(com.jogamp.opengl.GL3 gl, int progId, int nLights)