glissile 0.0.3

A macro for generating GLSL source code
Documentation
  • Coverage
  • 0%
    0 out of 2 items documented0 out of 1 items with examples
  • Size
  • Source code size: 13.89 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 233.43 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • vonforum/glissile
    0 1 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • vonforum

Glissile

Glissile will be a macro for generating GLSL source code. Currently it just re-inserts its contents as a r#-delimited string.

Example:

extern crate glissile;
use glissile::glsl;

let frag_code = glsl! {
    precision mediump float;
    varying vec2 texCoord;

    void main() {
        gl_FragColor = vec4(texCoord, 0., 1.);
    }
};

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.