public void UpdateResolution(int width, int height) { _ssao.UpdateResolution(width, height); _blur.UpdateResolution(width, height); ((FBO)_outputSurface)?.Dispose(); _outputSurface = new FBO(Texture2dGL.Create(width, height)); }
public void UpdateResolution(int width, int height) { _extract.UpdateResolution(width, height); _blur.UpdateResolution(width, height); _add.UpdateResolution(width, height); }