Improve support for Texture2DArray
- When creating a Framebuffer / attaching a Texture to a Framebuffer there is no way to target a specific layer of a Texture2DArray.
- There is no way to save individual layers of a Texture2DArray. (
getTextureData()
returns 3D data, butsaveToFile()
will only save the first layer. Suggestion: add an optional layer-index tosaveToFile()
)