child

actual fun child(name: String, image: ImageBitmap, tiled: Boolean)

Hands the shader a picture to read, declared as uniform shader name.

Read it with name.eval(coordinate), where the coordinate is in the picture's own pixels. tiled repeats the picture past its edges instead of holding the edge pixels.

expect fun child(name: String, image: ImageBitmap, tiled: Boolean = false)

Hands the shader a picture to read, declared as uniform shader name.

Read it with name.eval(coordinate), where the coordinate is in the picture's own pixels. tiled repeats the picture past its edges instead of holding the edge pixels.

actual fun child(name: String, image: ImageBitmap, tiled: Boolean)

Hands the shader a picture to read, declared as uniform shader name.

Read it with name.eval(coordinate), where the coordinate is in the picture's own pixels. tiled repeats the picture past its edges instead of holding the edge pixels.