public Uniform(int location, UniformDataType type) { this.location = location; this.type = type; }
public void AddUniform(string name, int location, UniformDataType type) { EngineCore.CheckDuplicateName(Uniforms.Keys, name); Uniforms.Add(name, new Uniform(location, type)); UniformsFilled.Add(name, false); }