Companion

object Companion

Functions

Link copied to clipboard
fun load(path: String): Texture2D
fun load(file: File): Texture2D

Loads a texture from the specified file path.

Link copied to clipboard

Creates a Texture2D from an Image.