texImage3DNative method

void texImage3DNative(
  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. NativeArray<num> data,
)

Implementation

void texImage3DNative(
    int target,
    int level,
    int internalformat,
    int width,
    int height,
    int depth,
    int border,
    int format,
    int type,
    NativeArray data) {
  var nativeBuffer = data.data;
  glTexImage3D(target, level, internalformat, width, height, depth, border,
      format, type, nativeBuffer.cast<Void>());
}