amazon-chime-sdk / com.amazonaws.services.chime.sdk.meetings.audiovideo.video.gl / DefaultEglCoreFactory

# DefaultEglCoreFactory

`class DefaultEglCoreFactory : EglCoreFactory`

DefaultEglCoreFactory will create a root EglCore lazily if no shared context is provided. It will track all child EglCore objects and release the root core if all child cores are released.

### Constructors

#### <init> | DefaultEglCoreFactory will create a root EglCore lazily if no shared context is provided. It will track all child EglCore objects and release the root core if all child cores are released. `DefaultEglCoreFactory(sharedContext: EGLContext = EGL14.EGL_NO_CONTEXT)`

### Functions

#### createEglCore | Create a new EglCore object `fun createEglCore(): EglCore`