getContext function

dynamic getContext(
  1. Map<String, dynamic> parameters
)

Implementation

getContext(Map<String, dynamic> parameters) {
  if (Platform.isWindows||Platform.isLinux) {
    return OpenGLContextDesktop(parameters);
  } else {
    return OpenGLContextES(parameters);
  }
}