[−][src]Struct rgx::core::Pass
Pass
Methods
impl<'a> Pass<'a>
[src]
pub fn begin(
encoder: &'a mut CommandEncoder,
view: &TextureView,
depth: &TextureView,
op: PassOp
) -> Self
[src]
encoder: &'a mut CommandEncoder,
view: &TextureView,
depth: &TextureView,
op: PassOp
) -> Self
pub fn set_pipeline<T>(&mut self, pipeline: &T) where
T: AbstractPipeline<'a>,
[src]
T: AbstractPipeline<'a>,
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
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]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,