mirror of https://github.com/mosra/magnum.git
Browse Source
Together with the parent commit, it's now possible to do THE
UNTHINKABLE:
Containers::Array<Trade::ImageData2D> inputImages = ...;
auto out = TextureTools::atlasArrayPowerOfTwo({2048, 2048},
stridedArrayView(inputImages).slice(&Trade::ImageData2D::size));
An actual use case, in fact. Because why not.
pull/578/head
3 changed files with 5 additions and 3 deletions
Loading…
Reference in new issue