Abstracted out texture loading