• Advertisement
Sign in to follow this  

Texture to Bitmap

This topic is 4327 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

Hi, I'm trying to display a thumbnail of a DirectX Texture in a custom drawn list control. I need to convert a DirectX texture to an HBITMAP for this to work. I've thought about using D3DXSaveTextureToFileInMemory to create a bitmap in memory, but how do I then load the HBITMAP from memory? I can't find any functions to do this, and writing to disk would be an inefficient way of doing it. Or is there a better way to go about it? Thanks

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement