export class UniformBinder {
    cache = new Map();
    set(name, value) {
        const previous = this.cache.get(name);
        if (previous === value)
            return false;
        this.cache.set(name, value);
        return true;
    }
    clear() {
        this.cache.clear();
    }
}
//# sourceMappingURL=UniformBinder.js.map