some resource loading for texture types