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

pathfinder_resources

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

1 unstable release

0.5.0 Apr 17, 2020

#1086 in Graphics APIs

Download history 23/week @ 2024-11-13 40/week @ 2024-11-20 71/week @ 2024-11-27 121/week @ 2024-12-04 129/week @ 2024-12-11 70/week @ 2024-12-18 20/week @ 2024-12-25 56/week @ 2025-01-01 66/week @ 2025-01-08 86/week @ 2025-01-15 58/week @ 2025-01-22 53/week @ 2025-01-29 68/week @ 2025-02-05 64/week @ 2025-02-12 46/week @ 2025-02-19 58/week @ 2025-02-26

249 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