rend3-routine 0.3.0

Customizable Render Routines for the rend3 rendering library.
Documentation
1
2
3
4
5
6
7
8
9
10
//! Holds the sources and binaries for all shaders.

use include_dir::{include_dir, Dir};

/// All shaders in SPIRV form. This is what is used when GpuDriven to
/// get spirv passthrough.
pub static SPIRV_SHADERS: Dir = include_dir!("$CARGO_MANIFEST_DIR/shaders/spirv");
/// Naga-compatible shaders in SPIRV form. This is what is used when CpuDriven and
/// the naga-passing GpuDriven shaders.
pub static WGSL_SHADERS: Dir = include_dir!("$CARGO_MANIFEST_DIR/shaders/wgsl");