public Window() : base(1024, 768, GraphicsMode.Default, "TheRender") { tracingService = new RayTracingService(cellWidth, cellHeight, countTask); tracingService.AddDefaultScene(); shaderService = new ShaderService(); arrayVertexs = new float[cellWidth * cellHeight * vertexSize]; arrayColors = new float[cellWidth * cellHeight * colorSize]; colorBufferHandle = GL.GenBuffer(); vertexBufferHandle = GL.GenBuffer(); UpdateVertexes(); UpdateColors(tracingService.GetPixels()); }