glslStringGetVersionProfile

fnbool glslStringGetVersionProfile(string s, out gstgl.types.GLSLVersion version_, out gstgl.types.GLSLProfile profile)

Note

this function first searches the first 1 kilobytes for a #version

preprocessor directive and then executes [gstgl.global.glslVersionProfileFromString].

Parameters

sstring to search for a valid #version string
version_resulting #GstGLSLVersion
profileresulting #GstGLSLProfile

Returns

TRUE if a valid #version string was found, FALSE otherwise