Trait glitter::context::program_context::ContextProgramBuilderExt [] [src]

pub trait ContextProgramBuilderExt: AContext + Sized {
    fn build_program<'a>(&'a self, shaders: &'a [Shader]) -> ProgramBuilder<'a, Self> { ... }
}

The extension trait that adds the build_program method.

Provided Methods

fn build_program<'a>(&'a self, shaders: &'a [Shader]) -> ProgramBuilder<'a, Self>

Create a new program builder, providing a safe interface for constructing a program object. See the ProgramBuilder docs for more details.

Implementors