CSPspEmu.Gui.SMAA.Smaa.SetSize C# (CSharp) Method

SetSize() private method

private SetSize ( int Width, int Height ) : Smaa
Width int
Height int
return Smaa
        private Smaa SetSize(int Width, int Height)
        {
            this.Width = Width;
            this.Height = Height;
            if (edge_shader != null) edge_shader.SetSize(Width, Height);
            if (blend_shader != null) blend_shader.SetSize(Width, Height);
            if (neighborhood_shader != null) neighborhood_shader.SetSize(Width, Height);
            return this;
        }