Buffer:getPointer
EditReturns a raw pointer to the Buffer's memory as a lightuserdata, intended for use with the LuaJIT FFI or for passing to C libraries. This is only available for temporary buffers, so the pointer is only valid until lovr.graphics.submit
is called.
pointer = Buffer:getPointer()
Arguments
None
Returns
Name | Type | Description |
pointer | lightuserdata | A pointer to the Buffer's memory. |