Function shaderc::parse_version_profile[][src]

pub fn parse_version_profile(string: &str) -> Option<(u32, GlslProfile)>
Expand description

Parses the version and profile from the given string.

The string should contain both version and profile, like: 450core. Returns None if the string can not be parsed.