pub struct Pipeline(_);
Implementations
sourceimpl Pipeline
impl Pipeline
pub fn new(
ctx: &mut Context,
buffer_layout: &[BufferLayout],
attributes: &[VertexAttribute],
shader: Shader
) -> Pipeline
pub fn with_params(
ctx: &mut Context,
buffer_layout: &[BufferLayout],
attributes: &[VertexAttribute],
shader: Shader,
params: PipelineParams
) -> Pipeline
pub fn set_blend(&self, ctx: &mut Context, color_blend: Option<BlendState>)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnwindSafe for Pipeline
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more