open class GlCanvasTexture : GlSurfaceTexture
GlCanvasTexture(width: Int = 1, height: Int = 1)
|
open val isExternalTexture: Boolean |
|
var surface: <ERROR CLASS>? |
|
var surfaceTexture: <ERROR CLASS>? |
|
open var textureHeight: Int |
|
open var textureWidth: Int |
fun drawOnIt(width: Int = 0, height: Int = width, drawInstructions: (<ERROR CLASS>) -> Unit): GlCanvasTexture |
|
fun lockCanvas(): <ERROR CLASS>? |
|
fun unlock(): Unit |
fun bindBaseTexture(uniform: Int, slot: Int): Unit |
|
open fun bindTexture(uniform: Int, slot: Int): Unit |
|
fun invalidateSurface(): Unit |
|
open fun onAttach(handle: Int): Unit |
|
open fun onRelease(): Unit |
|
open fun setBehave(downScaleFiltering: Int, upScaleFiltering: Int, horizontalWrap: Int, verticalWrap: Int): Unit |
|
fun setSize(width: Int, height: Int): Unit |
|
open fun updateMipmapIfNeeded(): Unit |
|
fun updateTexture(): Unit |
infix fun <A> A.andRecycle(b: <ERROR CLASS>): <ERROR CLASS> infix fun <A> A.andRecycle(b: Recyclable): <ERROR CLASS> |
|
fun <T> T.loopAsLongNotNull(block: (it: T) -> T?): T |