Companion

object Companion

Functions

Link copied to clipboard
fun createEmpty(gl: GlimpseAdapter, width: Int, height: Int, presets: TexturePresets): Texture

Creates an empty texture of the given width and height, and with the given presets.

Link copied to clipboard

Creates a one-pixel texture of the given RGB color, and with the given presets.

Creates a one-pixel texture of the given RGBA color, and with the given presets.