pub struct ShaderStorage<B: Backend> { /* private fields */ }
Expand description
Contains reflection and runtime nformation for a given compiled Shader Module.
Implementations§
Source§impl<B: Backend> ShaderStorage<B>
impl<B: Backend> ShaderStorage<B>
Sourcepub fn get_entry_point<'a>(
&'a self,
) -> Result<Option<EntryPoint<'a, B>>, ShaderError>
pub fn get_entry_point<'a>( &'a self, ) -> Result<Option<EntryPoint<'a, B>>, ShaderError>
Builds the EntryPoint
structure used by rendy_core::hal to determine how to utilize this shader
Trait Implementations§
Source§impl<B: Debug + Backend> Debug for ShaderStorage<B>where
B::ShaderModule: Debug,
impl<B: Debug + Backend> Debug for ShaderStorage<B>where
B::ShaderModule: Debug,
Auto Trait Implementations§
impl<B> Freeze for ShaderStorage<B>
impl<B> RefUnwindSafe for ShaderStorage<B>
impl<B> Send for ShaderStorage<B>
impl<B> Sync for ShaderStorage<B>
impl<B> Unpin for ShaderStorage<B>
impl<B> UnwindSafe for ShaderStorage<B>
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