Package graphics.glimpse.textures

Textures and texture-related enums.

Textures and texture-related enums.

Textures and texture-related enums.

Types

Link copied to clipboard
fun interface BitmapProvider

Bitmap provider.

Link copied to clipboard
fun interface BufferedImageProvider

Buffered image provider.

Link copied to clipboard
enum CubemapSide : Enum<CubemapSide>

Cubemap texture side.

Link copied to clipboard
data class EmptyTexturePresets(    val internalFormat: TextureInternalFormat,     val pixelFormat: TexturePixelFormat,     val pixelType: TexturePixelType)

Empty texture presets.

Link copied to clipboard
fun interface InputStreamProvider

Input stream provider.

Link copied to clipboard
interface Texture : GlimpseDisposable

A texture.

Link copied to clipboard
interface TextureImageSource

Texture image source.

Link copied to clipboard
actual class TextureImageSourceBuilder

A builder for a TextureImageSource.

expect class TextureImageSourceBuilder

A builder for a TextureImageSource.

actual class TextureImageSourceBuilder

A builder for a TextureImageSource.

Link copied to clipboard
enum TextureInternalFormat : Enum<TextureInternalFormat>

Texture color components.

Link copied to clipboard
enum TextureMagFilter : Enum<TextureMagFilter>

Texture magnifying function.

Link copied to clipboard
enum TextureMinFilter : Enum<TextureMinFilter>

Texture minifying function.

Link copied to clipboard
enum TexturePixelFormat : Enum<TexturePixelFormat>

Texture pixel data format.

Link copied to clipboard
enum TexturePixelType : Enum<TexturePixelType>

Texture pixel data type.

Link copied to clipboard
enum TextureType : Enum<TextureType>

Texture type.

Link copied to clipboard
enum TextureWrap : Enum<TextureWrap>

Texture wrap parameter.

Functions

Link copied to clipboard
fun TextureImageSourceBuilder.fromAsset(context: Context, fileName: String): TextureImageSourceBuilder

Will build a texture source from an asset with a given fileName.

Link copied to clipboard

Will build a texture source from a given bufferedImage.

Link copied to clipboard
fun TextureImageSourceBuilder.fromFile(file: File): TextureImageSourceBuilder

Will build a texture source from a given file.

fun TextureImageSourceBuilder.fromFile(file: File): TextureImageSourceBuilder

Will build a texture source from a given file.

Link copied to clipboard
fun TextureImageSourceBuilder.fromResource(owner: Any, name: String): TextureImageSourceBuilder

Will build a texture source from a resource with a given name, associated with a given owner.