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

Started by
-1 comments, last by jonnii 21 years, 8 months ago
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
-jonnii=========jon@voodooextreme.comwww.voodooextreme.com

This topic is closed to new replies.

Advertisement