bkaradzic / bimg

Image library.
BSD 2-Clause "Simplified" License
333 stars 271 forks source link

texturec layers proposal #38

Closed pgruenbacher closed 4 years ago

pgruenbacher commented 4 years ago

layers argument to texturec to convert stacked image to layers to allow for texture arrays theoretically.

I've yet to test the texture arrays but I've confirmed via texturev screenshot that when exporting to ktx that it sets it as multiple layers.

imageWriteDdsHeader doesn't seem to support layers so it just takes the first image of the stack.

Screenshot from 2020-02-05 22-18-49

pgruenbacher commented 4 years ago

bkaradzic wanted it as separate command so closing.