#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

#1008 in Graphics APIs

Download history 51/week @ 2024-03-11 66/week @ 2024-03-18 86/week @ 2024-03-25 104/week @ 2024-04-01 64/week @ 2024-04-08 67/week @ 2024-04-15 65/week @ 2024-04-22 62/week @ 2024-04-29 73/week @ 2024-05-06 65/week @ 2024-05-13 63/week @ 2024-05-20 68/week @ 2024-05-27 52/week @ 2024-06-03 47/week @ 2024-06-10 64/week @ 2024-06-17 66/week @ 2024-06-24

237 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