luaworkshop · youtube · en
1Render callbacks allow developers to invoke native C, C++, or Objective-C code directly to render specific layers, enabling reuse of existing native libraries.
“layers are also the mechanism of allow me to add a thing called render callbacks which allow you to actually invoke direct objective c code or c code or c plus plus code to render specific layers for instance you may have a background you may have already written a routine that's very good it's growing back and forth and you want to use reuse that code instead of having to rewrite it in lua”