Added texture loading capabilities.