On Dec 21, 2012, at 5:26 PM, Thomas Senyk <thomas.se...@pelagicore.com> wrote:
> On Tue, December 18, 2012 19:28:23 Laszlo Papp wrote: >> On Tue, Dec 18, 2012 at 7:12 PM, Sean Harmer <sean.har...@kdab.com> wrote: >>> Something along those lines but also for Sampler objects where available >>> and higher level too e.g. A set of Texture Unit Configurations and also >>> that supports more features such as texture arrays (layered textures). >> >> Ah, I have just realized we were discussing texture atlas as well that >> could be a reusable component, perhaps. > > I agree. > A qml abstraction would be nice to have: > > TextureAtlas { > default property list<Image> actions > } > > This could be used for your icon-sets or your model-views, or similar. > > Not sure if this helps performance that much .. and if it's easy to integrate > into SG? The scene graph already has the abstractions in place to build a texture atlas behind the scenes. The actual texture atlas to support Image elements and BorderImage elements is located in the playground/scenegraph repository. cheers, Gunnar _______________________________________________ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development