[][src]Struct luminance::shader::program::ProgramInterface

pub struct ProgramInterface<'a, Uni> { /* fields omitted */ }

The shader program interface.

This struct gives you access to several capabilities, among them:

  • The typed uniform interface you would have acquired earlier.
  • Some functions to query more data dynamically.

Methods

impl<'a, Uni> ProgramInterface<'a, Uni>[src]

pub fn query(&'a self) -> UniformBuilder<'a>[src]

Get a UniformBuilder in order to perform dynamic uniform lookup.

Trait Implementations

impl<'a, Uni> Deref for ProgramInterface<'a, Uni>[src]

type Target = Uni

The resulting type after dereferencing.

Auto Trait Implementations

impl<'a, Uni> Send for ProgramInterface<'a, Uni> where
    Uni: Sync

impl<'a, Uni> Unpin for ProgramInterface<'a, Uni>

impl<'a, Uni> Sync for ProgramInterface<'a, Uni> where
    Uni: Sync

impl<'a, Uni> UnwindSafe for ProgramInterface<'a, Uni> where
    Uni: RefUnwindSafe

impl<'a, Uni> RefUnwindSafe for ProgramInterface<'a, Uni> where
    Uni: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

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

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

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