pub struct Shader { /* private fields */ }Implementations§
Source§impl Shader
impl Shader
pub fn at<'a>(&'a self, entry_point: &'a str) -> ShaderFunction<'a>
pub fn with_constants<'a>( &'a self, entry_point: &'a str, constants: &'a PipelineConstants, ) -> ShaderFunction<'a>
pub fn resolve_constants<'a>( &'a self, constants: &PipelineConstants, ) -> (Module, Cow<'a, ModuleInfo>)
pub fn get_struct_size(&self, struct_name: &str) -> u32
pub fn check_struct_size<T>(&self)
Auto Trait Implementations§
impl Freeze for Shader
impl RefUnwindSafe for Shader
impl Send for Shader
impl Sync for Shader
impl Unpin for Shader
impl UnwindSafe for Shader
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