docs.rs failed to build rasen-dsl-0.2.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
rasen-dsl
The rasen_dsl
crate provides a bunch of utility function to write shaders as perfectly valid Rust code:
extern crate rasen;
extern crate rasen_dsl;
use *;
This crate is even more experimental than the Rasen compiler itself but it already provides all the features exposed by the compiler.
Ultimately, the goal for the DSL crate (beside being a statically-checked equivalent of the graph builder) is to expose an API to test the execution of a shader on the CPU, with all the debugging tools that such an environment provides. The library currently provides all the conversion primitives to turn your scalar / vectors / matrices into Value<_> types to test your program, however most GLSL operations are left unimplemented.