public SimpleOverlay(string textureName, ScreenShaderData shader, EffectPriority priority = EffectPriority.VeryLow) : base(priority) { this._texture = TextureManager.Retrieve((textureName == null) ? "" : textureName); this._shader = shader; }
public SimpleOverlay(string textureName, string shaderName = "Default", EffectPriority priority = EffectPriority.VeryLow) : base(priority) { this._texture = TextureManager.Retrieve((textureName == null) ? "" : textureName); this._shader = new ScreenShaderData(Main.screenShader, shaderName); }
public Filter(ScreenShaderData shader, EffectPriority priority = EffectPriority.VeryLow) { this._shader = shader; this._priority = priority; }