glimpse-core
/
graphics.glimpse
/
GlimpseCallback
common
Glimpse
Callback
interface
GlimpseCallback
Content copied to clipboard
Callback used by various Glimpse components for rendering.
Functions
Functions
equals
Link copied to clipboard
common
open operator fun
equals
(other:
Any
?):
Boolean
Content copied to clipboard
hashCode
Link copied to clipboard
common
open fun
hashCode
():
Int
Content copied to clipboard
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.
toString
Link copied to clipboard
common
open fun
toString
():
String
Content copied to clipboard