TextureResource
A representation of a texture.
Constructors
Link copied to clipboard
constructor(path: String, loadType: LoadType = LoadType.FROM_ASSETS, option: TextureCreateOption = TextureCreateOption())
Construct TextureResource by specifying path.
Construct TextureResource by specifying path.
constructor(bitmap: Bitmap)
Asynchronously create texture resource from bitmap.
Types
Link copied to clipboard
object Companion
The companion of TextureResource.