toggle menu
korge-root
5.1.0
jvm
switch theme
search in API
korge
/
korlibs.render.platform
/
BaseOpenglContext
Base
Opengl
Context
jvm
interface
BaseOpenglContext
:
Disposable
Inheritors
MacosGLContext
MacAWTOpenglContext
ProxiedMacAWTOpenglContext
DummyOpenglContext
Win32OpenglContext
X11OpenglContext
Members
Types
Context
Info
Link copied to clipboard
jvm
data
class
ContextInfo
(
var
scissors
:
RectangleInt
?
=
null
,
var
viewport
:
RectangleInt
?
=
null
)
Properties
is
Core
Link copied to clipboard
jvm
open
val
isCore
:
Boolean
scale
Factor
Link copied to clipboard
jvm
open
val
scaleFactor
:
Float
Functions
dispose
Link copied to clipboard
jvm
open
override
fun
dispose
(
)
get
Current
Link copied to clipboard
jvm
open
fun
getCurrent
(
)
:
Any
?
is
Current
Link copied to clipboard
jvm
open
fun
isCurrent
(
)
:
Boolean
?
make
Current
Link copied to clipboard
jvm
abstract
fun
makeCurrent
(
)
release
Current
Link copied to clipboard
jvm
open
fun
releaseCurrent
(
)
supports
Swap
Interval
Link copied to clipboard
jvm
open
fun
supportsSwapInterval
(
)
:
Boolean
swap
Buffers
Link copied to clipboard
jvm
open
fun
swapBuffers
(
)
swap
Interval
Link copied to clipboard
jvm
open
fun
swapInterval
(
value
:
Int
)
use
Context
Link copied to clipboard
jvm
open
fun
useContext
(
g
:
Graphics
,
ag
:
AG
,
action
:
(
Graphics
,
BaseOpenglContext.ContextInfo
)
->
Unit
)