Jump to content
  • Advertisement


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

c t o a n

Surface <-> Texture

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

Ok, when using the D3DX utility library, I create a texture using D3DXCreateTexture[Ex](). With this you can create a regular texture or a render target. I''m curious, does the function actually convert from a Surface to a Texture (you pass it an IDirect3DTexture9* pointer), or does it just cast the Surface pointer to IDirect3DTexture9? If it''s the latter, then that''s awesome, but otherwise...? Thanks Chris Pergrossi My Realm | "Good Morning, Dave"

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!