mgpuCreateSampler function
Implementation
MGPUSampler? mgpuCreateSampler(
int addressU,
int addressV,
int addressW,
int mag,
int min,
int mip,
double lodMin,
double lodMax,
int compare,
) {
final sampler = _mgpuCreateSampler(
addressU.toJS,
addressV.toJS,
addressW.toJS,
mag.toJS,
min.toJS,
mip.toJS,
lodMin.toJS,
lodMax.toJS,
compare.toJS,
);
return sampler.toDartInt == 0 ? null : sampler;
}