Open Gl Render Context
data class OpenGlRenderContext(val directContext: DirectContext, val eglDisplay: Long, val eglConfig: Long, val eglContext: Long, val getProcAddress: Long, val resolveProcAddress: (String) -> Long, val makeCurrent: () -> Unit) : RenderContext(source)
OpenGL render context for a Compose GLFW window.
Native handles are borrowed from the host window and remain valid only until that window is closed or recreated. Do not close or release them from user code.
Constructors
Properties
Link copied to clipboard
Skia direct context used by Compose for this window.
Link copied to clipboard
EGL context handle used to render this window.
Link copied to clipboard
EGL display handle for the window context.
Link copied to clipboard
Raw GLFW glfwGetProcAddress function pointer.
Link copied to clipboard
Makes this window's OpenGL context current on the calling thread.
Link copied to clipboard
Resolves an OpenGL procedure name to a function pointer.