Class MappedBuffer
java.lang.Object
com.jozufozu.flywheel.backend.gl.buffer.VecBuffer
com.jozufozu.flywheel.backend.gl.buffer.MappedBuffer
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final longprotected final longprotected final Mappable -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
offset
protected final long offset -
length
protected final long length -
owner
-
-
Constructor Details
-
MappedBuffer
-
-
Method Details
-
flush
public void flush()Make the changes in client memory available to the GPU. -
position
Description copied from class:VecBufferPosition this buffer relative to the 0-index in GPU memory. -
close
public void close()- Specified by:
closein interfaceAutoCloseable
-