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
SyncBuffer
SyncMatrices4f16
implementation for multiple underlyingMatrix4f
instances 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 SyncAction
getAction()
Return theSyncAction
.Buffer
getBuffer()
Return theBuffer
, i.e.Matrix4f[]
getMatrices()
Buffer
getSyncBuffer()
Return theBuffer
aftersynchronizing
it.FloatBuffer
getSyncFloats()
SyncBuffer
sync()
Synchronizes the underlying data before usage.
-
-
-
Constructor Detail
-
SyncMatrices4f16
public SyncMatrices4f16(Matrix4f[] mats)
-
-
Method Detail
-
getAction
public SyncAction getAction()
Description copied from interface:SyncBuffer
Return theSyncAction
.- Specified by:
getAction
in interfaceSyncBuffer
- See Also:
SyncAction
-
getBuffer
public Buffer getBuffer()
Description copied from interface:SyncBuffer
Return theBuffer
, i.e. underlying data.- Specified by:
getBuffer
in interfaceSyncBuffer
-
sync
public SyncBuffer sync()
Description copied from interface:SyncBuffer
Synchronizes the underlying data before usage.Convenient shortcut for
SyncBuffer.getAction()
.sync()
plus chaining.- Specified by:
sync
in interfaceSyncBuffer
-
getSyncBuffer
public Buffer getSyncBuffer()
Description copied from interface:SyncBuffer
Return theBuffer
aftersynchronizing
it.- Specified by:
getSyncBuffer
in interfaceSyncBuffer
-
getMatrices
public Matrix4f[] getMatrices()
Description copied from interface:SyncMatrices4f
- Specified by:
getMatrices
in interfaceSyncMatrices4f
-
getSyncFloats
public FloatBuffer getSyncFloats()
Description copied from interface:SyncMatrices4f
- Specified by:
getSyncFloats
in interfaceSyncMatrices4f
-
-