Sign in

    Milky2018/moon_wgsl_naga_oil/preprocess does not have a README file

    PreprocessError

    pub suberror PreprocessError {
    GlslInvalidVersion(Int)
    ElseWithoutCondition(Int)
    TooManyEndIfs(Int)
    NotEnoughEndIfs(Int)
    UnknownShaderDef(String, Int)
    UnknownShaderDefOperator(String, Int)
    InvalidShaderDefComparisonValue(String, String, String, Int)
    ImportParseError(String, Int)
    }

    Preprocessor

    pub struct Preprocessor {
    } derive(Default)

    Preprocessor::default

    fn Preprocessor::default() -> Preprocessor

    apply_wgsl_ifdefs_strict

    fn apply_wgsl_ifdefs_strict(source : String, shader_defs : Map[String,
    ShaderDefValue
    ]) -> String raise PreprocessError

    apply_wgsl_template_consts

    fn apply_wgsl_template_consts(source : String, value_defines : Map[String,
    ShaderDefValue
    ]) -> String

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io