Package com.jogamp.opengl.util
Interface SyncBuffer
-
- All Known Subinterfaces:
SyncMatrices4f
,SyncMatrix4f
- All Known Implementing Classes:
SyncMatrices4f16
,SyncMatrix4f16
public interface SyncBuffer
Convenient tuple of aSyncAction
andBuffer
.SyncAction.sync()
is used to update theBuffer
with the underlying data known to the data provider.- See Also:
SyncAction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SyncAction
getAction()
Return theSyncAction
.Buffer
getBuffer()
Return theBuffer
, i.e.Buffer
getSyncBuffer()
Return theBuffer
aftersynchronizing
it.SyncBuffer
sync()
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 theBuffer
aftersynchronizing
it.
-
-