Builder

interface Builder

An interface for a texture builder.

Types

Companion
Link copied to clipboard
common
object Companion

Functions

addCubemapTexture
Link copied to clipboard
common
abstract fun addCubemapTexture(side: CubemapSide, source: TextureImageSource): Texture.Builder
Adds a source of a cubemap texture for a given side.
addTexture
Link copied to clipboard
common
abstract fun addTexture(source: TextureImageSource): Texture.Builder
Adds a source of a 2D texture.
build
Link copied to clipboard
common
abstract fun build(): List<Texture>
Builds textures from all added sources.
generateMipmaps
Link copied to clipboard
common
abstract fun generateMipmaps(): Texture.Builder
Tells the builder to generate mipmaps for all created textures.