Class ResizableStorageBuffer
java.lang.Object
dev.engine_room.flywheel.backend.gl.GlObject
dev.engine_room.flywheel.backend.engine.indirect.ResizableStorageBuffer
A buffer for storing data on the GPU that can be resized.
The only way to get data in and out is to use GPU copies.
The only way to get data in and out is to use GPU copies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongcapacity()voiddelete()protected voiddeleteInternal(int handle) voidensureCapacity(long capacity) Methods inherited from class dev.engine_room.flywheel.backend.gl.GlObject
checkHandle, handle, handle, invalidateHandle, isInvalid
-
Constructor Details
-
ResizableStorageBuffer
public ResizableStorageBuffer()
-
-
Method Details
-
capacity
public long capacity() -
ensureCapacity
public void ensureCapacity(long capacity) -
deleteInternal
protected void deleteInternal(int handle) - Specified by:
deleteInternalin classGlObject
-
delete
public void delete()
-