jsiems / gl_test

Test repository to mess around with opengl.
0 stars 0 forks source link

Create Texture Manager #6

Closed jsiems closed 5 years ago

jsiems commented 6 years ago

If more than one model are using the same texture, it is very inefficient to load the same textures more than once. There needs to be a texture manager that caches textures that are loaded and hands them out to models that need them.

jsiems commented 5 years ago

Added. f3798e6e391094e560b8be2140ecb88b8d7f919c