GLSLVersion.profileFromString

bool profileFromString(string string_, out gstgl.types.GLSLVersion versionRet, out gstgl.types.GLSLProfile profileRet)

Note

this function expects either a #version GLSL preprocesser directive

or a valid GLSL version and/or profile.

Parameters

string_a valid GLSL #version string
versionRetresulting #GstGLSLVersion
profileRetresulting #GstGLSLVersion

Returns

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