glissile 0.0.3

A macro for generating GLSL source code
Documentation

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.