uniform1fv method

dynamic uniform1fv(
  1. dynamic location,
  2. dynamic value
)

Implementation

uniform1fv(location, value) {
  if(value is NativeArray) {
    gl.uniform1fv(location, value.data);
  } else {
    gl.uniform1fv(location, value);
  }
}