RenderingContextInterface

abstract class RenderingContextInterface

Constructors

Link copied to clipboard
fun RenderingContextInterface()

Functions

Link copied to clipboard
abstract fun applyScissorRect(scissorRect: RectI?)

optional rectangle, remove scissoring when not set

Link copied to clipboard
abstract fun getViewportSize(): Vec2I
Link copied to clipboard
abstract fun onSurfaceCreated()

Ensure calling on graphics thread

Link copied to clipboard
abstract fun postRenderStencilMask()
Link copied to clipboard
abstract fun preRenderStencilMask()
Link copied to clipboard
abstract fun setBackgroundColor(color: Color)
Link copied to clipboard
abstract fun setupDrawFrame()
Link copied to clipboard
abstract fun setViewportSize(size: Vec2I)

Ensure calling on graphics thread