public class MatricesUBO extends UniformBufferObject
| Modifier and Type | Method and Description |
|---|---|
MatricesUBO |
acquire()
Signal the resource that something is holding a reference to it.
|
static MatricesUBO |
generate(com.jogamp.opengl.GL3 gl,
int progId) |
static void |
putMatrix(java.nio.ByteBuffer buff,
AffineTransform2dBase T) |
static void |
putMatrix(java.nio.ByteBuffer buff,
AffineTransform3dBase T) |
void |
updateMatrices(com.jogamp.opengl.GL3 gl,
Matrix4d proj,
RigidTransform3d view,
AffineTransform3dBase model,
AffineTransform2dBase texture) |
void |
updateMatrices(com.jogamp.opengl.GL3 gl,
Matrix4d proj,
RigidTransform3d view,
AffineTransform3dBase model,
Matrix3d modelNormal,
AffineTransform2dBase texture) |
bindLocation, dispose, generate, getAttribute, getBlockName, getBuffer, getByteOffset, getSize, numAttributes, set, update, updateallocate, bind, fill, fill, fill, flushBufferRange, 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 updateMatrices(com.jogamp.opengl.GL3 gl,
Matrix4d proj,
RigidTransform3d view,
AffineTransform3dBase model,
AffineTransform2dBase texture)
public void updateMatrices(com.jogamp.opengl.GL3 gl,
Matrix4d proj,
RigidTransform3d view,
AffineTransform3dBase model,
Matrix3d modelNormal,
AffineTransform2dBase texture)
public static void putMatrix(java.nio.ByteBuffer buff,
AffineTransform3dBase T)
public static void putMatrix(java.nio.ByteBuffer buff,
AffineTransform2dBase T)
public MatricesUBO acquire()
ReferenceCountedacquire in interface GL3Resourceacquire in interface GLResourceacquire in interface ReferenceCountedacquire in class UniformBufferObjectpublic static MatricesUBO generate(com.jogamp.opengl.GL3 gl, int progId)