DGL
https://delphigl.com/forum/

Loadtexture form memory?
https://delphigl.com/forum/viewtopic.php?f=19&t=9720
Seite 1 von 1

Autor:  azrael11 [ Fr Jan 28, 2011 12:06 ]
Betreff des Beitrags:  Loadtexture form memory?

I use the
function LoadTexture(Filename: String; var Texture: GLuint; LoadFromRes : Boolean): Boolean;

I save an image to a streammemory name imagestrmemory.
How can i load from the memory an put in the loadtexture function so i can show it any time i want.

Thanks...

Autor:  Bergmann89 [ Fr Jan 28, 2011 13:51 ]
Betreff des Beitrags:  Re: Loadtexture form memory?

Hey,

you can use glBitmap. There is a procedure to load textures from Stream-Objects.

greetings Bergmann

Autor:  azrael11 [ Fr Jan 28, 2011 15:30 ]
Betreff des Beitrags:  Re: Loadtexture form memory?

Bergmann89 hat geschrieben:
Hey,

you can use glBitmap. There is a procedure to load textures from Stream-Objects.

greetings Bergmann


Thank you i take a look ...

Seite 1 von 1 Alle Zeiten sind UTC + 1 Stunde
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/