rawOpenGl property

LibOpenGLES get rawOpenGl

Implementation

LibOpenGLES get rawOpenGl {
  if (_libOpenGLES == null) {
    final rc = RenderingContext.createCanvas(
      surfaceId,
      {
        "alpha": options.alpha,
        "antialias": options.antialias
      }.jsify()
    );
    _libOpenGLES = LibOpenGLES(rc);
  }

  return _libOpenGLES!;
}