Some mesh functions will be using native code for now due to performance. Added LightGrid type and native -> managed mapping for it.