texSubImage2D2 method
dynamic
texSubImage2D2(
- dynamic x,
- dynamic y,
- dynamic width,
- dynamic height,
- dynamic data,
Implementation
texSubImage2D2(x, y, width, height, data) {
final dataPtr = toPointer(data);
glTexSubImage2D(
TEXTURE_2D, 0, x, y, width, height, RGBA, UNSIGNED_BYTE, dataPtr);
calloc.free(dataPtr);
}