texSubImage2D method
dynamic
texSubImage2D(
- dynamic target,
- dynamic level,
- dynamic x,
- dynamic y,
- dynamic width,
- dynamic height,
- dynamic format,
- dynamic type,
- dynamic data,
Implementation
texSubImage2D(target, level, x, y, width, height, format, type, data) {
final dataPtr = getData(data);
glTexSubImage2D(target, level, x, y, width, height, format, type, dataPtr);
// calloc.free(dataPtr);
}