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>
pub fn compile_into_binary(&mut self, shader: &VirtualShader) -> Vec<u32>
Compiles a shader into SPIR-V binary.
Auto Trait Implementations§
impl Freeze for ShaderCompiler
impl !RefUnwindSafe for ShaderCompiler
impl !Send for ShaderCompiler
impl !Sync for ShaderCompiler
impl Unpin for ShaderCompiler
impl UnsafeUnpin for ShaderCompiler
impl !UnwindSafe for ShaderCompiler
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more