Struct lambda::render::shader::ShaderCompiler
source · pub struct ShaderCompiler { /* private fields */ }
Expand description
A low level shader compiler to be used for compiling shaders into SPIR-V binary.
Implementations§
source§impl ShaderCompiler
impl ShaderCompiler
sourcepub fn compile_into_binary(&mut self, shader: &VirtualShader) -> Vec<u32, Global>
pub fn compile_into_binary(&mut self, shader: &VirtualShader) -> Vec<u32, Global>
Compiles a shader into SPIR-V binary.