Package com.jme3.opencl
Class Buffer.AsyncMapping
java.lang.Object
com.jme3.opencl.Buffer.AsyncMapping
- Enclosing class:
 - Buffer
 
Result of an async mapping operation, contains the event and the target byte buffer.
 This is a work-around since no generic pair-structure is available.
- 
Field Summary
Fields - 
Constructor Summary
Constructors - 
Method Summary
 
- 
Field Details
- 
event
 - 
buffer
 
 - 
 - 
Constructor Details
- 
AsyncMapping
 
 - 
 - 
Method Details
- 
getEvent
- Returns:
 - the event object indicating when the data in the mapped buffer is available
 
 - 
getBuffer
- Returns:
 - the mapped buffer, only valid when the event object signals completion
 
 
 -