glGetObjectLabel function opengl_glext

void glGetObjectLabel(
  1. int identifier,
  2. int name,
  3. int bufSize,
  4. Pointer<Uint32> length,
  5. Pointer<Int8> label,
)
GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label)

Implementation

void glGetObjectLabel(
  int identifier,
  int name,
  int bufSize,
  Pointer<Uint32> length,
  Pointer<Int8> label,
) {
  final glGetObjectLabelAsFunction = _glGetObjectLabel
      .cast<
        NativeFunction<
          Void Function(
            Uint32 identifier,
            Uint32 name,
            Uint32 bufSize,
            Pointer<Uint32> length,
            Pointer<Int8> label,
          )
        >
      >()
      .asFunction<
        void Function(
          int identifier,
          int name,
          int bufSize,
          Pointer<Uint32> length,
          Pointer<Int8> label,
        )
      >();
  return glGetObjectLabelAsFunction(identifier, name, bufSize, length, label);
}