If you want to replace a texture in the tm, why don't you use the replaceTexture-method?
I did try the replace function at firstit didn't seem to make any difference above was my attempt to "make sure".
If you want to replace a texture in the tm, why don't you use the replaceTexture-method? A faster way (if appropriate) would be to use an ITextureEffect to update the texture's content.
I was already quite impressed with the speed to be honest, but if it results in progressively increasing memory use, or some internal allocation being used up, Its not something I can live with.
To be honest, I know nothing of ITextureEffect or if it will be appropriate, so I'll just describe my scenario and you can see if it would fit;
* At runtime data is downloaded from the server.
* This data is used to position billboard-planes in the field of view with text on.
* At any time, new information can come from the sever changing the text on any of the billboard-planes.
Each billboard plan has an unique ID in its name field that matches its texture. So the method above is supposed to just take the next text and replace the old texture with it.
Its rather crude at the moment in regards to the size/placement of the text, but I'll fix that neater later.
Thanks