CSPspEmu.Gui.XBR.Shader.XBRShader.Process C# (CSharp) Method

Process() public method

public Process ( GLTexture Input ) : GLTexture
Input GLTexture
return GLTexture
        public GLTexture Process(GLTexture Input)
        {
            Filter.SetSize(Input.Width * 2, Input.Height * 2);
            return Filter.Process((_Shader) =>
            {
                _Shader.GetUniform("OGL2Texture").Set(GLTextureUnit.CreateAtIndex(0).SetWrap(GLWrap.ClampToEdge).SetFiltering(GLScaleFilter.Nearest).SetTexture(Input));
            });
        }