Instance Property

sharegroup

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

Declaration

@property(readonly) EAGLSharegroup *sharegroup;

Discussion

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

See Also

Getting Context Information

API

The OpenGL ES rendering API version supported by the context. (read-only)

Deprecated
debugLabel

A label describing the context for use in debugging.

Deprecated
+ currentContext

Returns the current rendering context for the calling thread.

Deprecated