Initializer

init(share:)

Initializes a new texture loader object.

Declaration

init(share context: NSOpenGLContext)

Parameters

context

The share context used to store new textures.

Return Value

A newly initialized texture loader.

Discussion

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

See Also

Initialization

init(sharegroup: EAGLSharegroup)

Initializes a new texture loader object.

Deprecated