[−][src]Struct ngen::renderer::RenderLayer
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]
&mut self,
pos: Vec2,
dim: Vec2,
color: Vec4,
texture_id: u32
)
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]
T: 'static + ?Sized,
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> 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 = Infallible
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>,