Crate texture

source ·
Expand description

A generic library for textures.

This library is used in Piston for generic code when working with textures.

The ImageSize trait is used for passing textures around for rendering. For more information, see Piston-Graphics.

Modules

Image operations for textures.

Structs

Texture creation parameters.

Enums

Sampling filter
Texture format.
Wrap mode

Traits

Implemented by textures for creation.
Implemented by all images to be used with generic algorithms.
Implemented by texture operations.
Implemented by textures for updating.