TextureResource
A representation of a texture.
Constructors
Link copied to clipboard
constructor(path: String, loadType: LoadType = LoadType.FROM_ASSETS, option: TextureCreateOption = TextureCreateOption())
Constructs a TextureResource from a file path.
Constructs a TextureResource from a file path.
constructor(bitmap: Bitmap)
Creates a TextureResource from a Bitmap.
Types
Link copied to clipboard
object Companion
The companion of TextureResource.