pub struct CompiledShader {
pub source: String,
pub module: Module,
pub entry_points: Vec<String>,
pub hash: Hash,
pub optimized: bool,
}Expand description
Shader compilation result
Fields§
§source: StringOriginal source code
module: ModuleNaga module
entry_points: Vec<String>Entry points
hash: HashCompilation hash
optimized: boolWhether shader was optimized
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledShader
impl RefUnwindSafe for CompiledShader
impl Send for CompiledShader
impl Sync for CompiledShader
impl Unpin for CompiledShader
impl UnsafeUnpin for CompiledShader
impl UnwindSafe for CompiledShader
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