glCompressedTexImage2D method
void
glCompressedTexImage2D()
Implementation
void glCompressedTexImage2D(int target, int level, int internalformat, int width, int height, int border, int imageSize, TypedData? data) {
switch (data) {
case null:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, ffi.nullptr);
case Float64List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Float32List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Int32List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Int16List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Int8List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Uint32List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Uint16List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Uint8List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Uint64List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
case Int64List d:
_glCompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, d.address.cast<ffi.Void>());
}
}