toggle menu
korge-root
5.1.0
jvm
switch theme
search in API
korge
/
korlibs.render.win32
/
MyOpenGL32
/
Companion
Companion
jvm
object
Companion
:
MyOpenGL32
Members
Properties
GL_COLOR_BUFFER_BIT
Link copied to clipboard
jvm
const
val
GL_COLOR_BUFFER_BIT
:
Int
=
16384
GL_DEPTH_BUFFER_BIT
Link copied to clipboard
jvm
const
val
GL_DEPTH_BUFFER_BIT
:
Int
=
256
GL_EXTENSIONS
Link copied to clipboard
jvm
const
val
GL_EXTENSIONS
:
Int
=
7939
GL_RENDERER
Link copied to clipboard
jvm
const
val
GL_RENDERER
:
Int
=
7937
GL_SHADING_LANGUAGE_VERSION
Link copied to clipboard
jvm
const
val
GL_SHADING_LANGUAGE_VERSION
:
Int
=
35724
GL_STENCIL_BUFFER_BIT
Link copied to clipboard
jvm
const
val
GL_STENCIL_BUFFER_BIT
:
Int
=
1024
GL_VENDOR
Link copied to clipboard
jvm
const
val
GL_VENDOR
:
Int
=
7936
GL_VERSION
Link copied to clipboard
jvm
const
val
GL_VERSION
:
Int
=
7938
INSTANCE
Link copied to clipboard
jvm
val
INSTANCE
:
MyOpenGL32.Companion
WGL_CONTEXT_MAJOR_VERSION_ARB
Link copied to clipboard
jvm
const
val
WGL_CONTEXT_MAJOR_VERSION_ARB
:
Int
=
8337
WGL_CONTEXT_MINOR_VERSION_ARB
Link copied to clipboard
jvm
const
val
WGL_CONTEXT_MINOR_VERSION_ARB
:
Int
=
8338
Functions
gl
Clear
Link copied to clipboard
jvm
open
override
fun
glClear
(
mask
:
Int
)
gl
Clear
Color
Link copied to clipboard
jvm
open
override
fun
glClearColor
(
r
:
Float
,
g
:
Float
,
b
:
Float
,
a
:
Float
)
gl
Flush
Link copied to clipboard
jvm
open
override
fun
glFlush
(
)
gl
Get
String
Link copied to clipboard
jvm
open
override
fun
glGetString
(
p0
:
Int
)
:
String
gl
Viewport
Link copied to clipboard
jvm
open
override
fun
glViewport
(
x
:
Int
,
y
:
Int
,
width
:
Int
,
height
:
Int
)
wgl
Create
Context
Link copied to clipboard
jvm
open
override
fun
wglCreateContext
(
p0
:
WinDef.HDC
)
:
WinDef.HGLRC
wgl
Delete
Context
Link copied to clipboard
jvm
open
override
fun
wglDeleteContext
(
p0
:
WinDef.HGLRC
)
:
Boolean
wgl
Get
Current
Context
Link copied to clipboard
jvm
open
override
fun
wglGetCurrentContext
(
)
:
WinDef.HGLRC
wgl
Get
Proc
Address
Link copied to clipboard
jvm
open
override
fun
wglGetProcAddress
(
p0
:
String
)
:
Pointer
wgl
Make
Current
Link copied to clipboard
jvm
open
override
fun
wglMakeCurrent
(
p0
:
WinDef.HDC
,
p1
:
WinDef.HGLRC
)
:
Boolean