ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperLicht
forum topic indicator Texture manager event
person icon
zexx
Registered User
Quote
2010-09-12 22:56:07

A suggestion:

It would be nice to have TextureManager.OnTexturesLoaded event so that app knows when all textures are loaded, without constantly polling the GetCountOfTexturesToLoad in a loop.

person icon
niko
Moderator
Quote
2010-09-13 17:31:51

Thanks for the suggestion, would be an idea.

person icon
nciagra
Registered User
Quote
2010-12-06 09:36:29

I'd like to second this; I am loading user defined textures and then need to center them based on their width and height. Obviously I can't run that calculation until the texture is loaded. Right now I have to resort to polling. But if either the TextureManager or the Texture itself could fire an event, it would perform much better.

Thanks for all the hard work you've already implemented!

--Nick

person icon
niko
Moderator
Quote
2010-12-06 16:28:12

Ok, noted, I guess this will be in the next release of the engine. It's not that much work. :)

person icon
nciagra
Registered User
Quote
2010-12-06 20:00:16

Figured it wouldn't be, thanks a lot Niko!

--Nick


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |