JOGL v2.6.0-rc-20250706
JOGL, High-Performance Graphics Binding for Java™ (public API).
com.jogamp.math.util.SyncBuffer Interface Reference

Convenient tuple of a SyncAction and Buffer. More...

Inheritance diagram for com.jogamp.math.util.SyncBuffer:
Collaboration diagram for com.jogamp.math.util.SyncBuffer:

Public Member Functions

SyncAction getAction ()
 Return the SyncAction. More...
 
Buffer getBuffer ()
 Return the Buffer, i.e. More...
 
SyncBuffer sync ()
 Synchronizes the underlying data before usage. More...
 
Buffer getSyncBuffer ()
 Return the Buffer after synchronizing it. More...
 

Detailed Description

Convenient tuple of a SyncAction and Buffer.

SyncAction#sync() is used to update the Buffer with the underlying data known to the data provider.

See also
SyncAction

Definition at line 40 of file SyncBuffer.java.

Member Function Documentation

◆ getAction()

SyncAction com.jogamp.math.util.SyncBuffer.getAction ( )

Return the SyncAction.

See also
SyncAction

Implemented in com.jogamp.math.util.SyncMatrices4f16, and com.jogamp.math.util.SyncMatrix4f16.

Here is the caller graph for this function:

◆ getBuffer()

Buffer com.jogamp.math.util.SyncBuffer.getBuffer ( )

Return the Buffer, i.e.

underlying data.

Implemented in com.jogamp.math.util.SyncMatrices4f16, and com.jogamp.math.util.SyncMatrix4f16.

Here is the caller graph for this function:

◆ getSyncBuffer()

Buffer com.jogamp.math.util.SyncBuffer.getSyncBuffer ( )

◆ sync()

SyncBuffer com.jogamp.math.util.SyncBuffer.sync ( )

Synchronizes the underlying data before usage.

Convenient shortcut for getAction().sync() plus chaining.

Implemented in com.jogamp.math.util.SyncMatrices4f16, and com.jogamp.math.util.SyncMatrix4f16.


The documentation for this interface was generated from the following file: