[−][src]Struct luminance::shader::program::ProgramInterface
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]
Auto Trait Implementations
impl<'a, Uni> Send for ProgramInterface<'a, Uni> where
Uni: Sync,
Uni: Sync,
impl<'a, Uni> Unpin for ProgramInterface<'a, Uni>
impl<'a, Uni> Sync for ProgramInterface<'a, Uni> where
Uni: Sync,
Uni: Sync,
impl<'a, Uni> UnwindSafe for ProgramInterface<'a, Uni> where
Uni: RefUnwindSafe,
Uni: RefUnwindSafe,
impl<'a, Uni> RefUnwindSafe for ProgramInterface<'a, Uni> where
Uni: RefUnwindSafe,
Uni: RefUnwindSafe,
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,