TImage to TTexture

BlitzMax Forums/MiniB3D Module/TImage to TTexture

BLaBZ(Posted 2010) [#1]
Is there any way to load an image with LoadImage and then convert it to a texture?


ima747(Posted 2010) [#2]
search here for pixmap to texture. Use LockImage() to get the pixmap out of a TImage (you have to create the image as editable so you can lock it)