glTexImage2D method

void glTexImage2D(
  1. int target,
  2. int level,
  3. int internalformat,
  4. int width,
  5. int height,
  6. int border,
  7. int format,
  8. int type,
  9. Pointer<Void> pixels,
)

Implementation

void glTexImage2D(
  int target,
  int level,
  int internalformat,
  int width,
  int height,
  int border,
  int format,
  int type,
  ffi.Pointer<ffi.Void> pixels,
) {
  return _glTexImage2D(
    target,
    level,
    internalformat,
    width,
    height,
    border,
    format,
    type,
    pixels,
  );
}