setBoolUniform method
**** SET UNIFORMs
- set BOOL
Implementation
bool setBoolUniform(String name, bool val) {
ffi.Pointer<ffi.Bool> valT = calloc(ffi.sizeOf<ffi.Bool>());
valT.value = val;
int ret = _setUniform(
name.toNativeUtf8().cast<ffi.Char>(),
valT.cast<ffi.Void>(),
);
calloc.free(valT);
return ret == 0 ? false : true;
}