Struct gfx_shader_watch::SimplePsoCellBuilder
source · pub struct SimplePsoCellBuilder<I: PipelineInit> { /* private fields */ }
Expand description
Builds SimplePsoCell
Implementations§
source§impl<I: PipelineInit + Clone> SimplePsoCellBuilder<I>
impl<I: PipelineInit + Clone> SimplePsoCellBuilder<I>
pub fn using(init_struct: I) -> SimplePsoCellBuilder<I>
pub fn vertex_shader(self, bytes: &[u8]) -> SimplePsoCellBuilder<I>
pub fn fragment_shader(self, bytes: &[u8]) -> SimplePsoCellBuilder<I>
pub fn primitive(self, p: Primitive) -> SimplePsoCellBuilder<I>
pub fn rasterizer(self, r: Rasterizer) -> SimplePsoCellBuilder<I>
pub fn build<R, F>( self, factory: F ) -> Result<SimplePsoCell<R, F, I>, Box<dyn Error>>where R: Resources, F: Factory<R>,
Trait Implementations§
Auto Trait Implementations§
impl<I> RefUnwindSafe for SimplePsoCellBuilder<I>where I: RefUnwindSafe,
impl<I> Send for SimplePsoCellBuilder<I>where I: Send,
impl<I> Sync for SimplePsoCellBuilder<I>where I: Sync,
impl<I> Unpin for SimplePsoCellBuilder<I>where I: Unpin,
impl<I> UnwindSafe for SimplePsoCellBuilder<I>where I: UnwindSafe,
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