public Engine(IConfiguration configuration, IHwndHost windowHost, Action onStart, Action <float> updateLoop) { windowHost.Bind(this); Configuration = configuration; this.windowHost = windowHost; this.onStart = onStart; this.updateLoop = updateLoop; Device = new TheDevice(windowHost.Handle, false); Device.Initialize(); lightManager = new LightManager(this); inputManager = new InputManager(this); cameraManger = new CameraManager(this); materialManager = new MaterialManager(this); shaderManager = new ShaderManager(this); meshManager = new MeshManager(this); renderManager = new RenderManager(this); textureManager = new TextureManager(this); }
public Keyboard(IHwndHost windowHost) { this.windowHost = windowHost; }
internal Mouse(IHwndHost window) { this.window = window; }