[][src]Struct ngen::renderer::RenderLayer

pub struct RenderLayer<'rc> { /* fields omitted */ }

Implementations

impl<'rc> RenderLayer<'rc>[src]

pub fn clear_screen(&mut self, color: Vec4)[src]

pub fn push_quad(&mut self, pos: Vec2, dim: Vec2, color: Vec4)[src]

pub fn push_tex_quad(
    &mut self,
    pos: Vec2,
    dim: Vec2,
    color: Vec4,
    texture_id: u32
)
[src]

pub fn push_sprite(&mut self, pos: Vec2, dim: Vec2, color: Vec4, sprite: Sprite)[src]

pub fn end(self) -> &'rc mut RenderCommands[src]

Auto Trait Implementations

impl<'rc> RefUnwindSafe for RenderLayer<'rc>

impl<'rc> Send for RenderLayer<'rc>

impl<'rc> Sync for RenderLayer<'rc>

impl<'rc> Unpin for RenderLayer<'rc>

impl<'rc> !UnwindSafe for RenderLayer<'rc>

Blanket Implementations

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

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

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

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 = Infallible

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.