Package graphics.glimpse.textures

Textures and texture-related enums.

Textures and texture-related enums.

Textures and texture-related enums.

Types

BitmapProvider
Link copied to clipboard
fun interface BitmapProvider

Bitmap provider.

CubemapSide
Link copied to clipboard
enum CubemapSide : Enum<CubemapSide>

Cubemap texture side.

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

Empty texture presets.

InputStreamProvider
Link copied to clipboard
fun interface InputStreamProvider

Input stream provider.

Texture
Link copied to clipboard
interface Texture

A texture.

TextureImageSource
Link copied to clipboard
interface TextureImageSource

Texture image source.

TextureImageSourceBuilder
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.

TextureInternalFormat
Link copied to clipboard
enum TextureInternalFormat : Enum<TextureInternalFormat>

Texture color components.

TextureMagFilter
Link copied to clipboard
enum TextureMagFilter : Enum<TextureMagFilter>

Texture magnifying function.

TextureMinFilter
Link copied to clipboard
enum TextureMinFilter : Enum<TextureMinFilter>

Texture minifying function.

TexturePixelFormat
Link copied to clipboard
enum TexturePixelFormat : Enum<TexturePixelFormat>

Texture pixel data format.

TexturePixelType
Link copied to clipboard
enum TexturePixelType : Enum<TexturePixelType>

Texture pixel data type.

TextureType
Link copied to clipboard
enum TextureType : Enum<TextureType>

Texture type.

TextureWrap
Link copied to clipboard
enum TextureWrap : Enum<TextureWrap>

Texture wrap parameter.

Functions

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

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

fromFile
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.

fromResource
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.