Struct glin::program::Builder [−][src]
pub struct Builder<'a>(_);
Implementations
impl<'a> Builder<'a>
[src]
impl<'a> Builder<'a>
[src]pub fn from_src(&self, src: &[(GLenum, &str)]) -> Result<Program>
[src]
Create a shader for a slice of shader type and source tuples
pub fn from_src_bindings<S, B>(
&self,
src: &[(GLenum, S)],
bindings: &B
) -> Result<Program> where
S: AsRef<str>,
B: Bindings,
[src]
&self,
src: &[(GLenum, S)],
bindings: &B
) -> Result<Program> where
S: AsRef<str>,
B: Bindings,
Create a shader for a slice of shader type and source tuples + default attribute bindings
pub fn from_settings<S>(&self, settings: Settings<S>) -> Result<Program> where
S: AsRef<str> + From<&'a str> + Eq + Hash + Debug,
[src]
S: AsRef<str> + From<&'a str> + Eq + Hash + Debug,