Struct luminance::shader::ProgramInterface [−][src]
Expand description
Interact with the UniformInterface
carried by a Program
and/or perform dynamic
uniform lookup.
This type allows to set — ProgramInterface::set
– uniforms for a Program
.
In the case where you don’t have a uniform interface or need to dynamically lookup uniforms,
you can use the ProgramInterface::query
method.
Parametricity
B
is the backend type.
Implementations
Set a value on a Uniform
.
Get back a UniformBuilder
to dynamically access Uniform
objects.
Auto Trait Implementations
impl<'a, B: ?Sized> RefUnwindSafe for ProgramInterface<'a, B> where
<B as Shader>::ProgramRepr: RefUnwindSafe,
impl<'a, B: ?Sized> Send for ProgramInterface<'a, B> where
<B as Shader>::ProgramRepr: Send,
impl<'a, B: ?Sized> Sync for ProgramInterface<'a, B> where
<B as Shader>::ProgramRepr: Sync,
impl<'a, B: ?Sized> Unpin for ProgramInterface<'a, B>
impl<'a, B> !UnwindSafe for ProgramInterface<'a, B>