示例#1
0
 internal void UpdateValue(UniformMapping <T> global)
 {
     PendingChange = global;
     if (Owner.IsBound)
     {
         Update();
     }
 }
示例#2
0
        public void Update()
        {
            if (PendingChange == null)
            {
                return;
            }

            GLWrapper.SetUniform(this);
            PendingChange = null;
        }