Functions
Link copied to clipboard
fun create(context: WebGL2RenderingContext, width: Int, height: Int, contentScale: Double = 1.0, format: ColorFormat = ColorFormat.RGBa, type: ColorType = defaultColorType(format), multisample: BufferMultisample, levels: Int, session: Session?): ColorBufferWebGL
Link copied to clipboard
fun fromImage(context: WebGL2RenderingContext, image: Image, session: Session? = Session.active): ColorBufferWebGL
Link copied to clipboard
fun fromUrl(context: WebGLRenderingContext, url: String, session: Session? = Session.active): ColorBufferWebGL
Link copied to clipboard
suspend fun fromUrlSuspend(context: WebGL2RenderingContext, url: String, session: Session? = Session.active): ColorBufferWebGL