Archived

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

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

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