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

pub struct Program<In, Out, Uni> { /* fields omitted */ }

A typed shader program.

Typed shader programs represent their inputs, outputs and environment (uniforms) directly in their types. This is very interesting as it adds more static safety and enables such programs to “store” information like uniform variables and such.

Methods

impl<In, Out, Uni> Program<In, Out, Uni> where
    In: Vertex,
    Uni: UniformInterface
[src]

Get the uniform interface associated with this program.

Note: please do not use that function as it’s unsafe and for internal use only.

Methods from Deref<Target = RawProgram>

Trait Implementations

impl<In, Out, Uni> Deref for Program<In, Out, Uni>
[src]

The resulting type after dereferencing

The method called to dereference a value