beginFrame

abstract fun beginFrame(width: Float, height: Float, pixelRatio: Float)

Begin a frame. this is called before all drawing calls.