texImage3D method

void texImage3D(
  1. int target,
  2. int level,
  3. int internalformat,
  4. int width,
  5. int height,
  6. int depth,
  7. int border,
  8. int format,
  9. int type,
  10. dynamic data,
)

Implementation

void texImage3D(int target, int level, int internalformat, int width,
    int height, int depth, int border, int format, int type, data) {
  if (data is NativeArray) {
    texImage3DNative(target, level, internalformat, width, height, depth,
        border, format, type, data);
  } else {
    texImage3DNormal(target, level, internalformat, width, height, depth,
        border, format, type, data);
  }
}