Hi guys,
loading PNG is long time on the list, so why not provide it now, with help of thinBasic unit?
Where is the code?
https://github.com/petrSchreiber/SmartTexture
How can I use it?
Please note the current implementation is in pre-release phase, targetted at testing.
You can grab the files from releases page.
How difficult it is to use?
Not much After you download the includes, it can be as simple as:
#include "smartTexture.tbasicu"
...
dim t as smartTexture
t.FromFile("C:\myImage.png")
t.Make(1, %TBGL_Tex_MipMap)
Petr
Bookmarks