getContext function

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

Implementation

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