* Material: Fix sonarcube finding - Use nullptr instead of 0x0 to simulate NULL. * Material: Use NULL for c-code