glGetnCompressedTexImage function opengl_glext

void glGetnCompressedTexImage(
  1. int target,
  2. int lod,
  3. int bufSize,
  4. Pointer<NativeType> pixels,
)
GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels)

Implementation

void glGetnCompressedTexImage(
  int target,
  int lod,
  int bufSize,
  Pointer<NativeType> pixels,
) {
  final glGetnCompressedTexImageAsFunction = _glGetnCompressedTexImage
      .cast<
        NativeFunction<
          Void Function(
            Uint32 target,
            Int32 lod,
            Uint32 bufSize,
            Pointer<NativeType> pixels,
          )
        >
      >()
      .asFunction<
        void Function(
          int target,
          int lod,
          int bufSize,
          Pointer<NativeType> pixels,
        )
      >();
  return glGetnCompressedTexImageAsFunction(target, lod, bufSize, pixels);
}