internal static void SwitchCounters() { if (PerCameraDrawRead == PerCameraDraw0) { PerCameraDrawRead = PerCameraDraw1; PerCameraDrawWrite = PerCameraDraw0; } else { PerCameraDrawRead = PerCameraDraw0; PerCameraDrawWrite = PerCameraDraw1; } }
internal static void SwitchCounters() { if (PerCameraDrawRead == PerCameraDraw0) { PerCameraDrawRead = PerCameraDraw1; PerCameraDrawWrite = PerCameraDraw0; PerCameraDraw11Read = PerCameraDraw11_1; PerCameraDraw11Write = PerCameraDraw11_0; } else { PerCameraDrawRead = PerCameraDraw0; PerCameraDrawWrite = PerCameraDraw1; PerCameraDraw11Read = PerCameraDraw11_0; PerCameraDraw11Write = PerCameraDraw11_1; } }