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. NativeArray<num>? pixels,
)

Implementation

void texImage3D(int target, int level, int internalformat, int width, int height, int depth, int border, int format, int type, NativeArray? pixels) {
  startCheck('texImage3D');

  gl.glTexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels?.data ?? nullptr);
  checkError('texImage3D');
}