Contents

sharegroup

The context’s sharegroup object. (read-only)

Declaration

var sharegroup: EAGLSharegroup { get }

Discussion

Retrieve the sharegroup of a context when you want to create two or more contexts that share rendering resources. Call init(api:) to initialize the first context, retrieve its sharegroup, and then initialize additional contexts by calling init(api:sharegroup:), passing this sharegroup as the parameter.

See Also

Related Documentation