Jump to content
  • Advertisement

Archived

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

darrin

Screen to Texture

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

I am not sure does this work, but I can give you an idea how to proceed with this.

well most simply thing could be that you just give viewport pointer to texturepointer and make definitions about how big that area of viewport is.

If you want to use little area from viewport as texture, then just use that viewportpointer and make own copy routine. and remember to allocate enough memory for texturepointer. it shouldnt be so hard . I hope I did help in someway.

Share this post


Link to post
Share on other sites
Advertisement
Hi All,
Anyone know an easy & fast way to take a chunk of the screen & save it as a texture?

Cheers
Darrin

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!