Handbook
Glossary
current-context ( -- context )
Vocabulary
raylib
.
live-coding
.
contexts
Inputs
None
Outputs
context
a native context snapshot, or f
Word description
Captures the current native OpenGL context and the display or surfaces needed to restore it. The snapshot borrows the context; it does not extend its lifetime.
Definition
USING:
system
;
IN:
raylib.live-coding.contexts
HOOK:
current-context
os
( -- context )
Methods
USING:
cocoa.classes
cocoa.messages
cocoa.runtime
raylib.live-coding.contexts
system
;
M:
macos
current-context
NSOpenGLContext
{
id
{
id
SEL
}
}
"currentContext"
send
;