Original Post
Hy.
I would create a texture manager class that contains all the texture in my project.
I have a lot of texture that are the same for much of my meshes , then i think to share the texture with a shared pointer and an stl map , my question is if this method is perform poorly because for each render i must accede to the map(and this is every 1/60 sec).
how i can do better?
with a custom template map or list instead of stl container?
or with c array?
thanks.
I would create a texture manager class that contains all the texture in my project.
I have a lot of texture that are the same for much of my meshes , then i think to share the texture with a shared pointer and an stl map , my question is if this method is perform poorly because for each render i must accede to the map(and this is every 1/60 sec).
how i can do better?
with a custom template map or list instead of stl container?
or with c array?
thanks.