compressedTexImage2D method

void compressedTexImage2D(
  1. int target,
  2. int level,
  3. int internalformat,
  4. int width,
  5. int height,
  6. int border,
  7. NativeArray<num>? pixels,
)

Implementation

void compressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, NativeArray? pixels){
  startCheck('compressedTexImage2D');
  gl.glCompressedTexImage2D(target, level, internalformat, width, height, border, pixels?.lengthInBytes??0,pixels?.data?? nullptr);
  checkError('compressedTexImage2D');
}