Jump to content
  • Advertisement

Archived

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

c t o a n

Surface <-> Texture

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

  • 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!