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

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

## Declaration

```swift
func texture(withName name: String, scaleFactor: CGFloat, bundle: Bundle?, options: [String : NSNumber]? = nil, queue: dispatch_queue_t?, completionHandler block: @escaping @Sendable (GLKTextureInfo?, (any Error)?) -> Void)
```

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