#pathfinder #vector-graphics #texture #shaders #resources #gpu

pathfinder_resources

Shaders, textures, etc. for the Pathfinder vector graphics library

1 unstable release

0.5.0 Apr 17, 2020

#1010 in Graphics APIs

Download history 56/week @ 2024-07-20 48/week @ 2024-07-27 55/week @ 2024-08-03 61/week @ 2024-08-10 49/week @ 2024-08-17 46/week @ 2024-08-24 59/week @ 2024-08-31 55/week @ 2024-09-07 70/week @ 2024-09-14 79/week @ 2024-09-21 56/week @ 2024-09-28 13/week @ 2024-10-05 41/week @ 2024-10-12 60/week @ 2024-10-19 48/week @ 2024-10-26 56/week @ 2024-11-02

205 downloads per month
Used in 10 crates (7 directly)

MIT/Apache

1.5MB
1.5K SLoC

Metal Shading Language 1K SLoC // 0.0% comments GLSL 572 SLoC // 0.0% comments Rust 100 SLoC // 0.3% comments

An abstraction for reading resources.

This accomplishes two purposes over just using the filesystem to locate shaders and so forth:

  1. Downstream users of Pathfinder shouldn't be burdened with having to install the resources alongside their binary.

  2. There may not be a traditional filesystem available, as for example is the case on Android.

No runtime deps