Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class TextureSampler2D : TextureSampler
Link copied to clipboard
class TextureSamplerExternal : TextureSampler
Link copied to clipboard

Functions

Link copied to clipboard
fun Texture.setBitmap(engine: Engine, bitmap: Bitmap, @IntRange(from = 0) level: Int = 0)
fun Texture.setBitmap(engine: Engine, context: Context, @DrawableRes drawableResId: Int, type: TextureType = ImageTexture.DEFAULT_TYPE, @IntRange(from = 0) level: Int = 0)
fun Texture.setBitmap(engine: Engine, assets: AssetManager, fileLocation: String, type: TextureType = ImageTexture.DEFAULT_TYPE, @IntRange(from = 0) level: Int = 0)
Link copied to clipboard
fun Texture.setStream(engine: Engine, bitmap: Bitmap)
Link copied to clipboard
fun <R> Texture.use(engine: Engine, block: (Texture) -> R): R