A handle to a GPU-accessible buffer.
Methods
destroy():Void
Destroy the buffer.
Using the instance after this will throw a UseAfterDestroyException
exception.
Throws:
UseAfterDestroyException | If the instance was already destroyed. |
---|
unmap():Void
Flushes any pending write operations and unmaps the buffer from host memory.
Throws:
UseAfterDestroyException | If the instance was already destroyed. |
---|