(self, name, data)
Update data for an uniform variable.
Update data for an uniform variable.
Update data for an uniform variable .
def update_uniform(self, name, data):
        """Update data for an uniform variable."""
        variable = self.get_variable(name)
        variable['data'] = data
        # the uniform interface is the same for load/update
        self.load_uniform(name, data)
def update_uniform ( self , name , data ) : variable = self . get_variable ( name ) variable [ 'data' ] = data # the uniform interface is the same for load/update self . load_uniform ( name , data )