void Texture2D::storage(PixelFormat fmt, unsigned wd, unsigned ht, int brd)
{
void Texture2D::storage(PixelFormat fmt, unsigned wd, unsigned ht, int brd)
{
glTexImage2D(target, level, ifmt, width, height, border, fmt, type, data);
}
glTexImage2D(target, level, ifmt, width, height, border, fmt, type, data);
}
glTexSubImage2D(target, level, x, y, wd, ht, fmt, type, data);
}
glTexSubImage2D(target, level, x, y, wd, ht, fmt, type, data);
}