Package com.kakao.vectormap.graphics.vk
Class VKRenderThread
- java.lang.Object
-
- java.lang.Thread
-
- com.kakao.vectormap.graphics.vk.VKRenderThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class VKRenderThread extends java.lang.Thread
-
-
Field Summary
Fields Modifier and Type Field Description static int
RENDERMODE_CONTINUOUSLY
static int
RENDERMODE_WHEN_DIRTY
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ableToDraw()
int
getRenderMode()
void
onPause()
void
onResume()
void
onWindowResize(int w, int h)
void
requestExitAndWait()
void
requestRender()
void
run()
void
setRenderMode(int renderMode)
void
surfaceCreated()
void
surfaceDestroyed()
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
-
-
-
Field Detail
-
RENDERMODE_WHEN_DIRTY
public static final int RENDERMODE_WHEN_DIRTY
- See Also:
- Constant Field Values
-
RENDERMODE_CONTINUOUSLY
public static final int RENDERMODE_CONTINUOUSLY
- See Also:
- Constant Field Values
-
-
Method Detail
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
ableToDraw
public boolean ableToDraw()
-
setRenderMode
public void setRenderMode(int renderMode)
-
getRenderMode
public int getRenderMode()
-
requestRender
public void requestRender()
-
surfaceCreated
public void surfaceCreated()
-
surfaceDestroyed
public void surfaceDestroyed()
-
onPause
public void onPause()
-
onResume
public void onResume()
-
onWindowResize
public void onWindowResize(int w, int h)
-
requestExitAndWait
public void requestExitAndWait()
-
-