glWeightbvArb function opengl_glext

void glWeightbvArb(
  1. int size,
  2. String weights
)
GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights)

Implementation

void glWeightbvArb(int size, String weights) {
  final glWeightbvArbAsFunction = _glWeightbvArb
      .cast<NativeFunction<Void Function(Int32 size, Pointer<Utf8> weights)>>()
      .asFunction<void Function(int size, Pointer<Utf8> weights)>();
  final weightsPointer = weights.toNativeUtf8();
  final result = glWeightbvArbAsFunction(size, weightsPointer);
  calloc.free(weightsPointer);
  return result;
}