core
/
graphics.glimpse
/
GlimpseCallback
common
Glimpse
Callback
interface
GlimpseCallback
Content copied to clipboard
Callback used by various Glimpse components for rendering.
Functions
Functions
onCreate
Link copied to clipboard
common
abstract fun
onCreate
(gl:
GlimpseAdapter
)
Content copied to clipboard
Called when the OpenGL context is obtained.
onDestroy
Link copied to clipboard
common
abstract fun
onDestroy
(gl:
GlimpseAdapter
)
Content copied to clipboard
Called when the OpenGL context is released.
onRender
Link copied to clipboard
common
abstract fun
onRender
(gl:
GlimpseAdapter
)
Content copied to clipboard
Called when the rendering happens.
onResize
Link copied to clipboard
common
abstract fun
onResize
(gl:
GlimpseAdapter
, x:
Int
= 0, y:
Int
= 0, width:
Int
, height:
Int
)
Content copied to clipboard
Called when the rendering target is resized.