Crate shaders_graphics2d

Crate shaders_graphics2d 

Source
Expand description

Shaders for 2D graphics backends.

Piston supports different backends for 2D using various APIs. Since these backends uses the same shader code, it makes sense to share them through a common library to simplify maintenance.

Modulesยง

colored
Shaders for colored rendering.
textured
Shaders for textured rendering.
textured_color
Shaders for textured rendering with individual vertex colors.