Пример #1
0
        public static void Start(GraphicsDisplay cameraView)
        {
            FrameCounter.Init();
            MessageManager.Init();
            initGraphics(cameraView);
            initEnvironment();
            Thread graphicsThread = new Thread(new ThreadStart(update));

            graphicsThread.SetApartmentState(ApartmentState.STA);
            graphicsThread.Start();
        }
Пример #2
0
 public GraphicsHandler(GraphicsDisplay cameraView)
 {
     this.cameraView = cameraView;
 }
Пример #3
0
 private static void initGraphics(GraphicsDisplay cameraView)
 {
     graphicsHandler = new GraphicsHandler(cameraView);
     cameraMode      = false;
     Cameras         = new List <Camera>();
 }