Crate onedrop_codegen

Crate onedrop_codegen 

Source
Expand description

onedrop Code Generation

Generate WGSL shaders from Milkdrop presets.

Re-exports§

pub use compiler::CacheStats;
pub use compiler::CompiledShader;
pub use compiler::ShaderCompiler;
pub use compiler::USER_TEXTURE_FIRST_BINDING;
pub use compiler::USER_TEXTURE_SLOTS;
pub use compiler::wrap_user_comp_shader;
pub use compiler::wrap_user_comp_shader_with_plan;
pub use compiler::wrap_user_warp_shader_with_plan;
pub use error::CodegenError;
pub use error::Result;
pub use prelude::SHADER_Q_CHANNELS;
pub use prelude::SHADER_UNIFORMS_WGSL;
pub use prelude::ShaderUniforms;
pub use prelude::with_prelude;

Modules§

compiler
Shader compiler with naga validation
error
Error types for shader code generation
prelude
Standard WGSL prelude injected ahead of every translated user shader.