Jump to content
  • Advertisement


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


DirectX8 Texture Loading Without D3DX

This topic is 6196 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post

Link to post
Share on other sites
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.

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!