I read on here somewhere, that its possible - but for the life of me, I can’t see where.
I can make automatic images easy enough (created from a gif, using Toolkit.createImage()) that have a bitmask, and render as fast as a VolatileImage.
Also, I am under the impression that images created from Component.createImage(w,h), while being accelerated, do not have an alpha channel.
So, my question is - How do I create a VolatileImage, that has bitmask transparency?
The 1 idea I still have left to pursue, was to have a look at the alternative GraphicConfigurations that GraphicsDevice.getConfigurations() returns, and see if 1 of those will give me a VolatileImage that supports a bitmask.
-just tried that-
I get only 1 GraphicsConfiguration returned.
abu,