Package com.jogamp.opengl.util
Class SyncMatrix4f16
- java.lang.Object
-
- com.jogamp.opengl.util.SyncMatrix4f16
-
- All Implemented Interfaces:
SyncBuffer
,SyncMatrix4f
public final class SyncMatrix4f16 extends Object implements SyncMatrix4f
SyncBuffer
SyncMatrix4f
implementation for a single underlyingMatrix4f
using onefloat[16]
backing array.
-
-
Constructor Summary
Constructors Constructor Description SyncMatrix4f16()
SyncMatrix4f16(Matrix4f m)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncAction
getAction()
Return theSyncAction
.Buffer
getBuffer()
Return theBuffer
, i.e.Matrix4f
getMatrix()
Buffer
getSyncBuffer()
Return theBuffer
aftersynchronizing
it.FloatBuffer
getSyncFloats()
SyncBuffer
sync()
Synchronizes the underlying data before usage.
-
-
-
Constructor Detail
-
SyncMatrix4f16
public SyncMatrix4f16()
-
SyncMatrix4f16
public SyncMatrix4f16(Matrix4f m)
-
-
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
-
getMatrix
public Matrix4f getMatrix()
Description copied from interface:SyncMatrix4f
- Specified by:
getMatrix
in interfaceSyncMatrix4f
-
getSyncFloats
public FloatBuffer getSyncFloats()
Description copied from interface:SyncMatrix4f
- Specified by:
getSyncFloats
in interfaceSyncMatrix4f
-
-