Builder

class Builder : Texture.Builder

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun bitmap(bitmap: Bitmap, type: TextureType = DEFAULT_TYPE): ImageTexture.Builder
fun bitmap(context: Context, @DrawableRes drawableResId: Int, type: TextureType = DEFAULT_TYPE): ImageTexture.Builder
fun bitmap(assets: AssetManager, fileLocation: String, type: TextureType = DEFAULT_TYPE): ImageTexture.Builder
Link copied to clipboard
open override fun build(engine: Engine): Texture
Link copied to clipboard
open fun depth(@IntRange(from = 1) p0: Int): Texture.Builder
Link copied to clipboard
open fun format(@NonNull p0: Texture.InternalFormat): Texture.Builder
Link copied to clipboard
open fun height(@IntRange(from = 1) p0: Int): Texture.Builder
Link copied to clipboard
open fun importTexture(p0: Long): Texture.Builder
Link copied to clipboard
open fun levels(@IntRange(from = 1) p0: Int): Texture.Builder
Link copied to clipboard
open fun sampler(@NonNull p0: Texture.Sampler): Texture.Builder
Link copied to clipboard
open fun swizzle(@NonNull p0: Texture.Swizzle, @NonNull p1: Texture.Swizzle, @NonNull p2: Texture.Swizzle, @NonNull p3: Texture.Swizzle): Texture.Builder
Link copied to clipboard
fun type(type: TextureType): ImageTexture.Builder
Link copied to clipboard
open fun usage(p0: Int): Texture.Builder
Link copied to clipboard
open fun width(@IntRange(from = 1) p0: Int): Texture.Builder