makepad_shader_compiler/
lib.rs

1#![allow(dead_code)]
2
3pub mod shader_parser;
4pub mod shader_ast;
5pub mod shader_registry;
6//pub mod env;
7pub mod analyse;
8pub mod builtin;
9pub mod const_eval;
10pub mod const_gather;
11pub mod dep_analyse;
12pub mod ty_check;
13pub mod lhs_check;
14pub mod swizzle;
15pub mod util;
16pub mod generate;
17
18#[cfg(any(target_os = "android", target_os = "linux", target_arch = "wasm32"))]
19pub mod generate_glsl;
20#[cfg(any(target_os = "macos", target_os="ios", target_os="tvos"))]
21pub mod generate_metal;
22#[cfg(any(target_os = "windows"))]
23pub mod generate_hlsl;
24
25pub use makepad_live_compiler;
26pub use makepad_live_compiler::makepad_math;
27pub use makepad_live_compiler::makepad_live_tokenizer;
28pub use makepad_live_compiler::makepad_derive_live;
29pub use makepad_live_compiler::makepad_micro_serde;
30pub use makepad_live_tokenizer::makepad_live_id;
31//pub use makepad_live_id::makepad_error_log;
32
33pub use {
34    crate::{
35        shader_ast::{
36            ShaderTy,
37            DrawShaderPtr,
38            DrawShaderDef,
39            DrawShaderFieldKind,
40            DrawShaderFlags,
41            DrawShaderConstTable,
42            ValuePtr,
43        },
44        shader_registry::{
45            ShaderEnum,
46            ShaderRegistry,
47            DrawShaderQuery
48        }
49    }
50};
51
52//pub use crate::shaderregistry::DrawShaderInput;