static extern void VideoDriver_SetFog(IntPtr videodriver, int[] color, FogType fogType, float start, float end, float density, bool pixel, bool range);
 public void SetFog(Color color, FogType fogType, float start, float end, float density, bool pixelFog, bool rangeFog)
 {
     VideoDriver_SetFog(_raw, color.ToUnmanaged(), fogType, start, end, density, pixelFog, rangeFog);
 }