Function crayon::video::create_shader
source · pub fn create_shader(
params: ShaderParams,
vs: String,
fs: String
) -> Result<ShaderHandle>
Expand description
Create a shader with initial shaders and render state. It encapusulates all the informations we need to configurate graphics pipeline before real drawing.