GraphicsObjectInterface

abstract class GraphicsObjectInterface

Constructors

Link copied to clipboard
fun GraphicsObjectInterface()

Functions

Link copied to clipboard
abstract fun clear()

Clear graphics object and invalidate isReady

Link copied to clipboard
abstract fun isReady(): Boolean

Returns true, if graphics object is ready to be drawn

Link copied to clipboard
abstract fun render(    context: RenderingContextInterface,     renderPass: RenderPassConfig,     mvpMatrix: Long,     isMasked: Boolean,     screenPixelAsRealMeterFactor: Double)

Render the graphics object; ensure calling on graphics thread

Link copied to clipboard
abstract fun setIsInverseMasked(inversed: Boolean)

by defaults objects if masked are only rendered where the mask is set if setting this flag the masked is applied inversly

Link copied to clipboard
abstract fun setup(context: RenderingContextInterface)

Ensure calling on graphics thread