AGTexture

class AGTexture(val targetKind: AGTextureTargetKind = AGTextureTargetKind.TEXTURE_2D) : AGObject, Closeable

Constructors

Link copied to clipboard
constructor(targetKind: AGTextureTargetKind = AGTextureTargetKind.TEXTURE_2D)

Properties

Link copied to clipboard
Link copied to clipboard

MultiBitmap for multiple bitmaps (ie. cube map)

Link copied to clipboard
val depth: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val width: Int

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
fun doMipmaps(bitmap: Bitmap?, requestMipmaps: Boolean): Boolean
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun upload(bmp: Bitmap?, mipmaps: Boolean = false, baseMipmapLevel: Int? = null, maxMipmapLevel: Int? = null): AGTexture
fun upload(bmp: BmpSlice?, mipmaps: Boolean = false, baseMipmapLevel: Int? = null, maxMipmapLevel: Int? = null): AGTexture