Function cognitive_graphics::gl_tools::create_shader [] [src]

pub fn create_shader(
    source: String,
    shader_type: GLenum
) -> Result<GLuint, String>

Create and compile shader.