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