offscreen-jgl

Java tool for creating thread-independent offscreen OpenGL contexts

Features

  • Thread independent
  • Doesn’t create a window if possible

Usage

val context = GLContext.create()

Create shared

val context = GLContext.create(anotherContext)

Create with Core profile

val context = GLContext.create(true)

Get current

val context = GLContext.current()

Make current

context.makeCurrent()

Clear current

GLContext.clear()

GitHub

View Github