2022-11-07 16:25:11 +11:00
|
|
|
pub mod targets;
|
|
|
|
mod cross;
|
|
|
|
|
|
|
|
use std::fmt::Debug;
|
|
|
|
pub use targets::ShaderCompiler;
|
|
|
|
|
|
|
|
#[derive(Debug)]
|
2022-11-09 17:11:25 +11:00
|
|
|
pub struct CompiledShader<Source, Context = ()> {
|
|
|
|
pub vertex: Source,
|
|
|
|
pub fragment: Source,
|
|
|
|
pub context: Context,
|
2022-11-07 16:25:11 +11:00
|
|
|
}
|
2022-11-09 17:51:10 +11:00
|
|
|
|