pub struct MetalShaderManager { /* private fields */ }
Expand description
Metal shader manager for loading and compiling Metal shaders
Implementations§
Source§impl MetalShaderManager
impl MetalShaderManager
Sourcepub fn get_shader_source(&self) -> &str
pub fn get_shader_source(&self) -> &str
Get the Metal shader source
Sourcepub fn validate_shader(&self) -> Result<()>
pub fn validate_shader(&self) -> Result<()>
Validate shader source
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MetalShaderManager
impl RefUnwindSafe for MetalShaderManager
impl Send for MetalShaderManager
impl Sync for MetalShaderManager
impl Unpin for MetalShaderManager
impl UnwindSafe for MetalShaderManager
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