DirectX8 Texture Loading Without D3DX
Hey Ho!
At the Moment i am writting an Render Wrapper. It uses OpenGL and DirectX. With OpenGL you can create a Texture with the data bytes that i am using. But DirectX doesn''t support this feature. I have tried do lock blt unlock the data on the Texture but that fails. There are only some strange Chars.
Thanks for your help.
Hi,
I''m also been writing a Wrapper for a while. It supports both D3D and OGL. I use my simple image class to load images and manually Lock surface and set images. (I don''t use D3DXCreateTextureFromFile()).
If you are interested I can post some code how I do it.
I''m also been writing a Wrapper for a while. It supports both D3D and OGL. I use my simple image class to load images and manually Lock surface and set images. (I don''t use D3DXCreateTextureFromFile()).
If you are interested I can post some code how I do it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement