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