---
title: "texture(withName:scaleFactor:bundle:options:)"
framework: glkit
role: symbol
role_heading: Type Method
path: "glkit/glktextureloader/texture(withname:scalefactor:bundle:options:)"
---

# texture(withName:scaleFactor:bundle:options:)

## Declaration

```swift
class func texture(withName name: String, scaleFactor: CGFloat, bundle: Bundle?, options: [String : NSNumber]? = nil) throws -> GLKTextureInfo
```
