reference counted data in textures