[][src]Struct lilith::Renderer

pub struct Renderer { /* fields omitted */ }

Host and interface to the rendering worker thread.

Methods

impl Renderer[src]

pub fn new() -> Self[src]

pub fn create_surface<H: HasRawWindowHandle>(
    &mut self,
    window: &H,
    size: Vector2<u32>
) -> SurfaceId
[src]

pub fn create_mesh(&mut self, command: CreateMeshCommand) -> MeshId[src]

pub fn surface_render(&mut self, command: SurfaceRenderCommand, blocking: bool)[src]

Trait Implementations

impl Drop for Renderer[src]

Auto Trait Implementations

impl !RefUnwindSafe for Renderer

impl Send for Renderer

impl Sync for Renderer

impl Unpin for Renderer

impl !UnwindSafe for Renderer

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> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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<V, T> VZip<V> for T where
    V: MultiLane<T>,