Jump to content
  • Advertisement


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


Looking after my textures... where do they go?

This topic is 5814 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''m currently building a Resource Manager for my application. A user can ask the application to load a texture, whereupon it creates a new Texture object and places that into a Map. The texture object then reads the image and then creates an opengl texture object. Now, i know i''m free to now delete the Texture Object''s image data from memory. But what about the opengl texture object? Will that always be there, unless i manually delete it? I''m thinking that i can page in texture from video memory when they are needed (not every frame obviously). Is it possible to tell how much data on the videocard a texture is using (taking into account mipmaps etc...). And is there a big performance cost in making opengl texture objects. thanks -jonnii

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!