TextureBase

class TextureBase(var base: AGTexture?, var size: SizeInt) : Closeable, SizeableInt

Represents a full texture region wraping a base and specifying its width and height

Constructors

Link copied to clipboard
constructor(base: AGTexture?, width: Int, height: Int)
constructor(base: AGTexture?, size: SizeInt)

Properties

Link copied to clipboard
Link copied to clipboard
var height: Int
Link copied to clipboard
open override var size: SizeInt
Link copied to clipboard
Link copied to clipboard
var width: Int

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun update(bmp: Bitmap, mipmaps: Boolean, baseMipmapLevel: Int?, maxMipmapLevel: Int?)