[][src]Struct rgx::core::Pass

pub struct Pass<'a> { /* fields omitted */ }

Pass

Methods

impl<'a> Pass<'a>[src]

pub fn begin(
    encoder: &'a mut CommandEncoder,
    view: &TextureView,
    depth: &TextureView,
    op: PassOp
) -> Self
[src]

pub fn set_pipeline<T>(&mut self, pipeline: &T) where
    T: AbstractPipeline<'a>, 
[src]

pub fn set_binding(&mut self, group: &BindingGroup, offsets: &[u64])[src]

pub fn set_index_buffer(&mut self, index_buf: &IndexBuffer)[src]

pub fn set_vertex_buffer(&mut self, vertex_buf: &VertexBuffer)[src]

pub fn draw<T: Draw>(&mut self, drawable: &T, binding: &BindingGroup)[src]

pub fn draw_buffer(&mut self, buf: &VertexBuffer)[src]

pub fn draw_buffer_range(&mut self, buf: &VertexBuffer, range: Range<u32>)[src]

pub fn draw_indexed(&mut self, indices: Range<u32>, instances: Range<u32>)[src]

Trait Implementations

impl<'a> Debug for Pass<'a>[src]

Auto Trait Implementations

impl<'a> Send for Pass<'a>

impl<'a> Sync for Pass<'a>

impl<'a> Unpin for Pass<'a>

impl<'a> !UnwindSafe for Pass<'a>

impl<'a> !RefUnwindSafe for Pass<'a>

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]