Package com.jogamp.opengl.util
Interface SyncBuffer
-
- All Known Subinterfaces:
SyncMatrices4f,SyncMatrix4f
- All Known Implementing Classes:
SyncMatrices4f16,SyncMatrix4f16
public interface SyncBufferConvenient tuple of aSyncActionandBuffer.SyncAction.sync()is used to update theBufferwith the underlying data known to the data provider.- See Also:
SyncAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyncActiongetAction()Return theSyncAction.BuffergetBuffer()Return theBuffer, i.e.BuffergetSyncBuffer()Return theBufferaftersynchronizingit.SyncBuffersync()Synchronizes the underlying data before usage.
-
-
-
Method Detail
-
getAction
SyncAction getAction()
Return theSyncAction.- See Also:
SyncAction
-
sync
SyncBuffer sync()
Synchronizes the underlying data before usage.Convenient shortcut for
getAction().sync()plus chaining.
-
getSyncBuffer
Buffer getSyncBuffer()
Return theBufferaftersynchronizingit.
-
-