Archived

This topic is now archived and is closed to further replies.

Lupin

VB.Net DX9 question

Recommended Posts

Is there anything equivalent to CreateTextureFromFileInMemoryEx()? How could I even open an file and get binary acess to the file? Do you know some good tutorial resources (not only DX9 tuts, I need to learn VB.Net in general too )

Share this post


Link to post
Share on other sites
Create a System.IO.MemoryStream from your array and pass that in

ie.

Dim myStream as new System.IO.MemoryStream( myByteArray )

myTexture = TextureLoader.FromStream( myStream )


Share this post


Link to post
Share on other sites