readTexture

actual suspend fun VfsFile.readTexture(minFilter: TexMinFilter, magFilter: TexMagFilter, mipmaps: Boolean): Texture

Loads an image from the path as a Texture. This will call Texture.prepare before returning!

Return

the loaded texture

expect suspend fun VfsFile.readTexture(minFilter: TexMinFilter = TexMinFilter.NEAREST, magFilter: TexMagFilter = TexMagFilter.NEAREST, mipmaps: Boolean = true): Texture

Loads an image from the path as a Texture. This will call Texture.prepare before returning!

Return

the loaded texture

actual suspend fun VfsFile.readTexture(minFilter: TexMinFilter, magFilter: TexMagFilter, mipmaps: Boolean): Texture

Loads an image from the path as a Texture. This will call Texture.prepare before returning!

Return

the loaded texture

actual suspend fun VfsFile.readTexture(minFilter: TexMinFilter, magFilter: TexMagFilter, mipmaps: Boolean): Texture

Loads an image from the path as a Texture. This will call Texture.prepare before returning!

Return

the loaded texture