lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The main reason we did not use strings for buffers
was the lack of support for changing a string's contents
without recreating the string in memory. For example
bit operations on a particular byte or set of bytes in a 
texture.

I think strings work fine though as a 'base implementation'
of the GL interface for Lua.

Regards,
Jim

| 
| both tolua and gllua are older than auxlib.
| regarding gllua for lua 4.0, I inclined to implement the
| buffers using regular Lua strings.
| 
| -- waldemar
| 
| 
|