Struct luminance_glow::Glow[][src]

pub struct Glow { /* fields omitted */ }

The Luminance Glow backend

Implementations

impl Glow[src]

pub fn from_context(ctx: Context) -> Result<Self, StateQueryError>[src]

Create a glow backend instance from a glow Context

Trait Implementations

impl<T> Buffer<T> for Glow where
    T: Copy
[src]

type BufferRepr = Buffer<T>

The inner representation of the buffer for this backend.

impl<T> BufferSlice<T> for Glow where
    T: Copy
[src]

type SliceRepr = BufferSlice<T>

type SliceMutRepr = BufferSliceMut<T>

impl Debug for Glow[src]

impl<D> Framebuffer<D> for Glow where
    D: Dimensionable
[src]

type FramebufferRepr = Framebuffer<D>

impl FramebufferBackBuffer for Glow[src]

impl<V, I, W> IndexSlice<V, I, W, Deinterleaved> for Glow where
    V: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>,
    I: TessIndex,
    W: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>, 
[src]

type IndexSliceRepr = BufferSlice<I>

type IndexSliceMutRepr = BufferSliceMut<I>

impl<V, I, W> IndexSlice<V, I, W, Interleaved> for Glow where
    V: TessVertexData<Interleaved, Data = Vec<V>>,
    I: TessIndex,
    W: TessVertexData<Interleaved, Data = Vec<W>>, 
[src]

type IndexSliceRepr = BufferSlice<I>

type IndexSliceMutRepr = BufferSliceMut<I>

impl<V, I, W, T> InstanceSlice<V, I, W, Deinterleaved, T> for Glow where
    V: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>,
    I: TessIndex,
    W: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>> + Deinterleave<T>, 
[src]

type InstanceSliceRepr = BufferSlice<T>

type InstanceSliceMutRepr = BufferSliceMut<T>

impl<V, I, W> InstanceSlice<V, I, W, Interleaved, W> for Glow where
    V: TessVertexData<Interleaved, Data = Vec<V>>,
    I: TessIndex,
    W: TessVertexData<Interleaved, Data = Vec<W>>, 
[src]

type InstanceSliceRepr = BufferSlice<W>

type InstanceSliceMutRepr = BufferSliceMut<W>

impl<D> Pipeline<D> for Glow where
    D: Dimensionable
[src]

impl PipelineBase for Glow[src]

type PipelineRepr = Pipeline

impl<T> PipelineBuffer<T> for Glow where
    T: Copy
[src]

type BoundBufferRepr = BoundBuffer

impl<D, P> PipelineTexture<D, P> for Glow where
    D: Dimensionable,
    P: Pixel
[src]

type BoundTextureRepr = BoundTexture<D, P>

impl RenderGate for Glow[src]

impl Shader for Glow[src]

type StageRepr = Stage

type ProgramRepr = Program

type UniformBuilderRepr = UniformBuilder

impl ShadingGate for Glow[src]

impl<V, I, W> Tess<V, I, W, Deinterleaved> for Glow where
    V: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>,
    I: TessIndex,
    W: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>, 
[src]

type TessRepr = DeinterleavedTess<V, I, W>

impl<V, I, W> Tess<V, I, W, Interleaved> for Glow where
    V: TessVertexData<Interleaved, Data = Vec<V>>,
    I: TessIndex,
    W: TessVertexData<Interleaved, Data = Vec<W>>, 
[src]

type TessRepr = InterleavedTess<V, I, W>

impl<V, I, W> TessGate<V, I, W, Deinterleaved> for Glow where
    V: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>,
    I: TessIndex,
    W: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>, 
[src]

impl<V, I, W> TessGate<V, I, W, Interleaved> for Glow where
    V: TessVertexData<Interleaved, Data = Vec<V>>,
    I: TessIndex,
    W: TessVertexData<Interleaved, Data = Vec<W>>, 
[src]

impl<D, P> Texture<D, P> for Glow where
    D: Dimensionable,
    P: Pixel
[src]

impl TextureBase for Glow[src]

type TextureRepr = Texture

impl<'a> Uniformable<Glow> for &'a [i32][src]

impl<'a> Uniformable<Glow> for &'a [[i32; 2]][src]

impl<'a> Uniformable<Glow> for &'a [[f32; 3]][src]

impl<'a> Uniformable<Glow> for &'a [[f32; 4]][src]

impl<'a> Uniformable<Glow> for &'a [[[f32; 2]; 2]][src]

impl<'a> Uniformable<Glow> for &'a [[[f32; 3]; 3]][src]

impl<'a> Uniformable<Glow> for &'a [[[f32; 4]; 4]][src]

impl<'a> Uniformable<Glow> for &'a [bool][src]

impl<'a> Uniformable<Glow> for &'a [[bool; 2]][src]

impl<'a> Uniformable<Glow> for &'a [[bool; 3]][src]

impl<'a> Uniformable<Glow> for &'a [[bool; 4]][src]

impl<'a> Uniformable<Glow> for &'a [[i32; 3]][src]

impl<'a> Uniformable<Glow> for &'a [[i32; 4]][src]

impl<'a> Uniformable<Glow> for &'a [u32][src]

impl<'a> Uniformable<Glow> for &'a [[u32; 2]][src]

impl<'a> Uniformable<Glow> for &'a [[u32; 3]][src]

impl<'a> Uniformable<Glow> for &'a [[u32; 4]][src]

impl<'a> Uniformable<Glow> for &'a [f32][src]

impl<'a> Uniformable<Glow> for &'a [[f32; 2]][src]

impl<V, I, W, T> VertexSlice<V, I, W, Deinterleaved, T> for Glow where
    V: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>> + Deinterleave<T>,
    I: TessIndex,
    W: TessVertexData<Deinterleaved, Data = Vec<DeinterleavedData>>, 
[src]

type VertexSliceRepr = BufferSlice<T>

type VertexSliceMutRepr = BufferSliceMut<T>

impl<V, I, W> VertexSlice<V, I, W, Interleaved, V> for Glow where
    V: TessVertexData<Interleaved, Data = Vec<V>>,
    I: TessIndex,
    W: TessVertexData<Interleaved, Data = Vec<W>>, 
[src]

type VertexSliceRepr = BufferSlice<V>

type VertexSliceMutRepr = BufferSliceMut<V>

Auto Trait Implementations

impl !RefUnwindSafe for Glow

impl !Send for Glow

impl !Sync for Glow

impl Unpin for Glow

impl !UnwindSafe for Glow

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.