protected void SetSampler(IDrawContext drawContext) { if (this.UseLinearSampler.HasValue) { if (this.UseLinearSampler.Value) drawContext.UseLinearSampler(); else drawContext.UsePointSampler(); } }
protected void SetSampler(IDrawContext drawContext) { if (this.UseLinearSampler.HasValue) { if (this.UseLinearSampler.Value) drawContext.UseLinearSampler(); else drawContext.UsePointSampler(); } }