internal void UpdateValue(UniformMapping <T> global) { PendingChange = global; if (Owner.IsBound) { Update(); } }
public void Update() { if (PendingChange == null) { return; } GLWrapper.SetUniform(this); PendingChange = null; }