buildPrepared

fun buildPrepared(): TextureImageSource

Builds a prepared TextureImageSource with the provided parameters.

Note: The resulting TextureImageSource will be quicker in setting a texture image, but it will also consume more memory.

fun buildPrepared(profile: GLProfile): TextureImageSource

Builds a prepared TextureImageSource with the provided parameters and a given OpenGL profile.

Note: The resulting TextureImageSource will be quicker in setting a texture image, but it will also consume more memory.