Ejemplo n.º 1
0
        public void SetUp()
        {
            rd = new Renderers.OpenTK.RenderData();

            buf = new MockGLBuffer();
            rp  = new RenderProcessor(buf);
        }
Ejemplo n.º 2
0
        public void SetUp()
        {
            var rel = new OpenTK_RenderElements(null, -1, -1, -1, -1); // THis will crash if any GL is done

            mockedDraw = new OTKDraw(rel);
            rd         = rel.renderData;
            proc       = new RenderProcessor(buf);
        }
Ejemplo n.º 3
0
        public void RemoveRenderProcessor(RenderProcessor renderProcessor)
        {
            this.renderProcessors.Remove(renderProcessor);

            if (renderProcessor is IScreenResolutionChangedListener listener)
            {
                this.screenResolutionChangedListeners.Remove(listener);
            }
        }