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

pub struct Program<C>(pub C::Program) where C: HasProgram;

A shader program.

Methods

impl<C> Program<C> where C: HasProgram
[src]

Create a new Program by linking it with shader stages.

Update a uniform variable in the program.

Trait Implementations

impl<C: Debug> Debug for Program<C> where C: HasProgram, C::Program: Debug
[src]

Formats the value using the given formatter.

impl<C> Drop for Program<C> where C: HasProgram
[src]

A method called when the value goes out of scope. Read more