Lua pluggable D3D9Callback implementation for D3D9Interceptor: http://graphics.stanford.edu/~mdfisher/D3D9Interceptor.html.