/// <summary> /// Initializes a new OpenGLRenderer class. /// </summary> public OpenGLRenderer() { _renderContext = new RenderContext(); _graphicsDevice = SGL.QueryComponents <GraphicsDevice>(); _textEntityManager = new TextEntityManager(); _window = SGL.QueryComponents <RenderTarget>().Window; }
/// <summary> /// Initializes a new OpenGLRenderer class. /// </summary> public OpenGLRenderer() { _renderContext = new RenderContext(); _graphicsDevice = SGL.QueryComponents<GraphicsDevice>(); _textEntityManager = new TextEntityManager(); _window = SGL.QueryComponents<RenderTarget>().Window; }