Beispiel #1
0
        public OGLRenderer()
        {
            Blend = new OGLBlend();

            FrameBuffer = new OGLFrameBuffer();

            Rasterizer = new OGLRasterizer();

            Shader = new OGLShader();

            Texture = new OGLTexture();

            ActionsQueue = new ConcurrentQueue <Action>();
        }
Beispiel #2
0
        public OGLRenderer()
        {
            Buffer = new OGLConstBuffer();

            Texture = new OGLTexture();

            RenderTarget = new OGLRenderTarget(Texture as OGLTexture);

            Rasterizer = new OGLRasterizer();

            Shader = new OGLShader(Buffer as OGLConstBuffer);

            Pipeline = new OGLPipeline(Buffer as OGLConstBuffer, Rasterizer as OGLRasterizer, Shader as OGLShader);

            ActionsQueue = new ConcurrentQueue <Action>();
        }
Beispiel #3
0
        public OglRenderer()
        {
            Buffer = new OglConstBuffer();

            Texture = new OglTexture();

            RenderTarget = new OglRenderTarget(Texture as OglTexture);

            Rasterizer = new OglRasterizer();

            Shader = new OglShader(Buffer as OglConstBuffer);

            Pipeline = new OglPipeline(
                Buffer       as OglConstBuffer,
                RenderTarget as OglRenderTarget,
                Rasterizer   as OglRasterizer,
                Shader       as OglShader);

            _actionsQueue = new ConcurrentQueue <Action>();
        }