glGetnTexImage function opengl_glext

void glGetnTexImage(
  1. int target,
  2. int level,
  3. int format,
  4. int type,
  5. int bufSize,
  6. Pointer<NativeType> pixels,
)
GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels)

Implementation

void glGetnTexImage(
  int target,
  int level,
  int format,
  int type,
  int bufSize,
  Pointer<NativeType> pixels,
) {
  final glGetnTexImageAsFunction = _glGetnTexImage
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 level,
            Uint32 format,
            Uint32 type,
            Uint32 bufSize,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int level,
          int format,
          int type,
          int bufSize,
          Pointer<NativeType> pixels,
        )
      >();
  return glGetnTexImageAsFunction(target, level, format, type, bufSize, pixels);
}