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