Package com.jogamp.opengl.util
Class SyncMatrices4f16
- java.lang.Object
-
- com.jogamp.opengl.util.SyncMatrices4f16
-
- All Implemented Interfaces:
SyncBuffer,SyncMatrices4f
public final class SyncMatrices4f16 extends Object implements SyncMatrices4f
SyncBufferSyncMatrices4f16implementation for multiple underlyingMatrix4finstances using onefloat[16*n]backing array.
-
-
Constructor Summary
Constructors Constructor Description SyncMatrices4f16(Matrix4f[] mats)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncActiongetAction()Return theSyncAction.BuffergetBuffer()Return theBuffer, i.e.Matrix4f[]getMatrices()BuffergetSyncBuffer()Return theBufferaftersynchronizingit.FloatBuffergetSyncFloats()SyncBuffersync()Synchronizes the underlying data before usage.
-
-
-
Constructor Detail
-
SyncMatrices4f16
public SyncMatrices4f16(Matrix4f[] mats)
-
-
Method Detail
-
getAction
public SyncAction getAction()
Description copied from interface:SyncBufferReturn theSyncAction.- Specified by:
getActionin interfaceSyncBuffer- See Also:
SyncAction
-
getBuffer
public Buffer getBuffer()
Description copied from interface:SyncBufferReturn theBuffer, i.e. underlying data.- Specified by:
getBufferin interfaceSyncBuffer
-
sync
public SyncBuffer sync()
Description copied from interface:SyncBufferSynchronizes the underlying data before usage.Convenient shortcut for
SyncBuffer.getAction().sync()plus chaining.- Specified by:
syncin interfaceSyncBuffer
-
getSyncBuffer
public Buffer getSyncBuffer()
Description copied from interface:SyncBufferReturn theBufferaftersynchronizingit.- Specified by:
getSyncBufferin interfaceSyncBuffer
-
getMatrices
public Matrix4f[] getMatrices()
Description copied from interface:SyncMatrices4f- Specified by:
getMatricesin interfaceSyncMatrices4f
-
getSyncFloats
public FloatBuffer getSyncFloats()
Description copied from interface:SyncMatrices4f- Specified by:
getSyncFloatsin interfaceSyncMatrices4f
-
-