Function gstreamer_gl::functions::glsl_string_get_version_profile
source · [−]pub fn glsl_string_get_version_profile(
s: &str
) -> Option<(GLSLVersion, GLSLProfile)>
Expand description
Note: this function first searches the first 1 kilobytes for a version
preprocessor directive and then executes GLSLVersion::profile_from_string()
.
s
string to search for a valid version
string
Returns
TRUE if a valid version
string was found, FALSE otherwise
version
resulting GLSLVersion
profile
resulting GLSLProfile