librashader/librashader-reflect/src/reflect/mod.rs

11 lines
228 B
Rust
Raw Normal View History

use crate::error::ShaderReflectError;
use crate::reflect::semantics::ShaderReflection;
mod cross;
2022-10-23 02:36:41 -04:00
mod naga;
pub mod semantics;
pub trait ReflectShader {
fn reflect(&self) -> Result<ShaderReflection, ShaderReflectError>;
}