public void SetTextureFilter(string samplerName, TextureFilter filter) { if (_filters.ContainsKey(samplerName)) { _filters.Remove(samplerName); } _filters.Add(samplerName, new NamedTextureFilter() { Name = samplerName, TextureFilter = filter }); }
public void SetTextureFilter(string materialPass, string samplerName, TextureFilter filter) { GetOrCreatePass(materialPass).SetTextureFilter(samplerName, filter); }