---
title: "init(sharegroup:)"
framework: glkit
role: symbol
role_heading: Initializer
path: "glkit/glktextureloader/init(sharegroup:)"
---

# init(sharegroup:)

Initializes a new texture loader object.

## Declaration

```swift
init(sharegroup: EAGLSharegroup)
```

## Parameters

- `sharegroup`: The sharegroup used to store new textures.

## Return Value

Return Value A newly initialized texture loader.

## Discussion

Discussion You only create a texture loader object when your app needs to load textures asynchronously.

## See Also

### Initialization

- [init(share:)](glkit/glktextureloader/init(share:).md)
