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§

ops
Image operations for textures.

Structs§

TextureSettings
Texture creation parameters.

Enums§

Filter
Sampling filter
Format
Texture format.
Wrap
Wrap mode

Traits§

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