类 NativeBackend
java.lang.Object
polaris.sdk.ui.render.NativeBackend
- 所有已实现的接口:
AutoCloseable
Desktop OpenGL 3.3 backend. One live native backend / GL context per process in this release.
-
方法概要
修饰符和类型方法说明static NativeBackendThe caller already owns and has made current a desktop GL 3.3+ context.voidbackground(int w, int h, float time, boolean grid, boolean light) voidbackground(int w, int h, float time, boolean grid, Theme theme) voidcheck()voidlongvoidclose()static NativeBackendrenderer()screenshot(int w, int h) voidswap()version()
-
方法详细资料
-
open
- 抛出:
IOException
-
attachCurrentContext
The caller already owns and has made current a desktop GL 3.3+ context. No window is created.- 抛出:
IOException
-
check
-
renderer
-
version
-
clientSize
-
background
-
background
-
screenshot
-
checkError
-
swap
-
close
- 指定者:
close在接口中AutoCloseable
-