Module spectra::texture [] [src]

Structs

Depth32F

A depth 32-bit floating pixel format.

Dim2

2D dimension.

Flat

Flat texture hint.

R32F

A red 32-bit floating pixel format.

RGBA32F

A red, green, blue and alpha 32-bit floating pixel format.

Sampler

A Sampler object gives hint on how a Texture should be sampled.

Texture

Texture.

TextureImage
Unit

Texture unit.

Enums

MagFilter

Magnification filter.

MinFilter

Minification filter.

Wrap

How to wrap texture coordinates while sampling textures?

Functions

load_rgba_texture

Load an RGBA texture from an image at a path.

save_rgba_texture

Save an RGBA image on disk.

Type Definitions

TextureDepth32F
TextureRGBA32F