MacosGLContext

class MacosGLContext(var contentView: Long = 0, val window: Long = 0, val quality: GameWindow.Quality = GameWindow.Quality.AUTOMATIC, val sharedContext: Long = 0) : BaseOpenglContext

Constructors

Link copied to clipboard
constructor(contentView: Long = 0, window: Long = 0, quality: GameWindow.Quality = GameWindow.Quality.AUTOMATIC, sharedContext: Long = 0)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
var callback: () -> Unit?
Link copied to clipboard
Link copied to clipboard
open val isCore: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override val scaleFactor: Float
Link copied to clipboard
Link copied to clipboard
val window: Long = 0

Functions

Link copied to clipboard
Link copied to clipboard
open override fun dispose()
Link copied to clipboard
open fun getCurrent(): Any?
Link copied to clipboard
open fun isCurrent(): Boolean?
Link copied to clipboard
open override fun makeCurrent()
Link copied to clipboard
open fun releaseCurrent()
Link copied to clipboard
fun runOnMainThread(block: () -> Unit)
Link copied to clipboard
Link copied to clipboard
fun setView(contentView: Long)
Link copied to clipboard
Link copied to clipboard
open override fun swapBuffers()
Link copied to clipboard
open fun swapInterval(value: Int)
Link copied to clipboard
open override fun useContext(g: Graphics, ag: AG, action: (Graphics, BaseOpenglContext.ContextInfo) -> Unit)