Adding resource links for OpenGL textures