pub fn link_program(vert: &str, frag: &str) -> OpticResult<u32>Expand description
Links a vertex + fragment shader pair into a GL program.
Both shader stages are compiled and linked. Returns the program ID on success.
pub fn link_program(vert: &str, frag: &str) -> OpticResult<u32>Links a vertex + fragment shader pair into a GL program.
Both shader stages are compiled and linked. Returns the program ID on success.